:root {
  color-scheme: light;
  --auth-ink: #0f172a;
  --auth-muted: #5d728d;
  --auth-accent: #167dff;
  --auth-accent-strong: #0059f1;
}

* {
  box-sizing: border-box;
}

html,
body {
  min-height: 100%;
  margin: 0;
}

body {
  font-family: 'Manrope', sans-serif;
  color: var(--auth-ink);
  background:
    radial-gradient(circle at 14% 18%, rgba(255, 255, 255, 0.88), transparent 22%),
    radial-gradient(circle at 88% 12%, rgba(177, 221, 255, 0.52), transparent 28%),
    linear-gradient(135deg, #e9f5fc 0%, #dbeef9 42%, #cfe6f5 100%);
}

.auth-shell {
  position: relative;
  min-height: 100vh;
  overflow: hidden;
}

.auth-noise {
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: 0.22;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.08) 1px, transparent 1px);
  background-size: 110px 110px;
  mask-image: radial-gradient(circle at center, black 38%, transparent 88%);
}

.auth-ambient {
  position: absolute;
  border-radius: 999px;
  filter: blur(32px);
  pointer-events: none;
}

.auth-ambient--one {
  top: -10%;
  left: 8%;
  width: 24rem;
  height: 24rem;
  background: rgba(255, 255, 255, 0.68);
}

.auth-ambient--two {
  right: -8%;
  top: 10%;
  width: 26rem;
  height: 26rem;
  background: rgba(68, 171, 255, 0.2);
}

.auth-ambient--three {
  left: 28%;
  bottom: -12%;
  width: 30rem;
  height: 30rem;
  background: rgba(20, 116, 255, 0.16);
}

.auth-content {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(420px, 0.95fr);
  min-height: 100vh;
}

.auth-showcase,
.auth-panel {
  padding: 32px;
}

.auth-showcase {
  display: flex;
  align-items: stretch;
}

.auth-showcase__panel,
.auth-panel__card,
.auth-metric,
.auth-note {
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.34);
  background: linear-gradient(160deg, rgba(255, 255, 255, 0.58), rgba(224, 240, 251, 0.28));
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.54),
    0 26px 60px rgba(77, 116, 155, 0.16);
  backdrop-filter: blur(26px) saturate(145%);
  -webkit-backdrop-filter: blur(26px) saturate(145%);
}

.auth-showcase__panel::before,
.auth-panel__card::before,
.auth-metric::before,
.auth-note::before {
  content: '';
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(circle at top left, rgba(255, 255, 255, 0.62), transparent 30%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.12), transparent 38%);
}

.auth-showcase__panel > *,
.auth-panel__card > *,
.auth-metric > *,
.auth-note > * {
  position: relative;
  z-index: 1;
}

.auth-showcase__panel {
  width: 100%;
  border-radius: 34px;
  padding: 30px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 28px;
  background: linear-gradient(160deg, rgba(255, 255, 255, 0.78), rgba(219, 236, 248, 0.52));
}

.auth-brand {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  color: #17395a;
  text-decoration: none;
  font-size: 0.85rem;
  font-weight: 800;
  letter-spacing: 0.24em;
  text-transform: uppercase;
}

.auth-brand img {
  height: 42px;
  width: auto;
  object-fit: contain;
}

.auth-kicker {
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: rgba(15, 49, 83, 0.72);
}

.auth-display {
  margin: 16px 0 0;
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(3.2rem, 7vw, 5.6rem);
  font-weight: 600;
  line-height: 0.92;
  letter-spacing: -0.06em;
  color: #13385d;
  text-shadow: 0 18px 34px rgba(29, 76, 127, 0.08);
}

.auth-copy {
  margin-top: 18px;
  max-width: 34rem;
  color: #45617d;
  font-weight: 600;
  line-height: 1.8;
}

.auth-metrics {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin-top: 28px;
}

.auth-metric {
  border-radius: 24px;
  padding: 18px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.74), rgba(232, 243, 251, 0.58));
}

.auth-metric__value {
  font-size: clamp(1.8rem, 2.5vw, 2.6rem);
  font-weight: 800;
  letter-spacing: -0.05em;
  color: #17395a;
}

.auth-metric__label {
  margin-top: 10px;
  font-size: 0.84rem;
  line-height: 1.6;
  color: #536b84;
}

.auth-notes {
  display: grid;
  gap: 12px;
  margin-top: 20px;
}

.auth-note {
  border-radius: 22px;
  padding: 16px 18px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.7), rgba(228, 241, 250, 0.48));
}

.auth-note__title {
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(15, 49, 83, 0.7);
}

.auth-note__copy {
  margin-top: 8px;
  color: #4e6780;
  line-height: 1.7;
}

.auth-panel {
  display: flex;
  align-items: center;
  justify-content: center;
}

.auth-panel__card {
  width: min(100%, 560px);
  border-radius: 34px;
  padding: 32px;
}

.auth-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 14px;
}

.auth-link {
  color: #1a4a7b;
  font-size: 0.92rem;
  font-weight: 700;
  text-decoration: none;
}

.auth-label {
  display: block;
  margin-bottom: 8px;
  color: #2c4968;
  font-size: 0.82rem;
  font-weight: 700;
}

.auth-input {
  width: 100%;
  border: 1px solid rgba(191, 219, 254, 0.92);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.82);
  padding: 15px 16px;
  color: var(--auth-ink);
  font: inherit;
  outline: none;
  transition: border-color 180ms ease, box-shadow 180ms ease, transform 180ms ease;
}

.auth-input:focus {
  border-color: rgba(22, 125, 255, 0.92);
  box-shadow: 0 0 0 4px rgba(22, 125, 255, 0.12);
}

.auth-grid {
  display: grid;
  gap: 16px;
}

.auth-grid--2 {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.auth-button,
.auth-button--ghost {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  border: 0;
  border-radius: 999px;
  padding: 14px 18px;
  font: inherit;
  font-weight: 800;
  cursor: pointer;
  text-decoration: none;
  transition: transform 180ms ease, opacity 180ms ease;
}

.auth-button:hover,
.auth-button--ghost:hover {
  transform: translateY(-1px);
}

.auth-button {
  color: white;
  background: linear-gradient(135deg, var(--auth-accent), var(--auth-accent-strong));
  box-shadow: 0 18px 38px rgba(22, 125, 255, 0.26);
}

.auth-button--ghost {
  color: #1a4a7b;
  background: rgba(255, 255, 255, 0.45);
  border: 1px solid rgba(255, 255, 255, 0.4);
}

.auth-inline {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.auth-check {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--auth-muted);
  font-size: 0.9rem;
}

.auth-message {
  display: none;
  margin-top: 18px;
  border-radius: 20px;
  padding: 14px 16px;
  font-size: 0.92rem;
  font-weight: 600;
}

.auth-message.is-visible {
  display: block;
}

.auth-message.is-success {
  background: rgba(16, 185, 129, 0.12);
  color: #047857;
}

.auth-message.is-error {
  background: rgba(239, 68, 68, 0.12);
  color: #b91c1c;
}

.auth-message.is-info {
  background: rgba(22, 125, 255, 0.12);
  color: #1d4ed8;
}

.auth-divider {
  position: relative;
  margin-top: 22px;
  text-align: center;
}

.auth-divider::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 0;
  right: 0;
  border-top: 1px solid rgba(148, 163, 184, 0.28);
}

.auth-divider span {
  position: relative;
  z-index: 1;
  display: inline-block;
  padding: 0 12px;
  background: rgba(247, 248, 250, 0.96);
  color: var(--auth-muted);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.auth-social {
  margin-top: 18px;
  border-radius: 22px;
  padding: 18px;
  background: rgba(255, 255, 255, 0.56);
}

.auth-social__title {
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(23, 57, 90, 0.5);
}

.auth-social__copy {
  margin-top: 8px;
  line-height: 1.7;
  color: var(--auth-muted);
}

.auth-social__content {
  margin-top: 14px;
}

.auth-social__content .heateorSssClear,
.auth-social__content .heateor_sss_clear,
.auth-social__content .heateor_sl_clear {
  display: none;
}

.auth-hint {
  margin-top: 18px;
  border-radius: 22px;
  padding: 16px 18px;
  background: rgba(255, 255, 255, 0.34);
}

.auth-hint__title {
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(23, 57, 90, 0.5);
}

.auth-hint__copy {
  margin-top: 8px;
  line-height: 1.7;
  color: var(--auth-muted);
}

@media (max-width: 1100px) {
  .auth-content {
    grid-template-columns: 1fr;
  }

  .auth-showcase {
    min-height: auto;
  }

  .auth-showcase__panel {
    gap: 24px;
  }
}

@media (max-width: 767px) {
  .auth-showcase,
  .auth-panel {
    padding: 18px;
  }

  .auth-showcase__panel,
  .auth-panel__card {
    border-radius: 28px;
    padding: 22px;
  }

  .auth-metrics,
  .auth-grid--2 {
    grid-template-columns: 1fr;
  }

  .auth-inline {
    align-items: flex-start;
    flex-direction: column;
  }
}
