:root {
    --login-ink: #12343a;
    --login-muted: #647780;
    --login-line: #d7e5e8;
    --login-primary: #116f78;
    --login-primary-dark: #0c5961;
    --login-soft: #f3f8f9;
}

* { box-sizing: border-box; }

body.noa-login-page {
    min-width: 320px;
    min-height: 100vh;
    margin: 0;
    overflow-x: hidden;
    background: #edf4f5;
    color: var(--login-ink);
    font-family: "Rubik", sans-serif;
}

.noa-login-shell {
    display: grid;
    grid-template-columns: minmax(480px, 1.08fr) minmax(440px, .92fr);
    min-height: 100vh;
}

.noa-login-story {
    position: relative;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    overflow: hidden;
    padding: clamp(2rem, 4vw, 4rem);
    background: #15383d;
}

.noa-login-story-image,
.noa-login-story-overlay {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
}

.noa-login-story-image { object-fit: cover; object-position: 50% center; }
.noa-login-story-overlay { background: linear-gradient(180deg, rgba(8, 29, 33, .28) 0%, rgba(8, 34, 39, .12) 38%, rgba(7, 35, 39, .92) 100%), linear-gradient(90deg, rgba(7, 35, 39, .48), transparent 62%); }

.noa-login-story-brand {
    position: relative;
    z-index: 2;
    align-self: flex-start;
    display: inline-flex;
    align-items: center;
    gap: .7rem;
    padding: .65rem .8rem;
    border: 1px solid rgba(255, 255, 255, .48);
    border-radius: 16px;
    background: rgba(255, 255, 255, .92);
    box-shadow: 0 14px 34px rgba(5, 29, 34, .16);
    backdrop-filter: blur(10px);
    white-space: nowrap;
}

.noa-login-story-brand > img:first-child { width: 132px; height: auto; flex: 0 0 auto; }
.noa-login-story-brand > span { width: 1px; height: 31px; background: #d2dfe2; }
.noa-login-story-brand small { color: #6c7a80; font-size: .58rem; font-weight: 800; letter-spacing: .05em; text-transform: uppercase; }
.noa-login-story-brand .noa-login-story-noa { width: 38px; height: 38px; flex: 0 0 auto; object-fit: contain; }

.noa-login-story-copy {
    position: relative;
    z-index: 2;
    align-self: flex-end;
    max-width: 680px;
    margin-top: auto;
    color: #fff;
}

.noa-login-eyebrow {
    display: block;
    color: var(--login-primary);
    font-size: .7rem;
    font-weight: 800;
    letter-spacing: .11em;
    text-transform: uppercase;
}

.noa-login-eyebrow--light { color: #9ce7df; }
.noa-login-story-copy h2 { max-width: 620px; margin: .55rem 0 .8rem; color: #fff; font-size: clamp(2rem, 3.5vw, 3.45rem); font-weight: 800; letter-spacing: -.04em; line-height: 1.06; }
.noa-login-story-copy > p { max-width: 610px; margin: 0; color: rgba(255, 255, 255, .82); font-size: 1rem; line-height: 1.65; }
.noa-login-benefits { display: flex; flex-wrap: wrap; gap: .6rem; margin-top: 1.4rem; }
.noa-login-benefits span { display: inline-flex; align-items: center; gap: .4rem; padding: .5rem .7rem; border: 1px solid rgba(255, 255, 255, .2); border-radius: 999px; background: rgba(5, 31, 35, .32); color: #fff; font-size: .75rem; font-weight: 600; backdrop-filter: blur(7px); }
.noa-login-benefits i { color: #9ce7df; }

.noa-login-access {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 100vh;
    padding: 2rem clamp(1.5rem, 5vw, 5rem) 1.4rem;
    background: linear-gradient(145deg, #f9fbfc 0%, #eef5f6 100%);
}

.noa-login-mobile-brand { display: none; }
.noa-login-card { width: 100%; max-width: 510px; padding: clamp(1.65rem, 3vw, 2.65rem); border: 1px solid rgba(205, 222, 226, .9); border-radius: 24px; background: rgba(255, 255, 255, .94); box-shadow: 0 24px 62px rgba(31, 63, 74, .1); }
.noa-login-heading { margin-bottom: 1.55rem; }
.noa-login-heading h1 { margin: .38rem 0 .55rem; color: var(--login-ink); font-size: clamp(1.8rem, 3vw, 2.4rem); font-weight: 800; letter-spacing: -.035em; }
.noa-login-heading p { margin: 0; color: var(--login-muted); font-size: .92rem; line-height: 1.6; }

.noa-login-alert { display: flex; align-items: flex-start; gap: .65rem; margin-bottom: 1.1rem; padding: .85rem; border: 1px solid; border-radius: 13px; font-size: .79rem; }
.noa-login-alert > i { margin-top: .08rem; font-size: 1.15rem; }
.noa-login-alert strong, .noa-login-alert span { display: block; }
.noa-login-alert strong { margin-bottom: .14rem; }
.noa-login-alert--success { border-color: #bce2cf; background: #eef9f2; color: #256b45; }
.noa-login-alert--error { border-color: #efc3c3; background: #fff3f2; color: #a43c3c; }

.noa-login-form { display: grid; gap: 1.15rem; }
.noa-field label { margin-bottom: .42rem; color: #28444b; font-size: .82rem; font-weight: 750; }
.noa-field-label-row { display: flex; align-items: center; justify-content: space-between; gap: 1rem; }
.noa-field-label-row a { margin-bottom: .42rem; color: var(--login-primary); font-size: .76rem; font-weight: 700; }
.noa-field-label-row a:hover { color: var(--login-primary-dark); text-decoration: underline; }

.noa-input-wrap { position: relative; display: flex; align-items: center; min-height: 54px; border: 1px solid var(--login-line); border-radius: 14px; background: #fff; transition: border-color .16s ease, box-shadow .16s ease, background .16s ease; }
.noa-input-wrap:focus-within { border-color: var(--login-primary); box-shadow: 0 0 0 4px rgba(17, 111, 120, .11); }
.noa-input-wrap.is-invalid { border-color: #cb5555; }
.noa-input-wrap > i { position: absolute; left: 1rem; color: #6f858e; font-size: 1.15rem; pointer-events: none; }
.noa-input-wrap input { width: 100%; min-height: 52px; padding: .75rem 3rem .75rem 2.85rem; border: 0; outline: 0; border-radius: inherit; background: transparent; color: var(--login-ink); font: inherit; font-size: .9rem; }
.noa-input-wrap input::placeholder { color: #99a7ad; }
.noa-password-toggle { position: absolute; right: .55rem; width: 40px; height: 40px; display: inline-flex; align-items: center; justify-content: center; border: 0; border-radius: 10px; background: transparent; color: #536b74; font-size: 1.15rem; }
.noa-password-toggle:hover { background: var(--login-soft); color: var(--login-primary); }
.noa-password-toggle:focus-visible, .noa-login-submit:focus-visible, .noa-field-label-row a:focus-visible, .noa-login-footer a:focus-visible { outline: 3px solid rgba(17, 111, 120, .22); outline-offset: 2px; }
.noa-field-help, .noa-field-error { display: block; margin-top: .38rem; font-size: .7rem; line-height: 1.4; }
.noa-field-help { color: #7d8d94; }
.noa-field-error { color: #b43e3e; font-weight: 650; }

.noa-remember { display: flex; align-items: flex-start; gap: .6rem; width: fit-content; margin: -.05rem 0 0; color: #526970; font-size: .78rem; cursor: pointer; }
.noa-remember input { width: 18px; height: 18px; flex: 0 0 18px; margin-top: .02rem; accent-color: var(--login-primary); }

.noa-login-submit { position: relative; min-height: 54px; display: inline-flex; align-items: center; justify-content: center; border: 0; border-radius: 14px; background: var(--login-primary); color: #fff; box-shadow: 0 10px 24px rgba(17, 111, 120, .2); font: inherit; font-size: .9rem; font-weight: 800; transition: transform .16s ease, background .16s ease, box-shadow .16s ease; }
.noa-login-submit:hover { transform: translateY(-1px); background: var(--login-primary-dark); box-shadow: 0 13px 28px rgba(17, 111, 120, .25); }
.noa-submit-label, .noa-submit-loading { align-items: center; gap: .45rem; }
.noa-submit-label { display: inline-flex; }
.noa-submit-loading { display: none; }
.noa-login-submit.is-loading .noa-submit-label { display: none; }
.noa-login-submit.is-loading .noa-submit-loading { display: inline-flex; }

.noa-login-security { display: flex; align-items: flex-start; justify-content: center; gap: .45rem; margin-top: 1.35rem; padding-top: 1.15rem; border-top: 1px solid #e4edef; color: #788a91; font-size: .69rem; line-height: 1.45; text-align: center; }
.noa-login-security i { margin-top: .05rem; color: var(--login-primary); }
.noa-login-footer { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: .4rem; margin-top: 1.2rem; color: #708188; font-size: .68rem; text-align: center; }
.noa-login-footer a { color: var(--login-primary); font-weight: 750; }

@media (max-width: 991.98px) {
    .noa-login-shell { display: block; }
    .noa-login-story { display: none; }
    .noa-login-access { min-height: 100svh; padding: 1.25rem; }
    .noa-login-mobile-brand { display: flex; align-items: center; gap: .55rem; margin-bottom: 1.15rem; }
    .noa-login-mobile-brand > img:first-child { width: 135px; height: auto; }
    .noa-login-mobile-brand > span { width: 1px; height: 30px; background: #cddde0; }
    .noa-login-mobile-brand small { color: #647780; font-size: .58rem; font-weight: 800; text-transform: uppercase; }
    .noa-login-mobile-brand > img:last-child { width: 34px; height: 34px; object-fit: contain; }
}

@media (max-width: 575.98px) {
    .noa-login-access { justify-content: flex-start; padding: 1rem; }
    .noa-login-mobile-brand { margin-top: .25rem; }
    .noa-login-card { padding: 1.35rem; border-radius: 19px; }
    .noa-login-heading { margin-bottom: 1.25rem; }
    .noa-login-heading h1 { font-size: 1.75rem; }
    .noa-field-label-row { align-items: flex-start; }
    .noa-field-label-row a { max-width: 135px; text-align: right; }
}

@media (max-height: 760px) and (min-width: 992px) {
    .noa-login-card { padding-block: 1.65rem; }
    .noa-login-heading { margin-bottom: 1.1rem; }
    .noa-login-form { gap: .85rem; }
    .noa-login-security { margin-top: 1rem; padding-top: .9rem; }
}

@media (prefers-reduced-motion: reduce) {
    .noa-login-submit, .noa-input-wrap { transition: none; }
}
