/* Lumora — Auth pages (login, register, forgot, reset, otp, lock) */

.auth {
  min-height: 100vh;
  display: grid;
  grid-template-columns: 1fr;
  background: var(--bg);
}
@media (min-width: 992px) {
  .auth { grid-template-columns: 1.05fr 1fr; }
}

/* ----- Hero / illustration side ----- */
.auth__hero {
  display: none;
  position: relative;
  padding: var(--sp-9) var(--sp-8);
  background:
    radial-gradient(circle at 80% 0%, rgba(91,91,247,.15), transparent 55%),
    radial-gradient(circle at 0% 100%, rgba(168,85,247,.15), transparent 55%),
    linear-gradient(160deg, #0E1116 0%, #1B1F2C 100%);
  color: #fff;
  overflow: hidden;
}
@media (min-width: 992px) { .auth__hero { display: flex; flex-direction: column; } }

.auth__hero::before {
  content: "";
  position: absolute; inset: 0;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='40' height='40'><path d='M0 39.5h40M39.5 0v40' stroke='rgba(255,255,255,0.04)'/></svg>");
  pointer-events: none;
}

.auth__brand {
  position: relative;
  display: flex; align-items: center; gap: var(--sp-3);
  font-size: var(--fs-24);
  font-weight: var(--fw-700);
  color: #fff;
  letter-spacing: -0.01em;
}
.auth__brand-mark {
  width: 40px; height: 40px;
  border-radius: var(--r-md);
  background: linear-gradient(135deg, var(--brand) 0%, #A855F7 100%);
  display: grid; place-items: center;
  color: #fff; font-weight: var(--fw-700);
  font-size: var(--fs-18);
}

.auth__hero-body {
  position: relative;
  margin-top: auto; margin-bottom: auto;
  max-width: 480px;
}
.auth__hero-eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: var(--fs-12);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: rgba(255,255,255,.7);
  padding: 6px 14px;
  border: 1px solid rgba(255,255,255,.15);
  border-radius: var(--r-pill);
  background: rgba(255,255,255,.04);
}
.auth__hero-title {
  font-size: clamp(28px, 3.4vw, 44px);
  font-weight: var(--fw-700);
  line-height: 1.15;
  letter-spacing: -0.02em;
  color: #fff;
  margin: var(--sp-5) 0 var(--sp-4);
}
.auth__hero-text {
  font-size: var(--fs-15);
  color: rgba(255,255,255,.7);
  line-height: 1.7;
}

.auth__hero-features {
  position: relative;
  display: grid; grid-template-columns: 1fr 1fr; gap: var(--sp-4);
  margin-top: var(--sp-7);
}
.auth__hero-feature {
  display: flex; gap: 12px;
  font-size: var(--fs-13);
  color: rgba(255,255,255,.85);
}
.auth__hero-feature i {
  width: 32px; height: 32px;
  flex-shrink: 0;
  border-radius: var(--r-sm);
  background: rgba(91,91,247,.25);
  color: #C7C7FF;
  display: grid; place-items: center;
  font-size: 12px;
}

.auth__hero-foot {
  position: relative;
  font-size: var(--fs-12);
  color: rgba(255,255,255,.5);
  margin-top: var(--sp-5);
}

/* ----- Form side ----- */
.auth__panel {
  display: flex; flex-direction: column;
  padding: var(--sp-6);
  min-height: 100vh;
}
@media (min-width: 768px) { .auth__panel { padding: var(--sp-8); } }

.auth__panel-header {
  display: flex; align-items: center; justify-content: space-between;
  gap: var(--sp-3);
  margin-bottom: auto;
}
.auth__panel-brand {
  display: flex; align-items: center; gap: var(--sp-2);
  font-weight: var(--fw-700);
  font-size: var(--fs-20);
  color: var(--text);
  letter-spacing: -0.01em;
}
.auth__panel-brand-mark {
  width: 32px; height: 32px;
  border-radius: var(--r-md);
  background: linear-gradient(135deg, var(--brand) 0%, #A855F7 100%);
  display: grid; place-items: center;
  color: #fff; font-weight: var(--fw-700);
}
@media (min-width: 992px) { .auth__panel-brand { display: none; } }

.auth__form-wrap {
  width: 100%;
  max-width: 420px;
  margin: var(--sp-7) auto;
}

.auth__title {
  font-size: var(--fs-28);
  font-weight: var(--fw-700);
  letter-spacing: -0.01em;
  margin: 0 0 var(--sp-2);
}
.auth__subtitle {
  font-size: var(--fs-14);
  color: var(--text-muted);
  margin-bottom: var(--sp-6);
}

/* Social buttons */
.auth__socials {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: var(--sp-2);
}
.auth__social {
  height: 44px;
  border: 1px solid var(--border);
  border-radius: var(--r-md);
  background: var(--surface);
  display: flex; align-items: center; justify-content: center;
  gap: 8px;
  color: var(--text);
  font-size: var(--fs-14);
  font-weight: var(--fw-500);
  transition: background var(--t-fast), border-color var(--t-fast);
}
.auth__social:hover { background: var(--surface-2); border-color: var(--border-strong); color: var(--text); }
.auth__social i { font-size: 16px; }
.auth__social--google i  { color: #DB4437; }
.auth__social--apple i   { color: var(--text); }
.auth__social--github i  { color: var(--text); }

.auth__foot {
  text-align: center;
  font-size: var(--fs-13);
  color: var(--text-muted);
  margin-top: auto;
  padding-top: var(--sp-6);
}
.auth__foot a { color: var(--brand); font-weight: var(--fw-600); }

/* Lock screen variant */
.auth--lock .auth__form-wrap { text-align: center; }
.auth--lock .avatar { margin: 0 auto var(--sp-4); }
