/* ============================================================
   GamerVault – Neumorphism + Skeuomorphism Design System
   ============================================================ */

:root {
  --bg: #1a1d2e;
  --bg2: #1e2235;
  --bg3: #222640;
  --surface: #242840;
  --surface2: #2a2f4a;
  --surface3: #303560;

  --neu-shadow-dark:  #11131f;
  --neu-shadow-light: #2d3255;

  --gold:    #f5c842;
  --gold2:   #e8a800;
  --gold-glow: rgba(245,200,66,0.18);

  --accent:  #7c6af7;
  --accent2: #5c4bd4;
  --green:   #2ecc71;
  --red:     #e74c3c;
  --orange:  #e67e22;
  --blue:    #3498db;

  --text:      #e8eaf6;
  --text2:     #9ba3c7;
  --text3:     #5c6490;

  --border:    rgba(255,255,255,0.06);
  --border2:   rgba(255,255,255,0.12);

  --radius:    14px;
  --radius-sm: 8px;
  --radius-lg: 22px;

  --transition: 0.22s cubic-bezier(.4,0,.2,1);
  --font: 'Segoe UI', system-ui, -apple-system, sans-serif;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: var(--font);
  background: var(--bg);
  color: var(--text);
  font-size: 15px;
  line-height: 1.6;
  min-height: 100vh;
}

/* ── Neumorphism Mixins ─────────────────────────────────── */
.neu {
  background: var(--surface);
  box-shadow:
    6px 6px 16px var(--neu-shadow-dark),
   -4px -4px 12px var(--neu-shadow-light);
  border-radius: var(--radius);
  border: 1px solid var(--border);
}

.neu-inset {
  background: var(--bg2);
  box-shadow:
    inset 4px 4px 10px var(--neu-shadow-dark),
    inset -3px -3px 8px var(--neu-shadow-light);
  border-radius: var(--radius-sm);
  border: 1px solid var(--border);
}

.neu-lg {
  background: var(--surface);
  box-shadow:
    10px 10px 28px var(--neu-shadow-dark),
   -6px -6px 20px var(--neu-shadow-light);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
}

/* ── Skeuomorphic Card ──────────────────────────────────── */
.card-sku {
  background: linear-gradient(145deg, var(--surface2) 0%, var(--surface) 60%, #1e2035 100%);
  border: 1px solid var(--border2);
  border-top-color: rgba(255,255,255,0.18);
  border-left-color: rgba(255,255,255,0.10);
  border-radius: var(--radius);
  box-shadow:
    0 2px 0 rgba(255,255,255,0.04) inset,
    0 -1px 0 rgba(0,0,0,0.5) inset,
    6px 8px 24px rgba(0,0,0,0.5),
    0 1px 0 rgba(255,255,255,0.04);
  position: relative;
  overflow: hidden;
}
.card-sku::before {
  content:'';
  position:absolute; top:0; left:0; right:0; height:1px;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.15), transparent);
}

/* ── Gold Button (Skeuomorphic) ─────────────────────────── */
.btn-gold {
  display: inline-flex; align-items: center; gap: 7px;
  padding: 11px 24px;
  background: linear-gradient(145deg, #f5d060, #e8a800, #c87f00);
  color: #1a1200;
  font-weight: 700;
  font-size: 14px;
  border: none;
  border-radius: var(--radius-sm);
  cursor: pointer;
  text-decoration: none;
  box-shadow:
    0 1px 0 rgba(255,255,255,0.4) inset,
    0 -1px 0 rgba(0,0,0,0.4) inset,
    0 4px 14px rgba(200,127,0,0.45),
    0 1px 3px rgba(0,0,0,0.5);
  transition: var(--transition);
  position: relative;
  overflow: hidden;
  letter-spacing: 0.3px;
}
.btn-gold::before {
  content:''; position:absolute; top:0; left:-100%; width:100%; height:100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
  transition: left 0.4s;
}
.btn-gold:hover { transform: translateY(-1px); box-shadow: 0 6px 20px rgba(200,127,0,0.6), 0 1px 3px rgba(0,0,0,0.5); }
.btn-gold:hover::before { left: 100%; }
.btn-gold:active { transform: translateY(1px); box-shadow: 0 2px 8px rgba(200,127,0,0.4); }

/* ── Accent Button ──────────────────────────────────────── */
.btn-accent {
  display: inline-flex; align-items: center; gap: 7px;
  padding: 11px 24px;
  background: linear-gradient(145deg, #8f7ef9, #7c6af7, #5c4bd4);
  color: #fff;
  font-weight: 600; font-size: 14px;
  border: none; border-radius: var(--radius-sm);
  cursor: pointer; text-decoration: none;
  box-shadow:
    0 1px 0 rgba(255,255,255,0.25) inset,
    0 4px 16px rgba(92,75,212,0.5);
  transition: var(--transition);
}
.btn-accent:hover { transform: translateY(-1px); box-shadow: 0 6px 22px rgba(92,75,212,0.65); }
.btn-accent:active { transform: translateY(1px); }

/* ── Ghost Button ───────────────────────────────────────── */
.btn-ghost {
  display: inline-flex; align-items: center; gap: 7px;
  padding: 10px 22px;
  background: transparent;
  color: var(--text2);
  font-weight: 500; font-size: 14px;
  border: 1px solid var(--border2);
  border-radius: var(--radius-sm);
  cursor: pointer; text-decoration: none;
  transition: var(--transition);
}
.btn-ghost:hover { background: var(--surface2); color: var(--text); border-color: var(--accent); }

/* ── Forms ──────────────────────────────────────────────── */
.form-group { margin-bottom: 18px; }
.form-label { display: block; font-size: 13px; font-weight: 600; color: var(--text2); margin-bottom: 7px; letter-spacing: 0.5px; text-transform: uppercase; }
.form-control {
  width: 100%; padding: 12px 16px;
  background: var(--bg2);
  color: var(--text);
  border: 1px solid var(--border2);
  border-radius: var(--radius-sm);
  font-size: 14px;
  font-family: var(--font);
  outline: none;
  transition: var(--transition);
  box-shadow: inset 2px 2px 6px var(--neu-shadow-dark), inset -1px -1px 4px var(--neu-shadow-light);
}
.form-control:focus { border-color: var(--accent); box-shadow: inset 2px 2px 6px var(--neu-shadow-dark), 0 0 0 3px rgba(124,106,247,0.2); }
.form-control::placeholder { color: var(--text3); }
select.form-control { cursor: pointer; appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%239ba3c7' stroke-width='1.5' fill='none' stroke-linecap='round'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 14px center; padding-right: 38px; }
textarea.form-control { resize: vertical; min-height: 100px; }

/* ── Layout ─────────────────────────────────────────────── */
.container { max-width: 1240px; margin: 0 auto; padding: 0 20px; }
.container-narrow { max-width: 760px; margin: 0 auto; padding: 0 20px; }
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.grid-3 { display: grid; grid-template-columns: repeat(3,1fr); gap: 20px; }
.grid-4 { display: grid; grid-template-columns: repeat(4,1fr); gap: 18px; }
@media(max-width:900px){ .grid-3,.grid-4{ grid-template-columns:1fr 1fr; } }
@media(max-width:600px){ .grid-2,.grid-3,.grid-4{ grid-template-columns:1fr; } }

/* ── Navbar ─────────────────────────────────────────────── */
.navbar {
  position: sticky; top: 0; z-index: 1000;
  background: rgba(26,29,46,0.92);
  backdrop-filter: blur(18px);
  border-bottom: 1px solid var(--border2);
  box-shadow: 0 4px 24px rgba(0,0,0,0.4);
}
.navbar-inner {
  display: flex; align-items: center; gap: 20px;
  height: 64px; padding: 0 24px; max-width: 1240px; margin: 0 auto;
}
.navbar-logo {
  display: flex; align-items: center; gap: 10px;
  font-size: 20px; font-weight: 800; text-decoration: none;
  background: linear-gradient(135deg, var(--gold), var(--accent));
  -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text;
  flex-shrink: 0;
}
.navbar-logo svg { flex-shrink: 0; }
.navbar-nav { display: flex; align-items: center; gap: 4px; flex: 1; }
.navbar-nav a {
  padding: 7px 13px; font-size: 13px; font-weight: 500;
  color: var(--text2); text-decoration: none; border-radius: var(--radius-sm);
  transition: var(--transition); white-space: nowrap;
}
.navbar-nav a:hover, .navbar-nav a.active { color: var(--text); background: var(--surface2); }
.navbar-actions { display: flex; align-items: center; gap: 10px; flex-shrink: 0; }
.navbar-avatar {
  width: 36px; height: 36px; border-radius: 50%;
  background: linear-gradient(135deg, var(--accent), var(--gold));
  display: flex; align-items: center; justify-content: center;
  font-size: 14px; font-weight: 700; color: #fff;
  cursor: pointer; border: 2px solid var(--border2);
  text-decoration: none;
}
.nav-notif {
  position: relative; width: 36px; height: 36px;
  display: flex; align-items: center; justify-content: center;
  background: var(--surface2); border-radius: 50%;
  color: var(--text2); cursor: pointer; text-decoration: none;
  transition: var(--transition); font-size: 17px;
}
.nav-notif:hover { background: var(--surface3); color: var(--text); }
.notif-dot {
  position: absolute; top: 5px; right: 5px;
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--red); border: 2px solid var(--bg);
}

/* ── Hero ───────────────────────────────────────────────── */
.hero {
  padding: 80px 0 60px;
  text-align: center;
  background:
    radial-gradient(ellipse 70% 50% at 50% -10%, rgba(124,106,247,0.18), transparent),
    radial-gradient(ellipse 40% 30% at 80% 90%, rgba(245,200,66,0.10), transparent);
}
.hero-eyebrow {
  display: inline-flex; align-items: center; gap: 7px;
  background: var(--surface2); border: 1px solid var(--border2);
  padding: 5px 14px; border-radius: 20px;
  font-size: 12px; font-weight: 600; color: var(--gold);
  letter-spacing: 1px; text-transform: uppercase;
  margin-bottom: 22px;
}
.hero h1 {
  font-size: clamp(32px,5vw,60px); font-weight: 900;
  line-height: 1.1; margin-bottom: 18px;
}
.hero h1 span {
  background: linear-gradient(135deg, var(--gold), var(--accent));
  -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text;
}
.hero p { font-size: 17px; color: var(--text2); max-width: 540px; margin: 0 auto 32px; line-height: 1.7; }
.hero-actions { display: flex; align-items: center; justify-content: center; gap: 14px; flex-wrap: wrap; }
.hero-stats { display: flex; align-items: center; justify-content: center; gap: 32px; margin-top: 48px; flex-wrap: wrap; }
.hero-stat { text-align: center; }
.hero-stat-num { font-size: 28px; font-weight: 800; color: var(--gold); }
.hero-stat-label { font-size: 12px; color: var(--text2); text-transform: uppercase; letter-spacing: 0.5px; margin-top: 2px; }

/* ── Game Category Tabs ─────────────────────────────────── */
.cat-tabs { display: flex; gap: 8px; overflow-x: auto; padding-bottom: 4px; margin-bottom: 24px; scrollbar-width: none; }
.cat-tabs::-webkit-scrollbar { display: none; }
.cat-tab {
  display: flex; align-items: center; gap: 7px; white-space: nowrap;
  padding: 8px 16px; font-size: 13px; font-weight: 500;
  background: var(--surface); border: 1px solid var(--border2);
  color: var(--text2); border-radius: 20px; cursor: pointer;
  transition: var(--transition); text-decoration: none;
}
.cat-tab:hover, .cat-tab.active {
  background: var(--accent); border-color: var(--accent);
  color: #fff;
  box-shadow: 0 4px 14px rgba(92,75,212,0.4);
}

/* ── Listing Card ───────────────────────────────────────── */
.listing-card {
  display: block; text-decoration: none; color: inherit;
  border-radius: var(--radius);
  transition: var(--transition);
  overflow: hidden;
}
.listing-card:hover { transform: translateY(-4px); }
.listing-card:hover .listing-card-inner { box-shadow: 10px 12px 32px var(--neu-shadow-dark), -4px -4px 16px var(--neu-shadow-light), 0 0 0 1px rgba(124,106,247,0.3); }
.listing-card-inner {
  background: linear-gradient(145deg, var(--surface2), var(--surface), #1e2035);
  border: 1px solid var(--border2);
  border-top-color: rgba(255,255,255,0.14);
  border-radius: var(--radius);
  box-shadow: 6px 8px 20px var(--neu-shadow-dark), -3px -3px 10px var(--neu-shadow-light);
  overflow: hidden;
  position: relative;
}
.listing-badge {
  position: absolute; top: 10px; left: 10px;
  padding: 3px 8px; border-radius: 6px; font-size: 11px; font-weight: 700;
  text-transform: uppercase; letter-spacing: 0.5px;
  backdrop-filter: blur(4px);
}
.badge-gold { background: rgba(245,200,66,0.2); color: var(--gold); border: 1px solid rgba(245,200,66,0.3); }
.badge-green { background: rgba(46,204,113,0.15); color: var(--green); border: 1px solid rgba(46,204,113,0.25); }
.badge-accent { background: rgba(124,106,247,0.2); color: #a59bf9; border: 1px solid rgba(124,106,247,0.3); }
.badge-red { background: rgba(231,76,60,0.15); color: #f0897c; border: 1px solid rgba(231,76,60,0.25); }
.listing-game-banner {
  height: 80px;
  background: linear-gradient(135deg, var(--surface3), var(--bg2));
  display: flex; align-items: center; justify-content: center;
  font-size: 32px; position: relative;
  border-bottom: 1px solid var(--border);
}
.listing-body { padding: 14px; }
.listing-type { font-size: 11px; font-weight: 700; color: var(--text3); text-transform: uppercase; letter-spacing: 0.8px; margin-bottom: 4px; }
.listing-title { font-size: 14px; font-weight: 600; color: var(--text); line-height: 1.3; margin-bottom: 10px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.listing-seller { display: flex; align-items: center; gap: 7px; margin-bottom: 10px; }
.seller-avatar-sm {
  width: 22px; height: 22px; border-radius: 50%;
  background: linear-gradient(135deg, var(--accent), var(--gold));
  display: flex; align-items: center; justify-content: center;
  font-size: 10px; font-weight: 700; color: #fff; flex-shrink: 0;
}
.listing-seller-name { font-size: 12px; color: var(--text2); }
.listing-rating { display: flex; align-items: center; gap: 4px; }
.stars { color: var(--gold); font-size: 11px; }
.rating-count { font-size: 11px; color: var(--text3); }
.listing-footer { display: flex; align-items: center; justify-content: space-between; border-top: 1px solid var(--border); padding-top: 10px; margin-top: 10px; }
.listing-price { font-size: 18px; font-weight: 800; color: var(--gold); }
.listing-delivery { font-size: 11px; color: var(--green); display: flex; align-items: center; gap: 4px; }

/* ── Section ────────────────────────────────────────────── */
.section { padding: 48px 0; }
.section-header { display: flex; align-items: center; justify-content: space-between; margin-bottom: 28px; }
.section-title { font-size: 22px; font-weight: 800; }
.section-title span { background: linear-gradient(135deg, var(--gold), var(--accent)); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; }
.section-link { font-size: 13px; color: var(--accent); text-decoration: none; font-weight: 500; display: flex; align-items: center; gap: 4px; }
.section-link:hover { color: #a59bf9; }

/* ── Search Bar ─────────────────────────────────────────── */
.search-bar {
  display: flex; align-items: center; gap: 0;
  background: var(--surface); border: 1px solid var(--border2);
  border-radius: var(--radius);
  box-shadow: 4px 4px 14px var(--neu-shadow-dark), -2px -2px 8px var(--neu-shadow-light);
  overflow: hidden; max-width: 580px; width: 100%;
}
.search-input {
  flex: 1; padding: 14px 18px; background: transparent;
  border: none; outline: none; color: var(--text); font-size: 15px;
  font-family: var(--font);
}
.search-input::placeholder { color: var(--text3); }
.search-select {
  padding: 14px 12px; background: var(--surface2);
  border: none; border-left: 1px solid var(--border2); border-right: 1px solid var(--border2);
  color: var(--text2); font-size: 13px; outline: none; cursor: pointer;
  font-family: var(--font);
}
.search-btn {
  padding: 14px 22px; background: linear-gradient(145deg, var(--gold), var(--gold2));
  border: none; color: #1a1200; font-weight: 700; font-size: 14px;
  cursor: pointer; transition: var(--transition);
}
.search-btn:hover { background: linear-gradient(145deg, #ffd85c, var(--gold)); }

/* ── Stat Cards ─────────────────────────────────────────── */
.stat-card {
  background: linear-gradient(145deg, var(--surface2), var(--surface));
  border: 1px solid var(--border2);
  border-top-color: rgba(255,255,255,0.12);
  border-radius: var(--radius);
  padding: 22px;
  box-shadow: 4px 6px 18px var(--neu-shadow-dark), -2px -2px 8px var(--neu-shadow-light);
  position: relative; overflow: hidden;
}
.stat-card::after {
  content:''; position:absolute; top:0; right:0;
  width:80px; height:80px;
  background: radial-gradient(circle, var(--glow-color,rgba(124,106,247,0.12)), transparent 70%);
}
.stat-card-icon { font-size: 28px; margin-bottom: 10px; }
.stat-card-num { font-size: 28px; font-weight: 800; color: var(--text); }
.stat-card-label { font-size: 13px; color: var(--text2); margin-top: 3px; }
.stat-card-change { font-size: 12px; margin-top: 8px; font-weight: 600; }
.change-up { color: var(--green); }
.change-down { color: var(--red); }

/* ── Tags / Pills ───────────────────────────────────────── */
.tag {
  display: inline-block; padding: 4px 10px;
  background: var(--surface2); border: 1px solid var(--border2);
  border-radius: 20px; font-size: 12px; font-weight: 500; color: var(--text2);
}

/* ── Table ──────────────────────────────────────────────── */
.table-wrap { overflow-x: auto; border-radius: var(--radius); }
.gv-table { width: 100%; border-collapse: collapse; }
.gv-table th {
  padding: 13px 16px; text-align: left; font-size: 12px; font-weight: 700;
  color: var(--text3); text-transform: uppercase; letter-spacing: 0.6px;
  background: var(--bg2); border-bottom: 1px solid var(--border2);
}
.gv-table td {
  padding: 14px 16px; font-size: 13px; color: var(--text2);
  border-bottom: 1px solid var(--border);
  transition: background var(--transition);
}
.gv-table tbody tr:hover td { background: var(--surface2); }
.gv-table tbody tr:last-child td { border-bottom: none; }

/* ── Alerts / Flash ─────────────────────────────────────── */
.alert {
  padding: 12px 16px; border-radius: var(--radius-sm);
  font-size: 14px; margin-bottom: 16px;
  display: flex; align-items: flex-start; gap: 10px;
}
.alert-success { background: rgba(46,204,113,0.12); border: 1px solid rgba(46,204,113,0.25); color: #4ade80; }
.alert-error   { background: rgba(231,76,60,0.12);  border: 1px solid rgba(231,76,60,0.25);  color: #f87171; }
.alert-info    { background: rgba(52,152,219,0.12); border: 1px solid rgba(52,152,219,0.25); color: #60a5fa; }
.alert-warning { background: rgba(230,126,34,0.12); border: 1px solid rgba(230,126,34,0.25); color: #fbbf24; }

/* ── Auth Pages ─────────────────────────────────────────── */
.auth-page {
  min-height: 100vh; display: flex; align-items: center; justify-content: center;
  padding: 24px;
  background:
    radial-gradient(ellipse 60% 40% at 20% 80%, rgba(92,75,212,0.15), transparent),
    radial-gradient(ellipse 40% 30% at 80% 20%, rgba(245,200,66,0.08), transparent),
    var(--bg);
}
.auth-card {
  width: 100%; max-width: 440px;
  padding: 40px 36px;
}
.auth-logo { text-align: center; margin-bottom: 28px; }
.auth-logo a {
  font-size: 26px; font-weight: 900; text-decoration: none;
  background: linear-gradient(135deg, var(--gold), var(--accent));
  -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text;
}
.auth-title { font-size: 22px; font-weight: 800; margin-bottom: 6px; }
.auth-sub { color: var(--text2); font-size: 14px; margin-bottom: 28px; }
.auth-footer { text-align: center; margin-top: 20px; font-size: 14px; color: var(--text2); }
.auth-footer a { color: var(--accent); text-decoration: none; font-weight: 600; }
.auth-footer a:hover { color: #a59bf9; }
.divider-text {
  display: flex; align-items: center; gap: 12px;
  color: var(--text3); font-size: 13px; margin: 20px 0;
}
.divider-text::before, .divider-text::after { content: ''; flex: 1; height: 1px; background: var(--border2); }

/* ── Dashboard Layout ───────────────────────────────────── */
.dash-layout { display: flex; min-height: 100vh; }
.dash-sidebar {
  width: 250px; flex-shrink: 0;
  background: var(--bg2);
  border-right: 1px solid var(--border2);
  padding: 24px 0;
  position: sticky; top: 0; height: 100vh; overflow-y: auto;
}
.dash-main { flex: 1; padding: 32px; overflow-x: hidden; }
.sidebar-logo {
  padding: 0 20px 24px;
  font-size: 18px; font-weight: 900;
  background: linear-gradient(135deg, var(--gold), var(--accent));
  -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text;
  border-bottom: 1px solid var(--border2);
  margin-bottom: 16px;
}
.sidebar-nav-item {
  display: flex; align-items: center; gap: 11px;
  padding: 11px 20px; color: var(--text2); text-decoration: none;
  font-size: 14px; font-weight: 500; transition: var(--transition);
  border-right: 2px solid transparent;
}
.sidebar-nav-item svg { opacity: 0.7; flex-shrink: 0; }
.sidebar-nav-item:hover { background: var(--surface); color: var(--text); }
.sidebar-nav-item.active { color: var(--accent); background: rgba(124,106,247,0.08); border-right-color: var(--accent); }
.sidebar-nav-item.active svg { opacity: 1; }
.sidebar-section { padding: 10px 20px 5px; font-size: 11px; font-weight: 700; color: var(--text3); text-transform: uppercase; letter-spacing: 0.8px; margin-top: 10px; }
.sidebar-user {
  margin: 16px 14px 0;
  padding: 14px;
  background: var(--surface); border: 1px solid var(--border2);
  border-radius: var(--radius-sm);
}
.sidebar-user-info { display: flex; align-items: center; gap: 10px; }
.sidebar-user-name { font-size: 13px; font-weight: 600; }
.sidebar-user-role { font-size: 11px; color: var(--accent); text-transform: uppercase; letter-spacing: 0.5px; }
.sidebar-user-balance { margin-top: 10px; padding-top: 10px; border-top: 1px solid var(--border); font-size: 12px; color: var(--text2); }
.sidebar-user-balance strong { color: var(--gold); font-size: 15px; }

/* ── Page Header ────────────────────────────────────────── */
.page-header { margin-bottom: 28px; }
.page-header h1 { font-size: 24px; font-weight: 800; margin-bottom: 4px; }
.page-header p { color: var(--text2); font-size: 14px; }
.breadcrumb { display: flex; align-items: center; gap: 7px; font-size: 13px; color: var(--text3); margin-bottom: 8px; }
.breadcrumb a { color: var(--text2); text-decoration: none; }
.breadcrumb a:hover { color: var(--accent); }

/* ── Status Badges ──────────────────────────────────────── */
.status { display: inline-block; padding: 3px 9px; border-radius: 6px; font-size: 12px; font-weight: 600; }
.status-pending   { background: rgba(230,126,34,0.15); color: #fbbf24; }
.status-active    { background: rgba(46,204,113,0.15); color: #4ade80; }
.status-completed { background: rgba(52,152,219,0.15); color: #60a5fa; }
.status-cancelled { background: rgba(231,76,60,0.15);  color: #f87171; }
.status-disputed  { background: rgba(245,200,66,0.15); color: var(--gold); }
.status-paid      { background: rgba(46,204,113,0.15); color: #4ade80; }

/* ── Modal ──────────────────────────────────────────────── */
.modal-overlay {
  display: none; position: fixed; inset: 0;
  background: rgba(0,0,0,0.6); backdrop-filter: blur(4px);
  z-index: 2000; align-items: center; justify-content: center;
}
.modal-overlay.open { display: flex; }
.modal {
  width: 100%; max-width: 500px; margin: 20px;
  max-height: 90vh; overflow-y: auto;
  padding: 32px;
}
.modal-title { font-size: 20px; font-weight: 800; margin-bottom: 20px; display: flex; align-items: center; justify-content: space-between; }
.modal-close { background: none; border: none; color: var(--text2); cursor: pointer; font-size: 22px; line-height: 1; padding: 4px; }
.modal-close:hover { color: var(--text); }

/* ── Pagination ─────────────────────────────────────────── */
.pagination { display: flex; align-items: center; gap: 6px; justify-content: center; margin-top: 32px; }
.page-btn {
  width: 36px; height: 36px; display: flex; align-items: center; justify-content: center;
  background: var(--surface); border: 1px solid var(--border2);
  border-radius: var(--radius-sm); color: var(--text2);
  text-decoration: none; font-size: 13px; font-weight: 500; transition: var(--transition);
}
.page-btn:hover, .page-btn.active { background: var(--accent); border-color: var(--accent); color: #fff; }

/* ── Footer ─────────────────────────────────────────────── */
.footer {
  background: var(--bg2); border-top: 1px solid var(--border2);
  padding: 40px 0 24px;
  margin-top: 60px;
}
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 32px; margin-bottom: 32px; }
@media(max-width:800px){ .footer-grid { grid-template-columns: 1fr 1fr; } }
@media(max-width:500px){ .footer-grid { grid-template-columns: 1fr; } }
.footer-brand { font-size: 18px; font-weight: 900; background: linear-gradient(135deg, var(--gold), var(--accent)); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; margin-bottom: 12px; }
.footer-desc { font-size: 13px; color: var(--text3); line-height: 1.7; }
.footer-col h4 { font-size: 13px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.6px; color: var(--text2); margin-bottom: 12px; }
.footer-col a { display: block; font-size: 13px; color: var(--text3); text-decoration: none; margin-bottom: 8px; transition: var(--transition); }
.footer-col a:hover { color: var(--accent); }
.footer-bottom { border-top: 1px solid var(--border); padding-top: 20px; display: flex; align-items: center; justify-content: space-between; font-size: 12px; color: var(--text3); flex-wrap: wrap; gap: 10px; }

/* ── Responsive Nav ─────────────────────────────────────── */
@media(max-width:768px){
  .navbar-nav { display: none; }
  .dash-sidebar { display: none; }
  .dash-main { padding: 20px 16px; }
}

/* ── Scrollbar ──────────────────────────────────────────── */
::-webkit-scrollbar { width: 6px; height: 6px; }
::-webkit-scrollbar-track { background: var(--bg2); }
::-webkit-scrollbar-thumb { background: var(--surface3); border-radius: 3px; }
::-webkit-scrollbar-thumb:hover { background: var(--accent); }

/* ── Utilities ──────────────────────────────────────────── */
.text-gold   { color: var(--gold); }
.text-accent { color: var(--accent); }
.text-green  { color: var(--green); }
.text-red    { color: var(--red); }
.text-muted  { color: var(--text2); }
.text-dim    { color: var(--text3); }
.fw-700 { font-weight: 700; }
.fw-800 { font-weight: 800; }
.mt-8  { margin-top: 8px; }
.mt-16 { margin-top: 16px; }
.mt-24 { margin-top: 24px; }
.mb-8  { margin-bottom: 8px; }
.mb-16 { margin-bottom: 16px; }
.mb-24 { margin-bottom: 24px; }
.gap-10 { gap: 10px; }
.flex  { display: flex; }
.flex-center { display: flex; align-items: center; }
.flex-between { display: flex; align-items: center; justify-content: space-between; }
.text-center { text-align: center; }
.w-full { width: 100%; }
.hidden { display: none !important; }
