/* ============================================================
   ASAM MLM - Main Stylesheet
   ============================================================ */

/* ---- Fonts & Variables ---------------------------------- */
:root {
  --primary: #6c3cf7;
  --primary-dark: #5228e8;
  --primary-light: #8b5cf6;
  --secondary: #f59e0b;
  --secondary-dark: #d97706;
  --dark: #0f0f1a;
  --dark-2: #1a1a2e;
  --dark-3: #16213e;
  --card-bg: #1e1e35;
  --sidebar-bg: #13132a;
  --sidebar-width: 260px;
  --topbar-h: 64px;
  --text-light: #c5c5e0;
  --text-muted: #7f7fa0;
  --border-color: rgba(255,255,255,0.08);
  --radius: 12px;
  --radius-lg: 18px;
  --shadow: 0 4px 24px rgba(0,0,0,.28);
  --shadow-card: 0 2px 16px rgba(108,60,247,0.13);
  --transition: 0.22s cubic-bezier(.4,0,.2,1);
}

*, *::before, *::after { box-sizing: border-box; }
body {
  font-family: 'Inter', sans-serif;
  background: var(--dark-2);
  color: #e0e0f0;
  min-height: 100vh;
  overflow-x: hidden;
}

/* ---- Scrollbar ----------------------------------------- */
::-webkit-scrollbar { width: 6px; height: 6px; }
::-webkit-scrollbar-track { background: var(--dark-2); }
::-webkit-scrollbar-thumb { background: var(--primary); border-radius: 100px; }

/* ============================================================
   PUBLIC NAVBAR
   ============================================================ */
.public-navbar {
  background: rgba(10,10,30,0.95);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border-color);
  position: sticky;
  top: 0;
  z-index: 1000;
  padding: .75rem 0;
}
.public-navbar .navbar-brand {
  font-size: 1.4rem;
  font-weight: 800;
  color: #fff;
}
.public-navbar .navbar-brand span { color: var(--secondary); }
.public-navbar .nav-link {
  color: var(--text-light) !important;
  font-weight: 500;
  padding: .45rem .9rem !important;
  border-radius: 8px;
  transition: var(--transition);
}
.public-navbar .nav-link:hover, .public-navbar .nav-link.active {
  color: #fff !important;
  background: rgba(108,60,247,.18);
}
.btn-nav-login {
  border: 1.5px solid var(--primary);
  color: var(--primary-light) !important;
  border-radius: 8px !important;
}
.btn-nav-login:hover { background: var(--primary) !important; color: #fff !important; }
.btn-nav-register {
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  color: #fff !important;
  border-radius: 8px !important;
}
.btn-nav-register:hover { opacity: .9; }

/* ============================================================
   HERO SECTION
   ============================================================ */
.hero-section {
  min-height: 100vh;
  background: linear-gradient(135deg, #0a0a1a 0%, #13132a 40%, #1a0533 100%);
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
  padding: 120px 0 80px;
}
.hero-section::before {
  content: '';
  position: absolute;
  width: 600px; height: 600px;
  background: radial-gradient(circle, rgba(108,60,247,.35) 0%, transparent 70%);
  top: -100px; right: -100px;
  border-radius: 50%;
  pointer-events: none;
}
.hero-section::after {
  content: '';
  position: absolute;
  width: 400px; height: 400px;
  background: radial-gradient(circle, rgba(245,158,11,.15) 0%, transparent 70%);
  bottom: 0; left: -50px;
  border-radius: 50%;
  pointer-events: none;
}
.hero-badge {
  display: inline-block;
  background: rgba(108,60,247,.2);
  border: 1px solid rgba(108,60,247,.4);
  color: var(--primary-light);
  padding: .35rem 1rem;
  border-radius: 100px;
  font-size: .82rem;
  font-weight: 600;
  margin-bottom: 1.5rem;
  animation: fadeInDown .6s ease;
}
.hero-title {
  font-size: clamp(2rem, 5vw, 3.6rem);
  font-weight: 800;
  line-height: 1.15;
  color: #fff;
  animation: fadeInUp .7s ease;
}
.hero-title .highlight {
  background: linear-gradient(90deg, var(--secondary), var(--primary-light));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.hero-subtitle {
  font-size: 1.1rem;
  color: var(--text-light);
  max-width: 560px;
  line-height: 1.7;
  margin: 1.2rem 0 2rem;
  animation: fadeInUp .8s ease;
}
.hero-stats {
  display: flex;
  gap: 2rem;
  flex-wrap: wrap;
  margin-top: 2.5rem;
  animation: fadeInUp .9s ease;
}
.hero-stat { text-align: center; }
.hero-stat-number {
  font-size: 1.8rem;
  font-weight: 800;
  color: var(--secondary);
}
.hero-stat-label { font-size: .8rem; color: var(--text-muted); }

/* Hero floating card */
.hero-card-float {
  background: rgba(30,30,53,0.85);
  border: 1px solid var(--border-color);
  backdrop-filter: blur(12px);
  border-radius: var(--radius-lg);
  padding: 2rem;
  box-shadow: var(--shadow);
  animation: floatY 4s ease-in-out infinite;
}
@keyframes floatY {
  0%,100% { transform: translateY(0); }
  50% { transform: translateY(-14px); }
}

/* ============================================================
   SECTION STYLES
   ============================================================ */
.section-py { padding: 80px 0; }
.section-badge {
  display: inline-block;
  background: rgba(108,60,247,.15);
  color: var(--primary-light);
  padding: .3rem .85rem;
  border-radius: 100px;
  font-size: .78rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .06em;
  margin-bottom: .8rem;
}
.section-title {
  font-size: clamp(1.6rem, 3vw, 2.4rem);
  font-weight: 800;
  color: #fff;
  line-height: 1.25;
}
.section-subtitle {
  color: var(--text-light);
  font-size: 1rem;
  max-width: 600px;
  margin: 0 auto;
  line-height: 1.7;
}
.divider {
  display: block;
  width: 48px; height: 4px;
  background: linear-gradient(90deg, var(--primary), var(--secondary));
  border-radius: 100px;
  margin: 0.8rem 0 1.5rem;
}
.divider.mx-auto { margin-left: auto; margin-right: auto; }

/* ============================================================
   CARDS
   ============================================================ */
.glass-card {
  background: rgba(30,30,53,0.7);
  border: 1px solid var(--border-color);
  backdrop-filter: blur(8px);
  border-radius: var(--radius-lg);
  padding: 1.8rem;
  transition: var(--transition);
}
.glass-card:hover {
  border-color: rgba(108,60,247,.35);
  transform: translateY(-4px);
  box-shadow: var(--shadow-card);
}
.plan-card {
  background: var(--card-bg);
  border: 1.5px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 2rem;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}
.plan-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--primary), var(--secondary));
}
.plan-card:hover {
  border-color: var(--primary);
  transform: translateY(-6px);
  box-shadow: 0 12px 40px rgba(108,60,247,.25);
}
.plan-card.featured {
  border-color: var(--secondary);
  background: linear-gradient(160deg, rgba(108,60,247,.1), var(--card-bg));
}
.plan-price {
  font-size: 2.2rem;
  font-weight: 800;
  color: var(--secondary);
}
.plan-price span { font-size: 1rem; font-weight: 400; color: var(--text-muted); }

/* Step/process cards */
.step-card {
  background: var(--card-bg);
  border: 1px solid var(--border-color);
  border-radius: var(--radius);
  padding: 1.8rem;
  text-align: center;
  position: relative;
}
.step-number {
  width: 52px; height: 52px;
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.2rem; font-weight: 800;
  color: #fff;
  margin: 0 auto 1rem;
  box-shadow: 0 4px 16px rgba(108,60,247,.4);
}
.icon-box {
  width: 64px; height: 64px;
  background: rgba(108,60,247,.15);
  border-radius: var(--radius);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.8rem;
  margin-bottom: 1rem;
}
.icon-box.gold { background: rgba(245,158,11,.15); color: var(--secondary); }
.icon-box.purple { background: rgba(108,60,247,.18); color: var(--primary-light); }
.icon-box.green { background: rgba(16,185,129,.15); color: #10b981; }
.icon-box.red { background: rgba(239,68,68,.15); color: #ef4444; }
.icon-box.blue { background: rgba(59,130,246,.15); color: #3b82f6; }

/* Achievement card */
.achiever-card {
  background: var(--card-bg);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  text-align: center;
  transition: var(--transition);
}
.achiever-card:hover { border-color: var(--secondary); transform: translateY(-4px); }
.achiever-avatar {
  width: 80px; height: 80px;
  border-radius: 50%;
  object-fit: cover;
  border: 3px solid var(--secondary);
  margin-bottom: 1rem;
}

/* ============================================================
   STAT WIDGETS (user/admin dashboard)
   ============================================================ */
.stat-card {
  background: var(--card-bg);
  border: 1px solid var(--border-color);
  border-radius: var(--radius);
  padding: 1.4rem 1.6rem;
  position: relative;
  overflow: hidden;
  transition: var(--transition);
}
.stat-card:hover { border-color: rgba(108,60,247,.3); transform: translateY(-3px); box-shadow: var(--shadow-card); }
.stat-card .stat-icon {
  width: 52px; height: 52px;
  border-radius: var(--radius);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.5rem;
}
.stat-card .stat-value { font-size: 1.7rem; font-weight: 800; color: #fff; }
.stat-card .stat-label { font-size: .8rem; color: var(--text-muted); font-weight: 500; }
.stat-card .stat-change { font-size: .78rem; }

/* ============================================================
   SIDEBAR LAYOUT (User & Admin Shared)
   ============================================================ */
.sidebar, .admin-sidebar {
  width: var(--sidebar-width);
  background: var(--sidebar-bg);
  border-right: 1px solid var(--border-color);
  position: fixed;
  top: 0; left: 0;
  height: 100vh;
  z-index: 900;
  overflow-y: auto;
  transition: transform var(--transition);
  padding-bottom: 1rem;
}
.sidebar-brand {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.2rem 1.4rem;
  border-bottom: 1px solid var(--border-color);
}
.sidebar-profile {
  display: flex;
  align-items: center;
  gap: .8rem;
  padding: 1rem 1.4rem;
  border-bottom: 1px solid var(--border-color);
}
.sidebar-avatar {
  width: 40px; height: 40px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid var(--primary);
}
.sidebar-nav { list-style: none; padding: 0 .6rem; margin: 0; }
.sidebar-link {
  display: flex;
  align-items: center;
  gap: .75rem;
  padding: .65rem .9rem;
  border-radius: 9px;
  color: var(--text-light) !important;
  font-size: .9rem;
  font-weight: 500;
  text-decoration: none !important;
  transition: var(--transition);
  margin-bottom: 2px;
}
.sidebar-link i { font-size: 1.05rem; width: 22px; flex-shrink: 0; }
.sidebar-link:hover { background: rgba(108,60,247,.18); color: #fff !important; }
.sidebar-link.active { background: linear-gradient(90deg, var(--primary), var(--primary-dark)); color: #fff !important; box-shadow: 0 3px 12px rgba(108,60,247,.35); }
.sidebar-footer { padding: .6rem .6rem 0; border-top: 1px solid var(--border-color); margin-top: auto; }

/* Main content offset */
.main-content {
  margin-left: var(--sidebar-width);
  min-height: 100vh;
  transition: margin var(--transition);
}

/* Topbar */
.main-topbar {
  height: var(--topbar-h);
  background: rgba(15,15,26,0.9);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border-color);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 1.5rem;
  position: sticky;
  top: 0;
  z-index: 800;
}
.topbar-title { font-size: 1.1rem; font-weight: 700; color: #fff; }
.topbar-user { display: flex; align-items: center; gap: .6rem; }
.topbar-avatar { width: 34px; height: 34px; border-radius: 50%; border: 2px solid var(--primary); object-fit: cover; }

/* Page content area */
.page-content { padding: 1.8rem; }
.page-header { margin-bottom: 1.5rem; }
.page-header h2 { font-size: 1.5rem; font-weight: 700; color: #fff; margin: 0; }
.page-header p { color: var(--text-muted); font-size: .9rem; margin: .25rem 0 0; }

/* Sidebar overlay (mobile) */
.sidebar-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,.6);
  z-index: 850;
}
.sidebar-overlay.active { display: block; }

/* Mobile collapsed sidebar */
@media (max-width: 991.98px) {
  .sidebar, .admin-sidebar { transform: translateX(-100%); }
  .sidebar.show, .admin-sidebar.show { transform: translateX(0); }
  .main-content { margin-left: 0; }
}

/* ============================================================
   FORMS
   ============================================================ */
.form-control, .form-select {
  background: rgba(255,255,255,.05) !important;
  border: 1.5px solid var(--border-color) !important;
  color: #e0e0f0 !important;
  border-radius: 9px !important;
  padding: .7rem 1rem !important;
  font-size: .92rem;
  transition: var(--transition);
}
.form-control:focus, .form-select:focus {
  border-color: var(--primary) !important;
  box-shadow: 0 0 0 3px rgba(108,60,247,.2) !important;
  background: rgba(255,255,255,.07) !important;
}
.form-control::placeholder { color: var(--text-muted) !important; }
.form-label { color: var(--text-light); font-weight: 500; font-size: .88rem; margin-bottom: .4rem; }
.form-check-input { background-color: rgba(255,255,255,.1); border-color: var(--border-color); }
.form-check-input:checked { background-color: var(--primary); border-color: var(--primary); }
.input-group-text {
  background: rgba(255,255,255,.06) !important;
  border: 1.5px solid var(--border-color) !important;
  color: var(--text-muted) !important;
  border-radius: 9px 0 0 9px !important;
}

/* ============================================================
   BUTTONS
   ============================================================ */
.btn-primary-custom {
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  color: #fff;
  border: none;
  border-radius: 9px;
  padding: .7rem 1.6rem;
  font-weight: 600;
  font-size: .92rem;
  transition: var(--transition);
  box-shadow: 0 4px 14px rgba(108,60,247,.3);
}
.btn-primary-custom:hover { opacity: .9; transform: translateY(-1px); color: #fff; }
.btn-secondary-custom {
  background: rgba(245,158,11,.15);
  color: var(--secondary);
  border: 1.5px solid rgba(245,158,11,.3);
  border-radius: 9px;
  padding: .7rem 1.6rem;
  font-weight: 600;
  font-size: .92rem;
  transition: var(--transition);
}
.btn-secondary-custom:hover { background: var(--secondary); color: #fff; }

/* Bootstrap overrides */
.btn-primary { background: var(--primary) !important; border-color: var(--primary) !important; border-radius: 9px !important; }
.btn-primary:hover { background: var(--primary-dark) !important; border-color: var(--primary-dark) !important; }
.btn-warning { background: var(--secondary) !important; border-color: var(--secondary) !important; color: #fff !important; border-radius: 9px !important; }
.btn-success { border-radius: 9px !important; }
.btn-danger { border-radius: 9px !important; }
.btn-secondary { border-radius: 9px !important; }
.btn-outline-primary { border-color: var(--primary) !important; color: var(--primary) !important; border-radius: 9px !important; }
.btn-outline-primary:hover { background: var(--primary) !important; color: #fff !important; }

/* ============================================================
   TABLES
   ============================================================ */
.custom-table { border-radius: var(--radius); overflow: hidden; }
.custom-table thead th {
  background: rgba(108,60,247,.15);
  color: var(--primary-light);
  font-weight: 600;
  font-size: .82rem;
  text-transform: uppercase;
  letter-spacing: .04em;
  border: none;
  padding: .9rem 1.1rem;
}
.custom-table tbody tr {
  border-bottom: 1px solid var(--border-color);
  transition: var(--transition);
}
.custom-table tbody tr:hover { background: rgba(108,60,247,.07); }
.custom-table tbody td { color: var(--text-light); font-size: .9rem; padding: .9rem 1.1rem; vertical-align: middle; border: none; }
.table-card {
  background: var(--card-bg);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  overflow: hidden;
}
.table-card-header {
  padding: 1.2rem 1.5rem;
  border-bottom: 1px solid var(--border-color);
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: .8rem;
}
.table-card-header h5 { color: #fff; font-weight: 700; margin: 0; font-size: 1rem; }

/* ============================================================
   MODALS
   ============================================================ */
.modal-content {
  background: var(--dark-3);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  color: #e0e0f0;
}
.modal-header { border-bottom: 1px solid var(--border-color); }
.modal-footer { border-top: 1px solid var(--border-color); }
.modal-title { color: #fff; font-weight: 700; }
.btn-close { filter: invert(1) brightness(1.5); }

/* ============================================================
   GENEALOGY TREE
   ============================================================ */
.tree-container { overflow: auto; padding: 2rem 1rem; min-height: 400px; }
.tree ul { list-style: none; padding: 0; margin: 0; display: flex; gap: 2rem; justify-content: center; }
.tree li { position: relative; padding: 1.5rem .5rem 0; flex: 1; min-width: 110px; max-width: 160px; }
.tree li::before, .tree li::after {
  content: '';
  position: absolute;
  top: 0; left: 50%;
  border-top: 2px solid var(--primary);
  width: 50%; height: 1.5rem;
}
.tree li::after { left: 0; border-left: 2px solid var(--primary); }
.tree li:first-child::before, .tree li:last-child::after { border: none; }
.tree li:last-child::before { border-right: 2px solid var(--primary); border-radius: 0 5px 0 0; }
.tree li:first-child::after { border-radius: 5px 0 0 0; border-left: none; border-right: none; }
.tree li > .tree-node { display: flex; flex-direction: column; align-items: center; }
.tree-node-box {
  border: 1.5px solid var(--primary);
  background: var(--card-bg);
  border-radius: 10px;
  text-align: center;
  padding: .6rem .8rem;
  font-size: .78rem;
  width: 120px;
  cursor: pointer;
  transition: var(--transition);
}
.tree-node-box:hover { border-color: var(--secondary); background: rgba(108,60,247,.15); }
.tree-node-box.active-node { border-color: #10b981; }
.tree-node-box.pending-node { border-color: var(--secondary); opacity: .7; }
.tree-node-id { font-weight: 700; color: var(--primary-light); font-size: .82rem; }
.tree-node-name { color: var(--text-light); word-break: break-word; line-height: 1.2; margin: .2rem 0; }
.tree-node-plan { font-size: .7rem; color: var(--text-muted); }
.tree-node-connector { width: 2px; height: 1.5rem; background: var(--primary); }

/* Empty node (slot) */
.tree-node-box.empty-node {
  border: 1.5px dashed rgba(108,60,247,.4);
  opacity: .5;
  background: rgba(108,60,247,.05);
}

/* ============================================================
   FOOTER (public)
   ============================================================ */
.public-footer {
  background: var(--dark);
  border-top: 1px solid var(--border-color);
  padding: 60px 0 30px;
}
.footer-brand { font-size: 1.5rem; font-weight: 800; color: #fff; }
.footer-brand span { color: var(--secondary); }
.footer-links a { color: var(--text-muted); text-decoration: none; display: block; margin-bottom: .5rem; transition: var(--transition); font-size: .9rem; }
.footer-links a:hover { color: var(--primary-light); padding-left: 4px; }
.footer-social a {
  display: inline-flex; align-items: center; justify-content: center;
  width: 38px; height: 38px;
  border-radius: 50%;
  background: rgba(255,255,255,.07);
  color: var(--text-light);
  text-decoration: none;
  transition: var(--transition);
  font-size: 1rem;
}
.footer-social a:hover { background: var(--primary); color: #fff; transform: translateY(-2px); }
.footer-bottom { border-top: 1px solid var(--border-color); padding-top: 1.5rem; margin-top: 2rem; }

/* ============================================================
   AUTH PAGES (login / register)
   ============================================================ */
.auth-page {
  min-height: 100vh;
  background: linear-gradient(135deg, #0a0a1a 0%, #13132a 50%, #1a0533 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2rem 1rem;
}
.auth-card {
  background: rgba(30,30,53,0.9);
  border: 1px solid var(--border-color);
  backdrop-filter: blur(12px);
  border-radius: var(--radius-lg);
  padding: 2.5rem;
  width: 100%;
  max-width: 480px;
  box-shadow: var(--shadow);
}
.auth-card-wide { max-width: 680px; }
.auth-logo { text-align: center; margin-bottom: 1.5rem; }
.auth-logo-icon { font-size: 3rem; color: var(--primary-light); }
.auth-title { font-size: 1.5rem; font-weight: 800; color: #fff; text-align: center; }
.auth-subtitle { color: var(--text-muted); text-align: center; font-size: .9rem; margin-bottom: 1.8rem; }

/* ============================================================
   BADGES & STATUS
   ============================================================ */
.badge { border-radius: 6px !important; padding: .35em .7em !important; font-weight: 600 !important; }
.badge-active { background: rgba(16,185,129,.15) !important; color: #10b981 !important; border: 1px solid rgba(16,185,129,.3) !important; }
.badge-pending { background: rgba(245,158,11,.15) !important; color: var(--secondary) !important; border: 1px solid rgba(245,158,11,.3) !important; }
.badge-danger { background: rgba(239,68,68,.15) !important; color: #ef4444 !important; border: 1px solid rgba(239,68,68,.3) !important; }

/* ============================================================
   ALERTS
   ============================================================ */
.alert { border-radius: var(--radius) !important; border: none !important; }
.alert-success { background: rgba(16,185,129,.15) !important; color: #34d399 !important; }
.alert-danger  { background: rgba(239,68,68,.15) !important; color: #f87171 !important; }
.alert-warning { background: rgba(245,158,11,.15) !important; color: var(--secondary) !important; }
.alert-info    { background: rgba(59,130,246,.15) !important; color: #60a5fa !important; }

/* ============================================================
   UTILITIES
   ============================================================ */
.bg-card { background: var(--card-bg) !important; }
.border-card { border: 1px solid var(--border-color) !important; }
.text-primary-custom { color: var(--primary-light) !important; }
.text-muted-custom { color: var(--text-muted) !important; }
.rounded-card { border-radius: var(--radius) !important; }
.rounded-lg { border-radius: var(--radius-lg) !important; }
.text-gold { color: var(--secondary) !important; }
.gradient-text {
  background: linear-gradient(90deg, var(--primary-light), var(--secondary));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* ============================================================
   ANIMATIONS
   ============================================================ */
@keyframes fadeInUp { from { opacity:0; transform: translateY(30px); } to { opacity:1; transform: translateY(0); } }
@keyframes fadeInDown { from { opacity:0; transform: translateY(-20px); } to { opacity:1; transform: translateY(0); } }
@keyframes fadeIn { from { opacity:0; } to { opacity:1; } }
@keyframes pulse { 0%,100% { opacity:1; } 50% { opacity:.5; } }
.animate-fade-up { animation: fadeInUp .6s ease forwards; }
.animate-fade-in { animation: fadeIn .5s ease forwards; }

/* ============================================================
   INCOME TYPE BADGES
   ============================================================ */
.income-badge { padding: .3em .75em; border-radius: 100px; font-size: .75rem; font-weight: 700; }
.income-direct  { background: rgba(16,185,129,.15); color: #10b981; }
.income-level   { background: rgba(59,130,246,.15); color: #3b82f6; }
.income-binary  { background: rgba(168,85,247,.15); color: #a855f7; }
.income-matching{ background: rgba(245,158,11,.15); color: var(--secondary); }
.income-reward  { background: rgba(239,68,68,.15); color: #ef4444; }

/* ============================================================
   SEARCH BAR
   ============================================================ */
.search-bar {
  background: rgba(255,255,255,.05);
  border: 1.5px solid var(--border-color);
  border-radius: 10px;
  display: flex;
  align-items: center;
  padding: 0 .8rem;
}
.search-bar input {
  background: transparent; border: none; outline: none;
  color: #e0e0f0; padding: .55rem .5rem; flex: 1; font-size: .9rem;
}
.search-bar i { color: var(--text-muted); }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 767.98px) {
  .page-content { padding: 1rem; }
  .auth-card { padding: 1.8rem 1.4rem; }
  .hero-section { padding: 100px 0 60px; }
  .section-py { padding: 50px 0; }
  .plan-price { font-size: 1.8rem; }
}
