/* Deep Blue Glass: sign-in and connector return pages. */
:root {
  color-scheme: dark;
  --login-glass-text: #eef7ff;
  --login-glass-muted: #b1c9e2;
  --login-glass-accent: #49d6ff;
  --login-glass-line: rgba(126, 194, 248, .32);
}
body {
  min-height: 100vh;
  min-height: 100svh;
  padding: clamp(18px, 4vw, 48px);
  background:
    radial-gradient(ellipse at 78% 9%, rgba(28, 106, 177, .46), transparent 54%),
    radial-gradient(ellipse at 9% 83%, rgba(22, 94, 152, .3), transparent 55%),
    linear-gradient(145deg, #07172c, #0c2948 52%, #071a30);
  color: var(--login-glass-text);
  -webkit-font-smoothing: antialiased;
}
.login-card {
  width: min(100%, 460px);
  padding: clamp(26px, 5vw, 42px);
  border: 1px solid var(--login-glass-line);
  border-radius: 24px;
  background: linear-gradient(145deg, rgba(40, 82, 123, .61), rgba(11, 35, 62, .87));
  -webkit-backdrop-filter: blur(22px) saturate(125%);
  backdrop-filter: blur(22px) saturate(125%);
  box-shadow: 0 24px 74px rgba(0, 7, 22, .4), inset 0 1px 0 rgba(196, 230, 255, .15);
}
.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 32px;
  letter-spacing: -.04em;
  color: #f4f9ff;
}
.brand::before {
  content: '';
  display: block;
  width: 42px;
  height: 42px;
  flex: 0 0 42px;
  background: url('/icons/iris-blue-mark.svg') center / contain no-repeat;
}
.brand span { color: var(--login-glass-accent); margin-left: -9px; }
.kicker { font-size: .75rem; color: #9ec8ea; letter-spacing: .24em; margin-top: 13px; line-height: 1.5; }
.rule { margin: 27px 0; background: linear-gradient(90deg, rgba(114, 194, 255, .5), rgba(114, 194, 255, .07)); }
.eyebrow { font-size: .75rem; color: #8bd8ff; letter-spacing: .17em; }
h1 { margin: 9px 0; font-size: clamp(27px, 5vw, 32px); letter-spacing: -.035em; }
.intro, .login-card > p { color: var(--login-glass-muted); line-height: 1.6; }
label { margin: 18px 0; color: #d2e4f5; font-size: 13px; }
input {
  min-height: 48px;
  margin-top: 8px;
  border: 1px solid rgba(131, 184, 228, .36);
  border-radius: 11px;
  background: rgba(4, 21, 40, .64);
  color: var(--login-glass-text);
  padding: 12px 14px;
  font: inherit;
  box-shadow: inset 0 1px 3px rgba(0, 9, 24, .2);
  transition: border-color .16s ease, box-shadow .16s ease;
}
input::placeholder { color: #90aac5; opacity: 1; }
input:focus { border-color: #74d3ff; box-shadow: 0 0 0 3px rgba(73, 185, 255, .18); }
input:focus-visible { outline: 2px solid #84ddff; outline-offset: 2px; }
input[name='code'] { letter-spacing: .17em; font-variant-numeric: tabular-nums; }
input:-webkit-autofill {
  -webkit-text-fill-color: #eef7ff;
  -webkit-box-shadow: 0 0 0 1000px #122e4c inset;
  caret-color: #eef7ff;
}
button {
  min-height: 49px;
  padding: 13px 17px;
  border: 1px solid rgba(145, 221, 255, .57);
  border-radius: 11px;
  background: #25c6df;
  color: #052435;
  font: inherit;
  font-weight: 700;
  box-shadow: 0 7px 20px rgba(0, 75, 139, .25), inset 0 1px 0 rgba(217, 243, 255, .21);
  transition: border-color .16s ease, background .16s ease, box-shadow .16s ease;
}
button:hover { filter: none; background: #56dcf0; border-color: #9ce5ff; }
button:focus-visible, a:focus-visible { outline: 2px solid #8be2ff; outline-offset: 4px; }
button:disabled { opacity: .55; cursor: not-allowed; }
.error { border-color: rgba(252, 139, 155, .45); background: rgba(92, 29, 49, .6); color: #ffd5dd; border-radius: 10px; padding: 13px; line-height: 1.5; }
.login-card .footer { margin: 25px 0 0; color: #b1c9e2; font-size: .75rem; line-height: 1.6; }
.signin-help { margin-top: 19px; color: #c7def1; font-size: .8125rem; line-height: 1.6; }
.signin-help>summary { display: inline-flex; align-items: center; min-height: 24px; color: #85d8ff; cursor: pointer; }
.signin-help>p { margin: 8px 0 0; }
.signin-help>summary:focus-visible { outline: 2px solid #8be2ff; outline-offset: 3px; }
a { color: #85d8ff; text-underline-offset: 3px; }
a:hover { color: #c1edff; }
@supports not ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) {
  .login-card { background: linear-gradient(145deg, #1c405f, #102a45); }
}
@media (prefers-reduced-motion: reduce) {
  input, button { transition: none; }
}
@media (max-width: 420px) {
  .login-card { border-radius: 19px; }
  input { font-size: 16px; }
}
