.login-page {
  background: radial-gradient(ellipse at 85% 18%, #e7efe4 0, transparent 42%),
    radial-gradient(ellipse at 12% 90%, #eeeaf3 0, transparent 38%), var(--bg);
}
.auth-card { border-color: #dce5dc; box-shadow: 0 16px 50px #23373308; }
.auth-icon { width: 20px; height: 20px; flex-shrink: 0; display: block; }
.auth-tabs { margin-bottom: 26px; }
.auth-tabs button {
  display: flex; align-items: center; justify-content: center; gap: 8px;
  margin-bottom: 0; min-height: 44px; transition: background .15s, color .15s;
}
.auth-tabs button .auth-icon { width: 18px; height: 18px; opacity: .55; }
.auth-tabs button.active .auth-icon { opacity: .85; }
.auth-tabs button:hover { color: var(--ink); background: #ffffff80; }
.auth-welcome-mark {
  position: relative; display: grid; place-items: center; width: 58px; height: 58px;
  margin-bottom: 18px; border: 1px solid #d7e8db; border-radius: 18px;
  background: #e8f3e9; box-shadow: inset 0 1px #ffffff;
}
.auth-hero-icon { width: 30px; height: 30px; opacity: .75; }
.auth-spark {
  display: grid; place-items: center; position: absolute; right: -10px; top: -7px;
  width: 28px; height: 28px; border-radius: 10px; background: #f2e9d5;
  border: 3px solid white; transform: rotate(9deg);
}
.auth-spark .auth-icon { width: 15px; height: 15px; opacity: .6; }
.auth-card label { color: #586c62; }
.auth-input-wrap { position: relative; margin-bottom: 16px; }
.auth-input-wrap > .auth-icon {
  position: absolute; left: 14px; top: 14px; opacity: .45; pointer-events: none;
  transition: opacity .15s;
}
.auth-card .auth-input-wrap input { padding-left: 44px; margin-bottom: 0; min-height: 48px; }
.auth-input-wrap:focus-within > .auth-icon { opacity: .85; }
.auth-card input:focus { border-color: #609780; outline: 3px solid #e4efe8; }
.auth-card .primary {
  justify-content: space-between; align-items: center; min-height: 46px;
  background: #244b40; box-shadow: 0 4px 10px #244b4014; transition: background .15s;
}
.auth-card .primary:hover { background: #326552; }
.auth-card .primary .auth-submit-label { margin-left: 0; }
.auth-card .primary .auth-icon { filter: invert(1); width: 18px; height: 18px; }
.auth-card .read-only {
  display: flex; align-items: center; gap: 9px; background: #f1f6ee;
  padding: 11px 12px; border-radius: 9px; font-size: 10px; line-height: 1.6;
}
.auth-card .read-only .auth-icon { width: 18px; height: 18px; opacity: .55; }
.auth-card details summary { display: flex; align-items: center; gap: 8px; list-style: none; }
.auth-card details summary::-webkit-details-marker { display: none; }
.auth-card details summary .auth-icon { width: 16px; height: 16px; opacity: .55; }
.auth-card details summary::after {
  content: ''; width: 6px; height: 6px; flex-shrink: 0; margin-left: auto;
  border-right: 1.5px solid currentColor; border-bottom: 1.5px solid currentColor;
  transform: rotate(45deg); transition: transform .15s;
}
.auth-card details[open] summary::after { transform: rotate(225deg); }
.auth-card .auth-legacy-submit { display: flex; align-items: center; justify-content: center; gap: 8px; }
.auth-legacy-submit .auth-icon { width: 16px; height: 16px; opacity: .65; }
.auth-benefits p { display: flex; align-items: center; gap: 13px; padding: 12px 0; }
.auth-benefits .auth-benefit-icon {
  display: grid; place-items: center; width: 36px; height: 36px; margin: 0;
  border-radius: 11px; flex-shrink: 0;
}
.auth-benefit-icon .auth-icon { width: 19px; height: 19px; opacity: .6; }
.auth-benefit-icon.mint { background: #e4efe5; }
.auth-benefit-icon.lilac { background: #ede7f5; }
.auth-benefit-icon.sand { background: #f2eadb; }
.auth-card button:focus-visible, .auth-card summary:focus-visible { outline: 3px solid #609780; outline-offset: 3px; }
@media (max-width: 760px) {
  .auth-card { padding: 25px; border-radius: 18px; }
  .auth-tabs button { padding: 9px 7px; gap: 6px; font-size: 12px; }
  .auth-welcome-mark { width: 52px; height: 52px; border-radius: 16px; }
}
@media (prefers-reduced-motion: reduce) {
  .login-page * { transition: none !important; }
}
