/* ==========================================================================
   DOORS public theme
   --------------------------------------------------------------------------
   Shared by every page a visitor can reach without signing in: the sign-in
   page, the forgot-password page and the public registration forms. It is the
   single source of truth for the navy + gold DOORS look, so the three pages
   cannot drift apart. Sections:

     1. Tokens
     2. Auth shell   - full-screen navy layout (sign in, forgot password)
     3. Top bar      - shared by the auth shell and the public topbar
     4. Hero         - DOORS lockup
     5. Auth card    - white card, fields, buttons, alerts
     6. Footer
     7. Public form pages - long scrolling forms (registration)
     8. Responsive
   ========================================================================== */

/* ---------- 1. Tokens ---------- */
:root {
    /* blue family — matches the app navbar / sidebar (#1a2942) */
    --navy: #1a2942;
    --navy-dark: #101a2b;
    --navy-light: #24365a;
    --teal: #3bc0c3;
    --gold: #e5a812;
    --gold-light: #f6cd52;
    --ink: #0f172a;
    --muted: #8b95a5;
    --line: #e6ecf4;
    --field-line: #d6dfec;
    --field-bg: #fbfcfe;
}

/* ---------- 2. Auth shell ---------- */
/* Single-screen shell: the page itself never scrolls. Heights are in vh so
   the shell does not need html/body sized to 100% — that would otherwise leak
   onto the long scrolling form pages that share this sheet. */
body.authentication-page {
    height: 100vh;
    overflow: hidden;
    background: var(--navy);
    color: #fff;
}

.auth-shell {
    height: 100vh;
    display: flex;
    flex-direction: column;
}

/* ---------- Top bar (solid: the photo stops here) ---------- */
.site-nav {
    flex: 0 0 auto;
    position: relative;
    z-index: 3;
    padding: .55rem 0;
    background: linear-gradient(180deg, #22345a 0%, var(--navy) 100%);
    border-bottom: 1px solid rgba(122, 160, 214, .3);
    box-shadow: 0 4px 20px rgba(8, 14, 24, .55);
}

.site-nav .nav-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
}

.nav-brand-group {
    display: flex;
    align-items: center;
    gap: .65rem;
    min-width: 0;
}

.nav-seal {
    height: 34px;
    width: 34px;
    object-fit: contain;
    border-radius: 50%;
    flex: 0 0 auto;
    filter: drop-shadow(0 2px 5px rgba(0, 0, 0, .5));
}

.nav-divider {
    width: 1px;
    height: 28px;
    flex: 0 0 auto;
    background: linear-gradient(180deg, rgba(122, 160, 214, 0) 0%, rgba(122, 160, 214, .7) 50%, rgba(122, 160, 214, 0) 100%);
    margin: 0 .2rem;
}

.site-nav .brand img {
    height: 38px;
    width: auto;
    max-width: 100%;
    display: block;
    filter: drop-shadow(0 2px 10px rgba(229, 168, 18, .3));
}

.site-nav .nav-links {
    display: flex;
    align-items: center;
    gap: .4rem;
}

.nav-link-plain {
    color: rgba(255, 255, 255, .85) !important;
    font-size: .8rem;
    font-weight: 600;
    letter-spacing: .2px;
    padding: .4rem .8rem;
    border-radius: .4rem;
    transition: all .15s ease-in-out;
    white-space: nowrap;
}

.nav-link-plain:hover {
    color: #fff !important;
    background: rgba(122, 160, 214, .22);
    text-decoration: none;
}

.nav-link-ghost {
    border: 1px solid rgba(246, 205, 82, .5);
    color: var(--gold-light) !important;
}

.nav-link-ghost:hover {
    background: rgba(229, 168, 18, .2) !important;
    color: #fff !important;
}

/* ---------- Middle band: the photo lives ONLY here ---------- */
.auth-main {
    position: relative;
    flex: 1 1 auto;
    min-height: 0;
    overflow: hidden;
}

.auth-photo {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    overflow: hidden;
    z-index: 0;
    background: var(--navy);
}

.auth-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center center;
    display: block;
}

/* navy-tinted veil */
.auth-photo::after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background:
        radial-gradient(72% 66% at 26% 50%, rgba(12, 20, 35, .76) 0%, rgba(12, 20, 35, .44) 48%, rgba(12, 20, 35, .05) 78%),
        linear-gradient(100deg, rgba(16, 26, 43, .90) 0%, rgba(26, 41, 66, .76) 38%, rgba(45, 62, 94, .56) 70%, rgba(62, 80, 114, .46) 100%),
        linear-gradient(180deg, rgba(16, 26, 43, .58) 0%, rgba(16, 26, 43, .08) 26%, rgba(16, 26, 43, .08) 74%, rgba(16, 26, 43, .58) 100%);
}

.auth-scroll {
    position: relative;
    z-index: 2;
    height: 100%;
    overflow-y: auto;
    display: flex;
    padding: 1.25rem 0;
}

.auth-scroll>.container {
    margin-top: auto;
    margin-bottom: auto;
    width: 100%;
}

/* ---------- Hero: DOORS first, all three flush-left ---------- */
.hero-col {
    position: relative;
    padding: .9rem 0 .9rem 1.6rem;
}

/* gold accent bar down the left of the brand block */
.hero-col::before {
    content: "";
    position: absolute;
    left: 0;
    top: .3rem;
    bottom: .3rem;
    width: 4px;
    border-radius: 100px;
    background: linear-gradient(180deg,
            rgba(246, 205, 82, 0) 0%,
            #f6cd52 16%,
            #e5a812 84%,
            rgba(229, 168, 18, 0) 100%);
    box-shadow: 0 0 20px rgba(229, 168, 18, .55);
}

/* 1 — division chip */
.hero-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: .5rem;
    font-size: .69rem;
    font-weight: 700;
    line-height: 1;
    letter-spacing: 1.4px;
    text-transform: uppercase;
    color: #fff;
    background: rgba(36, 54, 90, .62);
    border: 1px solid rgba(122, 160, 214, .5);
    padding: .26rem .85rem .26rem .3rem;
    border-radius: 100px;
    margin-bottom: .75rem;
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
}

.hero-eyebrow img {
    height: 22px;
    width: 22px;
    object-fit: contain;
    border-radius: 50%;
    flex: 0 0 auto;
}

/* 2 — DOORS wordmark, the primary brand on this page */
.hero-brand {
    position: relative;
    display: block;
    z-index: 0;
    line-height: 0;
}

.hero-brand::before {
    content: "";
    position: absolute;
    left: 42%;
    top: 50%;
    width: 130%;
    height: 250%;
    transform: translate(-50%, -50%);
    background: radial-gradient(closest-side, rgba(229, 168, 18, .30) 0%, rgba(229, 168, 18, .09) 55%, rgba(229, 168, 18, 0) 100%);
    z-index: -1;
}

.hero-logo {
    --logo-h: 88px;
    display: block;
    height: var(--logo-h);
    width: auto;
    max-width: 100%;
    /* the PNG carries 3% transparent padding on its left edge — pull it
       back so DOORS lines up with the chip and the campaign line */
    margin-left: calc(var(--logo-h) * -0.0872);
    filter: drop-shadow(0 8px 24px rgba(6, 12, 22, .7));
}

/* 3 — Make It Happen DDO */
.hero-campaign {
    display: flex;
    align-items: baseline;
    flex-wrap: wrap;
    gap: .1rem .55rem;
    margin-top: .7rem;
    line-height: 1.05;
}

.hero-campaign-text {
    font-family: Montserrat, sans-serif;
    font-weight: 700;
    font-size: 1.12rem;
    line-height: 1.05;
    letter-spacing: 3.4px;
    text-transform: uppercase;
    color: rgba(255, 255, 255, .94);
    text-shadow: 0 2px 14px rgba(8, 14, 26, .95);
}

.hero-campaign-ddo {
    font-family: Montserrat, sans-serif;
    font-weight: 800;
    font-size: 1.72rem;
    line-height: 1;
    letter-spacing: 1.5px;
    color: var(--gold-light);
    background: linear-gradient(180deg, #fbe08a 0%, #f6cd52 45%, #e5a812 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    filter: drop-shadow(0 2px 10px rgba(229, 168, 18, .45));
}

/* ---------- Login card ---------- */
.login-card {
    position: relative;
    border: 1px solid rgba(255, 255, 255, .55);
    border-radius: 1rem;
    overflow: hidden;
    background: rgba(255, 255, 255, .97);
    backdrop-filter: blur(22px) saturate(140%);
    -webkit-backdrop-filter: blur(22px) saturate(140%);
    /* layered navy drop shadow */
    box-shadow:
        0 1px 3px rgba(16, 26, 43, .35),
        0 8px 18px -6px rgba(16, 26, 43, .5),
        0 22px 42px -12px rgba(16, 26, 43, .62),
        0 46px 90px -22px rgba(8, 14, 26, .8);
}

.login-card::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #e5a812 0%, #f6cd52 50%, #e5a812 100%);
}

.login-card .card-body {
    padding: 1.5rem 1.75rem 1.3rem;
}

.login-title {
    font-family: Montserrat, sans-serif;
    font-weight: 700;
    font-size: 1.32rem;
    line-height: 1.2;
    color: var(--navy);
    margin-bottom: .15rem;
}

.login-subtitle {
    color: #8b95a5;
    font-size: .82rem;
    line-height: 1.35;
    margin-bottom: 1.05rem;
}

.login-card .form-group {
    margin-bottom: .8rem;
}

.login-card .form-group>label {
    font-weight: 700;
    color: #6f7d90;
    font-size: .69rem;
    text-transform: uppercase;
    letter-spacing: .7px;
    margin-bottom: .3rem;
}

.login-card .input-group-text {
    background: #eef2f8;
    border: 1px solid #d6dfec;
    border-right: none;
    color: #8b98ab;
    width: 44px;
    padding: 0;
    justify-content: center;
    font-size: 1.15rem;
}

.login-card .form-control {
    border: 1px solid #d6dfec;
    border-left: none;
    background: #fbfcfe;
    height: calc(1.5em + 1rem + 2px);
    font-size: .89rem;
    color: var(--navy);
    box-shadow: none;
}

.login-card .input-group>.input-group-prepend>.input-group-text {
    border-top-left-radius: .45rem;
    border-bottom-left-radius: .45rem;
}

.login-card .input-group>.input-group-append>.btn {
    border-top-right-radius: .45rem;
    border-bottom-right-radius: .45rem;
}

.login-card .form-control:focus {
    box-shadow: none;
    border-color: #d6dfec;
    background: #fff;
}

.login-card .input-group:focus-within .input-group-text,
.login-card .input-group:focus-within .form-control,
.login-card .input-group:focus-within .btn-eye {
    border-color: var(--navy-light);
}

.login-card .input-group:focus-within .input-group-text {
    background: rgba(36, 54, 90, .1);
    color: var(--navy-light);
}

.btn-eye {
    background: #eef2f8;
    border: 1px solid #d6dfec;
    border-left: none;
    color: #8b98ab;
    width: 44px;
    padding: 0;
    font-size: 1.1rem;
    line-height: 1;
    box-shadow: none !important;
}

.btn-eye:hover,
.btn-eye:focus {
    background: #e3eaf4;
    color: var(--navy);
}

.btn-signin {
    height: 44px;
    font-weight: 700;
    font-size: .89rem;
    letter-spacing: .4px;
    border: none;
    border-radius: .5rem;
    color: #241a00;
    background: linear-gradient(92deg, #f6cd52 0%, #e5a812 100%);
    box-shadow: 0 8px 18px -6px rgba(229, 168, 18, .65);
    transition: all .15s ease-in-out;
}

.btn-signin:hover,
.btn-signin:focus {
    color: #241a00;
    background: linear-gradient(92deg, #ffd968 0%, #f0b41d 100%);
    box-shadow: 0 10px 24px -6px rgba(229, 168, 18, .8);
    transform: translateY(-1px);
}

.form-meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: .5rem;
    margin-bottom: .9rem;
    font-size: .77rem;
    line-height: 1.2;
    color: #8b95a5;
}

.forgot-link {
    display: inline-flex;
    align-items: center;
    gap: .3rem;
    font-weight: 700;
    font-size: .79rem;
    color: #f1556c !important;
}

.forgot-link:hover {
    color: #e02c47 !important;
    text-decoration: underline;
}

.signup-box {
    margin-top: 1rem;
    padding-top: .9rem;
    border-top: 1px solid #e6ecf4;
    text-align: center;
}

.signup-box .signup-label {
    font-weight: 600;
    font-size: .78rem;
    line-height: 1.3;
    color: #8b95a5;
    margin-bottom: .55rem;
}

.signup-box .btn {
    min-width: 140px;
    margin: .2rem;
    font-weight: 600;
    font-size: .81rem;
    border-radius: .45rem;
}

.login-card .alert {
    font-size: .83rem;
    line-height: 1.35;
    padding: .55rem .8rem;
    border-radius: .5rem;
}

.login-card .error {
    background: rgba(241, 85, 108, .09);
    border: 1px solid rgba(241, 85, 108, .35);
    color: #d03f3f;
    font-size: .8rem;
    font-weight: 600;
    line-height: 1.3;
    padding: .4rem .7rem;
    border-radius: .45rem;
    margin-bottom: .4rem;
}

/* ---------- Footer (solid: the photo stops here) ---------- */
.site-foot {
    flex: 0 0 auto;
    position: relative;
    z-index: 3;
    padding: .5rem 0;
    font-size: .73rem;
    line-height: 1.35;
    color: rgba(255, 255, 255, .76);
    border-top: 1px solid rgba(122, 160, 214, .3);
    background: linear-gradient(0deg, #22345a 0%, var(--navy) 100%);
    box-shadow: 0 -4px 20px rgba(8, 14, 24, .55);
}

.site-foot .foot-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: .25rem;
}

.site-foot .foot-brand {
    color: var(--gold-light);
    font-weight: 700;
    letter-spacing: 1px;
}

/* ==========================================================================
   7. Public form pages
   --------------------------------------------------------------------------
   Long scrolling forms (applicant registration, private-school sign-up). They
   keep the theme's fixed .navbar-custom topbar rather than the auth shell, so
   the bar is restyled here to read as the same DOORS bar while staying the
   70px tall that .content-page offsets itself by.
   ========================================================================== */

/* ---------- Top bar in fixed (.navbar-custom) mode ---------- */
.public-topbar {
    padding: 0 !important;
    background: linear-gradient(180deg, #22345a 0%, var(--navy) 100%) !important;
    border-bottom: 1px solid rgba(122, 160, 214, .3);
    box-shadow: 0 4px 20px rgba(8, 14, 24, .55) !important;
}

.public-topbar .nav-inner {
    max-width: 1160px;
    height: 70px;
    margin: 0 auto;
    padding: 0 16px;
}

.public-topbar .site-nav {
    background: none;
    border: none;
    box-shadow: none;
    padding: 0;
}

/* Ensure the brand logo in the fixed public topbar doesn't grow too large
   (fixes overlap with the hero text on registration pages) */
.public-topbar .nav-inner .brand img,
.public-topbar .nav-inner .nav-brand-group .brand img {
    height: 38px;
    width: auto;
    max-width: 100%;
    display: block;
}

/* ---------- Page shell ---------- */
body.public-page {
    background: #eef2f8;
    color: var(--ink);
}

.public-page .content-page {
    margin-left: 0;
    padding-bottom: 0;
}

.reg-page {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    color: var(--ink);
    padding-bottom: 42px;
}

/* ---------- Hero: same navy veil + gold rule as the auth pages ---------- */
.reg-hero {
    position: relative;
    overflow: hidden;
    padding: 34px 0 88px;
    background: var(--navy);
    color: #fff;
    text-align: center;
}

.reg-hero .reg-hero-photo {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 0;
}

.reg-hero .reg-hero-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center center;
    display: block;
}

.reg-hero .reg-hero-photo::after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background:
        radial-gradient(72% 70% at 50% 45%, rgba(12, 20, 35, .72) 0%, rgba(12, 20, 35, .5) 50%, rgba(12, 20, 35, .28) 100%),
        linear-gradient(180deg, rgba(16, 26, 43, .9) 0%, rgba(26, 41, 66, .78) 45%, rgba(16, 26, 43, .94) 100%);
}

.reg-hero>.container {
    position: relative;
    z-index: 1;
}

.reg-hero .hero-eyebrow {
    margin-bottom: .85rem;
}

.reg-hero h1 {
    font-family: Montserrat, sans-serif;
    font-weight: 800;
    font-size: 1.85rem;
    line-height: 1.2;
    color: #fff;
    margin: 0 0 .55rem;
    text-shadow: 0 2px 18px rgba(8, 14, 26, .85);
}

.reg-hero .reg-hero-rule {
    width: 74px;
    height: 4px;
    border-radius: 100px;
    margin: 0 auto .8rem;
    background: linear-gradient(90deg, #e5a812 0%, #f6cd52 50%, #e5a812 100%);
    box-shadow: 0 0 18px rgba(229, 168, 18, .6);
}

.reg-hero p {
    max-width: 660px;
    margin: 0 auto;
    font-size: .88rem;
    line-height: 1.7;
    color: rgba(255, 255, 255, .84);
}

.reg-wrap {
    max-width: 1160px;
    margin: -66px auto 0;
    padding: 0 16px;
    position: relative;
    z-index: 2;
}

/* ---------- Cards ---------- */
.reg-card {
    position: relative;
    background: #fff;
    border: 1px solid rgba(255, 255, 255, .55);
    border-radius: 1rem;
    overflow: hidden;
    margin-bottom: 1.15rem;
    box-shadow:
        0 1px 3px rgba(16, 26, 43, .18),
        0 8px 18px -6px rgba(16, 26, 43, .22),
        0 22px 42px -14px rgba(16, 26, 43, .28);
}

/* Gold rule on the leading card, exactly like the sign-in card */
.reg-card.is-lead::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #e5a812 0%, #f6cd52 50%, #e5a812 100%);
}

.reg-card-head {
    display: flex;
    align-items: center;
    gap: .9rem;
    padding: 1rem 1.5rem;
    border-bottom: 1px solid var(--line);
    background: #f7f9fc;
}

.reg-card-head h2 {
    font-family: Montserrat, sans-serif;
    font-size: .88rem;
    font-weight: 700;
    letter-spacing: .6px;
    text-transform: uppercase;
    color: var(--navy);
    margin: 0;
}

.reg-card-head small {
    display: block;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Arial, sans-serif;
    font-size: .74rem;
    font-weight: 400;
    letter-spacing: 0;
    text-transform: none;
    color: var(--muted);
    margin-top: .15rem;
}

.reg-step {
    flex: 0 0 auto;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: Montserrat, sans-serif;
    font-size: .82rem;
    font-weight: 800;
    color: #241a00;
    background: linear-gradient(92deg, #f6cd52 0%, #e5a812 100%);
    box-shadow: 0 4px 12px -4px rgba(229, 168, 18, .8);
}

.reg-card-body {
    padding: 1.35rem 1.5rem .4rem;
}

/* ---------- Fields ---------- */
.reg-page .form-group {
    margin-bottom: 1.05rem;
}

.reg-page label {
    font-weight: 700;
    color: #6f7d90;
    font-size: .69rem;
    text-transform: uppercase;
    letter-spacing: .7px;
    margin-bottom: .3rem;
}

.reg-page .form-control {
    height: auto;
    border: 1px solid var(--field-line);
    border-radius: .45rem;
    background: var(--field-bg);
    padding: .5rem .7rem;
    font-size: .89rem;
    color: var(--navy);
    box-shadow: none;
    transition: border-color .15s, box-shadow .15s, background-color .15s;
}

.reg-page select.form-control {
    appearance: none;
    -webkit-appearance: none;
    background-image: url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath fill='%236f7d90' d='M1.4 0 6 4.6 10.6 0 12 1.4 6 7.4 0 1.4z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 12px center;
    padding-right: 32px;
}

.reg-page .form-control:focus {
    background: #fff;
    border-color: var(--navy-light);
    box-shadow: 0 0 0 3px rgba(36, 54, 90, .14);
}

.reg-page .form-control[readonly] {
    background-color: #eef2f8;
    color: var(--muted);
}

.reg-page .input-group-text {
    background: #eef2f8;
    border: 1px solid var(--field-line);
    color: #8b98ab;
    justify-content: center;
}

.reg-req {
    color: #f1556c;
    margin-left: 2px;
}

.reg-hint {
    display: block;
    font-size: .7rem;
    color: var(--muted);
    margin-top: .25rem;
    text-transform: none;
    letter-spacing: 0;
    font-weight: 400;
}

/* ---------- Buttons ---------- */
.btn-gold {
    font-weight: 700;
    font-size: .89rem;
    letter-spacing: .4px;
    border: none;
    border-radius: .5rem;
    padding: .7rem 1.6rem;
    color: #241a00;
    background: linear-gradient(92deg, #f6cd52 0%, #e5a812 100%);
    box-shadow: 0 8px 18px -6px rgba(229, 168, 18, .65);
    transition: all .15s ease-in-out;
}

.btn-gold:hover,
.btn-gold:focus {
    color: #241a00;
    background: linear-gradient(92deg, #ffd968 0%, #f0b41d 100%);
    box-shadow: 0 10px 24px -6px rgba(229, 168, 18, .8);
    transform: translateY(-1px);
}

.btn-navy-outline {
    font-weight: 700;
    font-size: .85rem;
    border-radius: .5rem;
    padding: .7rem 1.4rem;
    color: var(--navy);
    background: transparent;
    border: 1px solid var(--field-line);
    transition: all .15s ease-in-out;
}

.btn-navy-outline:hover,
.btn-navy-outline:focus {
    color: var(--navy);
    background: #eef2f8;
    border-color: var(--navy-light);
}

/* ---------- Footer in fixed-topbar mode ---------- */
.public-page .footer {
    left: 0;
    padding: .55rem 0;
    font-size: .73rem;
    line-height: 1.35;
    color: rgba(255, 255, 255, .76);
    background: linear-gradient(0deg, #22345a 0%, var(--navy) 100%);
    border-top: 1px solid rgba(122, 160, 214, .3);
}

.public-page .footer .foot-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: .25rem;
}

.public-page .footer .foot-brand {
    color: var(--gold-light);
    font-weight: 700;
    letter-spacing: 1px;
}

/* ---------- 8. Responsive ---------- */
@media (max-width: 767.98px) {
    .reg-hero {
        padding: 26px 0 78px;
    }

    .reg-hero h1 {
        font-size: 1.4rem;
    }

    .reg-hero p {
        font-size: .82rem;
    }

    .reg-card-head {
        padding: .85rem 1.1rem;
        gap: .7rem;
    }

    .reg-card-body {
        padding: 1.1rem 1.1rem .3rem;
    }

    .reg-wrap {
        margin-top: -58px;
    }
}

/* ---------- Responsive: width ---------- */
@media (max-width: 1199.98px) {
    .hero-logo {
        --logo-h: 74px;
    }

    .hero-campaign-text {
        font-size: 1rem;
        letter-spacing: 2.8px;
    }

    .hero-campaign-ddo {
        font-size: 1.5rem;
    }
}

@media (max-width: 991.98px) {
    .auth-photo::after {
        background:
            linear-gradient(180deg, rgba(16, 26, 43, .86) 0%, rgba(28, 44, 70, .74) 45%, rgba(16, 26, 43, .9) 100%);
    }

    .hero-col {
        text-align: center;
        padding: 0 0 1.2rem;
    }

    .hero-col::before {
        display: none;
    }

    .hero-campaign {
        justify-content: center;
    }

    .hero-logo {
        --logo-h: 62px;
        margin-left: auto;
        margin-right: auto;
    }
}

@media (max-width: 575.98px) {
    .site-nav {
        padding: .45rem 0;
    }

    .nav-seal {
        height: 28px;
        width: 28px;
    }

    .nav-divider {
        height: 22px;
    }

    .site-nav .brand img {
        height: 29px;
    }

    .site-nav .nav-links .nav-hide-xs {
        display: none;
    }

    .auth-scroll {
        padding: .9rem 0;
    }

    .hero-eyebrow {
        font-size: .58rem;
        letter-spacing: .9px;
        margin-bottom: .6rem;
    }

    .hero-eyebrow img {
        height: 19px;
        width: 19px;
    }

    .hero-logo {
        --logo-h: 46px;
    }

    .hero-campaign {
        margin-top: .55rem;
        gap: .05rem .4rem;
    }

    .hero-campaign-text {
        font-size: .8rem;
        letter-spacing: 2px;
    }

    .hero-campaign-ddo {
        font-size: 1.1rem;
    }

    .hero-col {
        padding-bottom: 1rem;
    }

    .login-card .card-body {
        padding: 1.25rem 1.15rem 1.05rem;
    }

    .site-foot .foot-inner {
        justify-content: center;
        text-align: center;
    }
}

/* ---------- Responsive: height (stay on one screen) ---------- */
@media (max-height: 800px) {
    .auth-scroll {
        padding: .85rem 0;
    }

    .hero-col {
        padding-top: .7rem;
        padding-bottom: .7rem;
    }

    .hero-logo {
        --logo-h: 70px;
    }

    .login-card .card-body {
        padding: 1.3rem 1.6rem 1.15rem;
    }

    .login-subtitle {
        margin-bottom: .9rem;
    }

    .form-meta {
        margin-bottom: .75rem;
    }
}

@media (max-height: 680px) {
    .site-nav {
        padding: .4rem 0;
    }

    .nav-seal {
        height: 28px;
        width: 28px;
    }

    .site-nav .brand img {
        height: 31px;
    }

    .auth-scroll {
        padding: .6rem 0;
    }

    .hero-col {
        padding-top: .45rem;
        padding-bottom: .45rem;
    }

    /* .hero-eyebrow { margin-bottom: .25rem; } */
    .hero-logo {
        --logo-h: 26px;
    }

    .hero-campaign {
        margin-top: .25rem;
    }

    .hero-campaign-text {
        font-size: .92rem;
        letter-spacing: 2.4px;
    }

    .hero-campaign-ddo {
        font-size: 1.3rem;
    }

    .login-card .card-body {
        padding: 1.05rem 1.4rem .95rem;
    }

    .login-title {
        font-size: 1.15rem;
    }

    .login-subtitle {
        font-size: .77rem;
        margin-bottom: .7rem;
    }

    .login-card .form-group {
        margin-bottom: .6rem;
    }

    .btn-signin {
        height: 40px;
    }

    .signup-box {
        margin-top: .75rem;
        padding-top: .65rem;
    }

    .site-foot {
        padding: .4rem 0;
        font-size: .69rem;
    }
}