#screen-login .auth-card {
  --ink: #183a58;
  --ink-2: #335472;
  --ink-3: #49617a;
  --sky-400: #397ea4;
  --sky-600: #145884;
  --sky-700: #145884;
  box-sizing: border-box;
  width: min(410px, 100%);
  padding: 14px clamp(14px, 3vw, 23px) 18px;
  border: 1px solid #ecf9ff;
  border-radius: 22px;
  background: linear-gradient(145deg, #fffffff5, #e8f5fff5);
  box-shadow: inset 0 0 0 3px #c7e8fb80, 0 12px 28px #122a4c75;
  color: var(--ink);
  color-scheme: light;
}

#screen-login .auth-card::before,
#screen-login .auth-card::after {
  content: none;
}

#screen-login .auth-tabs {
  gap: 4px;
  margin: 0 0 13px;
  padding: 4px;
  border: 1px solid #bdd9ed;
  border-radius: 99px;
  background: #dbeefa;
  box-shadow: none;
}

#screen-login .auth-tabs .tab {
  flex: 1 1 0;
  margin: 0;
  padding: 6px;
  border: 0;
  border-radius: 99px;
  background: transparent;
  box-shadow: none;
  color: #345776;
  font-weight: 700;
}

#screen-login .auth-tabs .tab[aria-selected="true"] {
  color: #0e527c;
  background: #fff;
  box-shadow: 0 2px 5px #568ebf38;
}

#screen-login .auth-pane .field label {
  color: var(--ink);
  font-weight: 700;
}

#screen-login .auth-pane .field input:not([type="checkbox"]):not([type="radio"]) {
  color: var(--ink);
  background: #fff;
  border: 1px solid #acc8de;
  border-radius: 10px;
  box-shadow: none;
}

#screen-login .auth-pane input::placeholder {
  color: #526981;
  opacity: 1;
}

#screen-login .auth-card :is(button, input, a):focus-visible {
  outline: 2px solid #25658e;
  outline-offset: 2px;
}

#screen-login .auth-card .link-btn {
  color: #145884;
  text-decoration: underline;
  text-underline-offset: 3px;
}

#screen-login .auth-pane button[type="submit"] {
  min-height: 44px;
  border: 1px solid #166795;
  border-radius: 99px;
  background: linear-gradient(#287fab, #124f80);
  box-shadow: 0 3px 8px #1a598345;
  color: #fff;
  font-weight: 750;
  text-shadow: none;
}

#screen-login .auth-pane button[type="submit"]::before {
  display: none;
}

#screen-login .auth-back:not([hidden]) {
  display: block;
  width: max-content;
  min-height: 34px;
  margin: 9px auto 0;
  padding-inline: 12px;
  border: 0;
  border-radius: 99px;
  background: transparent;
  color: #145884;
  cursor: pointer;
  font: inherit;
  font-size: 13px;
  text-decoration: underline;
  text-underline-offset: 3px;
}

@media (prefers-reduced-motion: reduce) {
  #screen-login .auth-card {
    animation: none;
  }
}
