/* NA Design System: library sign-in pages */
@font-face { font-family: 'Atlas Grotesk'; font-weight: 400; font-style: normal; font-display: swap; src: url('../../fonts/na/Atlas-Regular.woff2') format('woff2'), url('../../fonts/na/Atlas-Regular.woff') format('woff'); }
@font-face { font-family: 'Atlas Grotesk'; font-weight: 500; font-style: normal; font-display: swap; src: url('../../fonts/na/Atlas-Medium.woff2') format('woff2'), url('../../fonts/na/Atlas-Medium.woff') format('woff'); }
@font-face { font-family: 'Atlas Grotesk'; font-weight: 700; font-style: normal; font-display: swap; src: url('../../fonts/na/Atlas-Bold.woff2') format('woff2'), url('../../fonts/na/Atlas-Bold.woff') format('woff'); }
@font-face { font-family: 'Lyon Display'; font-weight: 400; font-style: normal; font-display: swap; src: url('../../fonts/na/Lyon-Display-Regular.woff2') format('woff2'), url('../../fonts/na/Lyon-Display-Regular.woff') format('woff'); }
*, *::before, *::after { box-sizing: border-box; }
html { background: #EFEFF0; }
body { margin: 0; }
a { color: #295DA1; }
a:hover { color: #204A82; }
a:focus-visible, button:focus-visible { outline: 2px solid #212122; outline-offset: 2px; }

.na-page {
    min-height: 100vh;
    background: #EFEFF0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 32px;
    padding: 72px 16px 40px;
    font-family: 'Atlas Grotesk', 'Hanken Grotesk', Helvetica, Arial, sans-serif;
    color: #212122;
}

.na-skip {
    position: absolute;
    left: 16px;
    top: -80px;
    background: #212122;
    color: #FFFFFF;
    padding: 10px 16px;
    border-radius: 8px;
    z-index: 60;
}
.na-skip:focus { top: 16px; color: #FFFFFF; }
.na-sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }

.na-card {
    width: 100%;
    max-width: 440px;
    background: #FFFFFF;
    border: 1px solid #D7D8D9;
    border-radius: 20px;
    padding: 48px 40px;
    display: flex;
    flex-direction: column;
    gap: 32px;
}
@media (max-width: 599px) { .na-card { padding: 32px 24px; } }

.na-logo { display: block; height: 24px; width: auto; align-self: flex-start; }

.na-header { display: flex; flex-direction: column; gap: 12px; }
.na-h1 {
    outline: none;
    margin: 0;
    font-family: 'Lyon Display', 'Source Serif 4', Georgia, serif;
    font-weight: 400;
    font-size: 32px;
    line-height: 1.25;
    color: #212122;
}
.na-text { margin: 0; font-size: 16px; line-height: 1.5; color: #212122; }

.na-form { display: flex; flex-direction: column; gap: 24px; }
.na-field { display: flex; flex-direction: column; gap: 8px; }
.na-row { display: flex; flex-wrap: wrap; gap: 16px; }
.na-row > .na-field { flex: 1 1 140px; min-width: 0; }
.na-label { font-size: 14px; line-height: 1.5; color: #747578; }

.na-input {
    width: 100%;
    height: 44px;
    padding: 0 16px;
    border: 1px solid #747578;
    border-radius: 8px;
    font-family: inherit;
    font-size: 16px;
    line-height: 1.4;
    color: #212122;
    background: #FFFFFF;
    touch-action: manipulation;
}
.na-input::placeholder { color: #747578; }
.na-input:focus { outline: none; border: 2px solid #212122; padding-left: 15px; }
.na-input[aria-invalid="true"] { border: 2px solid #B02A4C; padding-left: 15px; }
.na-input[aria-invalid="true"]:focus { outline: none; border-color: #212122; }

.na-error {
    margin: 0;
    display: flex;
    align-items: flex-start;
    gap: 8px;
    font-size: 12px;
    line-height: 1.3;
    letter-spacing: 0.25px;
    color: #B02A4C;
}
.na-error svg { flex: none; }
.na-error[hidden] { display: none; }
.na-hint { margin: 0; font-size: 12px; line-height: 1.3; color: #747578; }
.na-hint[hidden] { display: none; }

.na-banner {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 12px 16px;
    border-radius: 8px;
    background: #F7CED8;
}
.na-banner[hidden] { display: none; }
.na-banner svg { flex: none; }
.na-banner p { margin: 0; font-size: 14px; line-height: 1.5; color: #58001A; }
.na-banner a { color: inherit; text-decoration: underline; }
.na-banner-text {
    display: block;
    margin: 0;
    font-size: 14px;
    line-height: 1.5;
    color: #58001A;
}
.na-banner-text a { font-weight: 600; }

.na-access {
    display: flex;
    flex-direction: column;
    gap: 16px;
}
.na-access-label {
    display: flex;
    flex-direction: column;
    gap: 2px;
    padding-top: 16px;
    border-top: 1px solid #EFEFF0;
}
.na-access-label p:first-child { margin: 0; font-size: 12px; line-height: 1.3; color: #747578; }
.na-access-label p:last-child { margin: 0; font-size: 16px; line-height: 1.4; font-weight: 500; color: #212122; }

.na-label-row { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; }
.na-linkbtn {
    display: inline-flex;
    align-items: center;
    min-height: 44px;
    padding: 0 4px;
    border: 0;
    background: none;
    font-family: inherit;
    font-size: 14px;
    line-height: 1.5;
    font-weight: 500;
    color: #295DA1;
    text-decoration: underline;
    cursor: pointer;
}
.na-linkbtn:hover { color: #204A82; }
.na-note { margin: 0; font-size: 14px; line-height: 1.5; color: #555658; }
.na-note a { font-weight: 500; display: inline-block; padding: 10px 0; }
.na-sr { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }

.na-pw { position: relative; }
.na-pw .na-input { padding-right: 52px; }
.na-pw .na-input:focus, .na-pw .na-input[aria-invalid="true"] { padding-right: 51px; }
.na-eye {
    position: absolute;
    top: 0;
    right: 0;
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    border: 0;
    border-radius: 0 8px 8px 0;
    background: transparent;
    cursor: pointer;
    touch-action: manipulation;
}
.na-eye:hover { background: #EFEFF0; }
.na-eye[aria-pressed="false"] [data-na-eye-closed],
.na-eye[aria-pressed="true"] [data-na-eye-open] { display: none; }

.na-back-row { border-top: 1px solid #EFEFF0; padding-top: 16px; }
.na-back {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    min-height: 44px;
    font-size: 14px;
    line-height: 1.5;
    color: #555658;
    text-decoration: underline;
}
.na-back:hover { color: #212122; }


.na-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    min-height: 44px;
    padding: 0 24px;
    border: 0;
    border-radius: 8px;
    background: #C93030;
    color: #FFFFFF;
    font-family: inherit;
    font-size: 16px;
    line-height: 1.4;
    font-weight: 500;
    text-decoration: none;
    cursor: pointer;
    touch-action: manipulation;
}
.na-btn:hover { background: #9C2222; color: #FFFFFF; }
.na-btn:active { transform: scale(0.97); }
@media (prefers-reduced-motion: no-preference) {
    .na-btn { transition: background-color 200ms ease-out, transform 150ms ease-out; }
}

.na-footer {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
    text-align: center;
}
.na-footer p { margin: 0; font-size: 12px; line-height: 1.3; color: #555658; }
.na-footer a { display: inline-flex; align-items: center; min-height: 24px; }
.na-footer img { display: block; height: 12px; width: auto; }

.na-card-body { display: flex; flex-direction: column; gap: 32px; }
.na-card-body[hidden] { display: none; }
.na-mail.na-clock { background: #FCEBD4; }
.na-mail {
    width: 56px;
    height: 56px;
    border-radius: 9999px;
    background: #D1E8DF;
    display: flex;
    align-items: center;
    justify-content: center;
}
.na-muted { color: #555658; }
.na-strong { color: #212122; font-weight: 500; overflow-wrap: anywhere; }