/* Anonymous account screens only; account forms inside the application retain its own styles. */
#login-screen.native-auth-surface {
  --auth-indigo: #1b2851;
  --auth-accent: #354b82;
  --auth-ink: #17243b;
  --auth-muted: #667085;
  display: grid;
  grid-template-columns: 42% minmax(0, 1fr);
  min-height: 100vh;
  min-height: 100dvh;
  background: #fff;
  color: var(--auth-ink);
  place-items: stretch;
}
#login-screen .auth-brand-panel {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-width: 0;
  padding: 48px clamp(32px, 5vw, 76px);
  background: var(--auth-indigo);
  color: #fff;
}
#login-screen .auth-brand-signature { display: flex; align-items: center; gap: 13px; font-size: 14px; font-weight: 600; line-height: 1.7; }
#login-screen .auth-brand-signature > span:last-child { min-width: 0; overflow-wrap: anywhere; }
#login-screen .auth-brand-mark { display: inline-grid; place-items: center; flex: 0 0 auto; width: 36px; height: 36px; border: 1px solid #7582aa; border-radius: 6px; color: #fff; font-size: 21px; font-weight: 650; line-height: 1; }
#login-screen .auth-brand-copy { margin: 68px 0 90px; }
#login-screen .auth-brand-copy h1 { margin: 0; color: #fff; font-size: clamp(32px, 3.4vw, 48px); font-weight: 600; line-height: 1.5; letter-spacing: -.035em; }
#login-screen .auth-brand-copy p { max-width: 420px; margin: 24px 0 0; color: #c3cce1; font-size: 14px; line-height: 1.9; }
#login-screen .auth-brand-note { margin: 0; color: #acb8d2; font-size: 12px; line-height: 1.7; }
#login-screen .auth-workspace { display: flex; flex-direction: column; min-width: 0; }
#login-screen .auth-mobile-brand { display: none; }
#login-screen .auth-form-region { display: flex; flex: 1; align-items: center; justify-content: center; min-width: 0; padding: 64px 40px 40px; }
#login-screen .login-panel { width: min(100%, 420px); padding: 0; border: 0; border-radius: 0; background: transparent; }
#login-screen .auth-panel-heading { margin-bottom: 31px; }
#login-screen .auth-panel-heading h2 { margin: 0 0 11px; color: var(--auth-ink); font-size: 27px; font-weight: 600; line-height: 1.45; letter-spacing: -.025em; }
#login-screen .auth-panel-heading p { margin: 0; color: var(--auth-muted); font-size: 13px; line-height: 1.85; }
#login-screen .form-grid { grid-template-columns: minmax(0, 1fr); gap: 20px; }
#login-screen .form-field { gap: 8px; color: #344054; font-size: 13px; line-height: 1.5; }
#login-screen .form-field input, #login-screen .form-field select { height: 46px; padding: 10px 13px; border: 1px solid #d5dce8; border-radius: 5px; background: #fff; color: var(--auth-ink); font-size: 14px; line-height: 1.5; box-shadow: none; }
#login-screen .form-field input:hover, #login-screen .form-field select:hover { border-color: #a7b4cc; }
#login-screen .form-field input:focus, #login-screen .form-field select:focus { border-color: #526fa7; outline: 3px solid #e5ebf7; outline-offset: 0; }
#login-screen .form-field input[readonly] { background: #f7f8fb; color: #667085; }
#login-screen .form-field small { color: var(--auth-muted); font-size: 12px; line-height: 1.65; }
#login-screen .btn { min-height: 46px; padding: 11px 18px; border-radius: 5px; font-size: 14px; font-weight: 550; line-height: 1.5; }
#login-screen .btn.primary { justify-content: center; width: 100%; border-color: var(--auth-accent); background: var(--auth-accent); color: #fff; }
#login-screen .btn.primary:hover { border-color: #293e70; background: #293e70; }
#login-screen .btn:focus-visible, #login-screen .text-btn:focus-visible, #login-screen a:focus-visible { outline: 3px solid #c0cde5; outline-offset: 3px; }
#login-screen .btn:disabled { cursor: wait; opacity: .65; }
#login-screen .auth-reset-note { margin: 17px 0 0; color: var(--auth-muted); font-size: 12px; line-height: 1.8; }
#login-screen .auth-application-entry { margin: 30px 0 0; padding-top: 23px; border-top: 1px solid #e9edf3; color: var(--auth-muted); font-size: 13px; line-height: 1.8; }
#login-screen .auth-application-entry a { margin-left: 4px; color: var(--auth-accent); font-size: inherit; font-weight: 550; text-decoration: none; }
#login-screen .auth-application-entry a:hover { text-decoration: underline; text-underline-offset: 4px; }
#login-screen .auth-back-link { margin-top: 22px; font-size: 13px; }
#login-screen .auth-page-footer { padding: 22px 24px 28px; color: #8b94a5; font-size: 11px; line-height: 1.8; text-align: center; }
#login-screen .form-error { margin-bottom: 22px; font-size: 13px; line-height: 1.65; }
@media (max-width: 1000px) and (min-width: 801px) {
  #login-screen .auth-brand-panel { padding-right: 32px; padding-left: 32px; }
  #login-screen .auth-form-region { padding-right: 30px; padding-left: 30px; }
}
@media (max-width: 800px) {
  #login-screen.native-auth-surface { grid-template-columns: minmax(0, 1fr); }
  #login-screen .auth-brand-panel { display: none; }
  #login-screen .auth-mobile-brand { display: flex; align-items: center; gap: 12px; padding: 28px 28px 0; }
  #login-screen .auth-mobile-brand .auth-brand-mark { border-color: var(--auth-accent); background: var(--auth-accent); }
  #login-screen .auth-mobile-brand > div { min-width: 0; }
  #login-screen .auth-mobile-brand strong { display: block; color: var(--auth-ink); font-size: 13px; font-weight: 600; line-height: 1.6; overflow-wrap: anywhere; }
  #login-screen .auth-mobile-brand div > span { display: block; color: var(--auth-muted); font-size: 11px; line-height: 1.5; }
  #login-screen .auth-form-region { padding: 50px 28px 30px; }
  #login-screen .auth-panel-heading { margin-bottom: 28px; }
  #login-screen .auth-panel-heading h2 { font-size: 25px; }
  #login-screen .auth-page-footer { padding: 28px 24px 22px; }
}
@media (max-width: 400px) {
  #login-screen .auth-mobile-brand { padding: 24px 22px 0; }
  #login-screen .auth-form-region { padding: 40px 22px 22px; }
  #login-screen .auth-page-footer { padding-right: 18px; padding-left: 18px; font-size: 10px; }
}

/* Employee registration has additional personal fields and can scroll as a full page. */
#login-screen.employee-registration-surface .auth-form-region { padding-top: 36px; padding-bottom: 24px; }
#login-screen.employee-registration-surface .login-panel { width: min(100%, 520px); }
#login-screen.employee-registration-surface .auth-panel-heading { margin-bottom: 24px; }
#login-screen .employee-registration-form { gap: 14px 16px; }
#login-screen .employee-registration-form .form-field { gap: 6px; }
#login-screen .employee-registration-form input,
#login-screen .employee-registration-form select { height: 42px; padding-top: 8px; padding-bottom: 8px; }
@media (min-width: 540px) {
  #login-screen .employee-registration-form { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

/* Shared by anonymous authentication and the account password form. */
#login-screen .auth-password-control,
[data-native-account] .auth-password-control { position: relative; min-width: 0; }
#login-screen .form-field .auth-password-control input,
[data-native-account] .form-field .auth-password-control input { width: 100%; box-sizing: border-box; padding-right: 50px; }
#login-screen .auth-password-toggle,
[data-native-account] .auth-password-toggle { position: absolute; top: 50%; right: 2px; display: inline-flex; align-items: center; justify-content: center; width: 44px; min-height: 44px; padding: 0; transform: translateY(-50%); border: 0; border-radius: 4px; background: transparent; color: #667085; cursor: pointer; }
#login-screen .auth-password-toggle:hover,
[data-native-account] .auth-password-toggle:hover { background: #eef2f8; color: #354b82; }
#login-screen .auth-password-toggle:focus-visible,
[data-native-account] .auth-password-toggle:focus-visible { outline: 2px solid #526fa7; outline-offset: -3px; }
#login-screen .auth-password-toggle svg,
[data-native-account] .auth-password-toggle svg { pointer-events: none; }
