/* ════════════════════════════════════════════════════
   SHE'S FIT GYM — THEME (Light & Dark Mode)
   ════════════════════════════════════════════════════ */

:root[data-theme="light"] {
  --bg: #fff5f9;
  --surface: #ffffff;
  --card: #ffffff;
  --border: #ffd4e5;
  --primary: #ec4899;
  --primary-dark: #db2777;
  --primary-light: #f9a8d4;
  --gold: #f59e0b;
  --gold-light: #fbbf24;
  --text: #1f1f2e;
  --text-soft: #4a4a5e;
  --muted: #9ca3af;
  --success: #10b981;
  --danger: #ef4444;
  --shadow: 0 4px 20px rgba(236,72,153,0.08);
  --shadow-lg: 0 10px 40px rgba(236,72,153,0.15);
  --gradient: linear-gradient(135deg, #ec4899 0%, #f59e0b 100%);
  --gradient-soft: linear-gradient(135deg, #fce7f3 0%, #fef3c7 100%);
}

:root[data-theme="dark"] {
  --bg: #1a0d14;
  --surface: #2a1421;
  --card: #2f1827;
  --border: #4a2238;
  --primary: #f472b6;
  --primary-dark: #ec4899;
  --primary-light: #fbcfe8;
  --gold: #fbbf24;
  --gold-light: #fcd34d;
  --text: #fef3f7;
  --text-soft: #d4b5c4;
  --muted: #8a6478;
  --success: #34d399;
  --danger: #f87171;
  --shadow: 0 4px 20px rgba(0,0,0,0.4);
  --shadow-lg: 0 10px 40px rgba(244,114,182,0.2);
  --gradient: linear-gradient(135deg, #f472b6 0%, #fbbf24 100%);
  --gradient-soft: linear-gradient(135deg, #4a1d35 0%, #4a3520 100%);
}

* { margin: 0; padding: 0; box-sizing: border-box; }

body {
  background: var(--bg);
  color: var(--text);
  font-family: 'Poppins', -apple-system, BlinkMacSystemFont, sans-serif;
  min-height: 100vh;
  transition: background 0.3s, color 0.3s;
}

/* ─── Logo ──────────────────────────────────────────── */
.logo-wrap {
  display: flex;
  align-items: center;
  gap: 12px;
}

.logo-img {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--gradient);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Bebas Neue', sans-serif;
  font-size: 1.4rem;
  color: white;
  letter-spacing: 1px;
  box-shadow: var(--shadow);
}

.logo-text {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 1.5rem;
  letter-spacing: 2px;
  line-height: 1;
}
.logo-text .pink { color: var(--primary); }
.logo-text .gold { color: var(--gold); }

/* ─── Theme toggle ──────────────────────────────────── */
.theme-toggle {
  background: var(--surface);
  border: 1px solid var(--border);
  width: 40px; height: 40px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  transition: all 0.25s;
  color: var(--text);
}
.theme-toggle:hover {
  background: var(--gradient);
  color: white;
  transform: scale(1.05);
  border-color: transparent;
}

/* ─── Buttons ───────────────────────────────────────── */
.btn-primary {
  background: var(--gradient);
  color: white;
  border: none;
  padding: 14px 24px;
  border-radius: 12px;
  font-family: 'Bebas Neue', sans-serif;
  font-size: 1.05rem;
  letter-spacing: 2px;
  cursor: pointer;
  transition: all 0.25s;
  box-shadow: var(--shadow);
}
.btn-primary:hover:not(:disabled) {
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
}
.btn-primary:disabled {
  background: var(--border);
  color: var(--muted);
  cursor: not-allowed;
  box-shadow: none;
}

.btn-ghost {
  background: transparent;
  border: 1px solid var(--border);
  color: var(--text-soft);
  padding: 8px 16px;
  border-radius: 10px;
  font-size: 0.82rem;
  cursor: pointer;
  transition: all 0.2s;
}
.btn-ghost:hover {
  border-color: var(--primary);
  color: var(--primary);
}

/* ─── Inputs ────────────────────────────────────────── */
.input {
  width: 100%;
  background: var(--surface);
  border: 1.5px solid var(--border);
  border-radius: 12px;
  padding: 13px 16px;
  color: var(--text);
  font-family: inherit;
  font-size: 0.95rem;
  outline: none;
  transition: all 0.2s;
}
.input:focus { border-color: var(--primary); box-shadow: 0 0 0 4px rgba(236,72,153,0.1); }
.input::placeholder { color: var(--muted); }

label {
  display: block;
  font-size: 0.7rem;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--text-soft);
  margin-bottom: 8px;
  font-weight: 600;
}

/* ─── Cards ─────────────────────────────────────────── */
.card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 24px;
  box-shadow: var(--shadow);
}

/* ─── Status badges ─────────────────────────────────── */
.badge {
  font-size: 0.68rem;
  letter-spacing: 1px;
  text-transform: uppercase;
  padding: 4px 10px;
  border-radius: 20px;
  font-weight: 700;
  white-space: nowrap;
}
.badge-pending { background: rgba(251,191,36,0.15); color: var(--gold); }
.badge-confirmed { background: rgba(16,185,129,0.15); color: var(--success); }
.badge-rejected { background: rgba(239,68,68,0.15); color: var(--danger); }

/* ─── Spinner ───────────────────────────────────────── */
.spinner {
  display: inline-block;
  width: 14px; height: 14px;
  border: 2px solid rgba(255,255,255,0.3);
  border-top-color: white;
  border-radius: 50%;
  animation: spin 0.6s linear infinite;
  margin-right: 6px;
  vertical-align: middle;
}
@keyframes spin { to { transform: rotate(360deg); } }
