.modern-site-navbar,
footer { display: none !important; }

body,
main { margin: 0 !important; padding: 0 !important; }

.auth-shell {
  --auth-canvas: #f4f6fb;
  --auth-card: rgba(255, 255, 255, .92);
  --auth-ink: #121820;
  --auth-muted: #667085;
  --auth-line: #dbe1ea;
  --auth-field: rgba(255, 255, 255, .86);
  min-height: 100svh;
  position: relative;
  display: grid;
  place-items: center;
  overflow: hidden;
  padding: 32px 20px;
  color: var(--auth-ink);
  background:
    radial-gradient(circle at 12% 14%, rgba(255, 90, 31, .20), transparent 34%),
    radial-gradient(circle at 86% 82%, rgba(73, 105, 245, .20), transparent 38%),
    var(--auth-canvas);
}

.auth-shell::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: .34;
  background-image: linear-gradient(rgba(18, 24, 32, .05) 1px, transparent 1px), linear-gradient(90deg, rgba(18, 24, 32, .05) 1px, transparent 1px);
  background-size: 44px 44px;
  mask-image: linear-gradient(to bottom, black, transparent 78%);
}

html[data-bs-theme="dark"] .auth-shell {
  --auth-canvas: #0d141a;
  --auth-card: rgba(8, 12, 16, .92);
  --auth-ink: #f5f7fb;
  --auth-muted: #a5adba;
  --auth-line: #303945;
  --auth-field: rgba(13, 20, 26, .92);
  background:
    radial-gradient(circle at 14% 12%, rgba(255, 90, 31, .17), transparent 34%),
    radial-gradient(circle at 84% 84%, rgba(73, 105, 245, .23), transparent 40%),
    var(--auth-canvas);
}

html[data-bs-theme="dark"] .auth-shell::before {
  background-image: linear-gradient(rgba(255, 255, 255, .035) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, .035) 1px, transparent 1px);
}

.auth-theme {
  position: absolute;
  top: 20px;
  right: 20px;
  z-index: 2;
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 8px 11px;
  border: 1px solid var(--auth-line);
  border-radius: 999px;
  color: var(--auth-muted);
  background: var(--auth-card);
  box-shadow: 0 10px 30px rgba(0, 0, 0, .08);
  font-size: 13px;
  font-weight: 800;
}

.auth-theme input { width: 18px; height: 18px; margin: 0; accent-color: #4969f5; }

.auth-card {
  position: relative;
  z-index: 1;
  width: min(440px, 100%);
  padding: clamp(24px, 5vw, 38px);
  border: 1px solid var(--auth-line);
  border-radius: 26px;
  color: var(--auth-ink);
  background: var(--auth-card);
  box-shadow: 0 30px 90px rgba(17, 24, 39, .18);
  backdrop-filter: blur(24px);
}

html[data-bs-theme="dark"] .auth-card { box-shadow: 0 34px 100px rgba(0, 0, 0, .52); }

.auth-brand { display: flex; justify-content: center; align-items: center; gap: 11px; margin-bottom: 23px; color: var(--auth-ink); text-decoration: none; }
.auth-brand img { width: 42px; height: 42px; object-fit: contain; }
.auth-brand span { font-size: 21px; font-weight: 950; letter-spacing: .035em; }
.auth-title { margin: 0; text-align: center; font-size: clamp(28px, 6vw, 34px); line-height: 1.08; font-weight: 950; letter-spacing: -.025em; }
.auth-subtitle { margin: 10px 0 25px; color: var(--auth-muted); text-align: center; line-height: 1.55; }
.auth-provider-stack { display: grid; gap: 10px; }
.auth-provider {
  display: flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  gap: 10px;
  border: 1px solid var(--auth-line);
  border-radius: 14px;
  color: var(--auth-ink);
  background: var(--auth-field);
  text-decoration: none;
  font-weight: 850;
  transition: transform .16s ease, border-color .16s ease, box-shadow .16s ease;
}
.auth-provider:hover, .auth-provider:focus-visible { color: var(--auth-ink); border-color: #4969f5; transform: translateY(-1px); box-shadow: 0 10px 25px rgba(73, 105, 245, .14); }
.auth-provider img { width: 20px; height: 20px; }
.auth-provider.apple { color: white; border-color: #111; background: #050505; }
.auth-divider { display: flex; align-items: center; gap: 12px; margin: 22px 0; color: var(--auth-muted); font-size: 12px; font-weight: 850; letter-spacing: .08em; text-transform: uppercase; }
.auth-divider::before, .auth-divider::after { content: ""; height: 1px; flex: 1; background: var(--auth-line); }
.auth-form { display: grid; gap: 16px; }
.auth-name-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.auth-field label { display: block; margin-bottom: 7px; font-size: 13px; font-weight: 850; }
.auth-field .form-control {
  width: 100%;
  min-height: 48px;
  border: 1px solid var(--auth-line);
  border-radius: 13px;
  color: var(--auth-ink);
  background: var(--auth-field);
  box-shadow: none;
}
.auth-field .form-control:focus { color: var(--auth-ink); background: var(--auth-field); border-color: #4969f5; box-shadow: 0 0 0 4px rgba(73, 105, 245, .14); }
.auth-password { position: relative; }
.auth-password .form-control { padding-right: 48px; }
.auth-password-toggle { position: absolute; right: 8px; bottom: 7px; display: grid; width: 34px; height: 34px; place-items: center; border: 0; border-radius: 10px; color: var(--auth-muted); background: transparent; }
.auth-password-toggle:hover { color: var(--auth-ink); background: rgba(73, 105, 245, .10); }
.auth-error { padding: 11px 13px; border: 1px solid #e58b98; border-radius: 12px; color: #9f2333; background: rgba(255, 231, 235, .88); font-size: 13px; line-height: 1.45; }
html[data-bs-theme="dark"] .auth-error { color: #ffadb6; border-color: #7e3e49; background: rgba(50, 24, 32, .9); }
.auth-primary { min-height: 49px; border: 0; border-radius: 14px; color: white; background: linear-gradient(135deg, #4969f5, #7456df 56%, #ff5a1f); box-shadow: 0 14px 30px rgba(73, 105, 245, .22); font-weight: 950; }
.auth-primary:hover, .auth-primary:focus-visible { color: white; filter: brightness(1.06); transform: translateY(-1px); }
.auth-links { display: flex; justify-content: space-between; gap: 18px; margin-top: 21px; color: var(--auth-muted); font-size: 13px; }
.auth-links a { color: #4969f5; font-weight: 850; text-decoration: none; }
.auth-giveaway { padding: 14px; border: 1px solid var(--auth-line); border-radius: 14px; background: var(--auth-field); font-size: 13px; }
.auth-giveaway strong { display: block; margin: 2px 0; }
.auth-giveaway label { display: flex; gap: 9px; margin-top: 9px; align-items: flex-start; }
.auth-giveaway input { margin-top: 3px; }
.auth-help { margin: -7px 0 0; color: var(--auth-muted); font-size: 12px; line-height: 1.4; }

.auth-card--confirmation { width: min(500px, 100%); text-align: center; }
.auth-card--confirmation .auth-brand { margin-bottom: 18px; }
.auth-status-icon {
  display: grid;
  width: 72px;
  height: 72px;
  margin: 0 auto 17px;
  place-items: center;
  border: 1px solid rgba(73, 105, 245, .25);
  border-radius: 23px;
  color: white;
  background: linear-gradient(145deg, #4969f5, #7456df 57%, #ff5a1f);
  box-shadow: 0 18px 38px rgba(73, 105, 245, .24);
  font-size: 31px;
  transform: rotate(-2deg);
}
.auth-eyebrow { margin: 0 0 7px; color: #ff5a1f; font-size: 12px; font-weight: 950; letter-spacing: .13em; text-transform: uppercase; }
.auth-confirmation-copy { margin-bottom: 8px; }
.auth-email-pill {
  display: inline-flex;
  max-width: 100%;
  margin-bottom: 23px;
  padding: 8px 13px;
  overflow-wrap: anywhere;
  border: 1px solid rgba(73, 105, 245, .24);
  border-radius: 999px;
  color: var(--auth-ink);
  background: rgba(73, 105, 245, .09);
  font-size: 14px;
  font-weight: 850;
}
.auth-confirmation-steps { display: grid; gap: 10px; margin: 0 0 14px; text-align: left; }
.auth-confirmation-step {
  display: flex;
  align-items: center;
  gap: 13px;
  padding: 13px 14px;
  border: 1px solid var(--auth-line);
  border-radius: 15px;
  background: var(--auth-field);
}
.auth-confirmation-step > span { display: grid; width: 29px; height: 29px; flex: 0 0 29px; place-items: center; border-radius: 10px; color: white; background: #4969f5; font-size: 13px; font-weight: 950; }
.auth-confirmation-step p { margin: 0; line-height: 1.28; }
.auth-confirmation-step strong { display: block; font-size: 14px; }
.auth-confirmation-step small { display: block; margin-top: 3px; color: var(--auth-muted); font-size: 12px; }
.auth-notice { display: flex; align-items: flex-start; gap: 9px; margin: 0 0 18px; padding: 11px 13px; border-radius: 13px; color: var(--auth-muted); background: rgba(255, 90, 31, .08); text-align: left; font-size: 12px; line-height: 1.4; }
.auth-notice i { margin-top: 1px; color: #ff5a1f; }
.auth-primary-link { display: grid; place-items: center; text-decoration: none; }
.auth-primary-link:hover, .auth-primary-link:focus-visible { color: white; }
.auth-confirmation-help { margin: 17px 0 0; color: var(--auth-muted); font-size: 12px; line-height: 1.5; }
.auth-confirmation-help a { color: #4969f5; font-weight: 850; text-decoration: none; }

@media (max-width: 560px) {
  .auth-shell { align-items: start; padding: 76px 14px 24px; }
  .auth-card { border-radius: 21px; }
  .auth-name-row { grid-template-columns: 1fr; }
  .auth-links { display: grid; justify-content: center; text-align: center; }
  .auth-confirmation-shell { padding-top: 70px; }
  .auth-card--confirmation { padding-inline: 20px; }
  .auth-status-icon { width: 64px; height: 64px; border-radius: 20px; font-size: 28px; }
}
