.lh-auth-page {
  --lh-bg: #10050d;
  --lh-panel: rgba(31, 12, 26, .84);
  --lh-panel-strong: #24101f;
  --lh-line: rgba(255, 255, 255, .11);
  --lh-text: #fff8fb;
  --lh-muted: #cbb9c4;
  --lh-rose: #ff477e;
  --lh-rose-bright: #ff6c9b;
  --lh-wine: #8e1749;
  --lh-gold: #f5c978;
  --lh-success: #55d6a4;
  --lh-danger: #ff8298;
  position: relative;
  isolation: isolate;
  min-height: 100vh;
  overflow: hidden;
  padding: clamp(22px, 4vw, 58px) 20px;
  color: var(--lh-text);
  background:
    radial-gradient(circle at 12% 12%, rgba(255, 71, 126, .23), transparent 34%),
    radial-gradient(circle at 88% 82%, rgba(142, 23, 73, .31), transparent 38%),
    linear-gradient(145deg, #090307 0%, var(--lh-bg) 48%, #180611 100%);
  font-family: inherit;
}

.lh-auth-page::before,
.lh-auth-page::after {
  content: "";
  position: absolute;
  z-index: -1;
  border: 1px solid rgba(255, 255, 255, .07);
  border-radius: 50%;
}

.lh-auth-page::before {
  width: 420px;
  height: 420px;
  left: -230px;
  bottom: -190px;
}

.lh-auth-page::after {
  width: 240px;
  height: 240px;
  right: -100px;
  top: -90px;
}

.lh-auth-shell {
  width: min(1120px, 100%);
  min-height: min(760px, calc(100vh - 80px));
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(360px, 480px);
  border: 1px solid var(--lh-line);
  border-radius: 30px;
  overflow: hidden;
  background: rgba(18, 7, 15, .68);
  box-shadow: 0 34px 100px rgba(0, 0, 0, .48);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
}

.lh-auth-shell--compact {
  min-height: 620px;
}

.lh-auth-story {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: clamp(38px, 6vw, 84px);
  overflow: hidden;
  background:
    linear-gradient(160deg, rgba(142, 23, 73, .42), rgba(18, 7, 15, .88)),
    radial-gradient(circle at 30% 40%, rgba(255, 108, 155, .17), transparent 45%);
}

.lh-auth-story::after {
  content: "♥";
  position: absolute;
  right: -34px;
  bottom: -88px;
  color: rgba(255, 255, 255, .035);
  font-size: 360px;
  line-height: 1;
  transform: rotate(-12deg);
  pointer-events: none;
}

.lh-brand {
  position: relative;
  z-index: 1;
  display: inline-flex;
  align-items: center;
  gap: 12px;
  width: fit-content;
  color: var(--lh-text) !important;
  text-decoration: none !important;
  font-size: 21px;
  font-weight: 800;
  letter-spacing: -.02em;
}

.lh-brand-mark {
  width: 42px;
  height: 42px;
  display: inline-grid;
  place-items: center;
  border-radius: 14px;
  color: #fff;
  background: linear-gradient(135deg, var(--lh-rose-bright), var(--lh-wine));
  box-shadow: 0 12px 32px rgba(255, 71, 126, .32);
  font-size: 19px;
}

.lh-story-copy {
  position: relative;
  z-index: 1;
  max-width: 580px;
  margin: 70px 0;
}

.lh-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 18px;
  color: var(--lh-gold);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .15em;
  text-transform: uppercase;
}

.lh-eyebrow::before {
  content: "";
  width: 28px;
  height: 1px;
  background: currentColor;
}

.lh-story-copy h1 {
  max-width: 620px;
  margin: 0 0 22px;
  color: var(--lh-text);
  font-size: clamp(42px, 6vw, 72px);
  line-height: .98;
  letter-spacing: -.055em;
  font-weight: 800;
}

.lh-story-copy h1 em {
  color: var(--lh-rose-bright);
  font-family: Georgia, serif;
  font-weight: 500;
}

.lh-story-copy p {
  max-width: 520px;
  margin: 0;
  color: var(--lh-muted);
  font-size: 17px;
  line-height: 1.75;
}

.lh-trust-row {
  position: relative;
  z-index: 1;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.lh-trust-row span,
.lh-age-chip {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 7px 12px;
  border: 1px solid rgba(255, 255, 255, .1);
  border-radius: 999px;
  color: #e8dce3;
  background: rgba(255, 255, 255, .045);
  font-size: 12px;
  font-weight: 700;
}

.lh-auth-card-wrap {
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-width: 0;
  padding: clamp(30px, 5vw, 60px);
  background: var(--lh-panel);
}

.lh-auth-card {
  width: 100%;
  max-width: 420px;
  margin: auto;
}

.lh-auth-card-header {
  margin-bottom: 28px;
}

.lh-auth-card-header .lh-age-chip {
  margin-bottom: 18px;
  border-color: rgba(245, 201, 120, .22);
  color: var(--lh-gold);
}

.lh-auth-card-header h2 {
  margin: 0 0 9px;
  color: var(--lh-text);
  font-size: clamp(28px, 4vw, 38px);
  line-height: 1.08;
  letter-spacing: -.035em;
  font-weight: 800;
}

.lh-auth-card-header p,
.lh-auth-note {
  margin: 0;
  color: var(--lh-muted);
  font-size: 14px;
  line-height: 1.65;
}

.lh-auth-card .wow_form_fields {
  position: relative;
  margin: 0 0 17px;
}

.lh-auth-card .wow_form_fields > label {
  display: block;
  margin: 0 0 8px;
  color: #f3e8ee;
  font-size: 12px;
  font-weight: 750;
  letter-spacing: .02em;
}

.lh-auth-card .wow_form_fields input,
.lh-auth-card .wow_form_fields select,
.lh-auth-card .wow_form_fields textarea,
.lh-auth-card input.form-control,
.lh-auth-card select.form-control {
  width: 100%;
  min-height: 50px;
  margin: 0;
  padding: 13px 15px;
  border: 1px solid rgba(255, 255, 255, .12) !important;
  border-radius: 14px !important;
  outline: none;
  color: var(--lh-text) !important;
  background: rgba(255, 255, 255, .055) !important;
  box-shadow: none !important;
  transition: border-color .2s ease, background .2s ease, box-shadow .2s ease;
}

.lh-auth-card .wow_form_fields textarea {
  min-height: 96px;
  resize: vertical;
}

.lh-auth-card .wow_form_fields select option,
.lh-auth-card select.form-control option {
  color: #22101c;
  background: #fff;
}

.lh-auth-card .wow_form_fields input:focus,
.lh-auth-card .wow_form_fields select:focus,
.lh-auth-card .wow_form_fields textarea:focus,
.lh-auth-card input.form-control:focus,
.lh-auth-card select.form-control:focus {
  border-color: rgba(255, 108, 155, .85) !important;
  background: rgba(255, 255, 255, .075) !important;
  box-shadow: 0 0 0 4px rgba(255, 71, 126, .11) !important;
}

.lh-auth-card input::placeholder,
.lh-auth-card textarea::placeholder {
  color: #947f8d;
}

.lh-password-field input {
  padding-right: 52px !important;
}

.lh-password-toggle {
  position: absolute;
  right: 8px;
  bottom: 7px;
  width: 38px;
  height: 38px;
  border: 0;
  border-radius: 10px;
  color: var(--lh-muted);
  background: transparent;
  font-size: 11px;
  font-weight: 800;
  cursor: pointer;
}

.lh-password-toggle:hover,
.lh-password-toggle:focus {
  color: var(--lh-text);
  background: rgba(255, 255, 255, .08);
}

.lh-auth-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 15px;
  margin: 2px 0 20px;
  color: var(--lh-muted);
  font-size: 12px;
}

.lh-check {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin: 13px 0;
  color: var(--lh-muted);
  font-size: 12px;
  line-height: 1.55;
  cursor: pointer;
}

.lh-check input {
  width: 17px;
  height: 17px;
  margin: 1px 0 0;
  accent-color: var(--lh-rose);
  flex: 0 0 auto;
}

.lh-auth-link,
.lh-auth-card a.main,
.lh-auth-card a.dec {
  color: var(--lh-rose-bright) !important;
  text-decoration: none;
  font-weight: 750;
}

.lh-auth-link:hover,
.lh-auth-card a.main:hover,
.lh-auth-card a.dec:hover {
  color: #ff9abb !important;
  text-decoration: none;
}

.lh-primary-btn {
  position: relative;
  width: 100%;
  min-height: 52px;
  margin-top: 9px;
  padding: 13px 20px;
  border: 0 !important;
  border-radius: 15px !important;
  color: #fff !important;
  background: linear-gradient(135deg, var(--lh-rose), var(--lh-wine)) !important;
  box-shadow: 0 16px 34px rgba(200, 32, 94, .26) !important;
  font-size: 14px;
  font-weight: 800;
  letter-spacing: .01em;
  cursor: pointer;
  transition: transform .2s ease, box-shadow .2s ease, opacity .2s ease;
}

.lh-primary-btn:hover:not(:disabled) {
  transform: translateY(-1px);
  box-shadow: 0 20px 40px rgba(200, 32, 94, .34) !important;
}

.lh-primary-btn:disabled {
  cursor: not-allowed;
  opacity: .48;
}

.lh-button-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none !important;
}

.lh-primary-btn.is-loading {
  color: transparent !important;
  pointer-events: none;
}

.lh-primary-btn.is-loading::after {
  content: "";
  position: absolute;
  inset: 0;
  width: 19px;
  height: 19px;
  margin: auto;
  border: 2px solid rgba(255, 255, 255, .35);
  border-top-color: #fff;
  border-radius: 50%;
  animation: lh-spin .7s linear infinite;
}

@keyframes lh-spin { to { transform: rotate(360deg); } }

.lh-auth-alert {
  display: none;
  margin: 0 0 18px;
  padding: 12px 14px;
  border: 1px solid transparent;
  border-radius: 13px;
  font-size: 13px;
  line-height: 1.5;
}

.lh-auth-alert.is-visible { display: block; }
.lh-auth-alert.is-error {
  border-color: rgba(255, 130, 152, .25);
  color: #ffd8df;
  background: rgba(144, 26, 54, .25);
}
.lh-auth-alert.is-success {
  border-color: rgba(85, 214, 164, .24);
  color: #ccffe9;
  background: rgba(29, 116, 84, .22);
}

.lh-auth-switch {
  margin: 22px 0 0;
  color: var(--lh-muted);
  text-align: center;
  font-size: 13px;
}

.lh-divider {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 23px 0 16px;
  color: #9e8997;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .1em;
}

.lh-divider::before,
.lh-divider::after {
  content: "";
  height: 1px;
  flex: 1;
  background: var(--lh-line);
}

.lh-social-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 9px;
}

.lh-social-btn {
  min-height: 42px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 9px 12px;
  border: 1px solid var(--lh-line);
  border-radius: 12px;
  color: #eadfe5 !important;
  background: rgba(255, 255, 255, .04);
  font-size: 12px;
  font-weight: 750;
  text-decoration: none !important;
}

.lh-social-btn:hover {
  border-color: rgba(255, 108, 155, .42);
  color: #fff !important;
  background: rgba(255, 255, 255, .075);
}

.lh-social-dot {
  width: 22px;
  height: 22px;
  display: inline-grid;
  place-items: center;
  border-radius: 7px;
  color: #fff;
  background: rgba(255, 71, 126, .35);
  font-size: 10px;
  text-transform: uppercase;
}

.lh-google-button {
  display: flex;
  justify-content: center;
  grid-column: 1 / -1;
  min-height: 44px;
}

.lh-password-rules {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 5px 10px;
  margin: 9px 0 0;
  padding: 0;
  list-style: none;
  color: #9e8997;
  font-size: 11px;
}

.lh-password-rules li::before {
  content: "○";
  margin-right: 6px;
}

.lh-password-rules li.is-valid {
  color: var(--lh-success);
}

.lh-password-rules li.is-valid::before { content: "✓"; }

.lh-code-input {
  text-align: center;
  letter-spacing: .32em;
  font-size: 21px !important;
  font-weight: 800;
}

.lh-resend {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin-top: 14px;
  color: var(--lh-muted);
  font-size: 12px;
}

.lh-text-btn {
  padding: 0;
  border: 0;
  color: var(--lh-rose-bright);
  background: transparent;
  font-size: 12px;
  font-weight: 800;
  cursor: pointer;
}

.lh-text-btn:disabled { color: #806f79; cursor: not-allowed; }

.lh-recovery-choice {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin-bottom: 20px;
}

.lh-choice-btn {
  min-height: 45px;
  padding: 10px;
  border: 1px solid var(--lh-line);
  border-radius: 12px;
  color: var(--lh-muted);
  background: rgba(255, 255, 255, .04);
  font-weight: 750;
  cursor: pointer;
}

.lh-choice-btn.is-active {
  border-color: rgba(255, 108, 155, .55);
  color: #fff;
  background: rgba(255, 71, 126, .12);
}

.lh-hidden { display: none !important; }

.lh-auth-footer {
  max-width: 420px;
  margin: 28px auto 0;
  color: #8f7b88;
  font-size: 11px;
  text-align: center;
  line-height: 1.7;
}

.lh-auth-footer .welcome-footer { color: inherit; }
.lh-auth-footer a { color: #c8b5c1 !important; }

.lh-safety-note {
  margin-top: 16px;
  padding-top: 16px;
  border-top: 1px solid var(--lh-line);
  color: #998591;
  font-size: 11px;
  line-height: 1.65;
}

.lh-settings-card {
  --lh-rose: #ff477e;
  --lh-wine: #8e1749;
  --lh-success: #19875d;
  padding: 25px;
  border: 1px solid rgba(128, 30, 72, .15);
  border-radius: 18px;
  background: linear-gradient(145deg, rgba(255, 244, 249, .96), #fff);
  box-shadow: 0 16px 45px rgba(68, 17, 43, .08);
}

.lh-settings-card .lh-settings-heading {
  margin-bottom: 22px;
}

.lh-settings-card .lh-settings-heading h3 {
  margin: 0 0 6px;
  color: #301020;
  font-weight: 800;
}

.lh-settings-card .lh-settings-heading p { margin: 0; color: #806778; }
.lh-settings-card .lh-primary-btn { max-width: 260px; }
.lh-settings-card .lh-password-rules { color: #8e7484; }
.lh-settings-card .wow_form_fields { position: relative; margin-bottom: 18px; }
.lh-settings-card .wow_form_fields > label {
  display: block;
  margin-bottom: 7px;
  color: #422135;
  font-size: 12px;
  font-weight: 750;
}
.lh-settings-card .wow_form_fields input,
.lh-settings-card .wow_form_fields select {
  min-height: 48px;
  border: 1px solid rgba(86, 24, 55, .16) !important;
  border-radius: 13px !important;
  box-shadow: none !important;
}
.lh-settings-card .wow_form_fields input:focus,
.lh-settings-card .wow_form_fields select:focus {
  border-color: rgba(255, 71, 126, .62) !important;
  box-shadow: 0 0 0 4px rgba(255, 71, 126, .09) !important;
}
.lh-settings-card .lh-password-toggle { color: #785e6e; }
.lh-settings-card .lh-auth-alert.is-error { color: #9d243d; background: #fff0f3; }
.lh-settings-card .lh-auth-alert.is-success { color: #176c4c; background: #edfff7; }

@media (max-width: 900px) {
  .lh-auth-page { padding: 0; }
  .lh-auth-shell {
    min-height: 100vh;
    grid-template-columns: 1fr;
    border: 0;
    border-radius: 0;
  }
  .lh-auth-story {
    min-height: auto;
    padding: 28px 24px 34px;
  }
  .lh-story-copy { margin: 46px 0 30px; }
  .lh-story-copy h1 { max-width: 560px; font-size: clamp(38px, 12vw, 60px); }
  .lh-story-copy p { font-size: 15px; }
  .lh-auth-card-wrap { padding: 36px 22px 44px; }
}

@media (max-width: 520px) {
  .lh-auth-story { padding: 24px 20px 30px; }
  .lh-story-copy { margin: 38px 0 25px; }
  .lh-trust-row span:nth-child(3) { display: none; }
  .lh-auth-card-wrap { padding: 32px 18px 40px; }
  .lh-social-grid,
  .lh-recovery-choice,
  .lh-password-rules { grid-template-columns: 1fr; }
  .lh-auth-row { align-items: flex-start; }
}

@media (prefers-reduced-motion: reduce) {
  .lh-auth-page *,
  .lh-auth-page *::before,
  .lh-auth-page *::after {
    scroll-behavior: auto !important;
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
  }
}
