/* ============================================================
   WealthChain — Global Stylesheet
   Stack: Bootstrap 5 + jQuery | No gradients, solid colors
   ============================================================ */

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

/* ─── CSS Variables ─────────────────────────────────────── */
:root {
  --navy:        #0B1D3A;
  --navy-mid:    #152847;
  --navy-light:  #1E3A5F;
  --accent:      #00C896;
  --accent-dark: #009E76;
  --white:       #FFFFFF;
  --offwhite:    #F4F7FB;
  --gray-100:    #EEF1F6;
  --gray-200:    #D8DDE8;
  --gray-400:    #9AA5B8;
  --gray-600:    #5A6478;
  --danger:      #E8394A;
  --warning:     #F59E0B;
  --shadow-sm:   0 2px 8px rgba(11,29,58,0.08);
  --shadow-md:   0 4px 20px rgba(11,29,58,0.12);
  --shadow-lg:   0 8px 32px rgba(11,29,58,0.16);
  --radius:      8px;
  --radius-lg:   14px;
  --transition:  all 0.22s ease;
}

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

body {
  font-family: 'IBM Plex Sans', sans-serif;
  font-size: 15px;
  color: var(--navy);
  background: var(--offwhite);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

h1,h2,h3,h4,h5,h6 {
  font-family: 'Barlow Condensed', sans-serif;
  font-weight: 700;
  letter-spacing: 0.01em;
  line-height: 1.2;
}

a { color: var(--accent); text-decoration: none; transition: var(--transition); }
a:hover { color: var(--accent-dark); }

/* ─── Scrollbar ─────────────────────────────────────────── */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: var(--gray-100); }
::-webkit-scrollbar-thumb { background: var(--gray-200); border-radius: 4px; }

/* ─── Buttons ────────────────────────────────────────────── */
.btn {
  font-family: 'IBM Plex Sans', sans-serif;
  font-weight: 600;
  font-size: 14px;
  letter-spacing: 0.03em;
  border-radius: var(--radius);
  padding: 10px 22px;
  transition: var(--transition);
  border: 2px solid transparent;
}

.btn-primary {
  background: var(--navy);
  color: var(--white);
  border-color: var(--navy);
}
.btn-primary:hover {
  background: var(--navy-light);
  border-color: var(--navy-light);
  color: var(--white);
}

.btn-accent {
  background: var(--accent);
  color: var(--navy);
  border-color: var(--accent);
}
.btn-accent:hover {
  background: var(--accent-dark);
  border-color: var(--accent-dark);
  color: var(--white);
}

.btn-outline-navy {
  background: transparent;
  color: var(--navy);
  border-color: var(--navy);
}
.btn-outline-navy:hover {
  background: var(--navy);
  color: var(--white);
}

.btn-outline-accent {
  background: transparent;
  color: var(--accent);
  border-color: var(--accent);
}
.btn-outline-accent:hover {
  background: var(--accent);
  color: var(--navy);
}

.btn-outline-light {
  background: transparent;
  color: var(--white);
  border-color: rgba(255,255,255,0.5);
}
.btn-outline-light:hover {
  background: var(--white);
  color: var(--navy);
}

.btn-danger {
  background: var(--danger);
  border-color: var(--danger);
  color: var(--white);
}
.btn-danger:hover {
  background: #c42d3b;
  border-color: #c42d3b;
  color: var(--white);
}

.btn-lg { padding: 13px 30px; font-size: 15px; }
.btn-sm { padding: 6px 14px; font-size: 13px; }

/* ─── Public Navbar ─────────────────────────────────────── */
.wc-navbar {
  background: var(--navy);
  padding: 0 0;
  box-shadow: 0 2px 12px rgba(11,29,58,0.3);
  position: sticky;
  top: 0;
  z-index: 1050;
}

.wc-navbar .navbar-brand {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 26px;
  font-weight: 800;
  color: var(--white);
  letter-spacing: 0.04em;
}

.wc-navbar .navbar-brand span {
  color: var(--accent);
}

.wc-navbar .nav-link {
  color: rgba(255,255,255,0.75) !important;
  font-size: 14px;
  font-weight: 500;
  padding: 28px 14px !important;
  transition: var(--transition);
}

.wc-navbar .nav-link:hover,
.wc-navbar .nav-link.active {
  color: var(--white) !important;
  border-bottom: 2px solid var(--accent);
}

.wc-navbar .navbar-toggler {
  border-color: rgba(255,255,255,0.3);
  padding: 6px 10px;
}
.wc-navbar .navbar-toggler-icon {
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba%28255,255,255,0.75%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

/* ─── Dashboard Layout ───────────────────────────────────── */
.dash-wrapper { display: flex; min-height: 100vh; }

/* Sidebar */
.sidebar {
  width: 260px;
  min-width: 260px;
  background: var(--navy);
  display: flex;
  flex-direction: column;
  position: fixed;
  top: 0; left: 0;
  height: 100vh;
  overflow-y: auto;
  z-index: 1040;
  transition: transform 0.28s ease;
}

.sidebar-brand {
  padding: 24px 24px 16px;
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 28px;
  font-weight: 800;
  color: var(--white);
  letter-spacing: 0.04em;
  border-bottom: 1px solid rgba(255,255,255,0.08);
  text-decoration: none;
  display: block;
}

.sidebar-brand span { color: var(--accent); }

.sidebar-user {
  padding: 16px 24px;
  display: flex;
  align-items: center;
  gap: 12px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}

.sidebar-avatar {
  width: 40px; height: 40px;
  background: var(--navy-light);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 18px;
  color: var(--accent);
  flex-shrink: 0;
}

.sidebar-user-info .name {
  font-size: 14px;
  font-weight: 600;
  color: var(--white);
  line-height: 1.2;
}

.sidebar-user-info .role {
  font-size: 12px;
  color: var(--gray-400);
}

.sidebar-nav { padding: 16px 0; flex: 1; }

.sidebar-section {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gray-400);
  padding: 12px 24px 6px;
}

.sidebar-link {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 11px 24px;
  color: rgba(255,255,255,0.65);
  font-size: 14px;
  font-weight: 500;
  transition: var(--transition);
  text-decoration: none;
  border-left: 3px solid transparent;
  position: relative;
}

.sidebar-link i { font-size: 18px; flex-shrink: 0; }

.sidebar-link:hover {
  color: var(--white);
  background: rgba(255,255,255,0.05);
  border-left-color: var(--accent);
}

.sidebar-link.active {
  color: var(--white);
  background: rgba(0,200,150,0.1);
  border-left-color: var(--accent);
}

.sidebar-link .badge-count {
  margin-left: auto;
  background: var(--accent);
  color: var(--navy);
  font-size: 10px;
  font-weight: 700;
  padding: 2px 7px;
  border-radius: 10px;
}

.sidebar-footer {
  padding: 16px 24px;
  border-top: 1px solid rgba(255,255,255,0.08);
}

.sidebar-footer a {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--gray-400);
  font-size: 13px;
  transition: var(--transition);
}

.sidebar-footer a:hover { color: var(--danger); }

/* Sidebar overlay for mobile */
.sidebar-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.5);
  z-index: 1039;
}

/* Main content */
.dash-main {
  margin-left: 260px;
  flex: 1;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  transition: margin-left 0.28s ease;
}

.dash-topbar {
  background: var(--white);
  padding: 16px 28px;
  display: flex;
  align-items: center;
  gap: 16px;
  border-bottom: 1px solid var(--gray-200);
  box-shadow: var(--shadow-sm);
  position: sticky;
  top: 0;
  z-index: 100;
}

.topbar-toggle {
  background: none;
  border: none;
  font-size: 22px;
  color: var(--navy);
  cursor: pointer;
  padding: 4px;
  display: none;
  line-height: 1;
}

.topbar-title {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 22px;
  font-weight: 700;
  color: var(--navy);
  margin: 0;
}

.topbar-right { margin-left: auto; display: flex; align-items: center; gap: 16px; }

.topbar-notif {
  position: relative;
  font-size: 20px;
  color: var(--gray-600);
  cursor: pointer;
  transition: var(--transition);
}
.topbar-notif:hover { color: var(--navy); }
.notif-dot {
  position: absolute; top: -2px; right: -2px;
  width: 8px; height: 8px;
  background: var(--accent);
  border-radius: 50%;
  border: 2px solid var(--white);
}

.topbar-avatar {
  width: 36px; height: 36px;
  background: var(--navy);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  color: var(--accent);
  font-size: 16px;
  cursor: pointer;
}

.dash-content {
  padding: 28px;
  flex: 1;
}

/* ─── Cards ─────────────────────────────────────────────── */
.wc-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--gray-200);
  transition: var(--transition);
}

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

.wc-card .card-header {
  background: none;
  border-bottom: 1px solid var(--gray-200);
  padding: 18px 24px;
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 18px;
  font-weight: 700;
  color: var(--navy);
}

.wc-card .card-body { padding: 24px; }

/* Stat Cards */
.stat-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 24px;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--gray-200);
  display: flex;
  align-items: flex-start;
  gap: 16px;
  transition: var(--transition);
}

.stat-card:hover { box-shadow: var(--shadow-md); transform: translateY(-2px); }

.stat-icon {
  width: 52px; height: 52px;
  border-radius: var(--radius);
  display: flex; align-items: center; justify-content: center;
  font-size: 24px;
  flex-shrink: 0;
}

.stat-icon.navy { background: var(--navy); color: var(--white); }
.stat-icon.accent { background: var(--accent); color: var(--navy); }
.stat-icon.warning { background: var(--warning); color: var(--white); }
.stat-icon.danger { background: var(--danger); color: var(--white); }

.stat-info .label {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--gray-600);
  margin-bottom: 4px;
}

.stat-info .value {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 30px;
  font-weight: 700;
  color: var(--navy);
  line-height: 1;
  margin-bottom: 4px;
}

.stat-info .change {
  font-size: 12px;
  font-weight: 500;
}

.change.positive { color: var(--accent); }
.change.negative { color: var(--danger); }

/* Plan Cards */
.plan-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--gray-200);
  overflow: hidden;
  transition: var(--transition);
  height: 100%;
}

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

.plan-card.featured {
  border-color: var(--accent);
  border-width: 2px;
}

.plan-header {
  background: var(--navy);
  padding: 24px;
  text-align: center;
  position: relative;
}

.plan-card.featured .plan-header { background: var(--navy-light); }

.plan-badge {
  position: absolute;
  top: 12px; right: 12px;
  background: var(--accent);
  color: var(--navy);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 3px 10px;
  border-radius: 4px;
}

.plan-name {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 22px;
  font-weight: 800;
  color: var(--white);
  letter-spacing: 0.04em;
  margin-bottom: 8px;
}

.plan-roi {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 48px;
  font-weight: 700;
  color: var(--accent);
  line-height: 1;
}

.plan-roi span { font-size: 20px; }

.plan-period {
  font-size: 13px;
  color: rgba(255,255,255,0.6);
  margin-top: 4px;
}

.plan-body { padding: 24px; }

.plan-feature {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 0;
  border-bottom: 1px solid var(--gray-100);
  font-size: 14px;
  color: var(--gray-600);
}

.plan-feature:last-child { border-bottom: none; }
.plan-feature i { color: var(--accent); font-size: 15px; flex-shrink: 0; }
.plan-feature strong { color: var(--navy); }

/* ─── Tables ─────────────────────────────────────────────── */
.wc-table {
  width: 100%;
  border-collapse: collapse;
}

.wc-table th {
  font-family: 'IBM Plex Sans', sans-serif;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gray-600);
  padding: 12px 16px;
  background: var(--gray-100);
  border-bottom: 2px solid var(--gray-200);
  white-space: nowrap;
}

.wc-table td {
  padding: 14px 16px;
  font-size: 14px;
  color: var(--navy);
  border-bottom: 1px solid var(--gray-100);
  vertical-align: middle;
}

.wc-table tbody tr:hover { background: var(--offwhite); }
.wc-table tbody tr:last-child td { border-bottom: none; }

/* Status badges */
.status-badge {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 12px;
  font-weight: 600;
  padding: 4px 10px;
  border-radius: 20px;
  white-space: nowrap;
}

.status-badge.success { background: rgba(0,200,150,0.12); color: var(--accent-dark); }
.status-badge.pending { background: rgba(245,158,11,0.12); color: #B45309; }
.status-badge.failed  { background: rgba(232,57,74,0.12);  color: var(--danger); }

.status-badge::before {
  content: '';
  width: 6px; height: 6px;
  border-radius: 50%;
  background: currentColor;
  display: inline-block;
}

/* Type badges */
.type-badge {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  padding: 3px 10px;
  border-radius: 4px;
}

.type-badge.deposit    { background: rgba(0,200,150,0.1); color: var(--accent-dark); }
.type-badge.withdrawal { background: rgba(232,57,74,0.1); color: var(--danger); }
.type-badge.investment { background: rgba(11,29,58,0.08); color: var(--navy); }
.type-badge.earning    { background: rgba(245,158,11,0.1); color: #92400E; }

/* ─── Forms ─────────────────────────────────────────────── */
.form-label {
  font-size: 13px;
  font-weight: 600;
  color: var(--gray-600);
  margin-bottom: 6px;
  letter-spacing: 0.03em;
}

.form-control, .form-select {
  border: 1.5px solid var(--gray-200);
  border-radius: var(--radius);
  padding: 11px 14px;
  font-size: 14px;
  color: var(--navy);
  background: var(--white);
  transition: var(--transition);
  font-family: 'IBM Plex Sans', sans-serif;
}

.form-control:focus, .form-select:focus {
  border-color: var(--navy);
  box-shadow: 0 0 0 3px rgba(11,29,58,0.08);
  outline: none;
}

.form-control::placeholder { color: var(--gray-400); }

.input-group-text {
  background: var(--gray-100);
  border: 1.5px solid var(--gray-200);
  color: var(--gray-600);
  font-weight: 600;
}

/* ─── Auth Pages ─────────────────────────────────────────── */
.auth-wrapper {
  min-height: 100vh;
  display: flex;
  background: var(--navy);
}

.auth-left {
  flex: 1;
  background: var(--navy-mid);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 60px 40px;
  border-right: 1px solid rgba(255,255,255,0.06);
}

.auth-right {
  flex: 0 0 480px;
  background: var(--white);
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 60px 50px;
  overflow-y: auto;
}

.auth-logo {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 40px;
  font-weight: 800;
  color: var(--white);
  letter-spacing: 0.06em;
  margin-bottom: 8px;
}

.auth-logo span { color: var(--accent); }

.auth-tagline {
  font-size: 15px;
  color: rgba(255,255,255,0.55);
  max-width: 320px;
  text-align: center;
  line-height: 1.6;
}

.auth-feature {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px 0;
  border-bottom: 1px solid rgba(255,255,255,0.07);
  width: 100%;
  max-width: 320px;
}

.auth-feature:last-child { border-bottom: none; }
.auth-feature i { font-size: 22px; color: var(--accent); flex-shrink: 0; }
.auth-feature .text .title { font-size: 14px; font-weight: 600; color: var(--white); }
.auth-feature .text .desc { font-size: 12px; color: rgba(255,255,255,0.5); }

/* ─── Hero ─────────────────────────────────────────────── */
.hero {
  background: var(--navy);
  padding: 100px 0 80px;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: -60px; right: -60px;
  width: 400px; height: 400px;
  background: rgba(0,200,150,0.04);
  border-radius: 50%;
  border: 80px solid rgba(0,200,150,0.06);
}

.hero-eyebrow {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.hero-eyebrow::before {
  content: '';
  display: inline-block;
  width: 28px;
  height: 2px;
  background: var(--accent);
}

.hero h1 {
  font-size: clamp(48px, 7vw, 82px);
  font-weight: 800;
  color: var(--white);
  line-height: 1.05;
  margin-bottom: 20px;
}

.hero h1 em {
  font-style: normal;
  color: var(--accent);
}

.hero p {
  font-size: 17px;
  color: rgba(255,255,255,0.65);
  max-width: 520px;
  margin-bottom: 36px;
  line-height: 1.7;
}

.hero-metrics {
  display: flex;
  gap: 32px;
  margin-top: 48px;
  padding-top: 32px;
  border-top: 1px solid rgba(255,255,255,0.1);
}

.hero-metric .val {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 36px;
  font-weight: 700;
  color: var(--white);
}

.hero-metric .lbl {
  font-size: 12px;
  color: rgba(255,255,255,0.5);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.hero-graphic {
  position: relative;
  padding: 20px;
}

.hero-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 24px;
  box-shadow: var(--shadow-lg);
  margin-bottom: 16px;
  transition: var(--transition);
}

.hero-card:hover { transform: translateX(4px); }

.hero-card .title {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--gray-600);
  margin-bottom: 6px;
}

.hero-card .amount {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 28px;
  font-weight: 700;
  color: var(--navy);
}

.hero-card .change {
  font-size: 13px;
  color: var(--accent);
  font-weight: 600;
}

/* ─── Section Headers ────────────────────────────────────── */
.section-header { margin-bottom: 48px; }

.section-eyebrow {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 8px;
}

.section-title {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: clamp(32px, 5vw, 48px);
  font-weight: 800;
  color: var(--navy);
  line-height: 1.1;
  margin-bottom: 12px;
}

.section-subtitle {
  font-size: 16px;
  color: var(--gray-600);
  max-width: 540px;
  line-height: 1.6;
}

/* ─── Feature Cards ─────────────────────────────────────── */
.feature-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 32px;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--gray-200);
  height: 100%;
  transition: var(--transition);
}

.feature-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-4px);
  border-color: var(--accent);
}

.feature-icon {
  width: 56px; height: 56px;
  background: var(--navy);
  border-radius: var(--radius);
  display: flex; align-items: center; justify-content: center;
  font-size: 26px;
  color: var(--accent);
  margin-bottom: 20px;
}

.feature-card h4 {
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 10px;
  color: var(--navy);
}

.feature-card p { font-size: 14px; color: var(--gray-600); line-height: 1.7; margin: 0; }

/* ─── Testimonial Cards ─────────────────────────────────── */
.testi-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 28px;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--gray-200);
  height: 100%;
}

.testi-stars { color: var(--warning); font-size: 14px; margin-bottom: 12px; }

.testi-text {
  font-size: 14px;
  color: var(--gray-600);
  line-height: 1.7;
  font-style: italic;
  margin-bottom: 20px;
}

.testi-author { display: flex; align-items: center; gap: 12px; }
.testi-avatar { width: 42px; height: 42px; border-radius: 50%; background: var(--navy); display: flex; align-items: center; justify-content: center; color: var(--accent); font-weight: 700; font-size: 15px; }
.testi-name { font-size: 14px; font-weight: 700; color: var(--navy); }
.testi-location { font-size: 12px; color: var(--gray-400); }

/* ─── Footer ─────────────────────────────────────────────── */
.wc-footer {
  background: var(--navy);
  padding: 64px 0 0;
  color: rgba(255,255,255,0.65);
}

.footer-brand {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 28px;
  font-weight: 800;
  color: var(--white);
  margin-bottom: 12px;
}

.footer-brand span { color: var(--accent); }

.footer-desc { font-size: 14px; line-height: 1.7; max-width: 260px; }

.footer-heading {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--white);
  margin-bottom: 20px;
}

.footer-links { list-style: none; padding: 0; margin: 0; }
.footer-links li { margin-bottom: 10px; }
.footer-links a {
  font-size: 14px;
  color: rgba(255,255,255,0.55);
  transition: var(--transition);
}
.footer-links a:hover { color: var(--accent); padding-left: 4px; }

.footer-contact { font-size: 14px; line-height: 1.9; }
.footer-contact i { color: var(--accent); margin-right: 8px; }

.footer-bottom {
  margin-top: 48px;
  padding: 20px 0;
  border-top: 1px solid rgba(255,255,255,0.08);
  font-size: 13px;
  color: rgba(255,255,255,0.35);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.footer-social { display: flex; gap: 12px; }
.footer-social a {
  width: 34px; height: 34px;
  background: rgba(255,255,255,0.06);
  border-radius: 6px;
  display: flex; align-items: center; justify-content: center;
  color: rgba(255,255,255,0.55);
  font-size: 15px;
  transition: var(--transition);
}
.footer-social a:hover { background: var(--accent); color: var(--navy); }

/* ─── Sections ───────────────────────────────────────────── */
.section { padding: 80px 0; }
.section-dark { background: var(--navy); }
.section-gray { background: var(--gray-100); }

/* ─── Alert/Notice ───────────────────────────────────────── */
.notice {
  border-radius: var(--radius);
  padding: 14px 18px;
  font-size: 14px;
  display: flex;
  align-items: flex-start;
  gap: 12px;
}

.notice-info { background: rgba(11,29,58,0.06); border-left: 3px solid var(--navy); }
.notice-success { background: rgba(0,200,150,0.08); border-left: 3px solid var(--accent); }
.notice-warning { background: rgba(245,158,11,0.08); border-left: 3px solid var(--warning); }

.notice i { font-size: 18px; flex-shrink: 0; margin-top: 1px; }
.notice-info i { color: var(--navy); }
.notice-success i { color: var(--accent); }
.notice-warning i { color: var(--warning); }

/* ─── Misc ───────────────────────────────────────────────── */
.divider {
  border: none;
  height: 1px;
  background: var(--gray-200);
  margin: 24px 0;
}

.text-accent { color: var(--accent) !important; }
.text-navy  { color: var(--navy) !important; }
.bg-navy    { background: var(--navy) !important; }
.bg-accent  { background: var(--accent) !important; }

.page-title {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 28px;
  font-weight: 800;
  color: var(--navy);
  margin: 0;
}

.breadcrumb-item, .breadcrumb-item a {
  font-size: 13px;
  color: var(--gray-600);
}

.breadcrumb-item.active { color: var(--navy); font-weight: 600; }

/* ─── Payment Method Cards ─────────────────────────────── */
.pay-method {
  border: 2px solid var(--gray-200);
  border-radius: var(--radius);
  padding: 16px 20px;
  cursor: pointer;
  transition: var(--transition);
  display: flex; align-items: center; gap: 14px;
}

.pay-method:hover { border-color: var(--navy); }
.pay-method.selected { border-color: var(--accent); background: rgba(0,200,150,0.05); }
.pay-method i { font-size: 26px; color: var(--navy); }
.pay-method .name { font-weight: 600; font-size: 14px; color: var(--navy); }
.pay-method .desc { font-size: 12px; color: var(--gray-400); }

/* ─── Payment Instructions ─────────────────────────────── */
.payment-instructions {
  display: none;
  background: var(--offwhite);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius);
  padding: 20px;
  margin-top: 16px;
}

.copy-box {
  display: flex;
  align-items: center;
  background: var(--white);
  border: 1.5px solid var(--gray-200);
  border-radius: var(--radius);
  overflow: hidden;
  margin: 8px 0;
}

.copy-box .value {
  flex: 1;
  padding: 10px 14px;
  font-size: 13px;
  font-family: monospace;
  color: var(--navy);
  word-break: break-all;
}

.copy-box .copy-btn {
  background: var(--navy);
  color: var(--white);
  border: none;
  padding: 10px 14px;
  cursor: pointer;
  font-size: 14px;
  transition: var(--transition);
  flex-shrink: 0;
}
.copy-box .copy-btn:hover { background: var(--accent); color: var(--navy); }

/* ─── Referral Link Box ──────────────────────────────────── */
.referral-link-box {
  background: var(--navy);
  border-radius: var(--radius-lg);
  padding: 32px;
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}

.referral-link-box .link-text {
  flex: 1;
  font-size: 14px;
  color: rgba(255,255,255,0.7);
  word-break: break-all;
  min-width: 200px;
  font-family: monospace;
}

/* ─── Progress bar ───────────────────────────────────────── */
.wc-progress { height: 6px; background: var(--gray-200); border-radius: 10px; overflow: hidden; }
.wc-progress-bar { height: 100%; background: var(--accent); border-radius: 10px; transition: width 0.6s ease; }

/* ─── Quick Action Buttons ──────────────────────────────── */
.quick-action {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  padding: 16px 12px;
  background: var(--white);
  border: 2px solid var(--gray-200);
  border-radius: var(--radius);
  cursor: pointer;
  transition: var(--transition);
  text-decoration: none;
  color: var(--navy);
  font-size: 13px;
  font-weight: 600;
  text-align: center;
}

.quick-action i { font-size: 26px; color: var(--navy); }
.quick-action:hover { border-color: var(--accent); color: var(--navy); transform: translateY(-2px); }
.quick-action:hover i { color: var(--accent); }

/* ─── Responsive ─────────────────────────────────────────── */
@media (max-width: 991px) {
  .sidebar {
    transform: translateX(-100%);
  }

  .sidebar.show {
    transform: translateX(0);
  }

  .sidebar-overlay.show { display: block; }

  .dash-main {
    margin-left: 0;
  }

  .topbar-toggle { display: block; }

  .auth-left { display: none; }
  .auth-right {
    flex: 1;
    padding: 40px 28px;
  }

  .hero-metrics { flex-wrap: wrap; gap: 20px; }
}

@media (max-width: 767px) {
  .dash-content { padding: 20px 16px; }
  .hero { padding: 70px 0 60px; }
  .section { padding: 60px 0; }
  .hero-graphic { display: none; }
  .footer-bottom { flex-direction: column; gap: 12px; text-align: center; }
  .referral-link-box { flex-direction: column; align-items: flex-start; }
}

/* ─── Animations ─────────────────────────────────────────── */
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(20px); }
  to   { opacity: 1; transform: translateY(0); }
}

.fade-in-up {
  animation: fadeInUp 0.5s ease forwards;
}

.fade-in-up:nth-child(1) { animation-delay: 0.05s; }
.fade-in-up:nth-child(2) { animation-delay: 0.12s; }
.fade-in-up:nth-child(3) { animation-delay: 0.19s; }
.fade-in-up:nth-child(4) { animation-delay: 0.26s; }

/* ─── Modal overrides ────────────────────────────────────── */
.modal-content {
  border-radius: var(--radius-lg);
  border: none;
  box-shadow: var(--shadow-lg);
}

.modal-header {
  background: var(--navy);
  color: var(--white);
  border-radius: var(--radius-lg) var(--radius-lg) 0 0;
  border-bottom: none;
  padding: 20px 24px;
}

.modal-title {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 20px;
  font-weight: 700;
}

.modal-header .btn-close {
  filter: invert(1) opacity(0.7);
}

.modal-body { padding: 24px; }
.modal-footer { padding: 16px 24px; border-top: 1px solid var(--gray-200); }

/* ─── Filter tabs ────────────────────────────────────────── */
.filter-tabs {
  display: flex;
  gap: 4px;
  background: var(--gray-100);
  padding: 4px;
  border-radius: var(--radius);
  width: fit-content;
  flex-wrap: wrap;
}

.filter-tab {
  padding: 7px 16px;
  border-radius: calc(var(--radius) - 2px);
  font-size: 13px;
  font-weight: 600;
  color: var(--gray-600);
  cursor: pointer;
  transition: var(--transition);
  border: none;
  background: none;
  white-space: nowrap;
}

.filter-tab.active, .filter-tab:hover {
  background: var(--white);
  color: var(--navy);
  box-shadow: var(--shadow-sm);
}

.filter-tab.active { color: var(--navy); }

/* ─── Team card ──────────────────────────────────────────── */
.team-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 32px 24px;
  text-align: center;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--gray-200);
  transition: var(--transition);
}

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

.team-avatar {
  width: 80px; height: 80px;
  border-radius: 50%;
  background: var(--navy);
  display: flex; align-items: center; justify-content: center;
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 30px;
  font-weight: 700;
  color: var(--accent);
  margin: 0 auto 16px;
}

.team-name { font-size: 18px; font-weight: 700; color: var(--navy); margin-bottom: 4px; }
.team-role { font-size: 13px; color: var(--accent); font-weight: 600; margin-bottom: 8px; text-transform: uppercase; letter-spacing: 0.06em; }
.team-bio { font-size: 13px; color: var(--gray-600); line-height: 1.6; }

/* ─── Stats strip ────────────────────────────────────────── */
.stats-strip {
  background: var(--navy);
  padding: 40px 0;
  border-top: 1px solid rgba(255,255,255,0.06);
  border-bottom: 1px solid rgba(255,255,255,0.06);
}

.stats-strip .stat-item { text-align: center; }
.stats-strip .stat-num {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 42px;
  font-weight: 800;
  color: var(--accent);
  line-height: 1;
  margin-bottom: 4px;
}

.stats-strip .stat-lbl {
  font-size: 13px;
  color: rgba(255,255,255,0.55);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}