/* ==========================================================================
   VIREKA — /login
   Figma: SECTION "Login Register" > "Enter Email" 445:48843 and "OTP" 517:3880
   Frame 1440 x 812. Card column is 420px wide, centred.
   ========================================================================== */

body.auth {
  background: var(--white);
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

/* Dark top bar — Figma 466:48865, #070a17, 86px */
.authbar {
  background: #070a17;
  height: 86px;
  display: flex;
  align-items: center;
  flex: none;
  position: relative;
  z-index: 2;
}
.authbar__inner {
  width: 100%;
  max-width: 1200px;
  margin-inline: auto;
  padding-inline: 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.authbar .brand { font-size: 24px; line-height: 32px; }
.authbar .brand__mark { width: 25px; height: 25px; }

/* Pill nav — Figma 466:48884, #d0cdec */
.authbar__pill {
  display: flex;
  align-items: center;
  gap: 0;
  background: #d0cdec;
  border-radius: var(--radius-pill);
  padding: 4px;
}
.authbar__pill a {
  font-family: var(--font-alt);
  font-weight: 600;
  font-size: 18px;
  line-height: 24px;
  color: var(--grey-400);
  padding: 8px 20px;
  border-radius: var(--radius-pill);
}
.authbar__pill a.is-active { background: var(--white); color: var(--ink); }

/* Stage */
.auth-stage {
  position: relative;
  flex: 1;
  display: grid;
  place-items: start center;
  padding: 81px 24px 60px;
  overflow: hidden;
}
.auth-stage__mark {
  position: absolute;
  top: 59px;
  width: 900px;
  opacity: .05;
  pointer-events: none;
  user-select: none;
}
.auth-stage__mark--l { left: -386px; }
.auth-stage__mark--r { right: -400px; }

.auth-card { position: relative; width: 420px; max-width: 100%; text-align: center; }

.auth-card__title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 32px;
  line-height: 43px;
  margin: 0;
  background: radial-gradient(60% 120% at 50% 50%, #444444 0%, #000000 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.auth-card__sub {
  font-size: 14px;
  line-height: 19px;
  color: var(--muted, #84899d);
  margin: 12px auto 0;
  max-width: 413px;
}

/* Light panel holding the Google button — Figma 467:48947, #f2f2f7 */
.auth-oauth {
  background: #f2f2f7;
  margin-top: 36px;
  padding: 24px 20px 64px;
  border-radius: 28px;
}
.btn-google {
  width: 380px;
  max-width: 100%;
  height: 50px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  background: #d0cdec;
  border: 1px solid #b2afce;
  border-radius: var(--radius-pill);
  font-size: 14px;
  line-height: 19px;
  color: #000;
  transition: background-color .15s ease;
}
.btn-google:hover { background: #c4c0e6; }
.btn-google svg { width: 22px; height: 22px; }

/* Dark panel holding the email form — Figma 445:49055, #000, r=50 */
.auth-panel {
  background: #000;
  border-radius: 50px;
  padding: 24px 20px 28px;
}
/* Login/register stack the black card over the light panel (Figma 445:49055 overlaps 467:48947) */
.auth-panel--stack { margin-top: -44px; box-shadow: 0 24px 60px rgba(6, 5, 11, .25); }
.auth-divider {
  font-size: 12px;
  line-height: 16px;
  color: #abafbc;
  margin: 0 0 10px;
}
.auth-field {
  width: 100%;
  height: 64px;
  border-radius: 16px;
  background: #d0cdec;
  border: 1px solid #84899d;
  padding: 0 20px;
  font-family: var(--font-display);
  font-size: 14px;
  line-height: 28px;
  color: #16171b;
}
.auth-field::placeholder { color: #7f83a0; }
.auth-field:focus { outline: 2px solid var(--blue-500); outline-offset: 2px; }

.auth-submit {
  width: 100%;
  height: 48px;
  margin-top: 10px;
  background: var(--white);
  color: #000;
  border-radius: var(--radius-pill);
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 14px;
  gap: 8px;
  padding: 0;
}
.auth-submit svg { width: 18px; height: 18px; }

.auth-fine {
  font-family: var(--font-ui);
  font-weight: 500;
  font-size: 12px;
  line-height: 15px;
  color: #989cad;
  margin: 16px 0 0;
}
.auth-fine a { color: #c8ccdb; text-decoration: underline; }

.auth-hint {
  font-size: 12px;
  line-height: 16px;
  color: var(--ink-soft, #303139);
  margin: 20px auto 0;
  max-width: 380px;
}
.auth-hint b { font-weight: 500; }

/* OTP variant keeps the same panel but no OAuth block */
.auth-panel--solo { border-radius: 50px; margin-top: 26px; }

@media (max-width: 520px) {
  .authbar__pill { display: none; }
  .auth-card__title { font-size: 26px; line-height: 34px; }
  .auth-panel { border-radius: 34px; }
  .auth-panel--solo { border-radius: 34px; }
}
