/* ═══════════════════════════════════════════
   MERIDIAN — auth.css
   Login, registration, complete-profile pages
═══════════════════════════════════════════ */

.auth-page {
  min-height: 100vh; display: grid; grid-template-columns: 1fr 1fr;
  background: var(--paper);
}

.auth-left {
  background: var(--deep); display: flex; flex-direction: column;
  justify-content: center; padding: 80px;
  position: relative; overflow: hidden;
}
.auth-left-ring {
  position: absolute; border-radius: 50%;
  border: 1px solid rgba(200,169,110,.15);
}
.auth-left-ring.r1 { width: 600px; height: 600px; top: -200px; right: -200px; }
.auth-left-ring.r2 { width: 400px; height: 400px; top: -100px; right: -100px; border-color: rgba(200,169,110,.25); }

.auth-left-logo {
  font-family: 'Cormorant Garamond', serif; font-size: 24px;
  font-weight: 600; letter-spacing: .18em; text-transform: uppercase;
  color: var(--paper); margin-bottom: 60px; text-decoration: none;
  display: inline-block; position: relative; z-index: 1;
}

.auth-left-headline {
  font-family: 'Cormorant Garamond', serif; font-size: clamp(40px, 4vw, 58px);
  font-weight: 300; line-height: 1.08; color: var(--paper);
  margin-bottom: 20px; position: relative; z-index: 1;
}
.auth-left-headline em { font-style: italic; color: var(--warm); }

.auth-left-sub {
  font-size: 15px; color: rgba(245,242,236,.45);
  line-height: 1.75; font-weight: 300; max-width: 340px;
  position: relative; z-index: 1;
}

.auth-left-quote {
  margin-top: 48px; padding-top: 32px;
  border-top: 1px solid rgba(255,255,255,.07);
  position: relative; z-index: 1;
}
.auth-left-quote blockquote {
  font-family: 'Cormorant Garamond', serif; font-size: 17px;
  font-style: italic; font-weight: 300;
  color: rgba(245,242,236,.45); line-height: 1.65;
}

/* ── Right / form side ── */
.auth-right {
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  padding: 60px 80px;
}

.auth-form-wrap { width: 100%; max-width: 400px; }

.auth-form-title {
  font-family: 'Cormorant Garamond', serif; font-size: 34px;
  font-weight: 300; margin-bottom: 8px; color: var(--ink);
}
.auth-form-sub { font-size: 14px; color: var(--muted); margin-bottom: 36px; line-height: 1.6; }

/* ── OAuth buttons ── */
.oauth-btn {
  display: flex; align-items: center; justify-content: center; gap: 12px;
  width: 100%; padding: 14px 20px; border-radius: var(--radius);
  font-size: 14px; font-weight: 500; cursor: pointer;
  font-family: 'DM Sans', sans-serif; text-decoration: none;
  transition: all .2s; border: 1.5px solid var(--div);
  color: var(--ink); background: white; margin-bottom: 12px;
}
.oauth-btn:hover { border-color: var(--ink); background: #fafaf8; transform: translateY(-1px); }

.oauth-btn-google .oauth-icon { color: #4285f4; }
.oauth-btn-yandex { border-color: rgba(255,51,51,.25); }
.oauth-btn-yandex:hover { border-color: #ff3333; }
.oauth-btn-yandex .oauth-icon { color: #ff3333; }

.oauth-divider {
  text-align: center; position: relative; margin: 22px 0;
  font-size: 12px; color: var(--muted);
}
.oauth-divider::before {
  content: ''; position: absolute; top: 50%; left: 0; right: 0;
  height: 1px; background: var(--div);
}
.oauth-divider span {
  position: relative; background: var(--paper); padding: 0 12px;
}

/* ── Profile completion ── */
.profile-step {
  display: flex; align-items: center; gap: 10px;
  font-size: 12px; color: var(--muted); margin-bottom: 28px;
}
.step-dot {
  width: 24px; height: 24px; border-radius: 50%; border: 1.5px solid var(--div);
  display: flex; align-items: center; justify-content: center;
  font-size: 10px; font-weight: 600; flex-shrink: 0;
}
.step-dot.done { background: var(--sage); border-color: var(--sage); color: white; }
.step-dot.active { border-color: var(--ink); color: var(--ink); background: white; }
.step-line { flex: 1; height: 1px; background: var(--div); max-width: 40px; }

.optional-tag {
  font-size: 10px; color: var(--muted); background: var(--surf);
  padding: 2px 8px; border-radius: 3px; margin-left: 6px;
}

.auth-terms {
  font-size: 11px; color: var(--muted); margin-top: 16px;
  line-height: 1.6; text-align: center;
}
.auth-terms a { color: var(--warm); text-decoration: none; }

@media (max-width: 900px) {
  .auth-page { grid-template-columns: 1fr; }
  .auth-left { display: none; }
  .auth-right { padding: 40px 24px; }
}
