/* ============================================================
   HEARTLINK — Hybrid Dating + Matrimony Platform
   Design System & Shared Styles
   ============================================================ */

/* ---------- CSS Variables ---------- */
:root {
  --primary: #FF4458;
  --primary-dark: #e03347;
  --primary-light: #ff6b7a;
  --secondary: #6C63FF;
  --secondary-light: #8b84ff;
  --accent: #FFB347;
  --success: #27AE60;
  --warning: #F39C12;
  --danger: #E74C3C;
  --info: #3498DB;

  --bg: #F7F7F7;
  --bg-white: #FFFFFF;
  --bg-card: #FFFFFF;
  --bg-input: #F2F2F2;

  --text-primary: #333333;
  --text-secondary: #777777;
  --text-muted: #AAAAAA;
  --text-white: #FFFFFF;

  --border: #E8E8E8;
  --border-focus: #FF4458;

  --shadow-sm: 0 2px 8px rgba(0,0,0,0.08);
  --shadow-md: 0 4px 20px rgba(0,0,0,0.12);
  --shadow-lg: 0 8px 40px rgba(0,0,0,0.16);
  --shadow-card: 0 2px 16px rgba(255,68,88,0.10);

  --radius-sm: 8px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --radius-xl: 32px;
  --radius-full: 9999px;

  --font: 'Segoe UI', -apple-system, BlinkMacSystemFont, 'Helvetica Neue', sans-serif;
  --transition: all 0.25s ease;

  --nav-height: 64px;
  --header-height: 60px;
  --app-max-width: 375px;
}

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

html {
  font-size: 16px;
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
}

body {
  font-family: var(--font);
  background: #E8E8E8;
  color: var(--text-primary);
  min-height: 100vh;
  display: flex;
  justify-content: center;
  align-items: flex-start;
}

/* ---------- App Shell ---------- */
.app-shell {
  width: 100%;
  max-width: var(--app-max-width);
  min-height: 100vh;
  background: var(--bg);
  position: relative;
  overflow-x: hidden;
  box-shadow: 0 0 60px rgba(0,0,0,0.25);
}

/* ---------- Screen ---------- */
.screen {
  width: 100%;
  min-height: 100vh;
  background: var(--bg);
  display: flex;
  flex-direction: column;
  position: relative;
  overflow-y: auto;
}

.screen-content {
  flex: 1;
  padding: 20px 20px calc(var(--nav-height) + 20px);
  overflow-y: auto;
}

.screen-content.no-nav {
  padding-bottom: 20px;
}

/* ---------- Header ---------- */
.app-header {
  height: var(--header-height);
  background: var(--bg-white);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 20px;
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: var(--shadow-sm);
}

.app-header .logo {
  font-size: 22px;
  font-weight: 800;
  color: var(--primary);
  letter-spacing: -0.5px;
}

.app-header .logo span { color: var(--secondary); }

.app-header .header-title {
  font-size: 17px;
  font-weight: 700;
  color: var(--text-primary);
}

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

.icon-btn {
  width: 36px;
  height: 36px;
  border: none;
  background: var(--bg-input);
  border-radius: var(--radius-full);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: var(--transition);
  color: var(--text-secondary);
  font-size: 16px;
}

.icon-btn:hover { background: var(--primary); color: white; }

/* ---------- Bottom Navigation ---------- */
.bottom-nav {
  position: fixed;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  max-width: var(--app-max-width);
  height: var(--nav-height);
  background: var(--bg-white);
  border-top: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: space-around;
  z-index: 200;
  box-shadow: 0 -4px 20px rgba(0,0,0,0.08);
}

.nav-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  cursor: pointer;
  padding: 8px 12px;
  border-radius: var(--radius-md);
  transition: var(--transition);
  text-decoration: none;
  position: relative;
}

.nav-item .nav-icon {
  font-size: 22px;
  color: var(--text-muted);
  transition: var(--transition);
}

.nav-item .nav-label {
  font-size: 10px;
  font-weight: 600;
  color: var(--text-muted);
  transition: var(--transition);
}

.nav-item.active .nav-icon,
.nav-item.active .nav-label {
  color: var(--primary);
}

.nav-item.active .nav-icon {
  transform: scale(1.15);
}

.nav-badge {
  position: absolute;
  top: 4px;
  right: 8px;
  background: var(--primary);
  color: white;
  font-size: 9px;
  font-weight: 700;
  min-width: 16px;
  height: 16px;
  border-radius: var(--radius-full);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 4px;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 24px;
  border: none;
  border-radius: var(--radius-full);
  font-family: var(--font);
  font-size: 15px;
  font-weight: 700;
  cursor: pointer;
  transition: var(--transition);
  text-decoration: none;
  white-space: nowrap;
  letter-spacing: 0.3px;
}

.btn-primary {
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  color: white;
  box-shadow: 0 4px 15px rgba(255,68,88,0.35);
}

.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 6px 20px rgba(255,68,88,0.45); }
.btn-primary:active { transform: translateY(0); }

.btn-secondary {
  background: linear-gradient(135deg, var(--secondary), #5a52d5);
  color: white;
  box-shadow: 0 4px 15px rgba(108,99,255,0.35);
}

.btn-outline {
  background: transparent;
  border: 2px solid var(--primary);
  color: var(--primary);
}

.btn-outline:hover { background: var(--primary); color: white; }

.btn-ghost {
  background: var(--bg-input);
  color: var(--text-secondary);
}

.btn-ghost:hover { background: var(--border); }

.btn-danger {
  background: linear-gradient(135deg, var(--danger), #c0392b);
  color: white;
}

.btn-success {
  background: linear-gradient(135deg, var(--success), #1e8449);
  color: white;
}

.btn-warning {
  background: linear-gradient(135deg, var(--warning), #e67e22);
  color: white;
}

.btn-block { width: 100%; }

.btn-sm { padding: 8px 16px; font-size: 13px; }
.btn-lg { padding: 16px 32px; font-size: 17px; }

.btn-icon {
  width: 44px;
  height: 44px;
  padding: 0;
  border-radius: var(--radius-full);
}

/* ---------- Forms ---------- */
.form-group {
  margin-bottom: 18px;
}

.form-label {
  display: block;
  font-size: 13px;
  font-weight: 600;
  color: var(--text-secondary);
  margin-bottom: 8px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.form-input,
.form-select,
.form-textarea {
  width: 100%;
  padding: 14px 16px;
  background: var(--bg-input);
  border: 2px solid transparent;
  border-radius: var(--radius-md);
  font-family: var(--font);
  font-size: 15px;
  color: var(--text-primary);
  transition: var(--transition);
  outline: none;
  appearance: none;
}

.form-input:focus,
.form-select:focus,
.form-textarea:focus {
  border-color: var(--primary);
  background: white;
  box-shadow: 0 0 0 4px rgba(255,68,88,0.1);
}

.form-input::placeholder { color: var(--text-muted); }

.form-textarea { resize: none; min-height: 100px; line-height: 1.6; }

.input-wrapper {
  position: relative;
}

.input-icon {
  position: absolute;
  left: 14px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--text-muted);
  font-size: 18px;
  pointer-events: none;
}

.input-wrapper .form-input { padding-left: 44px; }

.input-action {
  position: absolute;
  right: 14px;
  top: 50%;
  transform: translateY(-50%);
  background: none;
  border: none;
  cursor: pointer;
  color: var(--text-muted);
  font-size: 18px;
}

/* ---------- Cards ---------- */
.card {
  background: var(--bg-card);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
  transition: var(--transition);
}

.card:hover { box-shadow: var(--shadow-md); }

.card-body { padding: 20px; }

/* ---------- Profile Card ---------- */
.profile-card {
  background: var(--bg-card);
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-card);
  margin-bottom: 16px;
  transition: var(--transition);
}

.profile-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }

.profile-card-image {
  width: 100%;
  height: 280px;
  object-fit: cover;
  display: block;
  background: linear-gradient(135deg, #f5f5f5, #e8e8e8);
}

.profile-card-image.placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 80px;
}

.profile-card-body {
  padding: 16px 20px 20px;
}

.profile-card-name {
  font-size: 20px;
  font-weight: 800;
  color: var(--text-primary);
  display: flex;
  align-items: center;
  gap: 8px;
}

.profile-card-meta {
  font-size: 14px;
  color: var(--text-secondary);
  margin-top: 4px;
  display: flex;
  align-items: center;
  gap: 12px;
}

.profile-card-actions {
  display: flex;
  gap: 10px;
  margin-top: 14px;
}

/* ---------- Compatibility Score ---------- */
.compat-score {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: linear-gradient(135deg, #fff0f2, #ffe8ea);
  border: 1.5px solid rgba(255,68,88,0.2);
  border-radius: var(--radius-full);
  padding: 4px 12px;
  font-size: 13px;
  font-weight: 700;
  color: var(--primary);
}

.compat-score .score-icon { font-size: 14px; }

.compat-bar {
  height: 6px;
  background: var(--bg-input);
  border-radius: var(--radius-full);
  overflow: hidden;
  margin-top: 6px;
}

.compat-bar-fill {
  height: 100%;
  background: linear-gradient(90deg, var(--primary), var(--primary-light));
  border-radius: var(--radius-full);
  transition: width 0.8s ease;
}

/* ---------- Verified Badge ---------- */
.verified-badge {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  background: linear-gradient(135deg, #e8f8f0, #d5f5e3);
  border: 1.5px solid rgba(39,174,96,0.3);
  border-radius: var(--radius-full);
  padding: 3px 10px;
  font-size: 11px;
  font-weight: 700;
  color: var(--success);
}

.verified-icon { font-size: 12px; }

/* ---------- Tags / Interests ---------- */
.tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 10px;
}

.tag {
  background: var(--bg-input);
  border: 1.5px solid var(--border);
  border-radius: var(--radius-full);
  padding: 5px 12px;
  font-size: 12px;
  font-weight: 600;
  color: var(--text-secondary);
  cursor: pointer;
  transition: var(--transition);
}

.tag.active, .tag:hover {
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  border-color: transparent;
  color: white;
}

.tag-secondary.active, .tag-secondary:hover {
  background: linear-gradient(135deg, var(--secondary), #5a52d5);
  border-color: transparent;
  color: white;
}

/* ---------- Avatar ---------- */
.avatar {
  border-radius: var(--radius-full);
  object-fit: cover;
  background: linear-gradient(135deg, #f5f5f5, #e8e8e8);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  flex-shrink: 0;
}

.avatar-sm { width: 36px; height: 36px; font-size: 16px; }
.avatar-md { width: 48px; height: 48px; font-size: 20px; }
.avatar-lg { width: 64px; height: 64px; font-size: 28px; }
.avatar-xl { width: 96px; height: 96px; font-size: 40px; }

/* ---------- Section Header ---------- */
.section-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 16px;
}

.section-title {
  font-size: 18px;
  font-weight: 800;
  color: var(--text-primary);
}

.section-link {
  font-size: 13px;
  font-weight: 600;
  color: var(--primary);
  text-decoration: none;
}

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

.divider-text {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 20px 0;
  color: var(--text-muted);
  font-size: 13px;
  font-weight: 600;
}

.divider-text::before, .divider-text::after {
  content: '';
  flex: 1;
  height: 1px;
  background: var(--border);
}

/* ---------- Alert / Toast ---------- */
.alert {
  padding: 14px 16px;
  border-radius: var(--radius-md);
  font-size: 14px;
  font-weight: 500;
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-bottom: 16px;
}

.alert-danger { background: #fef0ef; border: 1px solid #fbc8c5; color: #c0392b; }
.alert-success { background: #eafaf1; border: 1px solid #a9dfbf; color: #1e8449; }
.alert-warning { background: #fef9e7; border: 1px solid #f9e79f; color: #b7770d; }
.alert-info { background: #eaf4fb; border: 1px solid #a9cce3; color: #1a5276; }

/* ---------- Toast Notification ---------- */
.toast-container {
  position: fixed;
  top: 20px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 9999;
  display: flex;
  flex-direction: column;
  gap: 8px;
  width: calc(var(--app-max-width) - 40px);
  max-width: 335px;
}

.toast {
  background: var(--text-primary);
  color: white;
  padding: 12px 16px;
  border-radius: var(--radius-md);
  font-size: 14px;
  font-weight: 500;
  box-shadow: var(--shadow-md);
  display: flex;
  align-items: center;
  gap: 10px;
  animation: slideDown 0.3s ease;
}

.toast.toast-success { background: var(--success); }
.toast.toast-danger { background: var(--danger); }
.toast.toast-warning { background: var(--warning); }

@keyframes slideDown {
  from { opacity: 0; transform: translateY(-20px); }
  to { opacity: 1; transform: translateY(0); }
}

/* ---------- Modal ---------- */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.5);
  z-index: 500;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  backdrop-filter: blur(4px);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

.modal-overlay.active {
  opacity: 1;
  pointer-events: all;
}

.modal {
  background: white;
  border-radius: var(--radius-xl) var(--radius-xl) 0 0;
  width: 100%;
  max-width: var(--app-max-width);
  padding: 24px 20px 40px;
  transform: translateY(100%);
  transition: transform 0.35s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.modal-overlay.active .modal {
  transform: translateY(0);
}

.modal-handle {
  width: 40px;
  height: 4px;
  background: var(--border);
  border-radius: var(--radius-full);
  margin: 0 auto 20px;
}

.modal-title {
  font-size: 20px;
  font-weight: 800;
  color: var(--text-primary);
  margin-bottom: 8px;
}

/* ---------- Progress Steps ---------- */
.progress-steps {
  display: flex;
  align-items: center;
  gap: 4px;
  margin-bottom: 24px;
}

.step-dot {
  height: 4px;
  flex: 1;
  background: var(--border);
  border-radius: var(--radius-full);
  transition: var(--transition);
}

.step-dot.active { background: var(--primary); }
.step-dot.done { background: var(--success); }

/* ---------- OTP Input ---------- */
.otp-inputs {
  display: flex;
  gap: 12px;
  justify-content: center;
  margin: 24px 0;
}

.otp-input {
  width: 52px;
  height: 60px;
  text-align: center;
  font-size: 24px;
  font-weight: 800;
  background: var(--bg-input);
  border: 2px solid transparent;
  border-radius: var(--radius-md);
  outline: none;
  transition: var(--transition);
  color: var(--text-primary);
}

.otp-input:focus {
  border-color: var(--primary);
  background: white;
  box-shadow: 0 0 0 4px rgba(255,68,88,0.1);
}

/* ---------- Chat Styles ---------- */
.chat-bubble {
  max-width: 75%;
  padding: 10px 14px;
  border-radius: var(--radius-lg);
  font-size: 14px;
  line-height: 1.5;
  position: relative;
  word-break: break-word;
}

.chat-bubble.sent {
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  color: white;
  border-bottom-right-radius: 4px;
  margin-left: auto;
}

.chat-bubble.received {
  background: white;
  color: var(--text-primary);
  border-bottom-left-radius: 4px;
  box-shadow: var(--shadow-sm);
}

.chat-time {
  font-size: 10px;
  color: var(--text-muted);
  margin-top: 4px;
}

.chat-message-row {
  display: flex;
  flex-direction: column;
  margin-bottom: 12px;
}

.chat-message-row.sent { align-items: flex-end; }
.chat-message-row.received { align-items: flex-start; }

/* ---------- Stats Cards ---------- */
.stats-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-bottom: 20px;
}

.stat-card {
  background: white;
  border-radius: var(--radius-lg);
  padding: 16px;
  box-shadow: var(--shadow-sm);
  text-align: center;
}

.stat-value {
  font-size: 28px;
  font-weight: 900;
  color: var(--primary);
  line-height: 1;
}

.stat-label {
  font-size: 12px;
  color: var(--text-secondary);
  margin-top: 4px;
  font-weight: 600;
}

/* ---------- List Items ---------- */
.list-item {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px 0;
  border-bottom: 1px solid var(--border);
  cursor: pointer;
  transition: var(--transition);
  text-decoration: none;
  color: inherit;
}

.list-item:last-child { border-bottom: none; }
.list-item:hover { opacity: 0.8; }

.list-item-content { flex: 1; min-width: 0; }
.list-item-title { font-size: 15px; font-weight: 700; color: var(--text-primary); }
.list-item-sub { font-size: 13px; color: var(--text-secondary); margin-top: 2px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

.list-item-right { display: flex; align-items: center; gap: 8px; flex-shrink: 0; }

/* ---------- Toggle Switch ---------- */
.toggle-switch {
  position: relative;
  width: 48px;
  height: 26px;
  flex-shrink: 0;
}

.toggle-switch input { opacity: 0; width: 0; height: 0; }

.toggle-slider {
  position: absolute;
  inset: 0;
  background: var(--border);
  border-radius: var(--radius-full);
  cursor: pointer;
  transition: var(--transition);
}

.toggle-slider::before {
  content: '';
  position: absolute;
  width: 20px;
  height: 20px;
  left: 3px;
  top: 3px;
  background: white;
  border-radius: 50%;
  transition: var(--transition);
  box-shadow: 0 2px 4px rgba(0,0,0,0.2);
}

.toggle-switch input:checked + .toggle-slider { background: var(--primary); }
.toggle-switch input:checked + .toggle-slider::before { transform: translateX(22px); }

/* ---------- Range Slider ---------- */
.range-slider {
  width: 100%;
  height: 4px;
  border-radius: var(--radius-full);
  background: var(--border);
  outline: none;
  appearance: none;
  cursor: pointer;
}

.range-slider::-webkit-slider-thumb {
  appearance: none;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--primary);
  cursor: pointer;
  box-shadow: 0 2px 8px rgba(255,68,88,0.4);
}

/* ---------- Photo Grid ---------- */
.photo-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
}

.photo-slot {
  aspect-ratio: 1;
  border-radius: var(--radius-md);
  background: var(--bg-input);
  border: 2px dashed var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: var(--transition);
  overflow: hidden;
  font-size: 28px;
  color: var(--text-muted);
  position: relative;
}

.photo-slot:hover { border-color: var(--primary); color: var(--primary); }
.photo-slot.filled { border-style: solid; border-color: transparent; }
.photo-slot img { width: 100%; height: 100%; object-fit: cover; }

/* ---------- Safety Alert ---------- */
.safety-banner {
  background: linear-gradient(135deg, #fff3cd, #ffeaa7);
  border: 1.5px solid #f39c12;
  border-radius: var(--radius-md);
  padding: 12px 16px;
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 16px;
}

.safety-banner-icon { font-size: 20px; }
.safety-banner-text { font-size: 13px; color: #856404; font-weight: 500; }

.emergency-btn {
  background: linear-gradient(135deg, #e74c3c, #c0392b);
  color: white;
  border: none;
  border-radius: var(--radius-xl);
  padding: 20px;
  width: 100%;
  font-size: 18px;
  font-weight: 800;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  box-shadow: 0 6px 20px rgba(231,76,60,0.45);
  transition: var(--transition);
  letter-spacing: 0.5px;
}

.emergency-btn:hover { transform: scale(1.02); }
.emergency-btn:active { transform: scale(0.98); }

/* ---------- Premium Badge ---------- */
.premium-badge {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  background: linear-gradient(135deg, #f6d365, #fda085);
  border-radius: var(--radius-full);
  padding: 3px 10px;
  font-size: 11px;
  font-weight: 800;
  color: white;
  letter-spacing: 0.5px;
}

/* ---------- Plan Card ---------- */
.plan-card {
  background: white;
  border: 2px solid var(--border);
  border-radius: var(--radius-xl);
  padding: 24px 20px;
  text-align: center;
  transition: var(--transition);
  cursor: pointer;
  position: relative;
  overflow: hidden;
}

.plan-card.popular {
  border-color: var(--primary);
  box-shadow: 0 4px 20px rgba(255,68,88,0.2);
}

.plan-card.selected {
  border-color: var(--primary);
  background: linear-gradient(135deg, #fff5f6, #fff0f2);
}

.plan-badge {
  position: absolute;
  top: 12px;
  right: -28px;
  background: var(--primary);
  color: white;
  font-size: 10px;
  font-weight: 800;
  padding: 4px 36px;
  transform: rotate(45deg);
  letter-spacing: 0.5px;
}

.plan-price {
  font-size: 36px;
  font-weight: 900;
  color: var(--primary);
  line-height: 1;
}

.plan-period {
  font-size: 14px;
  color: var(--text-secondary);
  font-weight: 500;
}

.plan-name {
  font-size: 18px;
  font-weight: 800;
  color: var(--text-primary);
  margin-bottom: 8px;
}

/* ---------- Notification Item ---------- */
.notif-item {
  display: flex;
  gap: 12px;
  padding: 14px 0;
  border-bottom: 1px solid var(--border);
  cursor: pointer;
  transition: var(--transition);
}

.notif-item.unread { background: #fff5f6; margin: 0 -20px; padding: 14px 20px; }
.notif-item:last-child { border-bottom: none; }

.notif-icon-wrap {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-full);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  flex-shrink: 0;
}

.notif-icon-wrap.match { background: #fef0f2; }
.notif-icon-wrap.message { background: #f0f0ff; }
.notif-icon-wrap.view { background: #fff8e7; }
.notif-icon-wrap.safety { background: #fef0f0; }

/* ---------- Admin Styles ---------- */
.admin-sidebar {
  background: #1a1a2e;
  color: white;
  width: 100%;
  padding: 20px;
}

.admin-nav-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 16px;
  border-radius: var(--radius-md);
  cursor: pointer;
  transition: var(--transition);
  font-size: 14px;
  font-weight: 600;
  color: rgba(255,255,255,0.7);
  text-decoration: none;
  margin-bottom: 4px;
}

.admin-nav-item:hover, .admin-nav-item.active {
  background: rgba(255,68,88,0.2);
  color: white;
}

.admin-nav-item .nav-icon { font-size: 18px; }

.data-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 13px;
}

.data-table th {
  background: var(--bg-input);
  padding: 10px 12px;
  text-align: left;
  font-weight: 700;
  color: var(--text-secondary);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.data-table td {
  padding: 12px;
  border-bottom: 1px solid var(--border);
  vertical-align: middle;
}

.data-table tr:last-child td { border-bottom: none; }

.status-badge {
  display: inline-flex;
  align-items: center;
  padding: 3px 10px;
  border-radius: var(--radius-full);
  font-size: 11px;
  font-weight: 700;
}

.status-active { background: #eafaf1; color: var(--success); }
.status-suspended { background: #fef0ef; color: var(--danger); }
.status-pending { background: #fef9e7; color: var(--warning); }
.status-verified { background: #eafaf1; color: var(--success); }

/* ---------- Gradient Hero ---------- */
.hero-gradient {
  background: linear-gradient(160deg, #FF4458 0%, #FF6B7A 40%, #6C63FF 100%);
  padding: 40px 20px;
  text-align: center;
  color: white;
}

.hero-gradient h1 {
  font-size: 28px;
  font-weight: 900;
  margin-bottom: 8px;
  letter-spacing: -0.5px;
}

.hero-gradient p {
  font-size: 15px;
  opacity: 0.9;
  line-height: 1.6;
}

/* ---------- Onboarding ---------- */
.onboarding-slide {
  display: none;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 40px 24px;
  min-height: 100vh;
}

.onboarding-slide.active { display: flex; }

.onboarding-emoji {
  font-size: 80px;
  margin-bottom: 24px;
  animation: bounce 2s infinite;
}

@keyframes bounce {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}

.onboarding-title {
  font-size: 26px;
  font-weight: 900;
  color: var(--text-primary);
  margin-bottom: 12px;
  line-height: 1.2;
}

.onboarding-desc {
  font-size: 15px;
  color: var(--text-secondary);
  line-height: 1.7;
  max-width: 300px;
}

/* ---------- Mode Selector ---------- */
.mode-cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin: 24px 0;
}

.mode-card {
  background: white;
  border: 2px solid var(--border);
  border-radius: var(--radius-xl);
  padding: 24px 16px;
  text-align: center;
  cursor: pointer;
  transition: var(--transition);
}

.mode-card:hover, .mode-card.selected {
  border-color: var(--primary);
  background: linear-gradient(135deg, #fff5f6, #fff0f2);
  box-shadow: 0 4px 16px rgba(255,68,88,0.2);
}

.mode-card .mode-icon { font-size: 40px; margin-bottom: 10px; }
.mode-card .mode-title { font-size: 15px; font-weight: 800; color: var(--text-primary); }
.mode-card .mode-desc { font-size: 12px; color: var(--text-secondary); margin-top: 4px; }

/* ---------- Utility Classes ---------- */
.text-center { text-align: center; }
.text-right { text-align: right; }
.text-primary-color { color: var(--primary); }
.text-secondary-color { color: var(--text-secondary); }
.text-muted { color: var(--text-muted); }
.text-success { color: var(--success); }
.text-danger { color: var(--danger); }
.text-warning { color: var(--warning); }
.fw-bold { font-weight: 700; }
.fw-black { font-weight: 900; }
.fs-sm { font-size: 13px; }
.fs-xs { font-size: 11px; }
.mt-4 { margin-top: 4px; }
.mt-8 { margin-top: 8px; }
.mt-12 { margin-top: 12px; }
.mt-16 { margin-top: 16px; }
.mt-20 { margin-top: 20px; }
.mt-24 { margin-top: 24px; }
.mb-4 { margin-bottom: 4px; }
.mb-8 { margin-bottom: 8px; }
.mb-12 { margin-bottom: 12px; }
.mb-16 { margin-bottom: 16px; }
.mb-20 { margin-bottom: 20px; }
.mb-24 { margin-bottom: 24px; }
.p-16 { padding: 16px; }
.p-20 { padding: 20px; }
.flex { display: flex; }
.flex-col { flex-direction: column; }
.items-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; }
.w-full { width: 100%; }
.hidden { display: none !important; }
.relative { position: relative; }

/* ---------- Scrollbar ---------- */
::-webkit-scrollbar { width: 4px; }
::-webkit-scrollbar-track { background: transparent; }
::-webkit-scrollbar-thumb { background: var(--border); border-radius: 4px; }

/* ---------- Responsive ---------- */
@media (min-width: 376px) {
  .app-shell {
    margin: 0 auto;
    min-height: 100vh;
  }
}

@media (max-width: 375px) {
  body { background: var(--bg); }
  .app-shell { box-shadow: none; }
}
