/* Contact Form 7 Custom Styles */

/* Recall form styles */
.recall .wpcf7-text,
.recall .wpcf7-email,
.recall .wpcf7-tel {
    font-family: "Open Sans", sans-serif;
    font-size: 12px;
    font-weight: 400;
    font-style: normal;
    color: #1b2642;
    text-transform: inherit;
    line-height: 16.5px;
    -webkit-font-smoothing: antialiased;
    padding: 6px;
    outline: none;
    border: 1px solid #bcbcbc;
    border-radius: 4px;
    width: 100%;
    resize: none;
    height: 45px;
    margin-bottom: 5px;
}

.recall .wpcf7-submit {
    font-family: "Open Sans", sans-serif;
    font-size: 12px;
    font-weight: 400;
    font-style: normal;
    color: #ffffff;
    text-transform: uppercase;
    line-height: 18px;
    -webkit-font-smoothing: antialiased;
    text-decoration: none;
    cursor: pointer;
    background-color: #1b2642;
    text-align: center;
    padding: 10px 25px;
    border-radius: 4px;
    letter-spacing: 4px;
    border: none;
    outline: none;
}

/* Contact form - Two-row table layout */
.contact .contact-form-table {
    width: 100%;
    border-collapse: collapse;
    border-spacing: 0;
}

/* First row - inputs and textarea columns */
.contact .contact-form-table tr:first-child td:first-child {
    width: 45%;
    vertical-align: top;
    padding: 2%;
    padding-right: 20px;
}

.contact .contact-form-table tr:first-child td:last-child {
    width: 55%;
    vertical-align: top;
    padding: 2%;
}

/* Submit button cell - aligned with textarea */
.contact .submit-button {
    /* width: 55%; */
    text-align: right;
    /* padding-top: 20px; */
    padding-right: 2%;
    padding-bottom: 2%;
    padding-top: 10px;
}

/* Contact form field styling */
.contact .wpcf7-text,
.contact .wpcf7-email, 
.contact .wpcf7-tel {
    font-family: "Open Sans", sans-serif;
    font-size: 12px;
    font-weight: 400;
    font-style: normal;
    color: #1b2642;
    text-transform: inherit;
    line-height: 16.5px;
    -webkit-font-smoothing: antialiased;
    padding: 6px;
    outline: none;
    border: 1px solid #bcbcbc;
    border-radius: 4px;
    width: 100%;
    margin-bottom: 5px;
    height: 29px; /* Reduced height for left column fields */
}

/* Textarea styling - match height with left column total */
.contact .wpcf7-textarea {
    font-family: "Open Sans", sans-serif;
    font-size: 12px;
    font-weight: 400;
    font-style: normal;
    color: #1b2642;
    text-transform: inherit;
    line-height: 16.5px;
    -webkit-font-smoothing: antialiased;
    padding: 6px;
    outline: none;
    border: 1px solid #bcbcbc;
    border-radius: 4px;
    width: 100%;
    margin-bottom: 5px;
    height: 288px !important; /* Matches original .contact .textarea height */
    min-height: 288px !important;
    resize: none;
}

.contact_formContainer {
    flex-direction: row;
    align-items: stretch;
}

/* Submit button styling */
.contact .wpcf7-submit {
    font-family: "Open Sans", sans-serif;
    font-size: 12px;
    font-weight: 400;
    font-style: normal;
    color: #ffffff;
    text-transform: uppercase;
    line-height: 18px;
    -webkit-font-smoothing: antialiased;
    text-decoration: none;
    cursor: pointer;
    background-color: #ccb28e;
    text-align: center;
    padding: 10px 25px;
    border-radius: 4px;
    letter-spacing: 4px;
    border: none;
    outline: none;
}

/* Section headers styling */
.contact .contact-form-table p strong,
.contact p strong {
    font-family: "Open Sans", sans-serif;
    font-size: 12px;
    font-weight: 600;
    margin-bottom: 8px;
    display: block;
    color: #1b2642;
}

/* Section spacing */
.contact .contact-form-table p {
    margin-top: 12px !important;
    margin-bottom: 5px !important;
}

/* Remove extra spacing for first section */
.contact .contact-form-table p:first-child {
    margin-top: 0 !important;
}

/* Success/Error messages */
.wpcf7-mail-sent-ok,
.wpcf7-mail-sent-ng {
    font-family: "Open Sans", sans-serif;
    font-size: 14px;
    color: #1b2642;
    padding: 10px;
    text-align: center;
} 