/* ============================================================
   MrWiseMax — Auth / Login Page Styles
   ============================================================ */

:root {
  --bg:        #1F2223;
  --bg-card:   #272B2C;
  --primary:   #BB885F;
  --primary-lt:#D4A574;
  --text:      #FFFFFF;
  --text-muted:rgba(255,255,255,0.6);
  --border:    rgba(255,255,255,0.08);
  --radius:    14px;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

body {
  font-family: 'Inter', system-ui, sans-serif;
  background: var(--bg); color: var(--text);
  min-height: 100vh; display: flex; flex-direction: column;
  -webkit-font-smoothing: antialiased;
}

/* ── Layout ──────────────────────────────────────────────── */
.auth-wrapper {
  flex: 1; display: flex; align-items: center; justify-content: center; padding: 24px;
  background: radial-gradient(ellipse 70% 60% at 50% 20%, rgba(187,136,95,0.1) 0%, transparent 65%);
}
.auth-card {
  width: 100%; max-width: 420px;
  background: var(--bg-card); border: 1px solid var(--border); border-radius: 24px;
  padding: 40px 36px; box-shadow: 0 24px 64px rgba(0,0,0,0.4); text-align: center;
}

/* ── Logo ────────────────────────────────────────────────── */
.auth-logo {
  display: flex; align-items: center; justify-content: center; gap: 10px;
  font-size: 1.5rem; font-weight: 800; margin-bottom: 32px;
}
.auth-logo .logo-icon { font-size: 1.9rem; }
.auth-logo .logo-text { background: linear-gradient(135deg, var(--primary), var(--primary-lt)); -webkit-background-clip: text; -webkit-text-fill-color: transparent; }

/* ── Headings ────────────────────────────────────────────── */
.auth-card h1 { font-size: 1.6rem; font-weight: 800; margin-bottom: 10px; letter-spacing: -0.02em; }
.auth-subtitle { color: var(--text-muted); font-size: 0.95rem; margin-bottom: 36px; line-height: 1.55; }

/* ── Google Button ───────────────────────────────────────── */
.btn-google {
  display: flex; align-items: center; justify-content: center; gap: 12px;
  width: 100%; padding: 14px 24px;
  background: #fff; color: #1a1a1a;
  border: none; border-radius: var(--radius);
  font-family: inherit; font-size: 1rem; font-weight: 600;
  cursor: pointer; transition: all 0.2s ease;
  box-shadow: 0 2px 12px rgba(0,0,0,0.2);
}
.btn-google:hover:not(:disabled) { background: #f0f0f0; transform: translateY(-2px); box-shadow: 0 6px 24px rgba(0,0,0,0.28); }
.btn-google:disabled { opacity: 0.65; cursor: not-allowed; transform: none; }
.btn-google svg { width: 20px; height: 20px; flex-shrink: 0; }

/* ── Divider ─────────────────────────────────────────────── */
.auth-divider { display: flex; align-items: center; gap: 12px; margin: 28px 0; color: var(--text-muted); font-size: 0.8rem; }
.auth-divider::before, .auth-divider::after { content: ''; flex: 1; height: 1px; background: var(--border); }

/* ── Features List ───────────────────────────────────────── */
.auth-features { margin-top: 28px; display: flex; flex-direction: column; gap: 10px; text-align: left; }
.auth-feature-item { display: flex; align-items: center; gap: 10px; font-size: 0.875rem; color: var(--text-muted); }
.auth-feature-item .check { width: 20px; height: 20px; background: rgba(76,175,80,0.15); border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 0.7rem; color: #4CAF50; flex-shrink: 0; }

/* ── Footer Text ─────────────────────────────────────────── */
.auth-footer { margin-top: 28px; font-size: 0.78rem; color: var(--text-muted); line-height: 1.6; }
.auth-footer a { color: var(--primary); }

/* ── Spinner ─────────────────────────────────────────────── */
.spinner { width: 18px; height: 18px; border: 2.5px solid rgba(26,26,26,0.2); border-top-color: #333; border-radius: 50%; animation: spin 0.65s linear infinite; display: inline-block; }
@keyframes spin { to { transform: rotate(360deg); } }

/* ── Back Link ───────────────────────────────────────────── */
.back-link { text-align: center; margin-top: 24px; }
.back-link a { color: var(--text-muted); font-size: 0.875rem; transition: color 0.2s; }
.back-link a:hover { color: var(--text); }

/* ── Responsive ──────────────────────────────────────────── */
@media (max-width: 480px) {
  .auth-card { padding: 28px 20px; border-radius: 20px; }
  .auth-card h1 { font-size: 1.4rem; }
}
