.auth-drawer {
  position: fixed;
  inset: 0;
  z-index: 120;
  pointer-events: none;
  visibility: hidden;
}
.auth-drawer.is-open {
  pointer-events: auto;
  visibility: visible;
}
.auth-drawer__scrim {
  position: absolute;
  inset: 0;
  background: rgba(15, 23, 42, .45);
  opacity: 0;
  transition: opacity .28s ease;
}
.auth-drawer.is-open .auth-drawer__scrim { opacity: 1; }
.auth-drawer__panel {
  position: absolute;
  top: 0;
  right: 0;
  width: min(420px, 100%);
  height: 100%;
  background: #fff;
  box-shadow: -16px 0 48px rgba(15, 23, 42, .18);
  transform: translateX(100%);
  transition: transform .32s cubic-bezier(.22, 1, .36, 1);
  overflow-y: auto;
  padding: 28px 24px 40px;
  -webkit-overflow-scrolling: touch;
}
.auth-drawer.is-open .auth-drawer__panel { transform: translateX(0); }
.auth-drawer__close {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 40px;
  height: 40px;
  border: 0;
  border-radius: 10px;
  background: #f1f5f9;
  display: grid;
  place-items: center;
  cursor: pointer;
}
.auth-drawer .auth-kicker {
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--green, #119508);
  margin: 8px 0 8px;
}
.auth-drawer h2 {
  font-family: Outfit, Manrope, sans-serif;
  font-size: 28px;
  font-weight: 700;
  margin: 0 0 8px;
  color: #0f172a;
  padding-right: 36px;
}
.auth-drawer .auth-lead {
  color: #64748b;
  font-size: 14px;
  line-height: 1.5;
  margin: 0 0 18px;
}
.auth-drawer .auth-form {
  display: grid;
  gap: 12px;
}
.auth-drawer .auth-form label {
  display: grid;
  gap: 6px;
  font-size: 13px;
  font-weight: 700;
  color: #334155;
}
.auth-drawer .auth-form input {
  width: 100%;
  height: 46px;
  border: 1px solid #e2e8f0;
  border-radius: 10px;
  padding: 0 12px;
  font: inherit;
  font-weight: 500;
  color: #0f172a;
  background: #fff;
}
.auth-drawer .auth-form input:focus {
  outline: none;
  border-color: #86efac;
  box-shadow: 0 0 0 3px rgba(17, 149, 8, .12);
}
.auth-drawer .auth-input-row {
  position: relative;
}
.auth-drawer .auth-input-row input { padding-right: 40px; }
.auth-drawer .auth-tick {
  position: absolute;
  right: 12px;
  top: 50%;
  transform: translateY(-50%);
  width: 22px;
  height: 22px;
  border-radius: 999px;
  background: #dcfce7;
  color: #15803d;
  font-style: normal;
  font-weight: 800;
  font-size: 13px;
  display: grid;
  place-items: center;
}
.auth-drawer .auth-tick.is-bad {
  background: #fee2e2;
  color: #b91c1c;
}
.auth-drawer .auth-hint {
  font-size: 12px;
  font-weight: 600;
  color: #64748b;
  min-height: 16px;
}
.auth-drawer .auth-hint.is-ok { color: #15803d; }
.auth-drawer .auth-hint.is-bad { color: #b91c1c; }
.auth-drawer .auth-pass-wrap {
  display: flex;
  align-items: center;
  gap: 8px;
  border: 1px solid #e2e8f0;
  border-radius: 10px;
  padding-right: 8px;
  background: #fff;
}
.auth-drawer .auth-pass-wrap input {
  border: 0;
  box-shadow: none;
  height: 44px;
}
.auth-drawer .auth-pass-wrap:focus-within {
  border-color: #86efac;
  box-shadow: 0 0 0 3px rgba(17, 149, 8, .12);
}
.auth-drawer .auth-pass-toggle {
  border: 0;
  background: transparent;
  color: #64748b;
  font-size: 12px;
  font-weight: 700;
  cursor: pointer;
  padding: 6px 8px;
}
.auth-drawer .auth-btn {
  height: 48px;
  border: 0;
  border-radius: 10px;
  background: linear-gradient(180deg, #16a34a, #119508);
  color: #fff;
  font-size: 15px;
  font-weight: 800;
  cursor: pointer;
  margin-top: 4px;
}
.auth-drawer .auth-btn:disabled {
  opacity: .65;
  cursor: wait;
}
.auth-drawer .auth-linkish {
  justify-self: start;
  border: 0;
  background: none;
  color: #119508;
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
  padding: 0;
}
.auth-drawer .auth-alt {
  margin-top: 18px;
  font-size: 13px;
  color: #64748b;
  text-align: center;
}
.auth-drawer .auth-alt button,
.util-drop-link {
  border: 0;
  background: none;
  color: #119508;
  font: inherit;
  font-weight: 800;
  cursor: pointer;
  padding: 0;
}
.util-drop .util-drop-btn,
.util-drop .util-drop-link {
  display: block;
  width: 100%;
  text-align: left;
  padding: 8px 0;
}
.auth-drawer .auth-alert {
  background: #fef2f2;
  color: #b91c1c;
  border: 1px solid #fecaca;
  border-radius: 10px;
  padding: 10px 12px;
  font-size: 13px;
  font-weight: 600;
  margin-bottom: 12px;
}
.auth-drawer .auth-alert.is-ok {
  background: #f0fdf4;
  color: #166534;
  border-color: #bbf7d0;
}
.auth-steps {
  list-style: none;
  display: flex;
  gap: 8px;
  padding: 0;
  margin: 0 0 14px;
  flex-wrap: wrap;
}
.auth-steps li {
  font-size: 11px;
  font-weight: 700;
  color: #94a3b8;
  padding: 5px 10px;
  border-radius: 999px;
  background: #f1f5f9;
}
.auth-steps li.on {
  color: #166534;
  background: #dcfce7;
}
.auth-pane--thanks {
  text-align: center;
  padding-top: 48px;
}
.auth-thanks-mark {
  width: 64px;
  height: 64px;
  margin: 0 auto 16px;
  border-radius: 999px;
  background: #dcfce7;
  color: #15803d;
  font-size: 28px;
  font-weight: 800;
  display: grid;
  place-items: center;
}
body.auth-open { overflow: hidden; }

@media (max-width: 480px) {
  .auth-drawer__panel {
    width: 100%;
    padding: 24px 18px 36px;
  }
}
