/* The overlay is a body child, outside animated or clipped page containers. */
.sf-login-card form { transition: opacity 160ms ease, transform 160ms ease; }
.sf-login-pending [data-login-submit] {
  display: flex; align-items: center; justify-content: center; gap: .65rem;
  opacity: 1; cursor: progress;
  box-shadow: 0 8px 24px rgba(36, 102, 83, .18), inset 0 1px rgba(255,255,255,.35);
}
.sf-login-departing { opacity: .25; transform: translateY(-4px); }
.sf-login-glass[hidden] { display: none; }
.sf-login-glass {
  position: fixed; inset: 0; z-index: 10000; display: grid; place-items: center;
  box-sizing: border-box; padding: max(24px, env(safe-area-inset-top)) 24px;
  background: radial-gradient(ellipse at 18% 20%, #dcfff32b, transparent 55%),
    radial-gradient(ellipse at 82% 76%, #dbeaff38, transparent 55%), #e8eff43d;
  -webkit-backdrop-filter: blur(14px) saturate(145%);
  backdrop-filter: blur(14px) saturate(145%);
  animation: sf-login-glass-enter 240ms ease-out both; cursor: progress;
}
.sf-login-glass-panel {
  position: relative; overflow: hidden;
  isolation: isolate; box-sizing: border-box; width: min(100%, 380px); padding: 44px 30px;
  display: flex; flex-direction: column; align-items: center; gap: 14px;
  text-align: center; color: #183f37; border-radius: 40px;
  background: radial-gradient(ellipse at 8% 0%, #ffffffe0, transparent 58%),
    linear-gradient(135deg, #ffffffa8, #eef8f43d 55%, #ffffff80);
  -webkit-backdrop-filter: blur(36px) saturate(170%);
  backdrop-filter: blur(36px) saturate(170%);
  border: 1px solid #ffffffe6;
  box-shadow: 0 30px 90px #1c494126, 0 8px 28px #213c4112,
    inset 0 2px 2px #fff, inset 0 -1px 2px #ffffffa6;
}
.sf-login-glass-panel::before { content: ''; position: absolute; z-index: -1; inset: -90%; pointer-events: none;
  background: conic-gradient(from 30deg, transparent 0 20%, #ffffffb8 25%, transparent 32% 58%, #bce8dd52 64%, transparent 72%);
  filter: blur(12px); }
.sf-login-glass-panel::after { content: ''; position: absolute; inset: 5px; border: 1px solid #ffffff7a;
  border-radius: 35px; pointer-events: none; }
.sf-login-glass-panel strong { font-size: 1.2rem; font-weight: 600; letter-spacing: -.025em; }
.sf-login-glass-panel > span:last-child { color: #587068; font-size: .9rem; line-height: 1.5; }
@keyframes sf-login-glass-enter { from { opacity: 0; } to { opacity: 1; } }
@media (prefers-reduced-motion: reduce) {
  .sf-login-glass { animation: sf-login-glass-enter 180ms ease-out both; }
  .sf-login-card form { transition: none; }
  .sf-login-departing { opacity: 1; transform: none; }
}
