/* ============================================================
   UPRRR — Master CSS
   Pink Light / Dark Theme | Mobile-First | Flat & Modern
   ============================================================ */

/* ─── Google Fonts ─────────────────────────────────────── */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800&family=Playfair+Display:wght@600;700&display=swap');

/* ─── CSS Variables — Light Mode (default) ─────────────── */
:root {
  --pink-50:  #fff0f5;
  --pink-100: #ffe0ec;
  --pink-200: #ffb3cc;
  --pink-300: #ff80aa;
  --pink-400: #ff4d8a;
  --pink-500: #e8336e;
  --pink-600: #c4255a;
  --pink-700: #9e1948;

  --bg:            #fff8fb;
  --bg-secondary:  #fff0f5;
  --bg-card:       #ffffff;
  --bg-nav:        #ffffff;

  --text-primary:   #1a0a11;
  --text-secondary: #7a5068;
  --text-muted:     #b08090;
  --text-on-pink:   #ffffff;

  --border:         #f0d5e0;
  --border-focus:   #e8336e;
  --shadow-sm:      0 1px 4px rgba(232,51,110,0.08);
  --shadow-md:      0 4px 20px rgba(232,51,110,0.12);
  --shadow-lg:      0 8px 40px rgba(232,51,110,0.16);

  --radius-sm:  6px;
  --radius-md:  12px;
  --radius-lg:  20px;
  --radius-xl:  32px;
  --radius-full: 999px;

  --font-body:    'Inter', sans-serif;
  --font-heading: 'Playfair Display', serif;

  --transition: 0.22s ease;
  --nav-height: 64px;
}

/* ─── Dark Mode Variables ───────────────────────────────── */
[data-theme="dark"] {
  --bg:            #18080f;
  --bg-secondary:  #22101a;
  --bg-card:       #2a1320;
  --bg-nav:        #1e0d16;

  --text-primary:   #fce9f0;
  --text-secondary: #e0a8bf;
  --text-muted:     #9a6478;
  --text-on-pink:   #ffffff;

  --border:         #3a1f2c;
  --border-focus:   #ff4d8a;
  --shadow-sm:      0 1px 4px rgba(0,0,0,0.3);
  --shadow-md:      0 4px 20px rgba(0,0,0,0.4);
  --shadow-lg:      0 8px 40px rgba(0,0,0,0.5);

  --pink-50:  #2a0d1a;
  --pink-100: #3c1528;
}

/* ─── Reset & Base ──────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--font-body);
  background-color: var(--bg);
  color: var(--text-primary);
  line-height: 1.6;
  min-height: 100vh;
  transition: background-color var(--transition), color var(--transition);
}

img { max-width: 100%; display: block; }
a { color: var(--pink-500); text-decoration: none; transition: color var(--transition); }
a:hover { color: var(--pink-600); }

/* ─── Typography ───────────────────────────────────────── */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  line-height: 1.25;
  color: var(--text-primary);
}

.font-inter { font-family: var(--font-body); }

/* ─── Container ────────────────────────────────────────── */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}
.container-sm { max-width: 540px; }
.container-md { max-width: 768px; }

/* ─── Navbar ────────────────────────────────────────────── */
.navbar {
  position: sticky;
  top: 0;
  z-index: 1000;
  height: var(--nav-height);
  background: var(--bg-nav);
  border-bottom: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
  transition: background var(--transition), border-color var(--transition);
}

.navbar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
}

.navbar-brand {
  font-family: var(--font-heading);
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--pink-500) !important;
  letter-spacing: -0.5px;
  display: flex;
  align-items: center;
  gap: 8px;
}
.navbar-brand .brand-dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--pink-400);
  display: inline-block;
  animation: pulse-dot 2s infinite;
}

@keyframes pulse-dot {
  0%, 100% { transform: scale(1); opacity: 1; }
  50%       { transform: scale(1.4); opacity: 0.7; }
}

.navbar-links {
  display: flex;
  align-items: center;
  gap: 8px;
  list-style: none;
}
.navbar-links a {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text-secondary);
  padding: 6px 14px;
  border-radius: var(--radius-full);
  transition: all var(--transition);
}
.navbar-links a:hover,
.navbar-links a.active {
  background: var(--pink-50);
  color: var(--pink-500);
}

.navbar-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

/* Theme Toggle */
.theme-toggle {
  width: 40px; height: 40px;
  border-radius: 50%;
  border: 1.5px solid var(--border);
  background: var(--bg-secondary);
  color: var(--text-secondary);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  transition: all var(--transition);
  flex-shrink: 0;
}
.theme-toggle:hover {
  border-color: var(--pink-400);
  color: var(--pink-500);
  background: var(--pink-50);
}

/* Hide correct icon based on theme */
[data-theme="light"] .theme-moon { display: none !important; }
[data-theme="dark"] .theme-sun { display: none !important; }


/* Mobile menu toggle */
.navbar-toggler {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 6px;
  background: none;
  border: none;
}
.navbar-toggler span {
  width: 22px; height: 2px;
  background: var(--text-primary);
  border-radius: 2px;
  transition: all var(--transition);
  display: block;
}

/* ─── Buttons ─────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: var(--font-body);
  font-size: 0.9rem;
  font-weight: 600;
  padding: 10px 22px;
  border-radius: var(--radius-full);
  border: 2px solid transparent;
  cursor: pointer;
  transition: all var(--transition);
  text-decoration: none;
  white-space: nowrap;
  line-height: 1;
}
.btn:hover { transform: translateY(-1px); }
.btn:active { transform: translateY(0); }

.btn-primary {
  background: linear-gradient(135deg, var(--pink-400), var(--pink-600));
  color: #fff;
  border-color: transparent;
  box-shadow: 0 4px 14px rgba(232,51,110,0.35);
}
.btn-primary:hover {
  box-shadow: 0 6px 20px rgba(232,51,110,0.45);
  color: #fff;
}

.btn-outline {
  background: transparent;
  color: var(--pink-500);
  border-color: var(--pink-300);
}
.btn-outline:hover {
  background: var(--pink-50);
  border-color: var(--pink-500);
}

.btn-ghost {
  background: transparent;
  color: var(--text-secondary);
  border-color: transparent;
}
.btn-ghost:hover {
  background: var(--bg-secondary);
  color: var(--pink-500);
}

.btn-sm  { padding: 7px 16px; font-size: 0.82rem; }
.btn-lg  { padding: 14px 32px; font-size: 1rem; }
.btn-xl  { padding: 16px 40px; font-size: 1.05rem; }

.btn-block { width: 100%; }

/* ─── Form Controls ───────────────────────────────────── */
.form-group { margin-bottom: 20px; }

.form-label {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-secondary);
  margin-bottom: 7px;
  letter-spacing: 0.02em;
}

.form-control {
  width: 100%;
  padding: 12px 16px;
  font-family: var(--font-body);
  font-size: 0.95rem;
  background: var(--bg-secondary);
  border: 1.5px solid var(--border);
  border-radius: var(--radius-md);
  color: var(--text-primary);
  transition: all var(--transition);
  outline: none;
}
.form-control:focus {
  border-color: var(--border-focus);
  background: var(--bg-card);
  box-shadow: 0 0 0 3px rgba(232,51,110,0.12);
}
.form-control::placeholder { color: var(--text-muted); }

.input-icon-wrap {
  position: relative;
}
.input-icon-wrap .form-control { padding-left: 44px; }
.input-icon-wrap .input-icon {
  position: absolute;
  left: 14px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 1rem;
  color: var(--text-muted);
  pointer-events: none;
}
.input-icon-wrap .input-icon-right {
  position: absolute;
  right: 14px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 1rem;
  color: var(--text-muted);
  cursor: pointer;
  background: none; border: none;
  padding: 0;
  transition: color var(--transition);
}
.input-icon-wrap .input-icon-right:hover { color: var(--pink-500); }

/* ─── Alerts / Flash ──────────────────────────────────── */
.alert {
  padding: 12px 16px;
  border-radius: var(--radius-md);
  font-size: 0.9rem;
  font-weight: 500;
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 20px;
}
.alert-error   { background: #fff0f0; color: #c00; border: 1px solid #fca5a5; }
.alert-success { background: #f0fdf4; color: #166534; border: 1px solid #86efac; }
.alert-info    { background: var(--pink-50); color: var(--pink-600); border: 1px solid var(--pink-200); }

[data-theme="dark"] .alert-error   { background: #2d0808; border-color: #7f1d1d; color: #fca5a5; }
[data-theme="dark"] .alert-success { background: #072015; border-color: #14532d; color: #86efac; }
[data-theme="dark"] .alert-info    { background: var(--pink-50); border-color: var(--pink-400); color: var(--pink-300); }

/* ─── Cards ───────────────────────────────────────────── */
.card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  transition: box-shadow var(--transition), transform var(--transition);
}
.card:hover { box-shadow: var(--shadow-md); }
.card-body { padding: 28px; }
.card-sm .card-body { padding: 20px; }

/* ─── Auth Card ───────────────────────────────────────── */
.auth-wrapper {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 40px 20px;
  background: var(--bg);
  position: relative;
  overflow: hidden;
}

.auth-bg-blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.25;
  pointer-events: none;
}
.auth-bg-blob-1 {
  width: 400px; height: 400px;
  background: var(--pink-300);
  top: -100px; right: -100px;
}
.auth-bg-blob-2 {
  width: 300px; height: 300px;
  background: var(--pink-400);
  bottom: -80px; left: -80px;
}

.auth-card {
  width: 100%;
  max-width: 460px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-lg);
  padding: 44px;
  position: relative;
  z-index: 1;
}

.auth-logo {
  text-align: center;
  margin-bottom: 10px;
}
.auth-logo .logo-text {
  font-family: var(--font-heading);
  font-size: 2rem;
  font-weight: 700;
  color: var(--pink-500);
  letter-spacing: -1px;
}
.auth-logo .logo-sub {
  font-size: 0.78rem;
  color: var(--text-muted);
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.auth-title {
  font-size: 1.5rem;
  font-weight: 700;
  text-align: center;
  margin-bottom: 4px;
  color: var(--text-primary);
}
.auth-subtitle {
  font-size: 0.88rem;
  color: var(--text-muted);
  text-align: center;
  margin-bottom: 28px;
}

.auth-divider {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 22px 0;
  color: var(--text-muted);
  font-size: 0.8rem;
}
.auth-divider::before,
.auth-divider::after {
  content: '';
  flex: 1;
  height: 1px;
  background: var(--border);
}

.auth-footer-text {
  text-align: center;
  font-size: 0.88rem;
  color: var(--text-muted);
  margin-top: 22px;
}
.auth-footer-text a { font-weight: 600; }

/* ─── Hero Section ────────────────────────────────────── */
.hero {
  padding: 100px 0 80px;
  position: relative;
  overflow: hidden;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  background: var(--pink-50);
  border: 1px solid var(--pink-200);
  color: var(--pink-600);
  font-size: 0.8rem;
  font-weight: 600;
  padding: 6px 14px;
  border-radius: var(--radius-full);
  margin-bottom: 20px;
  letter-spacing: 0.03em;
}
.hero-badge .badge-dot {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--pink-500);
  animation: pulse-dot 1.8s infinite;
}

.hero-title {
  font-size: clamp(2.2rem, 5vw, 3.6rem);
  font-weight: 700;
  line-height: 1.15;
  margin-bottom: 20px;
}
.hero-title .highlight {
  color: var(--pink-500);
  position: relative;
}

.hero-desc {
  font-size: 1.05rem;
  color: var(--text-secondary);
  max-width: 520px;
  margin-bottom: 36px;
  line-height: 1.7;
}

.hero-actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}

/* Hero floating stats */
.hero-stats {
  display: flex;
  gap: 28px;
  margin-top: 48px;
  flex-wrap: wrap;
}
.hero-stat .stat-num {
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--text-primary);
  font-family: var(--font-body);
  line-height: 1;
}
.hero-stat .stat-label {
  font-size: 0.78rem;
  color: var(--text-muted);
  margin-top: 3px;
  font-weight: 500;
}

/* Hero visual */
.hero-visual {
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
}
.hero-icon-grid {
  display: grid;
  grid-template-columns: repeat(3, 90px);
  grid-template-rows: repeat(3, 90px);
  gap: 14px;
}
.hero-icon-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 6px;
  font-size: 1.8rem;
  box-shadow: var(--shadow-sm);
  transition: all var(--transition);
  cursor: default;
}
.hero-icon-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: var(--pink-300);
}
.hero-icon-card span.label {
  font-size: 0.6rem;
  font-weight: 600;
  color: var(--text-muted);
  font-family: var(--font-body);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}
.hero-icon-card.featured {
  background: linear-gradient(135deg, var(--pink-400), var(--pink-600));
  border-color: transparent;
  box-shadow: 0 4px 20px rgba(232,51,110,0.4);
}
.hero-icon-card.featured span.label { color: rgba(255,255,255,0.8); }

/* ─── Section Titles ──────────────────────────────────── */
.section { padding: 72px 0; }
.section-sm { padding: 48px 0; }

.section-title {
  font-size: clamp(1.5rem, 3vw, 2.2rem);
  font-weight: 700;
  margin-bottom: 10px;
}
.section-subtitle {
  color: var(--text-muted);
  font-size: 0.95rem;
  margin-bottom: 40px;
  max-width: 500px;
}
.section-header { margin-bottom: 44px; }
.section-header.center { text-align: center; }
.section-header.center .section-subtitle { margin: 0 auto 40px; }

.pill-label {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--pink-500);
  background: var(--pink-50);
  border: 1px solid var(--pink-200);
  padding: 4px 12px;
  border-radius: var(--radius-full);
  margin-bottom: 12px;
}

/* ─── Category Cards ──────────────────────────────────── */
.category-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(130px, 1fr));
  gap: 16px;
}

.category-card {
  background: var(--bg-card);
  border: 1.5px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 24px 16px;
  text-align: center;
  cursor: pointer;
  transition: all var(--transition);
  text-decoration: none;
  color: var(--text-primary);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
}
.category-card:hover {
  border-color: var(--pink-400);
  background: var(--pink-50);
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
  color: var(--pink-600);
}
.category-card .cat-icon {
  font-size: 2rem;
  line-height: 1;
}
.category-card .cat-name {
  font-size: 0.8rem;
  font-weight: 600;
  font-family: var(--font-body);
}

/* ─── Feature Cards ───────────────────────────────────── */
.feature-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 20px;
}

.feature-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 28px 24px;
  transition: all var(--transition);
}
.feature-card:hover {
  box-shadow: var(--shadow-md);
  border-color: var(--pink-200);
  transform: translateY(-2px);
}
.feature-icon {
  width: 48px; height: 48px;
  border-radius: var(--radius-md);
  background: var(--pink-50);
  border: 1px solid var(--pink-200);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  margin-bottom: 16px;
}
.feature-card h4 {
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 8px;
  font-family: var(--font-body);
}
.feature-card p {
  font-size: 0.85rem;
  color: var(--text-muted);
  line-height: 1.6;
}

/* ─── CTA Banner ──────────────────────────────────────── */
.cta-banner {
  background: linear-gradient(135deg, var(--pink-400) 0%, var(--pink-600) 100%);
  border-radius: var(--radius-xl);
  padding: 56px 48px;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.cta-banner::before {
  content: '';
  position: absolute;
  top: -50%; right: -10%;
  width: 400px; height: 400px;
  border-radius: 50%;
  background: rgba(255,255,255,0.08);
  pointer-events: none;
}
.cta-banner::after {
  content: '';
  position: absolute;
  bottom: -60%; left: -5%;
  width: 300px; height: 300px;
  border-radius: 50%;
  background: rgba(255,255,255,0.06);
  pointer-events: none;
}
.cta-banner h2 {
  color: #fff;
  font-size: clamp(1.5rem, 3vw, 2.2rem);
  margin-bottom: 14px;
}
.cta-banner p {
  color: rgba(255,255,255,0.85);
  font-size: 1rem;
  margin-bottom: 28px;
}
.btn-white {
  background: #fff;
  color: var(--pink-600);
  border-color: transparent;
  font-weight: 700;
  box-shadow: 0 4px 14px rgba(0,0,0,0.15);
}
.btn-white:hover {
  background: var(--pink-50);
  color: var(--pink-700);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0,0,0,0.2);
}

/* ─── Footer ──────────────────────────────────────────── */
.footer {
  background: var(--bg-nav);
  border-top: 1px solid var(--border);
  padding: 48px 0 24px;
}
.footer-brand {
  font-family: var(--font-heading);
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--pink-500);
  margin-bottom: 10px;
}
.footer-desc {
  font-size: 0.85rem;
  color: var(--text-muted);
  max-width: 260px;
  line-height: 1.6;
}
.footer-heading {
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-secondary);
  margin-bottom: 14px;
  font-family: var(--font-body);
}
.footer-links { list-style: none; }
.footer-links li { margin-bottom: 10px; }
.footer-links a {
  font-size: 0.88rem;
  color: var(--text-muted);
  transition: color var(--transition);
}
.footer-links a:hover { color: var(--pink-500); }

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 40px;
}
.footer-bottom {
  padding-top: 24px;
  border-top: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px;
}
.footer-bottom p {
  font-size: 0.82rem;
  color: var(--text-muted);
}

/* ─── Utilities ───────────────────────────────────────── */
.d-flex    { display: flex; }
.d-grid    { display: grid; }
.d-none    { display: none; }
.align-center { align-items: center; }
.justify-between { justify-content: space-between; }
.justify-center  { justify-content: center; }
.gap-8  { gap: 8px; }
.gap-12 { gap: 12px; }
.gap-16 { gap: 16px; }
.gap-24 { gap: 24px; }
.flex-wrap { flex-wrap: wrap; }
.text-center { text-align: center; }
.text-pink   { color: var(--pink-500); }
.text-muted  { color: var(--text-muted); }
.fw-600 { font-weight: 600; }
.fw-700 { font-weight: 700; }
.mt-8  { margin-top:  8px; }
.mt-16 { margin-top: 16px; }
.mt-24 { margin-top: 24px; }
.mb-4  { margin-bottom:  4px; }
.mb-8  { margin-bottom:  8px; }
.mb-16 { margin-bottom: 16px; }
.mb-24 { margin-bottom: 24px; }
.mb-40 { margin-bottom: 40px; }

/* Divider */
.divider { height: 1px; background: var(--border); margin: 32px 0; }

/* Badge */
.badge {
  display: inline-flex;
  align-items: center;
  padding: 3px 10px;
  border-radius: var(--radius-full);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.03em;
}
.badge-pink { background: var(--pink-100); color: var(--pink-600); }
[data-theme="dark"] .badge-pink { background: var(--pink-50); color: var(--pink-300); }

/* ─── Responsive ──────────────────────────────────────── */
@media (max-width: 768px) {
  :root { --nav-height: 58px; }

  .navbar-links { display: none; position: fixed; top: var(--nav-height); left: 0; right: 0; background: var(--bg-nav); border-bottom: 1px solid var(--border); flex-direction: column; padding: 16px 20px; gap: 4px; }
  .navbar-links.open { display: flex; }
  .navbar-links a { padding: 10px 14px; border-radius: var(--radius-md); }
  .navbar-toggler { display: flex; }

  .footer-grid { grid-template-columns: 1fr 1fr; gap: 28px; }
  .hero { padding: 60px 0 50px; }
  .hero-visual { margin-top: 40px; }
  .hero-icon-grid { grid-template-columns: repeat(3, 80px); grid-template-rows: repeat(3, 80px); gap: 10px; }
  .auth-card { padding: 30px 24px; border-radius: var(--radius-lg); }
  .cta-banner { padding: 40px 24px; }
  .section { padding: 52px 0; }
  .hero-stats { gap: 20px; }
}

@media (max-width: 480px) {
  .footer-grid { grid-template-columns: 1fr; }
  .hero-actions { flex-direction: column; align-items: flex-start; }
  .hero-icon-grid { grid-template-columns: repeat(3, 68px); grid-template-rows: repeat(3, 68px); gap: 8px; }
  .hero-icon-card { font-size: 1.4rem; }
}

/* ─── Animations ──────────────────────────────────────── */
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(20px); }
  to   { opacity: 1; transform: translateY(0); }
}
.fade-in-up { animation: fadeInUp 0.5s ease forwards; }

@keyframes shimmer {
  0%   { background-position: -200% center; }
  100% { background-position: 200% center; }
}

/* ─── Scrollbar ───────────────────────────────────────── */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: var(--bg); }
::-webkit-scrollbar-thumb { background: var(--pink-300); border-radius: 6px; }
::-webkit-scrollbar-thumb:hover { background: var(--pink-500); }

/* ─── Password strength indicator ────────────────────── */
.password-strength {
  height: 4px;
  border-radius: 4px;
  margin-top: 8px;
  background: var(--border);
  overflow: hidden;
}
.password-strength-bar {
  height: 100%;
  border-radius: 4px;
  transition: width 0.3s ease, background 0.3s ease;
  width: 0%;
}

/* ─── Checkbox custom ─────────────────────────────────── */
.form-check {
  display: flex;
  align-items: center;
  gap: 10px;
  cursor: pointer;
  font-size: 0.88rem;
  color: var(--text-secondary);
  user-select: none;
}
.form-check input[type="checkbox"] {
  width: 17px; height: 17px;
  border-radius: 4px;
  border: 2px solid var(--border);
  background: var(--bg-secondary);
  cursor: pointer;
  accent-color: var(--pink-500);
  flex-shrink: 0;
}

/* ─── Spinner ─────────────────────────────────────────── */
.spinner {
  width: 20px; height: 20px;
  border: 2.5px solid rgba(255,255,255,0.3);
  border-top-color: #fff;
  border-radius: 50%;
  animation: spin 0.7s linear infinite;
  display: none;
}
@keyframes spin { to { transform: rotate(360deg); } }
.btn.loading .spinner { display: block; }
.btn.loading .btn-text { opacity: 0.7; }
