/*
 * Contact Us (Views/ContactUs/Index.cshtml).
 *
 * Layout only. The page already pulls its look from HelpCenter.css (hero, glass cards, support CTAs)
 * and its form controls from support-ticket.css (floating labels, primary button, field errors).
 * Linked after both, so selectors are prefixed with .help-modern to win at equal specificity.
 *
 * Theming follows the rest of the app: explicit body.dark-theme / body:not(.dark-theme) pairs.
 */

/* ---------------------------------------------------------------- layout */

.help-modern .contact-shell {
    display: grid;
    grid-template-columns: minmax(0, 2fr) minmax(0, 1fr);
    gap: 24px;
    align-items: start;
}

@media (max-width: 991px) {
    .help-modern .contact-shell {
        grid-template-columns: 1fr;
    }
}

.help-modern .contact-form-card {
    padding: 28px;
}

.help-modern .contact-aside {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

/* ---------------------------------------------------------------- form */

.help-modern .contact-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    column-gap: 16px;
}

.help-modern .contact-form .support-float > textarea.form-control {
    min-height: 180px;
}

.help-modern .contact-counter {
    font-size: 11px;
    text-align: right;
    margin-top: -14px;
    margin-bottom: 12px;
}

.help-modern .contact-actions {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 8px;
}

.help-modern .contact-note {
    margin: 0;
    font-size: 12px;
}

.help-modern .contact-submit {
    padding: 11px 28px;
    font-size: 14px;
}

body.dark-theme .help-modern .contact-counter,
body.dark-theme .help-modern .contact-note {
    color: #848e9c;
}

body:not(.dark-theme) .help-modern .contact-counter,
body:not(.dark-theme) .help-modern .contact-note {
    color: #6c757d;
}

/* ---------------------------------------------------------------- captcha */

/* Answer box plus a refresh button, on one line. The question is the floating label, so it sits
   where every other field label does. */
.help-modern .contact-captcha {
    display: flex;
    align-items: center;
    gap: 10px;
}

.help-modern .contact-captcha .support-float {
    flex: 1 1 auto;
    min-width: 0;
}

.help-modern .contact-captcha-refresh {
    flex: 0 0 auto;
    padding: 10px 14px;
    line-height: 1;
}

/* ---------------------------------------------------------------- small screens */

@media (max-width: 576px) {
    .help-modern .contact-form-card {
        padding: 20px;
    }

    .help-modern .contact-row {
        grid-template-columns: 1fr;
    }

    .help-modern .contact-submit {
        width: 100%;
    }
}
