/* Contact Form Plugin - Frontend Styles */

.cfp-contact-form-wrapper {
    max-width: 600px;
    margin: 40px auto;
    padding: 40px;
    background: #ffffff;
    border-radius: 12px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.cfp-contact-header {
    text-align: center;
    margin-bottom: 40px;
}

.cfp-contact-header h2 {
    font-size: 32px;
    font-weight: 700;
    color: #1a1a1a;
    margin-bottom: 12px;
    line-height: 1.2;
}

.cfp-contact-header p {
    font-size: 16px;
    color: #666;
    line-height: 1.6;
    margin: 0;
}

.cfp-contact-form {
    width: 100%;
}

.cfp-form-group {
    margin-bottom: 24px;
}

.cfp-form-group label {
    display: block;
    font-size: 14px;
    font-weight: 600;
    color: #333;
    margin-bottom: 8px;
}

.cfp-form-group label .required {
    color: #e74c3c;
}

.cfp-form-group input[type="text"],
.cfp-form-group input[type="email"],
.cfp-form-group textarea {
    width: 100%;
    padding: 12px 16px;
    font-size: 15px;
    line-height: 1.5;
    color: #333;
    background-color: #f8f9fa;
    border: 2px solid #e1e4e8;
    border-radius: 8px;
    transition: all 0.3s ease;
    box-sizing: border-box;
}

.cfp-form-group input[type="text"]:focus,
.cfp-form-group input[type="email"]:focus,
.cfp-form-group textarea:focus {
    outline: none;
    background-color: #ffffff;
    border-color: #0073aa;
    box-shadow: 0 0 0 3px rgba(0, 115, 170, 0.1);
}

.cfp-form-group textarea {
    resize: vertical;
    min-height: 120px;
    font-family: inherit;
}

.cfp-submit-btn {
    width: 100%;
    padding: 14px 24px;
    font-size: 16px;
    font-weight: 600;
    color: #ffffff;
    background: linear-gradient(135deg, #0073aa 0%, #005a87 100%);
    border: none;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
}

.cfp-submit-btn:hover {
    background: linear-gradient(135deg, #005a87 0%, #004566 100%);
    transform: translateY(-2px);
    box-shadow: 0 6px 12px rgba(0, 115, 170, 0.3);
}

.cfp-submit-btn:active {
    transform: translateY(0);
}

.cfp-submit-btn:disabled {
    background: #ccc;
    cursor: not-allowed;
    transform: none;
}

.cfp-message {
    margin-top: 20px;
    padding: 14px 18px;
    border-radius: 8px;
    font-size: 14px;
    line-height: 1.5;
}

.cfp-message.success {
    background-color: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}

.cfp-message.error {
    background-color: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}

/* Responsive Design */
@media (max-width: 768px) {
    .cfp-contact-form-wrapper {
        padding: 30px 20px;
        margin: 20px auto;
    }

    .cfp-contact-header h2 {
        font-size: 26px;
    }

    .cfp-contact-header p {
        font-size: 15px;
    }
}

@media (max-width: 480px) {
    .cfp-contact-form-wrapper {
        padding: 24px 16px;
    }

    .cfp-contact-header h2 {
        font-size: 22px;
    }

    .cfp-form-group input[type="text"],
    .cfp-form-group input[type="email"],
    .cfp-form-group textarea {
        font-size: 16px; /* Prevent zoom on iOS */
    }
}
