/* Public identity pages. Kept separate from the admin workspace styles. */
.auth-body { background: var(--nt-yellow-soft); color: #151515; }
.auth-shell { min-height: 100vh; min-height: 100dvh; display: grid; grid-template-columns: minmax(390px, 44%) minmax(0, 56%); }
.auth-brand { min-width: 0; padding: clamp(32px, 3.4vw, 62px) clamp(32px, 4.25vw, 76px); background: radial-gradient(circle at 90% 96%, rgba(246,213,72,.09), transparent 40%), linear-gradient(153deg, #202020 0%, #151515 48%, #111 100%); color: #fff; display: flex; flex-direction: column; position: relative; overflow: hidden; }
.auth-brand::after { content: ''; position: absolute; width: 580px; height: 580px; border: 1px solid rgba(246,213,72,.13); border-radius: 50%; right: -340px; bottom: -360px; box-shadow: 0 0 0 78px rgba(246,213,72,.025), 0 0 0 156px rgba(246,213,72,.017); pointer-events: none; }
.auth-brand-top { align-items: center; gap: 19px; }
.auth-brand-top .brand-monogram { transform: scale(1.12); transform-origin: left center; margin-right: 10px; }
.auth-brand-top .auth-brand-name { color: #fff; font-size: 13px; font-weight: 800; letter-spacing: .19em; line-height: 1.35; }
.auth-brand-name small { display: block; color: #aaa; font-size: 11px; font-weight: 500; letter-spacing: .02em; margin-top: 4px; }
.auth-brand-content { position: relative; z-index: 1; margin: auto 0; padding: 72px 0 68px; }
.auth-brand-rule { display: block; width: 40px; height: 5px; border-radius: 4px; background: var(--nt-yellow); margin-bottom: 30px; }
.auth-brand-content .auth-kicker { display: block; margin: 0 0 17px; color: var(--nt-yellow); font-size: 12px; font-weight: 800; letter-spacing: .17em; }
.auth-brand-content h1 { color: #fff; font-size: clamp(38px, 3.85vw, 61px); line-height: 1.1; letter-spacing: -.055em; font-weight: 800; margin: 0; max-width: 580px; }
.auth-brand-content h1 span { color: #e9e9e9; font-size: .79em; font-weight: 650; letter-spacing: -.045em; }
.auth-brand-description { color: #d2d2d2; font-size: clamp(15px, 1.1vw, 18px); line-height: 1.6; margin: 24px 0 0; }
.auth-features { list-style: none; padding: 0; margin: 48px 0 0; display: grid; gap: 19px; }
.auth-features li { display: flex; align-items: center; gap: 15px; color: #dedede; font-size: 14px; line-height: 1.35; }
.auth-features li:first-child::before { content: ''; width: 20px; height: 20px; flex: 0 0 20px; }
.auth-features .icon { width: 20px; height: 20px; color: var(--nt-yellow); }
.auth-brand-footer { display: flex; align-items: center; gap: 11px; color: #b2b2b2; font-size: 12px; letter-spacing: .025em; }
.auth-footer-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--nt-yellow); box-shadow: 0 0 0 5px rgba(246,213,72,.11); }

.auth-panel { min-width: 0; min-height: 100vh; min-height: 100dvh; padding: 36px 28px; display: flex; flex-direction: column; justify-content: center; align-items: center; background: radial-gradient(ellipse 56% 22% at 55% 0, rgba(255,216,103,.36), transparent 100%), linear-gradient(145deg, var(--nt-yellow-lighter) 0%, var(--nt-yellow-soft) 100%); }
.auth-mobile-brand { display: none; }
.auth-panel .login-card { width: min(466px, 100%); padding: clamp(30px, 3.1vw, 45px); background: #fff; border: 1px solid #e7e1c8; border-radius: 21px; box-shadow: 0 18px 48px rgba(56,43,5,.075), 0 2px 9px rgba(56,43,5,.025); }
.auth-card-icon { width: 52px; height: 52px; display: grid; place-items: center; color: #151515; background: #fff2bc; border-radius: 14px; margin-bottom: 23px; }
.auth-panel .login-card .auth-card-kicker { margin: 0 0 7px; color: #a78300; font-size: 11px; font-weight: 800; letter-spacing: .14em; }
.auth-panel .login-card h2 { color: #151515; font-size: clamp(30px, 2.35vw, 35px); line-height: 1.14; letter-spacing: -.045em; font-weight: 800; margin: 0 0 9px; }
.auth-panel .login-card .auth-card-subtitle { color: #6b7280; font-size: 14px; line-height: 1.5; margin: 0 0 30px; }
.auth-field { margin-bottom: 18px; }
.auth-panel .login-card .auth-field label { display: block; color: #242424; font-size: 13px; font-weight: 700; margin: 0 0 8px; }
.auth-panel .login-card .auth-field input,
.auth-panel .login-card .auth-field select { display: block; width: 100%; height: 51px; margin: 0; padding: 0 15px; color: #151515; background: #fff; border: 1px solid #d9d9d5; border-radius: 11px; font-size: 14px; transition: border-color .15s, box-shadow .15s; }
.auth-panel .login-card .auth-field textarea { display: block; width: 100%; min-height: 112px; margin: 0; padding: 13px 15px; color: #151515; background: #fff; border: 1px solid #d9d9d5; border-radius: 11px; font: inherit; font-size: 14px; resize: vertical; }
.auth-panel .login-card .auth-field select { padding-right: 34px; cursor: pointer; }
.auth-panel .login-card .auth-field input::placeholder { color: #969ca3; }
.auth-panel .login-card .auth-field input:focus,
.auth-panel .login-card .auth-field select:focus,
.auth-panel .login-card .auth-field textarea:focus { outline: none; border-color: var(--nt-yellow); box-shadow: 0 0 0 3px rgba(246,213,72,.22); }
.auth-panel .login-card .auth-field input:disabled { background: #f8f8f4; color: #8b8e93; cursor: not-allowed; }
.password-control { position: relative; }
.auth-panel .login-card .password-control input { padding-right: 53px; }
.password-toggle { position: absolute; top: 0; right: 2px; height: 51px; width: 47px; display: grid; place-items: center; color: #717780; background: transparent; border: 0; border-radius: 9px; }
.password-toggle:hover, .password-toggle.is-visible { color: #151515; }
.password-toggle.is-visible::after { content: ''; position: absolute; width: 25px; height: 2px; border-radius: 2px; background: currentColor; transform: rotate(-45deg); }
.password-toggle:focus-visible { outline: 2px solid var(--nt-yellow); outline-offset: -4px; }
.auth-forgot-row { display: flex; justify-content: flex-end; margin: 15px 0 0; }
.auth-forgot-row a, .auth-back-link { color: #66540c; font-size: 13px; font-weight: 700; }
.auth-forgot-row a:hover, .auth-back-link:hover { text-decoration: underline; }
.auth-submit { width: 100%; min-height: 52px; display: flex; align-items: center; justify-content: center; gap: 11px; padding: 12px 18px; border: 1px solid #eac400; border-radius: 11px; color: #111; background: var(--nt-yellow); font-size: 14px; font-weight: 800; transition: background .15s, transform .15s; }
.auth-submit:hover:not(:disabled) { background: var(--nt-yellow-hover); transform: translateY(-1px); }
.auth-submit:focus-visible { outline: 3px solid rgba(246,213,72,.45); outline-offset: 3px; }
.auth-submit:disabled { background: #f5e6a3; color: #716641; border-color: #ecd980; cursor: not-allowed; }
.auth-submit.is-submitting { pointer-events: none; }
.auth-submit.is-submitting::before { content: ''; width: 14px; height: 14px; border: 2px solid rgba(17,17,17,.25); border-top-color: #111; border-radius: 50%; animation: auth-spin .7s linear infinite; }
@keyframes auth-spin { to { transform: rotate(360deg); } }
.auth-divider { display: flex; align-items: center; gap: 14px; margin: 24px 0 17px; color: #8a8e93; font-size: 12px; white-space: nowrap; }
.auth-divider::before, .auth-divider::after { content: ''; height: 1px; flex: 1; background: #e9e7df; }
.auth-sso-list { display: grid; gap: 9px; }
.auth-sso-button { width: 100%; min-height: 49px; display: flex; justify-content: center; align-items: center; gap: 11px; border: 1px solid #dfdfda; border-radius: 11px; color: #3e4247; background: #fff; font-size: 13px; font-weight: 700; }
.auth-sso-button:disabled { cursor: not-allowed; opacity: .62; }
.auth-panel .login-card .auth-availability { margin: 10px 0 0; color: #767b81; font-size: 11px; text-align: center; line-height: 1.4; }
.auth-panel .login-card .auth-security-note { display: flex; align-items: center; justify-content: center; gap: 8px; color: #84878b; font-size: 11px; line-height: 1.4; margin: 27px 0 0; }
.auth-security-note .icon { color: #9b8c43; }
.mfa-qr-wrap { display: grid; place-items: center; margin: 18px 0 20px; padding: 12px; background: #fff; border: 1px solid var(--border, #e4e0d5); border-radius: 12px; }
.mfa-qr { display: block; width: 200px; height: 200px; object-fit: contain; image-rendering: auto; }
.mfa-qr-fallback { margin: 18px 0 20px; padding: 13px 14px; color: var(--text-secondary, #666b73); background: var(--business-bg-soft, #fbf8ec); border: 1px solid var(--border, #e4e0d5); border-radius: 10px; font-size: 13px; line-height: 1.45; text-align: center; }
.auth-error { display: flex; align-items: center; gap: 10px; margin: -8px 0 22px; padding: 13px 14px; color: #ae2020; background: #fff0f0; border: 1px solid #f9d1d1; border-radius: 10px; font-size: 13px; line-height: 1.35; }
.auth-panel .login-card .auth-unavailable { color: #675a25; background: var(--nt-yellow-lighter); border: 1px solid #efe2ad; border-radius: 10px; padding: 13px 14px; font-size: 12px; line-height: 1.5; margin: 18px 0 0; }
.auth-back-link { display: flex; align-items: center; justify-content: center; gap: 7px; margin-top: 25px; }
.vpn-register-prompt { margin: 18px 0 0; text-align: center; color: #6b7280; font-size: 13px; }
.vpn-register-prompt a { color: #66540c; font-weight: 800; }
.auth-success { display: grid; gap: 8px; margin: 0 0 20px; padding: 15px; color: #155b36; background: #eef9f1; border: 1px solid #bfe4cb; border-radius: 11px; font-size: 13px; line-height: 1.5; }
.auth-success strong { font-size: 15px; }
.vpn-register-form .auth-field { margin-bottom: 14px; }
.vpn-honeypot { position: absolute !important; width: 1px !important; height: 1px !important; padding: 0 !important; margin: -1px !important; overflow: hidden !important; clip: rect(0, 0, 0, 0) !important; white-space: nowrap !important; border: 0 !important; }
.vpn-admin-list { display: grid; gap: 16px; }
.vpn-admin-request { padding: 22px; }
.vpn-admin-request > header { display: flex; justify-content: space-between; gap: 16px; align-items: flex-start; }
.vpn-admin-request > header h3 { margin: 8px 0 0; }
.vpn-admin-request > header time, .vpn-review-meta { color: var(--text-secondary, #6b7280); font-size: 12px; }
.vpn-status { display: inline-block; padding: 4px 9px; border-radius: 999px; background: #f3f0e3; color: #69571a; font-size: 11px; font-weight: 800; }
.vpn-status-approved { background: #e8f6ed; color: #206a3b; }
.vpn-status-rejected { background: #fff0f0; color: #a52828; }
.vpn-admin-request dl { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 13px 22px; margin: 20px 0; }
.vpn-admin-request dl div { min-width: 0; }
.vpn-admin-request dt { color: var(--text-secondary, #6b7280); font-size: 11px; }
.vpn-admin-request dd { margin: 3px 0 0; overflow-wrap: anywhere; font-size: 13px; }
.vpn-admin-request .vpn-request-purpose { grid-column: 1 / -1; }
.vpn-review-form { display: grid; gap: 12px; border-top: 1px solid var(--border, #e4e0d5); padding-top: 16px; }
.vpn-review-form label { display: grid; gap: 6px; font-size: 12px; }
.vpn-review-form label input { max-width: 560px; }
.vpn-review-form > div { display: flex; gap: 9px; }
.vpn-review-meta { margin-bottom: 0; line-height: 1.6; }
@media (max-width: 600px) { .vpn-admin-request dl { grid-template-columns: 1fr; } .vpn-admin-request .vpn-request-purpose { grid-column: auto; } }
.auth-panel-footer { margin: 24px 0 0; color: #8d8b7e; font-size: 11px; letter-spacing: .02em; }
.auth-panel-footer span { padding: 0 5px; }

@media (max-width: 1100px) {
  .auth-shell { grid-template-columns: minmax(310px, 41%) minmax(0, 59%); }
  .auth-brand { padding: 35px 38px; }
  .auth-brand-content h1 { font-size: clamp(35px, 3.8vw, 44px); }
  .auth-features { gap: 16px; margin-top: 34px; }
}
@media (max-width: 860px) and (min-width: 769px) {
  .auth-shell { grid-template-columns: minmax(286px, 38%) minmax(0, 62%); }
  .auth-brand { display: flex; padding: 32px 28px; }
  .auth-brand-content h1 { font-size: 34px; }
  .auth-features li { font-size: 12px; }
  .auth-panel { padding: 28px 21px; }
  .auth-panel .login-card { padding: 28px; }
}
@media (max-width: 768px) {
  .auth-shell { display: block; }
  .auth-brand { display: none; }
  .auth-panel { min-height: 100vh; min-height: 100dvh; justify-content: flex-start; padding: 30px 18px 26px; }
  .auth-mobile-brand { display: flex; align-items: center; gap: 17px; width: min(466px, 100%); margin: 0 auto 27px; }
  .auth-mobile-brand .brand-monogram { transform: scale(.9); transform-origin: left center; margin-right: -6px; }
  .auth-mobile-brand strong { display: block; font-size: 13px; font-weight: 850; letter-spacing: .16em; }
  .auth-mobile-brand small { display: block; color: #70716c; font-size: 11px; margin-top: 4px; }
  .auth-mobile-brand .brand-monogram b { color: #151515; }
  .auth-panel .login-card { margin: auto 0; width: min(466px, 100%); }
  .auth-panel-footer { margin-top: 27px; }
}

@media (max-width: 480px) {
  .auth-panel { padding: 23px 16px 22px; }
  .auth-mobile-brand { margin-bottom: 18px; }
  .auth-panel .login-card { padding: 29px 24px; border-radius: 18px; }
  .auth-card-icon { width: 47px; height: 47px; margin-bottom: 19px; }
  .auth-panel .login-card h2 { font-size: 30px; }
  .auth-panel .login-card .auth-card-subtitle { margin-bottom: 25px; }
  .auth-field { margin-bottom: 16px; }
  .auth-security-note { margin-top: 23px; }
}
@media (max-height: 680px) and (min-width: 769px) {
  .auth-brand-content { padding: 28px 0; }
  .auth-features { margin-top: 25px; gap: 10px; }
  .auth-panel { padding-top: 16px; padding-bottom: 16px; }
  .auth-panel .login-card { padding-top: 26px; padding-bottom: 26px; }
}
@media (prefers-reduced-motion: reduce) {
  .auth-submit, .auth-panel .login-card .auth-field input, .auth-panel .login-card .auth-field select { transition: none; }
  .auth-submit.is-submitting::before { animation: none; }
}

/* VPN registration application layout */
.auth-vpn-register .auth-panel { justify-content: flex-start; padding-top: 24px; padding-bottom: 24px; }
.auth-vpn-register .auth-panel .login-card { width: min(680px, 100%); padding: 32px clamp(24px, 4vw, 42px); }
.auth-vpn-register .auth-panel .login-card .auth-card-subtitle { max-width: 520px; margin: 8px auto 22px; }
.vpn-register-form { display: grid; gap: 17px; }
.vpn-type-choice { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; width: min(100%, 390px); min-width: 0; margin: 0 auto; padding: 0; border: 0; }
.vpn-type-choice legend { margin-bottom: 9px; color: #343a40; font-size: 12px; font-weight: 750; }
.vpn-type-option { position: relative; box-sizing: border-box; display: flex; align-items: center; gap: 8px; width: 100%; min-width: 0; min-height: 54px; padding: 8px 10px; border: 1px solid #e1e2df; border-radius: 11px; background: linear-gradient(180deg, #fff 0%, #fcfcfa 100%); cursor: pointer; transition: border-color .16s, box-shadow .16s, background .16s, transform .16s; overflow-wrap: anywhere; }
.vpn-type-option:hover { border-color: #d4bd49; transform: translateY(-1px); }
.vpn-type-option:has(input:checked) { border-color: #d7b900; background: #fffbed; box-shadow: 0 0 0 3px rgba(246,213,72,.17); }
.vpn-type-option input { position: absolute; width: 1px; height: 1px; opacity: 0; }
.vpn-type-option input:focus-visible + .vpn-type-icon { outline: 3px solid rgba(246,213,72,.6); outline-offset: 3px; }
.vpn-type-icon { flex: 0 0 27px; width: 27px; height: 27px; display: grid; place-items: center; color: #705d00; background: #fff1b2; border-radius: 8px; }
.vpn-type-option > span:last-child { display: grid; flex: 1 1 auto; gap: 3px; min-width: 0; overflow-wrap: anywhere; }
.vpn-type-option strong { color: #222; font-size: 13px; overflow-wrap: anywhere; }
.vpn-type-option small { color: #737982; font-size: 11px; line-height: 1.35; overflow-wrap: anywhere; }
.vpn-form-section { padding-top: 16px; border-top: 1px solid #ecebe5; }
.vpn-section-heading { display: flex; align-items: center; gap: 11px; margin-bottom: 14px; }
.vpn-section-heading > span { flex: 0 0 31px; width: 31px; height: 31px; display: grid; place-items: center; color: #6e5a00; background: #fff2b9; border-radius: 9px; font-size: 11px; font-weight: 850; }
.vpn-section-heading h3 { margin: 0; color: #25292e; font-size: 14px; font-weight: 800; }
.vpn-section-heading p { margin: 3px 0 0; color: #858b91; font-size: 11px; }
.vpn-form-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 16px; row-gap: 0; }
.vpn-form-grid .auth-field { min-width: 0; margin-bottom: 13px !important; }
.vpn-form-grid .auth-field label { margin-bottom: 6px !important; font-size: 12px !important; }
.vpn-form-grid .auth-field label i { color: #aa8100; font-style: normal; }
.vpn-form-grid .auth-field input { height: 46px !important; padding: 0 12px !important; border-radius: 10px !important; font-size: 13px !important; }
.vpn-form-grid .auth-field textarea { min-height: 104px; padding: 11px 12px; border-radius: 10px; font-size: 13px; }
.vpn-span-two { grid-column: 1 / -1; }
.vpn-review-note { display: flex; align-items: flex-start; gap: 10px; padding: 12px 13px; color: #665b2b; background: #fffaf0; border: 1px solid #f0e5bf; border-radius: 11px; }
.vpn-review-note > span { flex: 0 0 auto; margin-top: 1px; color: #907700; }
.vpn-review-note p { margin: 0; font-size: 11px; line-height: 1.5; }
.vpn-submit { margin-top: 1px; box-shadow: 0 7px 16px rgba(181,143,0,.16); }
.auth-panel .login-card .auth-field > textarea { box-sizing: border-box; width: 100%; }
.vpn-success { justify-items: center; padding: 24px 20px; text-align: center; }
.vpn-success-icon { width: 48px; height: 48px; display: grid; place-items: center; color: #17663d; background: #d9f2e1; border-radius: 50%; }
.vpn-success strong { font-size: 17px; }
.vpn-success > span:last-child { max-width: 380px; }
.vpn-honeypot { position: absolute !important; width: 1px !important; height: 1px !important; padding: 0 !important; margin: -1px !important; overflow: hidden !important; clip: rect(0, 0, 0, 0) !important; white-space: nowrap !important; border: 0 !important; }
.auth-login-theme:not(.auth-vpn-register) .vpn-register-prompt { margin-top: 25px; }
@media (max-width: 600px) {
  .auth-vpn-register .auth-panel { min-height: 100dvh; padding: 17px 13px 22px; }
  .auth-vpn-register .auth-mobile-brand { margin-bottom: 15px; }
  .auth-vpn-register .auth-panel .login-card { width: 100%; margin: 0; padding: 23px 19px; border-radius: 17px; }
  .auth-vpn-register .auth-panel .login-card .auth-language { margin-bottom: 10px; }
  .auth-vpn-register .auth-panel .login-card .login-brand-logo { width: 100px; height: 46px; margin-bottom: 8px; }
  .auth-vpn-register .auth-panel .login-card h2 { font-size: 25px; }
  .auth-vpn-register .auth-panel .login-card .auth-card-subtitle { margin: 6px 0 17px; font-size: 12px; }
  .vpn-register-form { gap: 14px; }
  .vpn-type-choice { gap: 8px; width: min(100%, 340px); }
  .vpn-type-option { min-height: 48px; gap: 5px; padding: 5px 6px; }
  .vpn-type-icon { flex-basis: 23px; width: 23px; height: 23px; border-radius: 7px; }
  .vpn-type-icon .icon { width: 15px; height: 15px; }
  .vpn-type-option strong { font-size: 10px; line-height: 1.25; }
  .vpn-type-option small { display: none; }
  .vpn-form-grid { grid-template-columns: minmax(0, 1fr); }
  .vpn-span-two { grid-column: auto; }
  .vpn-form-grid .auth-field { margin-bottom: 11px !important; }
  .vpn-form-grid .auth-field input { height: 45px !important; }
  .vpn-review-note { padding: 11px; }
  .vpn-submit { min-height: 50px; }
  .auth-vpn-register .auth-panel-footer { margin-top: 16px; }
  .auth-login-theme:not(.auth-vpn-register) .vpn-register-prompt { margin-top: 20px; }
}
@media (max-width: 360px) {
  .auth-vpn-register .auth-panel { padding-right: 9px; padding-left: 9px; }
  .auth-vpn-register .auth-panel .login-card { padding-right: 15px; padding-left: 15px; }
  .vpn-type-choice { gap: 6px; }
  .vpn-type-option { min-height: 46px; gap: 4px; padding: 4px; }
  .vpn-type-icon { flex-basis: 21px; width: 21px; height: 21px; }
  .vpn-type-icon .icon { width: 14px; height: 14px; }
  .vpn-type-option strong { font-size: 9px; }
}

/* Refined applicant-facing VPN application form. */
.auth-vpn-register .auth-panel .login-card {
  width: min(760px, 100%);
  padding: 34px clamp(24px, 4.2vw, 48px);
  border-color: #e8dfbd;
  border-radius: 24px;
  box-shadow: 0 22px 58px rgba(47, 39, 8, .1), 0 3px 12px rgba(27, 29, 31, .035);
}
.auth-vpn-register .auth-panel .login-card h2 {
  font-size: clamp(27px, 2.2vw, 32px);
  letter-spacing: -.035em;
}
.auth-vpn-register .auth-panel .login-card .auth-card-subtitle {
  max-width: 560px;
  margin: 8px 0 20px;
  line-height: 1.65;
}
.vpn-register-form { gap: 15px; }
.vpn-type-choice {
  width: 100%;
  gap: 14px;
  margin: 2px 0 0;
}
.vpn-type-choice legend { margin-bottom: 10px; font-size: 13px; }
.vpn-type-option {
  min-height: 72px;
  gap: 12px;
  padding: 12px 15px;
  border-color: #e1dfd5;
  border-radius: 14px;
}
.vpn-type-option:has(input:checked) {
  border-color: #d2b20c;
  background: linear-gradient(145deg, #fffbed, #fff);
  box-shadow: 0 0 0 3px rgba(246, 213, 72, .16);
}
.vpn-type-icon { flex-basis: 36px; width: 36px; height: 36px; border-radius: 11px; }
.vpn-type-option strong { font-size: 14px; }
.vpn-type-option small { font-size: 12px; }
.vpn-form-section {
  padding: 19px 18px 5px;
  border: 1px solid #ece9dd;
  border-radius: 16px;
  background: linear-gradient(145deg, #fff, #fdfcf8);
}
.vpn-section-heading { gap: 12px; margin-bottom: 17px; }
.vpn-section-heading > span { flex-basis: 36px; width: 36px; height: 36px; border-radius: 11px; font-size: 12px; }
.vpn-section-heading h3 { font-size: 15px; }
.vpn-section-heading p { font-size: 12px; }
.vpn-form-grid { column-gap: 18px; }
.vpn-form-grid .auth-field { margin-bottom: 15px !important; }
.vpn-form-grid .auth-field label { margin-bottom: 7px !important; font-size: 12px !important; }
.vpn-form-grid .auth-field input { height: 48px !important; border-radius: 11px !important; }
.vpn-form-grid .auth-field textarea { min-height: 120px; border-radius: 11px; line-height: 1.6; }
.vpn-review-note { padding: 14px 15px; border-radius: 13px; }
.vpn-review-note p { font-size: 12px; line-height: 1.6; }
.vpn-submit { min-height: 54px; margin-top: 2px; border-radius: 13px; font-size: 14px; }
.vpn-captcha-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 15px 17px;
  border: 1px solid #e7e4d9;
  border-radius: 14px;
  background: #f9f9f6;
}
.vpn-captcha-card > div:first-child { display: grid; gap: 5px; }
.vpn-captcha-kicker { color: #8b7520; font-size: 9px; font-weight: 850; letter-spacing: .12em; }
.vpn-captcha-card label { color: #30363c; font-size: 12px; font-weight: 700; line-height: 1.5; }
.vpn-captcha-control { display: grid; grid-template-columns: auto 74px; align-items: center; gap: 7px 9px; flex: 0 0 auto; }
.vpn-captcha-control strong { color: #24292e; font-size: 16px; font-variant-numeric: tabular-nums; }
.vpn-captcha-control input { box-sizing: border-box; width: 74px; height: 42px !important; padding: 0 10px !important; text-align: center; font-size: 15px !important; font-weight: 750; }
.vpn-captcha-control span { grid-column: 1 / -1; color: #7d8389; font-size: 10px; text-align: right; }
@media (max-width: 600px) {
  .auth-vpn-register .auth-panel .login-card { padding: 24px 18px; border-radius: 19px; }
  .vpn-type-choice { gap: 9px; }
  .vpn-type-option { min-height: 62px; gap: 8px; padding: 9px; }
  .vpn-type-icon { flex-basis: 30px; width: 30px; height: 30px; }
  .vpn-type-option strong { font-size: 12px; }
  .vpn-type-option small { display: block; font-size: 10px; }
  .vpn-form-section { padding: 15px 12px 4px; border-radius: 13px; }
  .vpn-form-grid { row-gap: 0; }
  .vpn-form-grid .auth-field input { height: 47px !important; }
  .vpn-captcha-card { align-items: stretch; flex-direction: column; gap: 11px; padding: 13px; }
  .vpn-captcha-control { grid-template-columns: auto 80px; }
  .vpn-captcha-control span { text-align: left; }
}

/* Let the long application form use normal page scrolling at every viewport. */
.auth-vpn-register.auth-body { overflow-x: hidden; overflow-y: auto; }
.auth-vpn-register .auth-shell {
  height: auto;
  min-height: 100vh;
  min-height: 100dvh;
  overflow: visible;
}
.auth-vpn-register .auth-brand { height: auto; min-height: 100vh; min-height: 100dvh; }
.auth-vpn-register .auth-panel {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  height: auto;
  min-height: 100vh;
  min-height: 100dvh;
  overflow: visible;
}
.auth-vpn-register .auth-panel .login-card { flex: 0 0 auto; }
@media (max-width: 767px) {
  .auth-vpn-register .auth-shell { display: block; height: auto; min-height: 100dvh; overflow: visible; }
  .auth-vpn-register .auth-panel { display: flex; min-height: 100dvh; height: auto; padding-bottom: 24px; overflow: visible; }
  .auth-vpn-register .auth-panel .login-card { width: min(100%, 680px); margin: 0 auto; }
}

/* Compact VPN application form: retain readable controls with less scrolling. */
.auth-vpn-register .auth-panel { padding-top: 14px; padding-bottom: 14px; }
.auth-vpn-register .auth-panel .login-card {
  width: min(720px, 100%);
  padding: 23px clamp(20px, 3.2vw, 34px);
  border-radius: 19px;
}
.auth-vpn-register .auth-panel .login-card .auth-language { margin-bottom: 8px; }
.auth-vpn-register .auth-panel .login-card .login-brand-logo { width: 96px; height: 38px; margin-bottom: 5px; }
.auth-vpn-register .auth-panel .login-card h2 { font-size: 25px; }
.auth-vpn-register .auth-panel .login-card .auth-card-subtitle { margin: 4px 0 12px; font-size: 12px; }
.vpn-register-form { gap: 10px; }
.vpn-type-choice { gap: 10px; }
.vpn-type-choice legend { margin-bottom: 6px; font-size: 12px; }
.vpn-type-option { min-height: 56px; padding: 8px 11px; border-radius: 11px; }
.vpn-type-icon { flex-basis: 30px; width: 30px; height: 30px; border-radius: 9px; }
.vpn-type-option strong { font-size: 12px; }
.vpn-type-option small { font-size: 10px; }
.vpn-form-section { padding: 12px 13px 1px; border-radius: 13px; }
.vpn-section-heading { gap: 9px; margin-bottom: 9px; }
.vpn-section-heading > span { flex-basis: 29px; width: 29px; height: 29px; border-radius: 8px; font-size: 10px; }
.vpn-section-heading h3 { font-size: 13px; }
.vpn-section-heading p { margin-top: 1px; font-size: 10px; }
.vpn-form-grid { column-gap: 12px; }
.vpn-form-grid .auth-field { margin-bottom: 9px !important; }
.vpn-form-grid .auth-field label { margin-bottom: 4px !important; font-size: 11px !important; }
.vpn-form-grid .auth-field input { height: 40px !important; padding: 0 10px !important; border-radius: 9px !important; font-size: 12px !important; }
.vpn-form-grid .auth-field textarea { min-height: 82px; padding: 9px 10px; border-radius: 9px; font-size: 12px; }
.vpn-captcha-card { gap: 12px; padding: 10px 12px; border-radius: 11px; }
.vpn-captcha-card label { font-size: 11px; }
.vpn-captcha-control { grid-template-columns: auto 62px; gap: 4px 7px; }
.vpn-captcha-control input { width: 62px; height: 36px !important; font-size: 13px !important; }
.vpn-captcha-control span { font-size: 9px; }
.vpn-review-note { gap: 8px; padding: 9px 11px; border-radius: 10px; }
.vpn-review-note p { font-size: 10px; }
.vpn-submit { min-height: 46px; border-radius: 10px; font-size: 13px; }
@media (max-width: 600px) {
  .auth-vpn-register .auth-panel { padding: 11px 10px 18px; }
  .auth-vpn-register .auth-panel .login-card { width: min(100%, 520px); padding: 18px 13px; border-radius: 15px; }
  .auth-vpn-register .auth-panel .login-card .login-brand-logo { width: 84px; height: 33px; }
  .auth-vpn-register .auth-panel .login-card h2 { font-size: 22px; }
  .auth-vpn-register .auth-panel .login-card .auth-card-subtitle { margin-bottom: 9px; font-size: 11px; }
  .vpn-register-form { gap: 8px; }
  .vpn-type-choice { gap: 7px; }
  .vpn-type-option { min-height: 50px; gap: 6px; padding: 6px; }
  .vpn-type-icon { flex-basis: 25px; width: 25px; height: 25px; }
  .vpn-type-option strong { font-size: 11px; }
  .vpn-type-option small { display: none; }
  .vpn-form-section { padding: 10px 10px 0; }
  .vpn-form-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 9px; }
  .vpn-span-two { grid-column: 1 / -1; }
  .vpn-form-grid .auth-field { margin-bottom: 8px !important; }
  .vpn-form-grid .auth-field input { height: 39px !important; }
  .vpn-form-grid .auth-field textarea { min-height: 74px; }
  .vpn-captcha-card { flex-direction: row; align-items: center; gap: 8px; padding: 9px; }
  .vpn-captcha-control { grid-template-columns: auto 54px; }
  .vpn-captcha-control input { width: 54px; }
  .vpn-captcha-control span { text-align: right; }
}
@media (max-width: 360px) {
  .vpn-form-grid { grid-template-columns: minmax(0, 1fr); }
  .vpn-span-two { grid-column: auto; }
  .vpn-captcha-card { flex-direction: column; align-items: stretch; }
  .vpn-captcha-control { grid-template-columns: auto 60px; }
  .vpn-captcha-control input { width: 60px; }
}

/* Enterprise identity portal visual system. */
.auth-body {
  background: var(--business-bg);
  color: var(--text-primary);
}

.auth-shell { grid-template-columns: minmax(390px, 42%) minmax(0, 58%); }
.auth-brand {
  padding: clamp(34px, 5vw, 72px) clamp(30px, 5vw, 82px);
  background: var(--nt-charcoal);
}
.auth-brand::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  width: 5px;
  height: 116px;
  background: var(--nt-yellow);
}
.auth-brand::after { border-color: rgba(246,213,72,.12); box-shadow: 0 0 0 78px rgba(246,213,72,.022), 0 0 0 156px rgba(246,213,72,.014); }
.auth-brand-top { gap: 16px; }
.auth-brand-top .brand-monogram { transform: none; margin-right: 2px; }
.auth-brand-top .auth-brand-name { font-size: 13px; letter-spacing: .12em; }
.auth-brand-name small { color: #aeb1b5; font-size: 11px; letter-spacing: .01em; }
.auth-brand-content { max-width: 510px; padding: 56px 0 50px; }
.auth-brand-rule { width: 38px; height: 4px; border-radius: 0; margin-bottom: 25px; }
.auth-brand-content .auth-kicker { margin-bottom: 16px; color: var(--nt-yellow); font-size: 11px; letter-spacing: .13em; }
.auth-brand-content h1 { max-width: 500px; font-size: clamp(34px, 3.45vw, 50px); line-height: 1.08; letter-spacing: -.045em; }
.auth-brand-content h1 span { color: #fff; }
.auth-brand-description { max-width: 430px; margin-top: 22px; color: #c8cbd0; font-size: 15px; line-height: 1.65; }
.auth-features { margin-top: 38px; gap: 15px; }
.auth-features li { gap: 12px; color: #d9dce0; font-size: 13px; }
.auth-features .icon { width: 18px; height: 18px; padding: 3px; color: var(--nt-yellow); border: 1px solid rgba(246,213,72,.55); border-radius: 50%; }
.auth-brand-footer { color: #aeb1b5; font-size: 12px; }
.auth-footer-dot { width: 6px; height: 6px; border-radius: 0; box-shadow: none; }

.auth-panel {
  padding: 32px clamp(18px, 5vw, 76px);
  background: var(--business-bg);
}
.auth-language { display: flex; justify-content: flex-end; margin: -4px 0 22px; }
.auth-language a { color: var(--text-secondary); font-size: 12px; font-weight: 650; }
.auth-language a:hover { color: var(--text-primary); text-decoration: underline; text-underline-offset: 3px; }
.auth-panel .login-card {
  width: min(456px, 100%);
  padding: 34px 36px 32px;
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: 16px;
  box-shadow: 0 12px 30px rgba(33, 28, 14, .07);
}
.auth-card-icon { width: 44px; height: 44px; margin-bottom: 21px; border-radius: 10px; color: var(--nt-black); background: #FFF3BC; }
.auth-panel .login-card .auth-card-kicker { margin-bottom: 8px; color: #8B7100; font-size: 10px; letter-spacing: .14em; }
.auth-panel .login-card h2 { font-size: 29px; letter-spacing: -.035em; font-weight: 750; margin-bottom: 8px; }
.auth-panel .login-card .auth-card-subtitle { margin-bottom: 26px; color: var(--text-secondary); font-size: 14px; }
.auth-field { margin-bottom: 17px; }
.auth-panel .login-card .auth-field label { margin-bottom: 7px; color: var(--text-primary); font-size: 13px; font-weight: 700; }
.auth-panel .login-card .auth-field input,
.auth-panel .login-card .auth-field select {
  height: 50px;
  padding: 0 14px;
  border: 1px solid var(--border-strong);
  border-radius: 9px;
  color: var(--text-primary);
  font-size: 14px;
}
.auth-panel .login-card .auth-field input::placeholder { color: var(--text-muted); }
.auth-panel .login-card .auth-field input:hover,
.auth-panel .login-card .auth-field select:hover { border-color: #bcb5a4; }
.auth-panel .login-card .auth-field input:focus,
.auth-panel .login-card .auth-field select:focus { border-color: var(--nt-yellow); box-shadow: 0 0 0 3px rgba(246,213,72,.2); }
.auth-panel .login-card .password-control input { padding-right: 52px; }
.password-toggle { height: 50px; color: var(--text-muted); }
.password-toggle:hover, .password-toggle.is-visible { color: var(--text-primary); }
.auth-submit {
  min-height: 50px;
  margin-top: 4px;
  border: 1px solid var(--nt-yellow);
  border-radius: 9px;
  background: var(--nt-yellow);
  color: var(--nt-black);
  font-size: 14px;
  font-weight: 750;
}
.auth-submit:hover:not(:disabled) { background: var(--nt-yellow-hover); transform: none; }
.auth-forgot-row { margin: 14px 0 0; }
.auth-forgot-row a, .auth-back-link { color: #6F5A00; font-size: 13px; font-weight: 700; }
.auth-error { margin: -3px 0 19px; padding: 12px 13px; border-radius: 9px; color: var(--danger); background: #FFF2F1; border-color: #F0C8C4; font-size: 13px; }
.auth-divider { margin: 25px 0 16px; color: var(--text-muted); font-size: 11px; }
.auth-sso-list { gap: 8px; }
.auth-sso-button { min-height: 46px; border-color: var(--border); border-radius: 9px; color: var(--text-primary); background: #fff; font-size: 13px; }
.auth-sso-button:not(:disabled):hover { background: var(--business-bg-soft); border-color: var(--border-strong); }
.auth-panel .login-card .auth-availability { color: var(--text-muted); }
.auth-panel .login-card .auth-security-note { margin-top: 24px; color: var(--text-muted); font-size: 11px; }
.auth-unavailable { display: grid; gap: 3px; color: #715D12 !important; background: var(--nt-yellow-lighter) !important; border-color: #E9DDAF !important; }
.auth-unavailable strong { color: #554500; font-size: 12px; }
.auth-panel-footer { color: var(--text-muted); }

@media (max-width: 1100px) {
  .auth-shell { grid-template-columns: minmax(315px, 40%) minmax(0, 60%); }
  .auth-brand { padding-left: 38px; padding-right: 38px; }
  .auth-brand-content h1 { font-size: clamp(32px, 3.7vw, 44px); }
}
@media (max-width: 768px) {
  .auth-panel { padding: 28px 18px 26px; }
  .auth-mobile-brand { margin-bottom: 24px; }
  .auth-panel .login-card { width: min(456px, 100%); padding: 31px 30px 29px; border-radius: 14px; }
  .auth-panel-footer { margin-top: 22px; }
}
@media (max-width: 480px) {
  .auth-panel { padding: 22px 10px 20px; }
  .auth-mobile-brand { gap: 13px; margin-bottom: 17px; }
  .auth-panel .login-card { padding: 27px 20px 24px; }
  .auth-panel .login-card h2 { font-size: 27px; }
  .auth-card-icon { width: 42px; height: 42px; margin-bottom: 18px; }
  .auth-panel .login-card .auth-card-subtitle { margin-bottom: 23px; }
}

/* MFA enrollment presentation. The form/action semantics remain unchanged. */
.mfa-steps { display: grid; gap: 10px; margin: 0 0 22px; padding: 13px 14px; background: var(--business-bg-soft); border: 1px solid var(--border); border-radius: 11px; }
.mfa-step { display: grid; grid-template-columns: 25px minmax(0, 1fr); gap: 10px; align-items: start; color: var(--text-muted); }
.mfa-step > span { display: grid; place-items: center; width: 25px; height: 25px; border: 1px solid var(--border-strong); border-radius: 50%; color: var(--text-secondary); background: #fff; font-size: 12px; font-weight: 800; }
.mfa-step.is-active > span { border-color: var(--nt-yellow); color: var(--nt-black); background: var(--nt-yellow); }
.mfa-step strong { display: block; color: var(--text-primary); font-size: 12px; line-height: 1.35; }
.mfa-step small { display: block; margin-top: 2px; color: var(--text-secondary); font-size: 11px; line-height: 1.4; }
.mfa-qr-section { padding: 17px 16px 16px; border: 1px solid var(--border); border-radius: 12px; background: #fff; }
.mfa-section-heading { text-align: center; }
.mfa-section-label { display: block; color: #8b7100; font-size: 10px; font-weight: 800; letter-spacing: .13em; }
.mfa-section-heading h3 { margin: 4px 0 3px; color: var(--text-primary); font-size: 16px; line-height: 1.3; }
.mfa-section-heading p { margin: 0; color: var(--text-secondary); font-size: 12px; line-height: 1.45; }
.mfa-qr-wrap { margin: 15px auto 0; padding: 10px; width: fit-content; border: 1px solid var(--border-strong); border-radius: 10px; background: #fff; }
.mfa-qr { width: 200px; height: 200px; }
.mfa-qr-fallback { margin-top: 15px; }
.mfa-enroll-form .auth-field { margin-bottom: 14px; }
.mfa-field-hint { float: right; color: var(--text-muted); font-size: 11px; font-weight: 500; }
.mfa-enroll-form .auth-submit { margin-top: 0; }

@media (max-width: 480px) {
  .mfa-steps { padding: 12px; }
  .mfa-qr-section { padding: 15px 11px 13px; }
  .mfa-qr { width: 184px; height: 184px; }
}

/* Official NT identity mark with transparent background. */
.auth-brand-top .auth-logo { display: block; width: 140px; height: auto; aspect-ratio: 360 / 144; object-fit: contain; padding: 0; background: transparent; border-radius: 0; flex: none; }
.auth-mobile-logo { display: block; width: 108px; height: auto; aspect-ratio: 360 / 144; object-fit: contain; background: transparent; border-radius: 0; flex: none; }
@media (max-width: 480px) {
  .auth-mobile-logo { width: 96px; }
}

/* Login shell refinement: shared by public authentication pages. */
.auth-body { background: var(--business-bg); }
.auth-shell { grid-template-columns: minmax(390px, 44%) minmax(0, 56%); min-height: 100svh; }
.auth-brand { padding: clamp(34px, 4vw, 64px) clamp(32px, 5vw, 78px); background: var(--nt-charcoal); }
.auth-brand-top { display: flex; flex-direction: column; align-items: flex-start; gap: 14px; }
.auth-brand-top .auth-logo { width: 172px; }
.auth-brand-top .auth-brand-name { font-size: 13px; letter-spacing: .16em; }
.auth-brand-content { max-width: 480px; padding: 52px 0 44px; }
.auth-brand-content h1 { max-width: 470px; font-size: clamp(36px, 3.5vw, 49px); line-height: 1.08; }
.auth-brand-description { max-width: 420px; font-size: 15px; line-height: 1.6; }
.auth-features { margin-top: 36px; gap: 14px; }
.auth-features li { font-size: 13px; }
.auth-panel { padding: 32px clamp(20px, 5vw, 76px); background: var(--business-bg); }
.auth-panel .login-card { width: min(460px, 100%); padding: 36px; border: 1px solid var(--border); border-radius: 16px; box-shadow: 0 12px 30px rgba(33, 28, 14, .07); }
.auth-language { margin: -5px 0 22px; }
.auth-card-icon { width: 44px; height: 44px; margin-bottom: 20px; border-radius: 10px; }
.auth-panel .login-card h2 { font-size: 30px; line-height: 1.15; }
.auth-panel .login-card .auth-card-subtitle { margin-bottom: 28px; }
.auth-field { margin-bottom: 17px; }
.auth-panel .login-card .auth-field input,
.auth-panel .login-card .auth-field select { height: 50px; padding: 0 14px; border: 1px solid #dad5c9; border-radius: 10px; }
.auth-panel .login-card .auth-field input:focus,
.auth-panel .login-card .auth-field select:focus { border-color: var(--nt-yellow); box-shadow: 0 0 0 3px rgba(246,213,72,.16); }
.password-toggle { height: 50px; }
.auth-form-options { display: flex; justify-content: flex-end; margin: -2px 0 17px; }
.auth-form-options a { color: #6f5a00; font-size: 13px; font-weight: 700; }
.auth-form-options a:hover { text-decoration: underline; text-underline-offset: 3px; }
.auth-submit { min-height: 50px; border-radius: 10px; font-weight: 700; }
.auth-divider { margin: 25px 0 16px; }
.auth-sso-button { min-height: 50px; border-radius: 10px; }
.auth-panel .login-card .auth-security-note { margin-top: 23px; }

@media (max-width: 1100px) {
  .auth-shell { grid-template-columns: minmax(315px, 40%) minmax(0, 60%); }
  .auth-brand { padding-left: 38px; padding-right: 38px; }
  .auth-brand-content h1 { font-size: 39px; }
}
@media (max-width: 768px) {
  .auth-brand { display: none; }
  .auth-panel { min-height: 100svh; padding: 24px 16px 26px; }
  .auth-mobile-brand { display: flex; align-items: center; gap: 15px; width: min(460px, 100%); margin: 0 auto 22px; }
  .auth-mobile-logo { width: 118px; }
  .auth-mobile-brand strong { font-size: 13px; }
  .auth-mobile-brand small { font-size: 11px; }
  .auth-panel .login-card { width: min(460px, 100%); padding: 32px; border-radius: 14px; }
  .auth-panel-footer { margin-top: 22px; }
}
@media (max-width: 480px) {
  .auth-panel { padding: 20px 16px 24px; }
  .auth-mobile-brand { margin-bottom: 18px; }
  .auth-mobile-logo { width: 104px; }
  .auth-panel .login-card { padding: 28px 22px 26px; }
  .auth-panel .login-card h2 { font-size: 28px; }
}

/* Second visual pass: tighten the brand-to-form balance without changing behavior. */
.auth-shell { grid-template-columns: minmax(390px, 42%) minmax(0, 58%); }
.auth-brand { background: #171717; }
.auth-brand-top { position: relative; }
.auth-brand-top::before { content: ''; position: absolute; left: -18px; top: -16px; width: 210px; height: 112px; background: radial-gradient(ellipse at center, rgba(246,213,72,.13), transparent 68%); pointer-events: none; }
.auth-brand-top .auth-logo,
.auth-brand-top .auth-brand-name { position: relative; z-index: 1; }
.auth-brand-top .auth-logo { width: 160px; }
.auth-brand-top .auth-brand-name { color: #f3f3f3; font-size: 12px; letter-spacing: .14em; }
.auth-brand-name small { color: #aeb1b5; font-size: 10px; }
.auth-brand-content { margin: 0; padding: 88px 0 42px; }
.auth-brand-content h1 { max-width: 465px; font-size: clamp(40px, 3vw, 44px); line-height: 1.12; font-weight: 760; }
.auth-brand-description { margin-top: 20px; font-size: 15px; }
.auth-features { margin-top: 34px; gap: 13px; }
.auth-features li { gap: 11px; font-size: 13px; }
.auth-brand-footer { margin-top: auto; }
.auth-panel { padding: 30px clamp(22px, 4.5vw, 70px); }
.auth-panel .login-card { width: min(480px, 100%); padding: 38px 40px 36px; }
.auth-language { margin: -11px 0 20px; }
.auth-language a { padding: 3px 0; }
.auth-panel .login-card .auth-card-subtitle { margin-bottom: 27px; }
.password-toggle { right: 2px; width: 46px; color: var(--text-secondary); background: transparent; }
.password-toggle:hover, .password-toggle.is-visible { color: var(--text-primary); background: transparent; }
.password-toggle .icon { width: 18px; height: 18px; }
.password-toggle.is-visible::after { content: none; }
.auth-form-options { margin-top: -1px; margin-bottom: 16px; }
.auth-panel-footer { margin-top: 16px; }

@media (max-width: 1100px) {
  .auth-shell { grid-template-columns: minmax(315px, 39%) minmax(0, 61%); }
  .auth-brand-content { padding-top: 74px; }
  .auth-brand-content h1 { font-size: 40px; }
  .auth-panel .login-card { padding: 34px; }
}
@media (max-width: 768px) {
  .auth-brand-content { padding-top: 0; }
  .auth-panel .login-card { width: min(480px, 100%); padding: 34px 32px 30px; }
  .auth-panel-footer { margin-top: 16px; }
}
@media (max-width: 480px) {
  .auth-panel { padding: 20px 16px 22px; }
  .auth-panel .login-card { padding: 29px 22px 26px; }
  .auth-language { margin-bottom: 18px; }
}

/* Recovery states use the same restrained enterprise treatment as sign-in. */
.auth-message {
  display: flex;
  align-items: flex-start;
  gap: 9px;
  margin: -4px 0 20px;
  padding: 12px 13px;
  color: #65550b;
  background: var(--nt-yellow-lighter);
  border: 1px solid #f0e3a7;
  border-radius: 9px;
  font-size: 13px;
  line-height: 1.45;
}
.auth-message .icon { flex: none; color: #8b7100; }
.auth-form-hint { margin: -2px 0 17px; color: var(--text-muted); font-size: 12px; line-height: 1.45; }
.auth-submit-link { display: flex; align-items: center; justify-content: center; gap: 10px; text-decoration: none; }
.auth-submit-link:hover { text-decoration: none; }
.auth-card-icon-success { color: #116b31; background: #e7f5eb; }

/* Final NT business-yellow auth and MFA treatment. */
:root {
  --focus-ring: rgba(246, 213, 72, .20);
}

.auth-body { background: var(--page-bg); }
.auth-brand { background: var(--nt-charcoal); }
.auth-brand::after { border-color: rgba(246,213,72,.20); box-shadow: 0 0 0 78px rgba(246,213,72,.035), 0 0 0 156px rgba(246,213,72,.022); }
.auth-brand-rule, .auth-footer-dot { background: var(--nt-yellow); }
.auth-brand-content .auth-kicker, .auth-features .icon, .auth-footer-dot { color: var(--nt-yellow); }
.auth-panel { background: var(--page-bg-soft); }
.auth-panel .login-card { background: var(--surface); border-color: var(--border); }
.auth-card-icon { background: var(--nt-yellow-soft); color: var(--nt-black); }
.auth-panel .login-card .auth-card-kicker, .mfa-section-label { color: #806700; }
.auth-panel .login-card .auth-field input,
.auth-panel .login-card .auth-field select { background: var(--surface); border-color: var(--border-strong, #D8D3C7); color: var(--text-primary); }
.auth-panel .login-card .auth-field input:focus,
.auth-panel .login-card .auth-field select:focus { outline: 0; border-color: var(--nt-yellow); box-shadow: 0 0 0 3px var(--focus-ring); }
.password-toggle:focus-visible { outline: 2px solid var(--nt-yellow); outline-offset: -4px; }
.auth-forgot-row a, .auth-back-link, .auth-form-options a { color: #765E00; }
.auth-submit { background: var(--nt-yellow); border-color: transparent; color: var(--nt-black); }
.auth-submit:hover:not(:disabled) { background: var(--nt-yellow-hover); }
.auth-submit:focus-visible { outline: 3px solid rgba(246,213,72,.48); outline-offset: 3px; }
.auth-submit:disabled { background: var(--nt-yellow-soft); color: #716641; border-color: #EBDFA9; }
.auth-sso-button { background: var(--surface); border-color: var(--border); color: var(--text-primary); }
.auth-sso-button:hover { background: var(--page-bg-soft); }
.auth-message, .auth-panel .login-card .auth-unavailable { color: #655517; background: var(--nt-yellow-lighter); border-color: #EBDFA9; }
.auth-message .icon { color: #806700; }
.auth-error { color: var(--danger); background: #FCE9E7; border-color: #F0C8C3; }
.mfa-qr-wrap, .mfa-qr-fallback { background: var(--surface); border-color: var(--border); }
.mfa-qr-fallback { color: var(--text-secondary); }
.auth-card-icon-success { color: #116b31; background: #E7F5EC; }
.policy-card { margin: 1rem 0; padding: 1rem; border: 1px solid var(--border); border-left: 4px solid var(--nt-yellow); border-radius: 12px; background: var(--surface); color: var(--text-primary); }
.policy-card h3 { margin: 0 0 .55rem; }
.policy-card ul, #checklist { padding-left: 1.25rem; margin: .4rem 0; }
#checklist li[data-ok="true"] { color: #16743a; }
#checklist li[data-ok="false"] { color: var(--text-secondary); }
#strength { width: 100%; height: .65rem; accent-color: var(--nt-yellow); }

@media(max-width:768px) { .auth-panel { background: var(--page-bg); } }

/* Final shared NT presentation: a larger, readable logo and the same business palette as the workspace. */
.auth-brand { background: var(--nt-charcoal); }
.auth-brand-top .auth-logo {
  width: 180px;
  height: auto;
  padding: 8px 11px;
  background: var(--surface);
  border-radius: 10px;
}
.auth-panel { background: var(--page-bg); }
.auth-panel .login-card { background: var(--surface); border-color: var(--border); box-shadow: 0 12px 30px rgba(38,32,14,.07); }
.auth-card-icon { background: var(--nt-yellow-soft); color: var(--nt-black); }
.auth-submit { background: var(--nt-yellow); color: var(--nt-black); border-color: transparent; }
.auth-submit:hover:not(:disabled) { background: var(--nt-yellow-hover); }
.auth-mobile-logo { width: 126px; }

@media (max-width: 480px) {
  .auth-brand-top .auth-logo { width: 160px; }
  .auth-mobile-logo { width: 112px; }
}

/* Password self-service form */
.auth-panel .login-card:has(#passwordChange) { max-width: 520px; }
.auth-panel .login-card:has(#passwordChange) .password-card-icon {
  width: 48px; height: 48px; margin-bottom: 16px; border: 1px solid #f0df9c;
  border-radius: 15px; box-shadow: 0 5px 14px rgba(148,113,0,.08);
}
.auth-panel .login-card:has(#passwordChange) h2 { margin-bottom: 7px; letter-spacing: -.025em; }
.auth-panel .login-card:has(#passwordChange) .auth-card-subtitle { margin-bottom: 18px; font-size: 13px; }
.auth-panel .login-card .password-policy-status {
  justify-content: flex-start; margin: 0 0 13px; padding: 10px 12px; border: 1px solid #e8e3d6;
  border-radius: 10px; background: #faf9f5; color: var(--text-secondary); text-align: left;
}
.auth-panel .login-card .password-policy-card {
  margin: 0 0 21px; padding: 14px 15px; border: 1px solid #eee7d2; border-left: 3px solid var(--nt-yellow);
  border-radius: 11px; background: linear-gradient(135deg,#fffdf6,#fff);
}
.password-policy-title { display: flex; align-items: center; gap: 10px; }
.password-policy-shield { width: 31px; height: 31px; display: grid; place-items: center; flex: none; border-radius: 9px; background: #fff2c8; color: #806700; }
.auth-panel .login-card .password-policy-card h3 { margin: 0; font-size: 12px; font-weight: 800; }
.auth-panel .login-card .password-policy-card #policySource { margin: 3px 0 0; color: var(--text-muted); font-size: 10px; }
.auth-panel .login-card .password-policy-card ul { display: grid; grid-template-columns: 1fr 1fr; gap: 7px 13px; margin: 12px 0 0; padding: 0; list-style: none; }
.auth-panel .login-card .password-policy-card li { position: relative; padding-left: 14px; color: var(--text-secondary); font-size: 10px; line-height: 1.45; }
.auth-panel .login-card .password-policy-card li::before { position: absolute; left: 0; color: #927600; content: '•'; font-weight: 900; }
.auth-panel .login-card #passwordChange { margin-top: 0; }
.auth-panel .login-card #passwordChange .auth-field { margin-bottom: 14px; }
.auth-panel .login-card #passwordChange .auth-field input { height: 46px; border-radius: 10px; }
.auth-panel .login-card #passwordChange #strength { display: block; margin-top: 8px; border-radius: 99px; }
.auth-panel .login-card #passwordChange #checklist { display: grid; grid-template-columns: 1fr 1fr; gap: 7px 12px; margin: 1px 0 17px; padding: 12px; border: 1px solid #eceae3; border-radius: 10px; background: #fafaf8; list-style: none; }
.auth-panel .login-card #passwordChange #checklist li { color: var(--text-secondary); font-size: 10px; line-height: 1.45; }
.auth-panel .login-card #passwordChange .auth-submit { margin-top: 2px; border-radius: 10px; box-shadow: 0 5px 12px rgba(151,119,0,.12); }
.auth-panel .login-card .password-success-card { border: 1px solid #cce8d4; border-left: 4px solid #27934a; background: #f4fbf6; }
.auth-panel .login-card .password-success-card h3 { color: #176d34; }
@media (max-width: 560px) {
  .auth-panel .login-card:has(#passwordChange) { padding-top: 30px; }
  .auth-panel .login-card .password-policy-card ul,
  .auth-panel .login-card #passwordChange #checklist { grid-template-columns: 1fr; }
}

/* Login refresh: midnight blue, cool surfaces, and a clear blue action color. */
.auth-body.auth-login-theme { background: #edf2f8; color: #14253b; }
.auth-login-theme .auth-shell { grid-template-columns: minmax(400px, 46%) minmax(0, 54%); }
.auth-login-theme .auth-brand {
  background: radial-gradient(ellipse at 12% 88%, rgba(59,130,196,.22), transparent 45%),
    linear-gradient(150deg, #0c1a2e 0%, #122b4a 54%, #173c63 100%);
}
.auth-login-theme .auth-brand::before { background: #65d0d8; }
.auth-login-theme .auth-brand::after { border-color: rgba(137,199,229,.17); box-shadow: 0 0 0 78px rgba(137,199,229,.035), 0 0 0 156px rgba(137,199,229,.02); }
.auth-login-theme .auth-brand-rule { background: #68d1d9; }
.auth-login-theme .auth-brand-content .auth-kicker { color: #8fe2e5; }
.auth-login-theme .auth-features .icon { color: #8fe2e5; border-color: rgba(143,226,229,.45); }
.auth-login-theme .auth-footer-dot { background: #68d1d9; box-shadow: 0 0 0 5px rgba(104,209,217,.13); }
.auth-login-theme .auth-panel { background: radial-gradient(ellipse at 80% 15%, #fff 0, transparent 48%), #edf2f8; }
.auth-login-theme .auth-panel .login-card {
  width: min(450px, 100%); padding: 37px 40px 34px; border: 1px solid #dce5ef; border-radius: 18px;
  box-shadow: 0 22px 60px rgba(27,50,79,.12), 0 3px 10px rgba(27,50,79,.04);
}
.auth-login-theme .auth-language a { color: #50647b; }
.auth-login-theme .auth-card-icon { color: #fff; background: #193d63; border-radius: 14px; }
.auth-login-theme .auth-card-icon .icon { color: #9de4e4; }
.auth-login-theme .auth-panel .login-card .auth-card-kicker { color: #36718c; }
.auth-login-theme .auth-panel .login-card h2 { color: #172a43; }
.auth-login-theme .auth-panel .login-card .auth-card-subtitle { color: #64748b; }
.auth-login-theme .auth-panel .login-card .auth-field label { color: #243b55; }
.auth-login-theme .auth-panel .login-card .auth-field input,
.auth-login-theme .auth-panel .login-card .auth-field select { border-color: #d5dfeb; border-radius: 10px; background: #fbfdff; }
.auth-login-theme .auth-panel .login-card .auth-field input:hover,
.auth-login-theme .auth-panel .login-card .auth-field select:hover { border-color: #8fa9c2; }
.auth-login-theme .auth-panel .login-card .auth-field input:focus,
.auth-login-theme .auth-panel .login-card .auth-field select:focus { border-color: #3479a8; box-shadow: 0 0 0 3px rgba(52,121,168,.15); }
.auth-login-theme .auth-panel .login-card .password-toggle { color: #60748b; }
.auth-login-theme .auth-panel .login-card .password-toggle:hover,
.auth-login-theme .auth-panel .login-card .password-toggle.is-visible { color: #1d4e74; }
.auth-login-theme .auth-submit { border-color: #1d527e; border-radius: 10px; color: #fff; background: #1d527e; box-shadow: 0 7px 15px rgba(29,82,126,.16); }
.auth-login-theme .auth-submit:hover:not(:disabled) { border-color: #17466e; background: #17466e; }
.auth-login-theme .auth-submit:disabled { color: #6c7d8d; border-color: #d6e0e8; background: #e7edf2; box-shadow: none; }
.auth-login-theme .auth-forgot-row a,
.auth-login-theme .auth-back-link { color: #24648f; }
.auth-login-theme .auth-error { color: #a23c35; border-color: #f1d2ce; background: #fff5f3; }
.auth-login-theme .auth-security-note { color: #718197 !important; }
.auth-login-theme .auth-security-note .icon { color: #3b8298; }
.auth-login-theme .auth-panel-footer { color: #718197; }
@media (max-width: 1100px) {
  .auth-login-theme .auth-shell { grid-template-columns: minmax(315px, 42%) minmax(0, 58%); }
}
@media (max-width: 768px) {
  .auth-login-theme .auth-panel { background: linear-gradient(145deg,#eaf1f8,#f5f8fb); }
  .auth-login-theme .auth-mobile-brand { color: #1a2e47; }
  .auth-login-theme .auth-mobile-brand small { color: #61758b; }
  .auth-login-theme .auth-mobile-logo { padding: 5px; border-radius: 8px; background: #fff; }
  .auth-login-theme .auth-panel .login-card { border-radius: 16px; }
}
@media (max-width: 480px) {
  .auth-login-theme .auth-panel .login-card { padding: 29px 24px; }
}

/* Centered, logo-led sign-in without a white card panel. */
.auth-login-theme .auth-panel {
  background: radial-gradient(ellipse at 50% 48%, rgba(255,255,255,.52), transparent 62%), #edf2f8;
}
.auth-login-theme .auth-panel .login-card {
  display: flex; flex-direction: column; align-items: center;
  width: min(440px, 100%); padding: 34px 38px 30px;
  border: 0; border-radius: 0; background: transparent; box-shadow: none;
}
.auth-login-theme .auth-language { width: 100%; margin: -4px 0 31px; }
.auth-login-theme .login-brand-logo { display: block; width: min(205px, 72%); height: auto; margin: 0 auto 27px; }
.auth-login-theme .auth-panel .login-card h2 { margin: 0 0 6px; text-align: center; font-size: 30px; }
.auth-login-theme .auth-panel .login-card .auth-card-subtitle { margin: 0 0 28px; text-align: center; font-size: 13px; }
.auth-login-theme .auth-error { width: 100%; }
.auth-login-theme .login-form { width: 100%; }
.auth-login-theme .auth-panel .login-card .auth-field input,
.auth-login-theme .auth-panel .login-card .auth-field select { background: rgba(255,255,255,.38); }
.auth-login-theme .auth-submit { min-height: 52px; }
.auth-login-theme .auth-panel .login-card .auth-security-note { margin-top: 25px; }
@media (max-width: 768px) {
  .auth-login-theme .auth-panel { background: linear-gradient(145deg,#eaf1f8,#f5f8fb); }
  .auth-login-theme .auth-mobile-brand { display: none; }
  .auth-login-theme .auth-panel .login-card { padding: 25px 24px 22px; }
  .auth-login-theme .auth-language { margin-bottom: 24px; }
  .auth-login-theme .login-brand-logo { width: min(190px, 66%); margin-bottom: 22px; }
}

/* Business typography and hero imagery for the desktop sign-in split view. */
.auth-login-theme {
  font-family: Inter, "Noto Sans Thai", "Leelawadee UI", Tahoma, system-ui, sans-serif;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}
.auth-login-theme .auth-brand-top { min-height: 48px; }
.auth-login-theme .auth-brand-top .auth-brand-name {
  color: #f8fbff; font-size: 15px; font-weight: 760; letter-spacing: .105em; line-height: 1.4;
}
.auth-login-theme .auth-brand-name small { margin-top: 5px; color: #b8c6d6; font-size: 11px; font-weight: 450; letter-spacing: .035em; }
.auth-login-theme .auth-brand-content { max-width: 540px; padding: 42px 0 38px; }
.auth-login-theme .auth-brand-content .auth-kicker { font-size: 10px; font-weight: 700; letter-spacing: .16em; }
.auth-login-theme .auth-brand-content h1 {
  max-width: 510px; font-size: clamp(34px, 3.25vw, 46px); font-weight: 730;
  line-height: 1.19; letter-spacing: -.035em; text-wrap: balance;
}
.auth-login-theme .auth-brand-description { max-width: 455px; margin-top: 16px; font-size: 14px; line-height: 1.7; letter-spacing: .005em; }
.auth-login-theme .auth-brand-visual {
  position: relative; height: clamp(150px, 21vh, 235px); margin: 24px 0 0; overflow: hidden;
  border: 1px solid rgba(204,226,244,.22); border-radius: 13px; background: #102744;
  box-shadow: 0 14px 32px rgba(0,0,0,.22);
}
.auth-login-theme .auth-brand-visual::after {
  position: absolute; inset: 0; content: ''; pointer-events: none;
  background: linear-gradient(90deg,rgba(8,23,42,.12),transparent 70%),linear-gradient(0deg,rgba(8,23,42,.22),transparent 45%);
}
.auth-login-theme .auth-brand-visual img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: center 54%; }
.auth-login-theme .auth-features { grid-template-columns: 1fr 1fr; gap: 12px 20px; margin-top: 24px; }
.auth-login-theme .auth-features li { gap: 10px; color: #d9e4f0; font-size: 12px; line-height: 1.5; }
.auth-login-theme .auth-features .icon { padding: 3px; }
.auth-login-theme .auth-brand-footer { color: #afbdcc; font-size: 11px; letter-spacing: .025em; }
@media (max-width: 1100px) and (min-width: 769px) {
  .auth-login-theme .auth-brand-content { padding: 24px 0; }
  .auth-login-theme .auth-brand-content h1 { font-size: clamp(30px, 3.25vw, 38px); }
  .auth-login-theme .auth-brand-visual { height: clamp(130px, 18vh, 180px); margin-top: 18px; }
  .auth-login-theme .auth-features { margin-top: 17px; gap: 9px 14px; }
  .auth-login-theme .auth-features li { font-size: 11px; }
}
@media (max-height: 760px) and (min-width: 769px) {
  .auth-login-theme .auth-brand-content { padding: 18px 0; }
  .auth-login-theme .auth-brand-visual { height: clamp(115px, 17vh, 155px); margin-top: 15px; }
  .auth-login-theme .auth-features { margin-top: 15px; gap: 8px 14px; }
}

/* Refined split panel: keep the message clear and let the image carry the visual weight. */
.auth-login-theme .auth-brand {
  isolation: auto;
  background: radial-gradient(ellipse at 0 100%,rgba(51,108,160,.2),transparent 44%),
    linear-gradient(155deg,#0c1a2e 0%,#122b4a 58%,#173c63 100%);
}
.auth-login-theme .auth-brand::after { display: block; }
.auth-login-theme .auth-brand-visual {
  position: relative; z-index: auto; inset: auto; width: 100%; height: clamp(210px,32vh,320px); margin: 23px 0 0;
  overflow: hidden; border: 1px solid rgba(213,230,246,.2); border-radius: 14px;
  background: #0c1a2e; box-shadow: 0 16px 34px rgba(0,0,0,.22);
}
.auth-login-theme .auth-brand-visual::after {
  background: linear-gradient(0deg,rgba(8,24,43,.16),transparent 42%);
}
.auth-login-theme .auth-brand-visual img { object-position: center; }
.auth-login-theme .auth-brand-top,
.auth-login-theme .auth-brand-content,
.auth-login-theme .auth-brand-footer { position: relative; z-index: auto; }
.auth-login-theme .auth-brand-content { padding: 38px 0 30px; }
.auth-login-theme .auth-brand-content h1 { max-width: 520px; font-size: clamp(34px,3.2vw,45px); line-height: 1.2; }
.auth-login-theme .auth-brand-description { max-width: 450px; margin-top: 14px; }
.auth-login-theme .auth-features { margin-top: 23px; }
@media (max-width: 1100px) and (min-width: 769px) {
  .auth-login-theme .auth-brand-visual { height: clamp(170px,27vh,240px); margin-top: 18px; }
  .auth-login-theme .auth-brand-content { padding: 22px 0; }
}
@media (max-height: 760px) and (min-width: 769px) {
  .auth-login-theme .auth-brand-visual { height: clamp(145px,24vh,190px); margin-top: 16px; }
  .auth-login-theme .auth-brand-content { padding: 18px 0; }
  .auth-login-theme .auth-features { margin-top: 15px; }
}
.auth-login-theme .auth-brand-logo-panel {
  display: grid; place-items: center; padding: clamp(20px,3vw,42px);
  border-color: rgba(233,239,244,.55); background: linear-gradient(145deg,#f1f4f6,#e3e9ee);
  box-shadow: 0 16px 34px rgba(0,0,0,.16);
}
.auth-login-theme .auth-brand-logo-panel::after { background: none; }
.auth-login-theme .auth-brand-logo-panel img { object-fit: contain; object-position: center; padding: 0; }

/* Zip-provided NT login concept, adapted to the existing authenticated flow. */
.auth-login-theme { font-family: "Noto Sans Thai", Inter, Tahoma, "Leelawadee UI", sans-serif; }
.auth-login-theme .auth-shell { grid-template-columns: minmax(0,1.08fr) minmax(420px,.92fr); }
.auth-login-theme .auth-brand {
  position: relative; isolation: isolate; color: #252a2e;
  background: #f4f2eb;
}
.auth-login-theme .auth-brand::after { display: none; }
.auth-login-theme .auth-brand-visual.login-visual {
  position: absolute; z-index: -1; inset: 0; width: 100%; height: 100%; margin: 0;
  border: 0; border-radius: 0; box-shadow: none; background: #e9eef2;
}
.auth-login-theme .auth-brand-visual.login-visual::after {
  background: linear-gradient(90deg,rgba(255,255,255,.94) 0%,rgba(255,255,255,.86) 46%,rgba(255,255,255,.28) 100%),
    linear-gradient(0deg,rgba(255,255,255,.52),transparent 48%);
}
.auth-login-theme .auth-brand-visual.login-visual img { object-fit: cover; object-position: center; }
.auth-login-theme .auth-brand-top,
.auth-login-theme .auth-brand-content,
.auth-login-theme .auth-brand-footer { position: relative; z-index: 1; }
.auth-login-theme .auth-brand-top .auth-brand-name { color: #252a2e; font-size: 13px; letter-spacing: .1em; }
.auth-login-theme .auth-brand-name small { color: #626b73; }
.auth-login-theme .auth-brand-rule { background: #ffcc00; }
.auth-login-theme .auth-brand-content { max-width: 700px; padding: 40px 0 32px; }
.auth-login-theme .auth-brand-content .auth-kicker { color: #8e7000; font-size: 10px; letter-spacing: .18em; }
.auth-login-theme .auth-brand-content h1 {
  max-width: 620px; color: #252a2e; font-size: clamp(36px,3.7vw,54px); font-weight: 780;
  line-height: 1.28; letter-spacing: -.04em; text-wrap: balance;
}
.auth-login-theme .auth-brand-content h1 .login-highlight { color: #b58d00; }
.auth-login-theme .auth-brand-description { max-width: 500px; color: #525b63; font-size: 15px; line-height: 1.8; }
.auth-login-theme .auth-features { grid-template-columns: repeat(4,minmax(0,1fr)); gap: 18px; margin-top: 30px; }
.auth-login-theme .auth-features li { flex-direction: column; align-items: center; gap: 9px; color: #333a40; font-size: 11px; text-align: center; }
.auth-login-theme .auth-features .icon {
  width: 43px; height: 43px; padding: 10px; border: 2px solid #ffcc00; border-radius: 50%;
  background: #272d31; color: #ffcc00;
}
.auth-login-theme .auth-features li:first-child::before { width: 43px; height: 43px; flex-basis: 43px; }
.auth-login-theme .auth-brand-footer { color: #555d63; font-size: 10px; }
.auth-login-theme .auth-panel {
  padding: 38px clamp(22px,4vw,62px); background: linear-gradient(145deg,#fff 0%,#f6f7f9 100%);
}
.auth-login-theme .auth-panel .login-card {
  display: block; width: min(430px,100%); padding: 38px 36px 32px;
  border: 1px solid #edf0f3; border-radius: 20px; background: #fff;
  box-shadow: 0 22px 65px rgba(27,39,51,.10);
}
.auth-login-theme .auth-language { width: auto; margin: -8px -4px 16px; }
.auth-login-theme .login-brand-logo { width: min(160px,55%); margin: 0 auto 18px; }
.auth-login-theme .auth-panel .login-card h2 { color: #252a2e; font-size: 29px; font-weight: 800; text-align: center; }
.auth-login-theme .auth-panel .login-card .auth-card-subtitle { margin: 7px 0 25px; color: #788391; font-size: 13px; text-align: center; }
.auth-login-theme .auth-panel .login-card .auth-field { margin-bottom: 17px; }
.auth-login-theme .auth-panel .login-card .auth-field label { margin-bottom: 8px; color: #30383e; font-size: 13px; }
.auth-login-theme .login-label-en { margin-left: 5px; color: #9099a4; font-size: 10px; font-weight: 450; }
.auth-login-theme .login-input-wrap {
  position: relative; display: flex; align-items: center; gap: 10px; min-height: 50px;
  padding: 0 13px; border: 1px solid #e3e7ed; border-radius: 10px; background: #fff; transition: .18s;
}
.auth-login-theme .login-input-wrap:focus-within { border-color: #e6bd00; box-shadow: 0 0 0 3px rgba(255,204,0,.16); }
.auth-login-theme .login-field-icon { display: grid; place-items: center; flex: none; color: #8993a0; }
.auth-login-theme .auth-panel .login-card .login-input-wrap input {
  flex: 1; width: 0; min-width: 0; height: 48px; padding: 0; border: 0; border-radius: 0;
  outline: 0; background: transparent; box-shadow: none; color: #252a2e; font-size: 13px;
}
.auth-login-theme .auth-panel .login-card .login-input-wrap input:focus { border: 0; box-shadow: none; }
.auth-login-theme .auth-panel .login-card .login-input-wrap input::placeholder { color: #a7afb9; }
.auth-login-theme .auth-panel .login-card .login-input-wrap .password-toggle { right: 0; height: 48px; }
.auth-login-theme .auth-form-options { display: flex; justify-content: flex-end; margin: 0 0 22px; font-size: 12px; }
.auth-login-theme .auth-form-options a { color: #8b6c00; }
.auth-login-theme .auth-submit {
  min-height: 51px; margin: 0; border: 0; border-radius: 10px; background: #ffcc00; color: #252a2e;
  box-shadow: 0 4px 0 #e6b900; font-size: 14px; font-weight: 800;
}
.auth-login-theme .auth-submit:hover:not(:disabled) { background: #ffd633; transform: translateY(-1px); }
.auth-login-theme .auth-submit:disabled { border: 0; background: #f1da80; color: #716641; box-shadow: none; }
.auth-login-theme .auth-panel .login-card .auth-security-note { margin-top: 22px; padding-top: 16px; border-top: 1px solid #eef0f3; color: #818a95 !important; font-size: 10px; text-align: center; }
.auth-login-theme .auth-panel-footer { color: #9aa1a9; font-size: 10px; }
@media (max-width: 1000px) and (min-width: 901px) {
  .auth-login-theme .auth-shell { grid-template-columns: minmax(0,1fr) minmax(410px,.95fr); }
  .auth-login-theme .auth-brand { padding-left: 38px; padding-right: 38px; }
  .auth-login-theme .auth-brand-content h1 { font-size: 39px; }
  .auth-login-theme .auth-features { gap: 12px; }
  .auth-login-theme .auth-features li { font-size: 10px; }
}
@media (max-width: 900px) {
  .auth-login-theme .auth-shell { display: block; }
  .auth-login-theme .auth-brand { display: flex; min-height: 370px; padding: 28px clamp(22px,6vw,48px) 38px; }
  .auth-login-theme .auth-brand-content { max-width: 680px; padding: 18px 0; }
  .auth-login-theme .auth-brand-content .auth-kicker { margin-bottom: 10px; }
  .auth-login-theme .auth-brand-content h1 { font-size: clamp(31px,5vw,44px); }
  .auth-login-theme .auth-brand-description { margin-top: 10px; font-size: 13px; }
  .auth-login-theme .auth-features { max-width: 570px; margin-top: 18px; }
  .auth-login-theme .auth-brand-footer { display: none; }
  .auth-login-theme .auth-panel { min-height: auto; padding: 34px 20px 22px; }
  .auth-login-theme .auth-panel .login-card { margin: 0 auto; }
  .auth-login-theme .auth-panel-footer { margin-top: 18px; }
}
@media (max-width: 520px) {
  .auth-login-theme .auth-brand { min-height: 335px; padding: 24px 23px 26px; }
  .auth-login-theme .auth-brand-content { padding: 8px 0; }
  .auth-login-theme .auth-brand-content h1 { font-size: 30px; }
  .auth-login-theme .auth-brand-description { font-size: 12px; line-height: 1.6; }
  .auth-login-theme .auth-features { grid-template-columns: repeat(3,minmax(0,1fr)); gap: 10px; margin-top: 14px; }
  .auth-login-theme .auth-features li { font-size: 9px; }
  .auth-login-theme .auth-features .icon { width: 36px; height: 36px; padding: 8px; }
  .auth-login-theme .auth-panel { padding: 25px 16px 18px; }
  .auth-login-theme .auth-panel .login-card { padding: 28px 22px 24px; border-radius: 16px; }
}

/* MFA pages intentionally share the current login visual language. */
.auth-mfa-theme .auth-panel .login-card { width: min(480px,100%); }
.auth-mfa-theme .login-brand-logo { width: min(138px,48%); margin-bottom: 14px; }
.auth-mfa-theme .auth-card-icon { margin: 0 auto 14px; }
.auth-mfa-theme .login-brand-logo + .auth-card-kicker { margin-top: 4px; }
.auth-mfa-theme .auth-card-kicker { text-align: center; }
.auth-mfa-theme .auth-forgot-row { justify-content: center; }
.auth-mfa-theme .auth-text-button { padding: 3px 0; border: 0; background: transparent; color: #765e00; font: inherit; font-size: 13px; font-weight: 700; cursor: pointer; }
.auth-mfa-theme .auth-text-button:hover { text-decoration: underline; text-underline-offset: 3px; }
.auth-mfa-theme .mfa-steps { background: #f7f9fb; border-color: #e2e8ef; }
.auth-mfa-theme .mfa-qr-section { border-color: #e2e8ef; background: #fbfdff; }
.auth-mfa-theme .mfa-recovery-codes {
  display: grid; grid-template-columns: 1fr 1fr; gap: 8px 12px; padding: 16px;
  border: 1px solid #dce5ef; border-radius: 12px; background: #f7fafc;
  color: #203650; font-family: ui-monospace,SFMono-Regular,Consolas,monospace;
  font-size: 13px; line-height: 1.7; text-align: center;
}
.auth-mfa-theme .auth-submit-link { margin-top: 18px; }
@media (max-width: 480px) {
  .auth-mfa-theme .mfa-recovery-codes { grid-template-columns: 1fr; }
}

/* Matched login page from nt-login-page-matched.zip. Keep real app form/actions. */
.auth-login-theme .auth-shell { grid-template-columns: minmax(0,1.08fr) minmax(420px,.92fr); overflow: hidden; }
.auth-login-theme .auth-brand { position: relative; min-height: 100vh; overflow: hidden; background: #f4f2eb; }
.auth-login-theme .auth-brand-top,
.auth-login-theme .auth-brand-footer { display: none; }
.auth-login-theme .auth-brand-content { display: contents; }
.auth-login-theme .auth-brand-content > :not(.auth-brand-visual) { display: none; }
.auth-login-theme .auth-brand-visual.login-visual {
  position: absolute; inset: 0; z-index: 0; display: block; width: 100%; height: 100%;
  margin: 0; overflow: hidden; border: 0; border-radius: 0; background: #f4f2eb; box-shadow: none;
}
.auth-login-theme .auth-brand-visual.login-visual::after { display: none; }
.auth-login-theme .auth-brand-visual.login-visual img {
  position: absolute; inset: 0; display: block; width: 100%; height: 100%;
  object-fit: cover; object-position: right center;
}
.auth-login-theme .auth-panel {
  position: relative; z-index: 2; min-height: 100vh; padding: 42px clamp(24px,4vw,68px);
  background: linear-gradient(145deg,#fff 0%,#f7f8fa 100%);
}
.auth-login-theme .auth-panel .login-card {
  display: block; width: min(100%,470px); padding: 40px 38px 32px;
  border: 1px solid #edf0f3; border-radius: 24px; background: rgba(255,255,255,.97);
  box-shadow: 0 22px 65px rgba(27,39,51,.13);
}
.auth-login-theme .auth-language { margin: -8px -4px 16px; }
.auth-login-theme .login-brand-logo { display: block; width: 115px; height: 46px; object-fit: contain; margin: 0 auto; }
.auth-login-theme .login-card-tag { margin: 17px 0 6px !important; color: #a28716 !important; font-size: 9px !important; font-weight: 800 !important; letter-spacing: 2px !important; text-align: center; }
.auth-login-theme .auth-panel .login-card h2 { margin: 0; color: #252a2e; font-size: 30px; font-weight: 800; letter-spacing: -.3px; text-align: center; }
.auth-login-theme .auth-panel .login-card .auth-card-subtitle { margin: 7px 0 28px; color: #788391; font-size: 13px; line-height: 1.8; text-align: center; }
.auth-login-theme .auth-panel .login-card .auth-field { margin: 18px 0 0; }
.auth-login-theme .auth-panel .login-card .auth-field label { margin: 0 0 8px; color: #30383e; font-size: 13px; font-weight: 700; }
.auth-login-theme .login-label-en { margin-left: 5px; color: #9099a4; font-size: 11px; font-weight: 400; }
.auth-login-theme .login-input-wrap {
  position: relative; display: flex; align-items: center; gap: 11px; height: 51px; padding: 0 14px;
  border: 1px solid #e3e7ed; border-radius: 11px; background: #fff; transition: border-color .2s,box-shadow .2s;
}
.auth-login-theme .login-input-wrap:focus-within { border-color: #e6bd00; box-shadow: 0 0 0 3px rgba(255,204,0,.16); }
.auth-login-theme .login-field-icon { display: grid; place-items: center; flex: none; color: #8993a0; }
.auth-login-theme .auth-panel .login-card .login-input-wrap input {
  flex: 1; width: 0; min-width: 0; height: 48px; padding: 0; border: 0; border-radius: 0;
  outline: 0; background: transparent; box-shadow: none; color: #252a2e; font-size: 13px;
}
.auth-login-theme .auth-panel .login-card .login-input-wrap input:focus { border: 0; box-shadow: none; }
.auth-login-theme .auth-panel .login-card .login-input-wrap input::placeholder { color: #a7afb9; }
.auth-login-theme .auth-panel .login-card .login-input-wrap .password-toggle { right: 0; height: 48px; }
.auth-login-theme .auth-form-options { display: flex; justify-content: flex-end; margin: 17px 0 24px; font-size: 12px; }
.auth-login-theme .auth-form-options a { color: #8b6c00; font-weight: 600; }
.auth-login-theme .auth-submit {
  min-height: 53px; margin: 0; border: 0; border-radius: 11px; background: #ffcc00; color: #222;
  box-shadow: 0 4px 0 #e6b900; font-size: 15px; font-weight: 800;
}
.auth-login-theme .auth-submit:hover:not(:disabled) { background: #ffd633; transform: translateY(-1px); }
.auth-login-theme .auth-submit:disabled { border: 0; background: #f1da80; color: #716641; box-shadow: none; }
.auth-login-theme .auth-panel .login-card .auth-security-note {
  margin-top: 24px; padding-top: 17px; border-top: 1px solid #eef0f3; color: #818a95 !important;
  font-size: 10px; line-height: 1.8; text-align: center;
}
.auth-login-theme .auth-panel-footer { margin-top: 25px; color: #9aa1a9; font-size: 10px; text-align: center; }
@media (max-width: 900px) {
  .auth-login-theme .auth-shell { display: grid; grid-template-columns: 1fr; overflow: visible; }
  .auth-login-theme .auth-brand { display: block; width: 100%; min-height: 38vh; height: 38vh; max-height: 430px; }
  .auth-login-theme .auth-brand-visual.login-visual img { object-position: right center; transform: scale(2.2); transform-origin: right center; }
  .auth-login-theme .auth-panel { min-height: auto; padding: 30px 20px 36px; }
  .auth-login-theme .auth-panel .login-card { margin: 0 auto; }
  .auth-login-theme .auth-panel-footer { margin-top: 20px; }
}
@media (max-width: 420px) {
  .auth-login-theme .auth-brand { min-height: 34vh; height: 34vh; max-height: 360px; }
  .auth-login-theme .auth-brand-visual.login-visual img { object-position: right center; transform: scale(2.2); transform-origin: right center; }
  .auth-login-theme .auth-panel { padding: 24px 14px 30px; }
  .auth-login-theme .auth-panel .login-card { padding: 27px 20px; border-radius: 17px; }
  .auth-login-theme .auth-panel .login-card h2 { font-size: 27px; }
  .auth-login-theme .auth-panel .login-card .auth-card-subtitle { margin-bottom: 22px; }
  .auth-login-theme .auth-form-options { font-size: 11px; }
}


/* Enterprise split-screen layout for /login. */
.auth-login-theme.auth-body {
  min-width: 0; min-height: 100dvh; margin: 0; overflow-x: hidden; background: #fff; color: #252a2e;
}
.auth-login-theme .auth-shell {
  display: grid; grid-template-columns: minmax(0, 65%) minmax(0, 35%);
  width: 100%; height: 100dvh; min-height: 620px; overflow: hidden; background: #fff;
}
.auth-login-theme .auth-brand {
  position: relative; display: block; min-width: 0; min-height: 0; width: auto; height: auto;
  padding: 0; overflow: hidden; background: #f3f4f5;
}
.auth-login-theme .auth-brand::after,
.auth-login-theme .auth-brand-top,
.auth-login-theme .auth-brand-footer { display: none; }
.auth-login-theme .auth-brand-content { display: contents; }
.auth-login-theme .auth-brand-content > :not(.auth-brand-visual) { display: none; }
.auth-login-theme .auth-brand-visual.login-visual {
  position: absolute; inset: 0; display: block; width: 100%; height: 100%; margin: 0;
  overflow: hidden; border: 0; border-radius: 0; background: #f3f4f5; box-shadow: none;
}
.auth-login-theme .auth-brand-visual.login-visual img {
  position: absolute; inset: 0; display: block; width: 100%; height: 100%; max-width: none;
  object-fit: cover; object-position: left center; transform: none;
}
.auth-login-theme .auth-panel {
  display: grid; grid-template-columns: minmax(0, 1fr); grid-template-rows: minmax(0, 1fr) auto; align-items: stretch; justify-items: center;
  min-width: 0; min-height: 0; height: 100%; padding: 28px clamp(28px, 3.5vw, 64px) 18px;
  overflow-y: auto; border-left: 1px solid #eceef0; background: #fff;
}
.auth-login-theme .auth-panel .login-card {
  align-self: center; width: min(100%, 420px); margin: 0; padding: 0; border: 0; border-radius: 0;
  background: transparent; box-shadow: none; backdrop-filter: none;
}
.auth-login-theme .auth-language { display: flex; justify-content: flex-end; margin: 0 0 12px; }
.auth-login-theme .auth-language a { padding: 4px 0; color: #5e6872; font-size: 12px; }
.auth-login-theme .auth-language a:hover { color: #171a1d; }
.auth-login-theme .login-brand-logo { display: block; width: 120px; height: 54px; object-fit: contain; margin: 0 auto 12px; }
.auth-login-theme .login-card-tag { margin: 0 0 5px !important; text-align: center; }
.auth-login-theme .auth-panel .login-card h2 { margin: 0; color: #202428; font-size: 30px; line-height: 1.2; text-align: center; }
.auth-login-theme .auth-panel .login-card .auth-card-subtitle { margin: 6px 0 20px; color: #68727d; font-size: 13px; line-height: 1.55; text-align: center; }
.auth-login-theme .auth-panel .login-card .auth-field { width: 100%; margin: 0 0 15px; }
.auth-login-theme .auth-panel .login-card .auth-field label { margin: 0 0 7px; color: #30383e; font-size: 13px; font-weight: 700; }
.auth-login-theme .auth-panel .login-card .auth-field input,
.auth-login-theme .auth-panel .login-card .auth-field select {
  box-sizing: border-box; width: 100%; height: 50px; padding: 0 14px; border: 1px solid #d8dde3;
  border-radius: 9px; background-color: #fff; color: #252a2e; font-size: 14px;
}
.auth-login-theme .auth-panel .login-card .auth-field input:focus,
.auth-login-theme .auth-panel .login-card .auth-field select:focus {
  border-color: #d2aa00; outline: 0; box-shadow: 0 0 0 3px rgba(255,204,0,.2);
}
.auth-login-theme .login-input-wrap {
  box-sizing: border-box; display: flex; align-items: center; width: 100%; height: 50px; gap: 10px;
  padding: 0 11px; border: 1px solid #d8dde3; border-radius: 9px; background: #fff;
}
.auth-login-theme .login-input-wrap:focus-within { border-color: #d2aa00; box-shadow: 0 0 0 3px rgba(255,204,0,.2); }
.auth-login-theme .login-field-icon { display: grid; place-items: center; flex: 0 0 18px; color: #76818c; }
.auth-login-theme .auth-panel .login-card .login-input-wrap input {
  flex: 1 1 auto; min-width: 0; width: 0; height: 46px; padding: 0; border: 0; outline: 0;
  background: transparent; box-shadow: none; color: #252a2e; font-size: 14px;
}
.auth-login-theme .auth-panel .login-card .login-input-wrap input:focus { border: 0; box-shadow: none; }
.auth-login-theme .auth-panel .login-card .login-input-wrap .password-toggle {
  position: static; display: grid; flex: 0 0 34px; width: 34px; height: 42px; margin: 0 -5px 0 0;
  padding: 0; color: #6c7782; background: transparent; border: 0; cursor: pointer;
}
.auth-login-theme .auth-panel .login-card .login-input-wrap .password-toggle:focus-visible,
.auth-login-theme .auth-language a:focus-visible {
  outline: 3px solid rgba(214,174,0,.45); outline-offset: 2px; border-radius: 4px;
}
.auth-login-theme .auth-form-options { display: flex; justify-content: flex-end; margin: 1px 0 17px; font-size: 12px; }
.auth-login-theme .auth-form-options a { color: #776000; font-weight: 650; text-underline-offset: 3px; }
.auth-login-theme .auth-form-options a:focus-visible { outline: 3px solid rgba(214,174,0,.4); outline-offset: 3px; border-radius: 2px; }
.auth-login-theme .auth-submit {
  box-sizing: border-box; display: flex; width: 100%; min-height: 52px; margin: 0; border: 1px solid #e5b900;
  border-radius: 9px; background: #ffcc00; color: #171a1d; font-size: 14px; font-weight: 750;
  transition: background-color .15s ease, box-shadow .15s ease, transform .15s ease;
}
.auth-login-theme .auth-submit:hover:not(:disabled) { background: #ffd633; box-shadow: 0 3px 10px rgba(181,143,0,.18); }
.auth-login-theme .auth-submit:focus-visible { outline: 3px solid rgba(214,174,0,.48); outline-offset: 3px; }
.auth-login-theme .auth-submit:disabled { background: #f2df91; color: #726633; box-shadow: none; }
.auth-login-theme .auth-panel .login-card .auth-security-note {
  margin: 15px 0 0; padding: 12px 0 0; border-top: 1px solid #eceef0; color: #6f7882 !important;
  font-size: 10px; line-height: 1.55; text-align: center;
}
.auth-login-theme .auth-panel-footer {
  align-self: end; margin: 16px 0 0; padding: 0 0 2px; color: #7a838c; font-size: 10px;
  line-height: 1.4; text-align: center;
}
.auth-login-theme .auth-panel-footer span { padding: 0 5px; }
@media (min-width: 1024px) and (max-width: 1100px) {
  .auth-login-theme .auth-panel { padding-right: 18px; padding-left: 18px; }
}
@media (min-width: 768px) and (max-width: 1023px) {
  .auth-login-theme .auth-shell { grid-template-columns: minmax(0, 54%) minmax(0, 46%); }
  .auth-login-theme .auth-panel { padding: 24px clamp(20px, 2.8vw, 32px) 16px; }
  .auth-login-theme .auth-panel .login-card { width: 100%; }
}
@media (max-width: 767px) {
  .auth-login-theme .auth-shell {
    display: block; width: 100%; height: auto; min-height: 100dvh; overflow: visible; overflow-x: hidden;
    background: #fff;
  }
  .auth-login-theme .auth-brand { display: none; }
  .auth-login-theme .auth-panel {
    display: grid; grid-template-columns: minmax(0, 1fr); grid-template-rows: minmax(0, 1fr) auto; justify-items: center;
    width: 100%; min-height: 100dvh; height: auto; padding: 22px 20px 16px;
    overflow: visible; border: 0; background: #fff;
  }
  .auth-login-theme .auth-panel .login-card {
    align-self: center; width: min(100%, 420px); margin: 0; padding: 0;
  }
  .auth-login-theme .login-brand-logo { width: 116px; height: 52px; margin-bottom: 10px; }
  .auth-login-theme .auth-panel-footer { margin-top: 16px; }
}
@media (max-width: 380px) {
  .auth-login-theme .auth-panel { padding-right: 18px; padding-left: 18px; }
}
@media (max-height: 680px) {
  .auth-login-theme .auth-shell { min-height: 0; }
  .auth-login-theme .auth-panel { padding-top: 16px; padding-bottom: 12px; }
  .auth-login-theme .login-brand-logo { height: 44px; margin-bottom: 7px; }
  .auth-login-theme .auth-panel .login-card .auth-card-subtitle { margin-bottom: 14px; }
  .auth-login-theme .auth-panel .login-card .auth-field { margin-bottom: 11px; }
  .auth-login-theme .auth-panel .login-card .auth-security-note { margin-top: 10px; padding-top: 9px; }
}


/* Keep native and autofilled credentials visually consistent inside the login fields. */
.auth-login-theme .auth-panel .login-card .login-form .login-input-wrap {
  height: 54px; border: 1px solid #d7dce3; border-radius: 10px; background-color: #fff;
}
.auth-login-theme .auth-panel .login-card .login-form .login-input-wrap:focus-within {
  border-color: #f2c400; box-shadow: 0 0 0 3px rgba(255,204,0,.18);
}
.auth-login-theme .auth-panel .login-card .login-form .login-input-wrap input {
  box-sizing: border-box; flex: 1 1 auto; width: 100%; min-width: 0; height: 52px;
  padding: 0; border: 0; border-radius: 9px; color: #1f2937; background-color: #fff;
  box-shadow: none; text-shadow: none; filter: none; caret-color: #111;
  transition: border-color .18s ease, box-shadow .18s ease;
}
.auth-login-theme .auth-panel .login-card .login-form .login-input-wrap input:focus {
  outline: none; border: 0; box-shadow: none; color: #1f2937; background-color: #fff;
}
.auth-login-theme .auth-panel .login-card .login-form .login-input-wrap input[type="password"] {
  padding-right: 82px;
}
.auth-login-theme .auth-panel .login-card .login-form .login-input-wrap input:-webkit-autofill,
.auth-login-theme .auth-panel .login-card .login-form .login-input-wrap input:-webkit-autofill:hover,
.auth-login-theme .auth-panel .login-card .login-form .login-input-wrap input:-webkit-autofill:focus,
.auth-login-theme .auth-panel .login-card .login-form .login-input-wrap input:-webkit-autofill:active {
  -webkit-text-fill-color: #1f2937 !important;
  -webkit-box-shadow: 0 0 0 1000px #fff inset !important;
  box-shadow: 0 0 0 1000px #fff inset !important;
  caret-color: #111 !important; text-shadow: none !important; filter: none !important;
  border-radius: 9px; transition: background-color 9999s ease-out 0s;
}
.auth-login-theme .auth-panel .login-card .login-form .login-input-wrap input:autofill {
  color: #1f2937 !important; background-color: #fff !important;
  box-shadow: 0 0 0 1000px #fff inset !important; text-shadow: none !important; filter: none !important;
}


/* Recovery page shares the Login split-screen while keeping its original form and copy. */
.auth-forgot-theme .auth-panel .login-card .auth-card-kicker { margin: 0 0 5px; text-align: center; }
.auth-forgot-theme .auth-panel .login-card h2 { text-align: center; }
.auth-forgot-theme .auth-panel .login-card .auth-card-subtitle { margin-bottom: 20px; text-align: center; }
.auth-forgot-theme .auth-panel .login-card form { width: 100%; }
.auth-forgot-theme .auth-panel .login-card form .auth-field { width: 100%; margin: 0 0 15px; }
.auth-forgot-theme .auth-panel .login-card form .auth-field input,
.auth-forgot-theme .auth-panel .login-card form .auth-field select {
  box-sizing: border-box; width: 100%; height: 52px; border: 1px solid #d7dce3; border-radius: 10px;
  background-color: #fff; color: #1f2937; box-shadow: none; text-shadow: none; filter: none; caret-color: #111;
}
.auth-forgot-theme .auth-panel .login-card form .auth-field input:focus,
.auth-forgot-theme .auth-panel .login-card form .auth-field select:focus {
  border-color: #f2c400; outline: none; box-shadow: 0 0 0 3px rgba(255,204,0,.18);
}
.auth-forgot-theme .auth-panel .login-card form .auth-field input:-webkit-autofill,
.auth-forgot-theme .auth-panel .login-card form .auth-field input:-webkit-autofill:hover,
.auth-forgot-theme .auth-panel .login-card form .auth-field input:-webkit-autofill:focus,
.auth-forgot-theme .auth-panel .login-card form .auth-field input:-webkit-autofill:active {
  -webkit-text-fill-color: #1f2937 !important; -webkit-box-shadow: 0 0 0 1000px #fff inset !important;
  box-shadow: 0 0 0 1000px #fff inset !important; caret-color: #111 !important; text-shadow: none !important; filter: none !important;
  border-radius: 10px; transition: background-color 9999s ease-out 0s;
}
.auth-forgot-theme .auth-panel .login-card form .auth-field input:autofill {
  color: #1f2937 !important; background-color: #fff !important; box-shadow: 0 0 0 1000px #fff inset !important;
  text-shadow: none !important; filter: none !important;
}
.auth-forgot-theme .auth-back-link { display: inline-flex; align-items: center; gap: 7px; margin-top: 15px; color: #66540c; font-size: 13px; font-weight: 700; }
.auth-forgot-theme .auth-back-link:hover { text-decoration: underline; text-underline-offset: 3px; }
.auth-forgot-theme .auth-error,
.auth-forgot-theme .auth-message { margin: 0 0 15px; }
@media (max-width: 767px) {
  .auth-forgot-theme .auth-panel .login-card .auth-card-subtitle { margin-bottom: 18px; }
}


/* Signed-in Active Directory user navigation and landing page. */
.auth-user-portal .auth-panel .login-card { width: min(100%, 580px); }
.auth-user-portal.auth-login-theme .auth-panel {
  display: flex; flex-direction: column; justify-content: flex-start; align-items: center;
}
.auth-user-portal.auth-login-theme .auth-panel .login-card { flex: 0 0 auto; align-self: center; }
.auth-user-portal.auth-login-theme .auth-panel-footer { margin-top: auto; }
.auth-user-portal .self-service-nav {
  display: flex; align-items: center; gap: 8px; width: 100%; margin: 0 0 18px; padding: 0 0 12px;
  border-bottom: 1px solid #e8ebef;
}
.auth-user-portal .self-service-nav a,
.auth-user-portal .self-service-nav button {
  display: inline-flex; align-items: center; min-height: 38px; padding: 0 13px; border: 0; border-radius: 9px;
  color: #56616d; background: transparent; font: inherit; font-size: 13px; font-weight: 650; text-decoration: none; cursor: pointer;
}
.auth-user-portal .self-service-nav a:hover,
.auth-user-portal .self-service-nav button:hover { color: #202428; background: #f4f5f6; }
.auth-user-portal .self-service-nav a.active { color: #342900; background: #fff4bf; }
.auth-user-portal .self-service-nav form { margin: 0 0 0 auto; }
.auth-user-portal .self-service-nav a:focus-visible,
.auth-user-portal .self-service-nav button:focus-visible,
.auth-user-portal .self-password-menu-link:focus-visible { outline: 3px solid rgba(214,174,0,.42); outline-offset: 2px; }
.auth-user-portal .auth-panel .login-card h2 { font-size: clamp(25px, 2.3vw, 32px); overflow-wrap: anywhere; }
.auth-user-portal .self-home-content { max-width: 460px; margin: 0 auto; }
.auth-user-portal .self-home-content .auth-card-icon { margin: 0 auto 16px; }
.auth-login-theme.auth-user-portal .self-home-content .home-profile-icon {
  position: relative; width: 56px; height: 56px; border: 1px solid #f0e1ad; border-radius: 50%;
  background: linear-gradient(145deg, #fffefa, #fff8e1); color: #8b6b00;
  box-shadow: 0 5px 13px rgba(91, 72, 12, .09);
}
.auth-login-theme.auth-user-portal .self-home-content .home-profile-icon::after {
  position: absolute; right: 1px; bottom: 1px; width: 11px; height: 11px; border: 2px solid #fff;
  border-radius: 50%; background: #ffcc00; content: '';
}
.auth-user-portal .self-home-content .auth-card-kicker,
.auth-user-portal .self-home-content h2,
.auth-user-portal .self-home-content .auth-card-subtitle { text-align: center; }
.auth-user-portal .self-home-content .auth-card-kicker { font-size: 12px; font-weight: 800; letter-spacing: .14em; }
.auth-user-portal .self-home-content .auth-card-subtitle { margin: 8px 0 26px; }
.auth-user-portal .self-account-summary {
  display: grid; grid-template-columns: minmax(90px, .65fr) minmax(0, 1.35fr); gap: 12px 16px;
  padding: 16px; border: 1px solid #e7e9ed; border-radius: 13px; background: #fafbfc; font-size: 13px;
}
.auth-user-portal .self-account-summary span { color: #68727d; }
.auth-user-portal .self-account-summary strong { min-width: 0; color: #252a2e; overflow-wrap: anywhere; }
.auth-user-portal .self-password-menu-link { display: flex; align-items: center; width: 100%; margin-top: 20px; text-decoration: none; }
.auth-user-home.auth-login-theme .auth-panel .login-card { width: min(100%, 520px); }
.auth-user-home .self-home-content h2 {
  margin: 2px 0 5px; color: #202428; font-size: 30px; line-height: 1.2; text-align: center;
}
.auth-user-home .self-home-content .auth-card-subtitle {
  margin: 0 0 20px; color: #66717c; font-size: 13px; line-height: 1.55; text-align: center;
}
.auth-user-home .self-account-summary {
  grid-template-columns: minmax(90px, .65fr) minmax(0, 1.35fr); gap: 12px 16px;
  padding: 16px; border-color: #e9e4d6; border-radius: 11px; background: #fbfaf6;
}
@media (max-width: 600px) {
  .auth-user-portal .self-service-nav { gap: 2px; margin-bottom: 22px; }
  .auth-user-portal .self-service-nav a,
  .auth-user-portal .self-service-nav button { min-height: 36px; padding: 0 8px; font-size: 12px; }
  .auth-user-portal .self-account-summary { grid-template-columns: 1fr; gap: 5px; }
  .auth-user-portal .self-account-summary strong { margin-bottom: 9px; }
  .auth-user-home .self-home-content h2 { font-size: 27px; }
}

/* Clear, readable hierarchy for the signed-in password change page. */
.auth-user-portal.auth-login-theme .login-card:has(#passwordChange) { width: min(100%, 520px); }
.auth-user-portal.auth-login-theme .login-card:has(#passwordChange) > h2 {
  margin: 2px 0 5px; color: #202428; font-size: 30px; line-height: 1.2; text-align: center;
}
.auth-user-portal.auth-login-theme .login-card:has(#passwordChange) .password-page-subtitle {
  margin: 0 0 18px; color: #68727d; font-size: 13px; line-height: 1.55; text-align: center;
}
.auth-user-portal.auth-login-theme .login-card:has(#passwordChange) .auth-error {
  margin: 0 0 14px; padding: 11px 13px; border-radius: 10px; font-size: 12px; line-height: 1.55;
}
.auth-user-portal.auth-login-theme .login-card:has(#passwordChange) .password-policy-status {
  display: block; margin: 0 0 10px; padding: 10px 12px; border-color: #e7e9ec;
  border-radius: 9px; background: #f8f9fa; color: #66717c !important; font-size: 11px; line-height: 1.5;
}
.auth-user-portal.auth-login-theme .login-card:has(#passwordChange) .password-policy-card {
  margin: 0 0 20px; padding: 15px 16px; border: 1px solid #eee7d2; border-left: 3px solid #ffcc00;
  border-radius: 11px; background: #fffdf6;
}
.auth-user-portal.auth-login-theme .login-card:has(#passwordChange) .password-policy-card h3 { color: #252a2e; font-size: 13px; }
.auth-user-portal.auth-login-theme .login-card:has(#passwordChange) .password-policy-card #policySource { font-size: 11px; }
.auth-user-portal.auth-login-theme .login-card:has(#passwordChange) .password-policy-card ul {
  grid-template-columns: 1fr; gap: 8px; margin-top: 13px;
}
.auth-user-portal.auth-login-theme .login-card:has(#passwordChange) .password-policy-card li { color: #4b5560; font-size: 12px; line-height: 1.5; }
.auth-user-portal.auth-login-theme .login-card:has(#passwordChange) #passwordChange .auth-field { margin: 0 0 15px; }
.auth-user-portal.auth-login-theme .login-card:has(#passwordChange) #passwordChange .auth-field label { margin-bottom: 7px; font-size: 13px; }
.auth-user-portal.auth-login-theme .login-card:has(#passwordChange) #passwordChange .auth-field input {
  height: 48px; padding: 0 14px; border: 1px solid #d8dde3; border-radius: 9px; background: #fff;
}
.auth-user-portal.auth-login-theme .login-card:has(#passwordChange) #passwordChange .auth-field input:focus {
  border-color: #d2aa00; box-shadow: 0 0 0 3px rgba(255,204,0,.2);
}
.auth-user-portal.auth-login-theme .login-card:has(#passwordChange) #passwordChange #strength { height: 7px; margin-top: 9px; }
.auth-user-portal.auth-login-theme .login-card:has(#passwordChange) #passwordChange #checklist {
  grid-template-columns: 1fr; gap: 8px; margin: 2px 0 17px; padding: 13px 14px;
  border-color: #e7e9ec; border-radius: 10px; background: #f8f9fa;
}
.auth-user-portal.auth-login-theme .login-card:has(#passwordChange) #passwordChange #checklist li { font-size: 12px; line-height: 1.5; }
.auth-user-portal.auth-login-theme .login-card:has(#passwordChange) #passwordChange .auth-submit { min-height: 50px; margin-top: 0; }
.auth-user-portal.auth-login-theme #changeError[hidden] { display: none !important; }
.auth-user-portal.auth-login-theme .login-card:has(#passwordChange) .password-success-card { padding: 18px; border-radius: 11px; }
@media (max-width: 767px) {
  .auth-user-portal.auth-login-theme .login-card:has(#passwordChange) > h2 { margin-bottom: 5px; font-size: 27px; }
  .auth-user-portal.auth-login-theme .login-card:has(#passwordChange) .password-page-subtitle { margin-bottom: 15px; }
  .auth-user-portal.auth-login-theme .login-card:has(#passwordChange) .password-policy-card { margin-bottom: 17px; }
}

/* One spacing system for the complete public authentication flow. */
.auth-login-theme:not(.auth-user-portal) .auth-panel {
  padding: 28px clamp(28px, 3.5vw, 64px) 18px;
}
.auth-login-theme:not(.auth-user-portal) .auth-panel .login-card {
  width: min(100%, 420px);
}
.auth-login-theme:not(.auth-user-portal) .auth-language { margin: 0 0 16px; }
.auth-login-theme:not(.auth-user-portal) .login-brand-logo {
  width: 120px; height: 54px; margin: 0 auto 14px;
}
.auth-login-theme:not(.auth-user-portal) .auth-card-icon {
  width: 44px; height: 44px; margin: 0 auto 12px;
}
.auth-login-theme:not(.auth-user-portal) .auth-panel .login-card .auth-card-kicker {
  margin: 0 0 5px; text-align: center;
}
.auth-login-theme:not(.auth-user-portal) .auth-panel .login-card h2 {
  margin: 0; text-align: center;
}
.auth-login-theme:not(.auth-user-portal) .auth-panel .login-card .auth-card-subtitle {
  margin: 6px 0 22px; text-align: center;
}
.auth-login-theme:not(.auth-user-portal) .auth-panel .login-card form:not(.auth-forgot-row) {
  width: 100%;
}
.auth-login-theme:not(.auth-user-portal) .auth-panel .login-card .auth-field {
  width: 100%; margin: 0 0 16px;
}
.auth-login-theme:not(.auth-user-portal) .auth-panel .login-card .login-input-wrap,
.auth-login-theme:not(.auth-user-portal) .auth-panel .login-card .auth-field > input,
.auth-login-theme:not(.auth-user-portal) .auth-panel .login-card .auth-field > select,
.auth-login-theme:not(.auth-user-portal) .auth-panel .login-card .password-control > input {
  box-sizing: border-box; width: 100%; height: 54px;
}
.auth-login-theme:not(.auth-user-portal) .auth-panel .login-card .login-input-wrap input {
  height: 52px;
}
.auth-login-theme:not(.auth-user-portal) .auth-submit { min-height: 52px; }
.auth-login-theme:not(.auth-user-portal) .auth-back-link {
  display: flex; justify-content: center; width: 100%; margin-top: 18px;
}
.auth-login-theme:not(.auth-user-portal) .auth-panel .login-card .auth-security-note {
  margin-top: 16px; padding-top: 12px;
}

/* Smaller registration card and an accessible slide-to-fit puzzle. */
.auth-login-theme.auth-vpn-register .auth-panel .login-card {
  width: min(640px, 100%);
  padding: 20px clamp(20px, 3vw, 30px);
  border-radius: 17px;
}
.vpn-captcha-card {
  display: grid;
  justify-content: stretch;
  gap: 10px;
  padding: 12px 14px;
}
.vpn-captcha-heading { display: grid; gap: 4px; }
.vpn-captcha-heading label { font-size: 12px; }
.vpn-puzzle {
  position: relative;
  height: 48px;
  border: 1px solid #e5e2d7;
  border-radius: 10px;
  background: linear-gradient(135deg, #f5f3eb, #fffdf6);
  --puzzle-target: 70%;
}
.vpn-puzzle-track {
  position: absolute;
  inset: 8px 18px;
  overflow: hidden;
  border-radius: 7px;
  background: repeating-linear-gradient(135deg, #eeece3 0 8px, #f5f3eb 8px 16px);
}
.vpn-puzzle-gap {
  position: absolute;
  top: 50%;
  left: var(--puzzle-target);
  width: 30px;
  height: 30px;
  transform: translate(-50%, -50%);
  border: 2px dashed #ad9130;
  border-radius: 7px 13px 7px 7px;
  background: rgba(255, 204, 0, .13);
}
.vpn-puzzle-slider {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100% !important;
  margin: 0 !important;
  padding: 0 !important;
  appearance: none;
  border: 0 !important;
  border-radius: 10px !important;
  background: transparent !important;
  cursor: grab;
}
.vpn-puzzle-slider:active { cursor: grabbing; }
.vpn-puzzle-slider::-webkit-slider-thumb {
  width: 36px;
  height: 36px;
  appearance: none;
  border: 2px solid #9c7c00;
  border-radius: 8px;
  background: #ffcc00;
  box-shadow: 0 2px 5px rgba(60, 48, 8, .22);
  clip-path: polygon(0 0, 35% 0, 35% 13%, 40% 7%, 50% 4%, 60% 7%, 65% 14%, 65% 25%, 100% 25%, 100% 100%, 0 100%);
}
.vpn-puzzle-slider::-moz-range-thumb {
  width: 32px;
  height: 32px;
  border: 2px solid #9c7c00;
  border-radius: 8px;
  background: #ffcc00;
  box-shadow: 0 2px 5px rgba(60, 48, 8, .22);
  clip-path: polygon(0 0, 35% 0, 35% 13%, 40% 7%, 50% 4%, 60% 7%, 65% 14%, 65% 25%, 100% 25%, 100% 100%, 0 100%);
}
.vpn-puzzle-slider:focus-visible { outline: 3px solid rgba(246, 213, 72, .55); outline-offset: 2px; }
.vpn-puzzle.is-solved { border-color: #8bc9a2; background: #f3fbf5; }
.vpn-puzzle.is-solved .vpn-puzzle-gap { border-color: #31925b; background: rgba(49, 146, 91, .15); }
.vpn-puzzle-help { min-height: 14px; color: #7d8389; font-size: 10px; }
.vpn-puzzle.is-solved + .vpn-puzzle-help { color: #247344; }
@media (max-width: 767px) {
  .auth-login-theme:not(.auth-user-portal) .auth-panel { padding: 22px 20px 16px; }
}
@media (max-width: 380px) {
  .auth-login-theme:not(.auth-user-portal) .auth-panel { padding-right: 18px; padding-left: 18px; }
}
@media (max-width: 600px) {
  .auth-login-theme.auth-vpn-register .auth-panel .login-card {
    width: min(100%, 480px);
    padding: 17px 14px;
    border-radius: 15px;
  }
}
.auth-vpn-register .vpn-register-form { gap: 14px; }
.auth-vpn-register .vpn-type-choice {
  width: auto;
  margin: 2px 6px 4px;
  gap: 10px;
}
.auth-vpn-register .vpn-type-choice legend { margin-bottom: 16px; }
.auth-login-theme.auth-vpn-register .auth-panel .login-card .auth-card-subtitle {
  box-sizing: border-box;
  width: 100%;
  max-width: 460px;
  margin-right: auto;
  margin-left: auto;
  padding-inline: 4px;
  white-space: normal;
  overflow-wrap: anywhere;
  line-height: 1.55;
}
@media (min-width: 1000px) {
  .auth-vpn-register .auth-shell { grid-template-columns: minmax(320px, 34%) minmax(0, 66%); }
  .auth-vpn-register .auth-brand { padding-right: clamp(28px, 3vw, 48px); padding-left: clamp(28px, 3vw, 48px); }
  .auth-login-theme.auth-vpn-register .auth-panel .login-card {
    width: min(820px, 100%);
    padding: 28px clamp(28px, 3.2vw, 42px);
    border-radius: 22px;
  }
  .auth-vpn-register .vpn-register-form { gap: 13px; }
  .auth-vpn-register .vpn-form-section { padding: 15px 16px 3px; }
  .auth-vpn-register .vpn-section-heading { margin-bottom: 12px; }
  .auth-vpn-register .vpn-form-grid { column-gap: 18px; }
  .auth-vpn-register .vpn-form-grid .auth-field { margin-bottom: 11px !important; }
  .auth-vpn-register .vpn-form-grid .auth-field label { font-size: 12px !important; }
  .auth-vpn-register .vpn-form-grid .auth-field input { height: 44px !important; font-size: 13px !important; }
}
@media (min-width: 768px) and (max-width: 999px) {
  .auth-vpn-register .auth-shell { grid-template-columns: minmax(260px, 36%) minmax(0, 64%); }
  .auth-vpn-register .auth-brand { padding-right: 26px; padding-left: 26px; }
  .auth-vpn-register .auth-panel { padding-right: 16px; padding-left: 16px; }
  .auth-login-theme.auth-vpn-register .auth-panel .login-card { width: min(680px, 100%); padding: 19px 20px; }
  .auth-vpn-register .vpn-form-grid { column-gap: 12px; }
  .auth-vpn-register .vpn-form-grid .auth-field input { height: 42px !important; }
}
@media (min-width: 768px) {
  .auth-vpn-register .auth-shell { display: block; }
  .auth-vpn-register .auth-brand { display: none; }
  .auth-vpn-register .auth-panel { width: 100%; padding: 30px 24px; }
  .auth-vpn-register .auth-panel .login-card {
    width: min(820px, 100%);
    margin: 0 auto;
  }
  .auth-vpn-register .login-brand-logo { display: none; }
}
@media (min-width: 768px) {
  .auth-vpn-register .auth-panel { padding: 11px 10px 18px; }
  .auth-login-theme.auth-vpn-register .auth-panel .login-card {
    width: min(100%, 480px);
    padding: 17px 14px;
    border-radius: 15px;
  }
  .auth-vpn-register .auth-panel .login-card h2 { font-size: 22px; }
  .auth-vpn-register .vpn-register-form { gap: 8px; }
  .auth-vpn-register .vpn-type-choice { gap: 7px; }
  .auth-vpn-register .vpn-type-option { min-height: 50px; gap: 6px; padding: 6px; }
  .auth-vpn-register .vpn-type-icon { flex-basis: 25px; width: 25px; height: 25px; }
  .auth-vpn-register .vpn-type-option strong { font-size: 11px; }
  .auth-vpn-register .vpn-type-option small { display: none; }
  .auth-vpn-register .vpn-form-section { padding: 10px 10px 0; }
  .auth-vpn-register .vpn-form-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 9px; }
  .auth-vpn-register .vpn-span-two { grid-column: 1 / -1; }
  .auth-vpn-register .vpn-form-grid .auth-field { margin-bottom: 8px !important; }
  .auth-vpn-register .vpn-form-grid .auth-field input { height: 39px !important; }
  .auth-vpn-register .vpn-form-grid .auth-field textarea { min-height: 74px; }
}
@media (min-width: 768px) and (max-width: 999px) {
  .auth-login-theme.auth-vpn-register .auth-panel .login-card { width: min(820px, 100%); }
}
@media (min-width: 1000px) {
  .auth-login-theme.auth-vpn-register .auth-panel .login-card {
    width: min(1020px, 100%);
    padding: 26px 32px;
  }
  .auth-vpn-register .vpn-register-form {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    align-items: start;
    gap: 13px 18px;
  }
  .auth-vpn-register .vpn-type-choice { grid-column: 1 / -1; }
  .auth-vpn-register .vpn-applicant-section { grid-column: 1; grid-row: 2; }
  .auth-vpn-register .vpn-access-section { grid-column: 2; grid-row: 2; }
  .auth-vpn-register .vpn-captcha-card { grid-column: 1 / -1; }
  .auth-vpn-register .vpn-review-note,
  .auth-vpn-register .vpn-submit { grid-column: 2; }
  .auth-vpn-register .vpn-applicant-section,
  .auth-vpn-register .vpn-access-section { height: 100%; }
  .auth-vpn-register .vpn-form-grid { column-gap: 12px; }
  .auth-vpn-register .vpn-form-section {
    display: flex;
    flex-direction: column;
    min-width: 0;
    align-self: stretch;
    padding: 16px;
    border-radius: 14px;
  }
  .auth-vpn-register .vpn-section-heading { min-height: 36px; align-items: flex-start; margin-bottom: 13px; }
  .auth-vpn-register .vpn-form-grid { width: 100%; align-content: start; }
  .auth-vpn-register .vpn-form-grid .auth-field { min-width: 0; }
  .auth-vpn-register .vpn-form-grid .auth-field input,
  .auth-vpn-register .vpn-form-grid .auth-field textarea { max-width: 100%; }
  .auth-vpn-register .vpn-applicant-section .vpn-form-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .auth-vpn-register .vpn-access-section .vpn-form-grid { grid-template-columns: minmax(0, 1fr); }
  .auth-vpn-register .vpn-access-section .vpn-form-grid .auth-field { margin-bottom: 0 !important; }
  .auth-vpn-register .vpn-access-section .vpn-form-grid textarea { min-height: 118px; }
  .auth-vpn-register .vpn-type-option { min-height: 54px; }
}
@media (max-width: 600px) {
  .auth-vpn-register .vpn-type-choice { margin: 10px 3px 4px; gap: 8px; }
}
.auth-vpn-register .vpn-success { margin-top: 18px; }
.auth-vpn-register .login-brand-logo {
  display: block;
  width: 130px;
  height: 54px;
  object-fit: contain;
  margin: 0 auto 8px;
}
@media (max-width: 600px) {
  .auth-vpn-register .auth-panel .login-card .login-brand-logo { width: 94px; height: 38px; }
}
.mfa-action-row { display: flex; align-items: center; gap: 10px; margin-top: 14px; }
.mfa-action-row .mfa-verify-button { flex: 1; width: auto; margin-top: 0; }
.mfa-logout-form { flex: 0 0 auto; margin: 0; }
.mfa-logout-form button { display: inline-flex; align-items: center; justify-content: center; gap: 6px; min-height: 42px; padding: 0 13px; border: 1px solid #d8d9d4; border-radius: 10px; background: #fff; color: #5d6268; font: inherit; font-size: 12px; font-weight: 700; cursor: pointer; }
.mfa-logout-form button:hover { color: #1d2329; border-color: #aeb4b9; }
.auth-login-theme .mfa-action-row { align-items: stretch; gap: 12px; margin-top: 18px; }
.auth-login-theme .mfa-action-row .mfa-verify-button { min-height: 48px; padding: 10px 16px; border-radius: 12px; box-shadow: 0 6px 14px rgba(181,143,0,.16); font-size: 13px; }
.auth-login-theme .mfa-action-row .mfa-logout-form { width: auto !important; }
.auth-login-theme .mfa-action-row .mfa-logout-form button { min-height: 48px; padding: 0 15px; border-color: #dfe3e7; border-radius: 12px; color: #5d6873; background: #f8fafb; box-shadow: 0 3px 9px rgba(37,49,61,.06); white-space: nowrap; }
.auth-login-theme .mfa-action-row .mfa-logout-form button:hover { color: #26313b; border-color: #c6cdd4; background: #fff; }
@media (max-width: 420px) {
  .auth-login-theme .mfa-action-row { flex-direction: column; gap: 9px; }
  .auth-login-theme .mfa-action-row .mfa-logout-form,
  .auth-login-theme .mfa-action-row .mfa-logout-form button { width: 100% !important; }
}

/* Compact desktop registration form. Keep the mobile sizing above unchanged. */
@media (min-width: 768px) {
  .auth-vpn-register .auth-panel { padding: 12px 16px; }
  .auth-login-theme.auth-vpn-register .auth-panel .login-card {
    width: min(860px, 100%);
    padding: 18px 22px;
    border-radius: 17px;
  }
  .auth-vpn-register .vpn-register-form {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    align-items: start;
    gap: 9px 12px;
  }
  .auth-vpn-register .vpn-type-choice { grid-column: 1 / -1; gap: 8px; margin: 0 4px 2px; }
  .auth-vpn-register .vpn-type-choice legend { margin-bottom: 11px; font-size: 11px; }
  .auth-vpn-register .vpn-type-option { min-height: 46px; gap: 8px; padding: 7px 9px; border-radius: 10px; }
  .auth-vpn-register .vpn-type-icon { flex-basis: 26px; width: 26px; height: 26px; }
  .auth-vpn-register .vpn-type-option strong { font-size: 11px; }
  .auth-vpn-register .vpn-form-section {
    display: flex;
    flex-direction: column;
    min-width: 0;
    align-self: stretch;
    height: 100%;
    padding: 11px;
    border-radius: 12px;
  }
  .auth-vpn-register .vpn-applicant-section { grid-column: 1; grid-row: 2; }
  .auth-vpn-register .vpn-access-section { grid-column: 2; grid-row: 2; }
  .auth-vpn-register .vpn-section-heading { min-height: 29px; gap: 8px; margin-bottom: 9px; }
  .auth-vpn-register .vpn-section-heading > span { flex-basis: 28px; width: 28px; height: 28px; }
  .auth-vpn-register .vpn-section-heading h3 { font-size: 12px; }
  .auth-vpn-register .vpn-section-heading p { font-size: 9px; }
  .auth-vpn-register .vpn-form-grid { width: 100%; align-content: start; column-gap: 9px; }
  .auth-vpn-register .vpn-applicant-section .vpn-form-grid,
  .auth-vpn-register .vpn-access-section .vpn-form-grid { grid-template-columns: minmax(0, 1fr); }
  .auth-vpn-register .vpn-form-grid .auth-field { min-width: 0; margin-bottom: 6px !important; }
  .auth-vpn-register .vpn-form-grid .auth-field label { margin-bottom: 3px !important; font-size: 10px !important; }
  .auth-vpn-register .vpn-form-grid .auth-field input { height: 36px !important; padding: 0 9px !important; border-radius: 8px !important; font-size: 11px !important; }
  .auth-vpn-register .vpn-form-grid .auth-field textarea { min-height: 88px; padding: 8px 9px; border-radius: 8px; font-size: 11px; }
  .auth-vpn-register .vpn-captcha-card { grid-column: 1 / -1; gap: 7px; padding: 9px 11px; }
  .auth-vpn-register .vpn-puzzle { height: 42px; }
  .auth-vpn-register .vpn-puzzle-slider::-webkit-slider-thumb { width: 32px; height: 32px; }
  .auth-vpn-register .vpn-puzzle-slider::-moz-range-thumb { width: 28px; height: 28px; }
  .auth-vpn-register .vpn-puzzle-help { min-height: 12px; font-size: 9px; }
  .auth-vpn-register .vpn-review-note { grid-column: 2; gap: 7px; padding: 8px 10px; border-radius: 9px; }
  .auth-vpn-register .vpn-review-note p { font-size: 9px; }
  .auth-vpn-register .vpn-submit { grid-column: 2; min-height: 40px; padding: 8px 12px; border-radius: 9px; font-size: 11px; }
}
@media (min-width: 1000px) {
  .auth-login-theme.auth-vpn-register .auth-panel .login-card { width: min(920px, 100%); padding: 20px 24px; }
  .auth-vpn-register .vpn-applicant-section .vpn-form-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .auth-vpn-register .vpn-applicant-section .vpn-form-grid .vpn-span-two { grid-column: 1 / -1; }
}
.auth-vpn-register .vpn-submit-row { display: grid; gap: 8px; }
.auth-vpn-register .vpn-submit-row {
  padding: 9px;
  border: 1px solid #e7e3d7;
  border-radius: 12px;
  background: linear-gradient(135deg, #fbfaf6, #fff);
}
.auth-vpn-register .vpn-submit-row .vpn-review-note {
  display: flex;
  align-items: center;
  margin: 0;
  padding: 4px 6px;
  border: 0;
  background: transparent;
  color: #5c5748;
}
.auth-vpn-register .vpn-submit-row .vpn-review-note > span {
  display: grid;
  place-items: center;
  width: 30px;
  height: 30px;
  flex: 0 0 30px;
  margin: 0;
  border-radius: 9px;
  background: #fff2b9;
  color: #705d00;
}
.auth-vpn-register .vpn-submit-row .vpn-review-note p { font-size: 10px; line-height: 1.45; }
@media (min-width: 768px) {
  .auth-vpn-register .vpn-submit-row {
    grid-column: 1 / -1;
    display: flex;
    justify-content: center;
    align-items: stretch;
    gap: 12px;
  }
  .auth-vpn-register .vpn-submit-row .vpn-review-note {
    grid-column: auto;
    min-width: 0;
    flex: 0 1 250px;
    justify-content: center;
    text-align: center;
  }
  .auth-vpn-register .vpn-submit-row .vpn-review-note p { text-align: center; }
  .auth-vpn-register .vpn-submit-row .vpn-submit {
    grid-column: auto;
    width: auto;
    min-width: 158px;
    align-self: stretch;
    padding: 9px 14px;
    border-radius: 10px;
    box-shadow: 0 5px 12px rgba(181, 143, 0, .14);
  }
}
@media (max-width: 767px) {
  .auth-vpn-register .vpn-submit-row { grid-column: 1 / -1; grid-template-columns: minmax(0, 1fr); }
  .auth-vpn-register .vpn-submit-row .vpn-review-note { justify-content: center; text-align: center; }
  .auth-vpn-register .vpn-submit-row .vpn-review-note p { text-align: center; }
  .auth-vpn-register .vpn-submit-row .vpn-submit { width: 100%; }
}
