/*
 * The contact form (index/contact), 2026-10-14.
 *
 * The same look as the portal and staff sign-in forms: a white card with
 * rounded corners, bold labels, rounded fields with an orange focus ring and
 * a rounded orange button. Values follow portal-pages.css. Loaded for
 * index/contact only; every rule is scoped to .contact-page.
 */

.contact-page .php-email-form {
    /* The column stretches to the height of the address and map beside it;
       the card ends where the form does. */
    align-self: flex-start;
    width: 100%;
    background: #fff;
    border: 1px solid #E7D9C5;
    border-radius: 16px;
    padding: 30px;
}

.contact-page .php-email-form .form-group {
    margin-bottom: 18px;
}

.contact-page .php-email-form label {
    display: block;
    margin: 0 0 6px;
    font-family: 'Montserrat', 'Avenir', sans-serif;
    font-weight: 700;
    font-size: .8rem;
    color: #3E3A36;
}

.contact-page .php-email-form .form-control {
    height: auto;
    padding: 12px 14px;
    border: 1.5px solid #E7D9C5;
    border-radius: 9px;
    font-size: .9rem;
    color: #2C2A27;
    background: #fff;
    box-shadow: none;
    transition: border-color .15s ease, box-shadow .15s ease;
}

.contact-page .php-email-form textarea.form-control {
    min-height: 160px;
    resize: vertical;
}

.contact-page .php-email-form .form-control:focus {
    border-color: #EF7A18;
    box-shadow: 0 0 0 3px rgba(239, 122, 24, .15);
    outline: 0;
}

.contact-page .php-email-form .form-control::placeholder {
    color: #b3a999;
}

/* The sum that stands in for reCAPTCHA: one rounded field with the
   question in front of it. */
.contact-page .php-email-form .input-group {
    flex-wrap: nowrap;
}

.contact-page .php-email-form .input-group-text {
    padding: 0 16px;
    border: 1.5px solid #E7D9C5;
    border-right: 0;
    border-radius: 9px 0 0 9px;
    background: #FBF6F1;
    color: #3E3A36;
    font-weight: 700;
    font-size: .9rem;
}

.contact-page .php-email-form .input-group .form-control {
    border-radius: 0 9px 9px 0;
}

.contact-page .php-email-form .contact-submit {
    margin-top: 6px;
}

.contact-page .php-email-form .contact-submit .btn {
    padding: 12px 28px;
    border-radius: 9px;
    font-weight: 700;
    text-transform: none;
}

.contact-page .php-email-form .alert {
    border-radius: 9px;
}

@media (max-width: 575.98px) {
    .contact-page .php-email-form {
        padding: 20px 16px;
    }

    .contact-page .php-email-form .contact-submit .btn {
        width: 100%;
    }
}
