/**
 * Contact Form 7 Custom Styling
 * Matches the design with side-by-side fields and proper spacing
 */

/* Form Container */
.wpcf7 {
    width: 100%;
    max-width: 100%;
}

.wpcf7-form {
    width: 100%;
    background-color: #FFCC00;
    border-radius: 8px;
    padding: 32px;
}

/* Form Header */
.contact-form-header {
    margin-bottom: 24px;
    text-align: left;
}

.contact-form-title {
    font-family: 'Inter', sans-serif;
    font-weight: 800;
    font-size: 24px;
    line-height: 32px;
    color: #000000;
    margin: 0 0 8px;
}

.contact-form-subtitle {
    font-family: 'Inter', sans-serif;
    font-weight: 400;
    font-size: 16px;
    line-height: 24px;
    color: #000000;
    margin: 0;
}

/* Form Layout */
.wpcf7-form p {
    margin-bottom: 24px;
}

/* Two Column Layout */
.form-row {
    display: flex;
    gap: 16px;
    margin-bottom: 24px;
}

.form-row p {
    flex: 1;
    margin: 0;
}

/* Label Styling */
.wpcf7-form label {
    display: block;
    font-family: 'Inter', sans-serif;
    font-weight: 800;
    font-size: 14px;
    line-height: 17px;
    color: #000000;
    margin-bottom: 8px;
}

/* Input Fields */
.wpcf7-form input[type="text"],
.wpcf7-form input[type="email"],
.wpcf7-form input[type="tel"],
.wpcf7-form select,
.wpcf7-form textarea {
    width: 100%;
    padding: 10px 14px;
    font-family: 'Inter', sans-serif;
    font-size: 14px;
    line-height: 24px;
    color: #333;
    background-color: #ffffff;
    border: none;
    border-radius: 6px;
    box-sizing: border-box;
}

.wpcf7-form textarea {
    height: 120px;
    resize: vertical;
}

/* Placeholder Text */
.wpcf7-form input::placeholder,
.wpcf7-form textarea::placeholder {
    color: #a9a9a9;
}

/* Submit Button */
.wpcf7-submit {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 48px;
    background: #FFFFFF;
    border: none;
    border-radius: 6px;
    color: #000000;
    font-family: 'Inter', sans-serif;
    font-weight: 800;
    font-size: 18px;
    line-height: 28px;
    cursor: pointer;
    transition: all 0.3s ease;
    text-align: center;
}

.wpcf7-submit:hover {
    opacity: 0.9;
}

/* Response Messages */
.wpcf7-response-output {
    margin: 24px 0 0 !important;
    padding: 12px !important;
    border-radius: 6px;
    font-family: 'Inter', sans-serif;
    font-size: 14px;
    line-height: 20px;
}

.wpcf7-validation-errors,
.wpcf7-acceptance-missing {
    background-color: #FEF2F2;
    color: #B91C1C;
    border: 1px solid #F87171 !important;
}

.wpcf7-mail-sent-ok {
    background-color: #ECFDF5;
    color: #065F46;
    border: 1px solid #6EE7B7 !important;
}

.wpcf7-not-valid-tip {
    color: #B91C1C;
    font-size: 12px;
    margin-top: 4px;
}

/* Required Field Indicator */
.wpcf7-form .required {
    color: #B91C1C;
}

/* Responsive Styles */
@media (max-width: 768px) {
    .wpcf7-form {
        padding: 24px;
    }
    
    .contact-form-title {
        font-size: 20px;
        line-height: 28px;
    }
}

@media (max-width: 576px) {
    .form-row {
        flex-direction: column;
        gap: 24px;
    }
    
    .wpcf7-form {
        padding: 20px;
    }
}
