:root {
  --bg: #050505;
  --bg-elevated: #0c0c0d;
  --bg-card: rgba(16, 16, 18, 0.82);
  --bg-glass: rgba(12, 12, 14, 0.72);
  --text: #f5f5f7;
  --text-muted: #9a9aa2;
  --text-dim: #66666e;
  --border: rgba(255, 255, 255, 0.11);
  --border-strong: rgba(255, 255, 255, 0.28);
  --accent: #ffffff;
  --accent-inv: #050505;
  --radius: 16px;
  --radius-sm: 10px;
  --shadow: 0 20px 60px rgba(0, 0, 0, 0.7);
  --font-ui: 'Kanit', system-ui, -apple-system, sans-serif;
  --font-mono: 'JetBrains Mono', monospace;
  --font-display: 'Syncopate', 'Kanit', sans-serif;
}

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

html {
  scroll-behavior: smooth;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-ui);
}

body {
  min-height: 100vh;
  background: radial-gradient(circle at 50% -10%, rgba(255, 255, 255, 0.09), transparent 55%),
              var(--bg);
  color: var(--text);
  overflow-x: hidden;
  line-height: 1.55;
}

/* Interactive Particle Canvas & Subtle Grid */
#bg-canvas {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: -2;
  pointer-events: none;
}

.grid-overlay {
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: radial-gradient(circle at center, black 35%, transparent 90%);
}

/* Cursor Aura */
.cursor-aura {
  position: fixed;
  width: 340px;
  height: 340px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.065) 0%, transparent 70%);
  pointer-events: none;
  transform: translate(-50%, -50%);
  z-index: 0;
  transition: opacity 0.25s ease;
}

/* Marquee Announcement Bar */
.marquee-bar {
  background: #ffffff;
  color: #050505;
  font-size: 0.82rem;
  font-weight: 500;
  letter-spacing: 0.03em;
  overflow: hidden;
  white-space: nowrap;
  padding: 7px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.2);
  position: relative;
  z-index: 60;
}

.marquee-track {
  display: inline-block;
  padding-left: 100%;
  animation: marquee 28s linear infinite;
}

.marquee-bar:hover .marquee-track {
  animation-play-state: paused;
}

@keyframes marquee {
  0% { transform: translateX(0); }
  100% { transform: translateX(-100%); }
}

/* Navbar */
.navbar {
  position: sticky;
  top: 0;
  z-index: 50;
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  background: rgba(5, 5, 5, 0.78);
  border-bottom: 1px solid var(--border);
}

.nav-inner {
  max-width: 1240px;
  margin: 0 auto;
  padding: 14px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: var(--text);
}

.brand-mark {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  background: #ffffff;
  color: #050505;
  display: grid;
  place-items: center;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.05rem;
  box-shadow: 0 0 24px rgba(255, 255, 255, 0.25);
  transition: transform 0.3s ease;
}

.brand:hover .brand-mark {
  transform: rotate(-6deg) scale(1.06);
}

.brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1.05;
}

.brand-name {
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: 0.14em;
}

.brand-sub {
  font-family: var(--font-mono);
  font-size: 0.65rem;
  color: var(--text-muted);
  letter-spacing: 0.16em;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 24px;
}

.nav-links a {
  color: var(--text-muted);
  text-decoration: none;
  font-size: 0.92rem;
  transition: color 0.2s;
  position: relative;
}

.nav-links a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -4px;
  width: 0;
  height: 1px;
  background: #fff;
  transition: width 0.25s ease;
}

.nav-links a:hover {
  color: #fff;
}

.nav-links a:hover::after {
  width: 100%;
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px 18px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.04);
  color: var(--text);
  font-family: var(--font-ui);
  font-size: 0.9rem;
  font-weight: 500;
  cursor: pointer;
  text-decoration: none;
  transition: all 0.22s ease;
  position: relative;
  overflow: hidden;
}

.btn:hover {
  border-color: rgba(255, 255, 255, 0.45);
  background: rgba(255, 255, 255, 0.1);
  transform: translateY(-1px);
}

.btn-primary {
  background: #ffffff;
  color: #050505;
  border-color: #ffffff;
  font-weight: 600;
}

.btn-primary::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 60%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(0, 0, 0, 0.14), transparent);
  transform: skewX(-20deg);
  transition: left 0.55s ease;
}

.btn-primary:hover::before {
  left: 140%;
}

.btn-primary:hover {
  background: #e9e9ec;
  color: #000;
  box-shadow: 0 0 28px rgba(255, 255, 255, 0.28);
}

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

.btn-danger {
  border-color: rgba(255, 255, 255, 0.25);
  color: #e4e4e7;
}

.btn-danger:hover {
  background: #ffffff;
  color: #050505;
}

.btn-sm {
  padding: 6px 12px;
  font-size: 0.82rem;
}

.cart-badge {
  background: #050505;
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.25);
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 700;
  min-width: 20px;
  height: 20px;
  border-radius: 999px;
  display: inline-grid;
  place-items: center;
  padding: 0 5px;
}

/* Container */
.container {
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 24px;
  position: relative;
  z-index: 2;
}

/* Hero */
.hero {
  padding: 84px 0 60px;
  text-align: center;
}

.hero-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.04);
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--text-muted);
  letter-spacing: 0.08em;
  margin-bottom: 24px;
}

.pulse-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #ffffff;
  box-shadow: 0 0 12px #ffffff;
  animation: pulse 1.8s infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.35; transform: scale(0.75); }
}

/* Glitch Monochrome Title */
.hero-title {
  font-family: var(--font-display);
  font-size: clamp(2.4rem, 6vw, 4.7rem);
  font-weight: 700;
  letter-spacing: 0.08em;
  line-height: 1.08;
  margin-bottom: 18px;
  position: relative;
  display: inline-block;
  text-transform: uppercase;
  background: linear-gradient(180deg, #ffffff 30%, #8e8e98 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.glitch {
  position: relative;
}

.glitch::before,
.glitch::after {
  content: attr(data-text);
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: transparent;
  color: #ffffff;
  pointer-events: none;
  opacity: 0;
}

.glitch:hover::before {
  opacity: 0.55;
  animation: glitch-1 0.35s steps(2, end) infinite;
  clip-path: inset(15% 0 55% 0);
}

.glitch:hover::after {
  opacity: 0.4;
  animation: glitch-2 0.35s steps(2, end) infinite;
  clip-path: inset(60% 0 15% 0);
}

@keyframes glitch-1 {
  0% { transform: translate(-3px, -1px); }
  50% { transform: translate(3px, 1px); }
  100% { transform: translate(-2px, 0); }
}

@keyframes glitch-2 {
  0% { transform: translate(3px, 1px); }
  50% { transform: translate(-3px, -1px); }
  100% { transform: translate(2px, 0); }
}

.hero-subtitle {
  max-width: 680px;
  margin: 0 auto 30px;
  color: var(--text-muted);
  font-size: 1.08rem;
  font-weight: 300;
}

.typing-line {
  font-family: var(--font-mono);
  font-size: 0.85rem;
  color: #d4d4d8;
  min-height: 24px;
  margin-bottom: 28px;
}

.typing-cursor {
  display: inline-block;
  width: 8px;
  height: 14px;
  background: #ffffff;
  vertical-align: middle;
  margin-left: 4px;
  animation: blink 0.9s steps(2) infinite;
}

@keyframes blink {
  0%, 100% { opacity: 1; }
  50% { opacity: 0; }
}

.hero-cta {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 14px;
  margin-bottom: 52px;
}

/* Stats Strip */
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
  max-width: 960px;
  margin: 0 auto;
}

.stat-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 20px 16px;
  text-align: center;
  backdrop-filter: blur(12px);
  transition: border-color 0.25s, transform 0.25s;
}

.stat-card:hover {
  border-color: var(--border-strong);
  transform: translateY(-3px);
}

.stat-val {
  font-family: var(--font-mono);
  font-size: 1.6rem;
  font-weight: 700;
  color: #ffffff;
}

.stat-label {
  font-size: 0.82rem;
  color: var(--text-muted);
  margin-top: 4px;
}

/* Section Headers */
.section {
  padding: 56px 0;
}

.section-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
  margin-bottom: 28px;
}

.section-kicker {
  font-family: var(--font-mono);
  font-size: 0.74rem;
  letter-spacing: 0.2em;
  color: var(--text-muted);
  text-transform: uppercase;
  margin-bottom: 6px;
}

.section-title {
  font-size: clamp(1.5rem, 3vw, 2.1rem);
  font-weight: 600;
  letter-spacing: 0.02em;
}

/* Filter Bar */
.filter-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 14px;
  margin-bottom: 28px;
}

.filter-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.pill {
  padding: 8px 16px;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.03);
  color: var(--text-muted);
  font-family: var(--font-ui);
  font-size: 0.86rem;
  cursor: pointer;
  transition: all 0.2s;
}

.pill:hover {
  border-color: rgba(255, 255, 255, 0.35);
  color: #fff;
}

.pill.active {
  background: #ffffff;
  color: #050505;
  border-color: #ffffff;
  font-weight: 600;
}

.search-box {
  position: relative;
  min-width: 240px;
}

.search-box input {
  width: 100%;
  padding: 10px 14px 10px 38px;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.04);
  color: #ffffff;
  font-family: var(--font-ui);
  font-size: 0.88rem;
  outline: none;
  transition: border-color 0.2s, background 0.2s;
}

.search-box input:focus {
  border-color: #ffffff;
  background: rgba(255, 255, 255, 0.07);
}

.search-icon {
  position: absolute;
  left: 13px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--text-muted);
  font-size: 0.9rem;
  pointer-events: none;
}

/* Product Grid & 3D Tilt Spotlight Cards */
.product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(310px, 1fr));
  gap: 22px;
}

.product-card {
  position: relative;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 18px;
  overflow: hidden;
  transform-style: preserve-3d;
  transition: border-color 0.25s ease, box-shadow 0.25s ease, transform 0.15s ease-out;
  backdrop-filter: blur(14px);
}

.product-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(
    280px circle at var(--mx, 50%) var(--my, 50%),
    rgba(255, 255, 255, 0.12),
    transparent 65%
  );
  opacity: 0;
  transition: opacity 0.25s ease;
  pointer-events: none;
}

.product-card:hover::before {
  opacity: 1;
}

.product-card:hover {
  border-color: rgba(255, 255, 255, 0.35);
  box-shadow: 0 24px 55px rgba(0, 0, 0, 0.75);
}

.card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}

.cat-tag {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  padding: 4px 10px;
  border-radius: 6px;
  border: 1px solid var(--border);
  color: var(--text-muted);
  text-transform: uppercase;
}

.badge-tag {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 6px;
  background: #ffffff;
  color: #050505;
  letter-spacing: 0.06em;
}

.card-visual {
  height: 120px;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.01)),
    repeating-linear-gradient(
      -45deg,
      rgba(255, 255, 255, 0.025) 0px,
      rgba(255, 255, 255, 0.025) 2px,
      transparent 2px,
      transparent 10px
    );
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 20px;
  overflow: hidden;
  position: relative;
}

.card-visual img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.9;
  transition: transform 0.4s ease, opacity 0.3s ease;
}

.product-card:hover .card-visual img {
  transform: scale(1.06);
  opacity: 1;
}

.card-visual-code {
  position: relative;
  z-index: 1;
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: #ffffff;
}

.card-duration {
  position: relative;
  z-index: 1;
  font-family: var(--font-mono);
  font-size: 0.78rem;
  padding: 5px 10px;
  border-radius: 999px;
  background: rgba(5, 5, 5, 0.8);
  border: 1px solid rgba(255, 255, 255, 0.22);
}

.card-title {
  font-size: 1.15rem;
  font-weight: 600;
  margin-bottom: 6px;
}

.card-desc {
  font-size: 0.88rem;
  color: var(--text-muted);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.card-features {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-top: 10px;
}

.card-features li {
  font-size: 0.82rem;
  color: #c8c8cf;
  display: flex;
  align-items: center;
  gap: 8px;
}

.card-features li::before {
  content: "▸";
  color: #ffffff;
}

.card-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-family: var(--font-mono);
  font-size: 0.76rem;
  color: var(--text-muted);
  padding-top: 12px;
  border-top: 1px solid var(--border);
}

.stock-ok {
  color: #ffffff;
}

.stock-out {
  color: #71717a;
}

.card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.price-box {
  display: flex;
  align-items: baseline;
  gap: 8px;
}

.price-now {
  font-family: var(--font-mono);
  font-size: 1.45rem;
  font-weight: 700;
  color: #ffffff;
}

.price-old {
  font-family: var(--font-mono);
  font-size: 0.85rem;
  color: var(--text-dim);
  text-decoration: line-through;
}

/* Features / Why Terex */
.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 18px;
}

.feature-box {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px;
  transition: border-color 0.25s, transform 0.25s;
}

.feature-box:hover {
  border-color: var(--border-strong);
  transform: translateY(-4px);
}

.feature-num {
  font-family: var(--font-mono);
  font-size: 0.78rem;
  color: var(--text-dim);
  margin-bottom: 10px;
}

.feature-box h3 {
  font-size: 1.05rem;
  margin-bottom: 8px;
}

.feature-box p {
  font-size: 0.88rem;
  color: var(--text-muted);
}

/* Order Tracker Banner */
.tracker-panel {
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.07), rgba(255, 255, 255, 0.02));
  border: 1px solid var(--border-strong);
  border-radius: 20px;
  padding: 36px;
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 28px;
  align-items: center;
}

.tracker-form {
  display: flex;
  gap: 10px;
}

.input {
  width: 100%;
  padding: 11px 14px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border);
  background: rgba(5, 5, 5, 0.85);
  color: #ffffff;
  font-family: var(--font-ui);
  font-size: 0.92rem;
  outline: none;
  transition: border-color 0.2s;
}

.input:focus {
  border-color: #ffffff;
}

textarea.input {
  resize: vertical;
  min-height: 90px;
}

select.input option {
  background: #111113;
  color: #ffffff;
}

/* Modals & Drawers */
.overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.78);
  backdrop-filter: blur(8px);
  z-index: 90;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.overlay.open {
  display: flex;
}

.modal {
  width: 100%;
  max-width: 560px;
  max-height: 90vh;
  overflow-y: auto;
  background: #0b0b0d;
  border: 1px solid var(--border-strong);
  border-radius: 18px;
  padding: 26px;
  box-shadow: var(--shadow);
  animation: popIn 0.22s ease-out;
}

@keyframes popIn {
  from { opacity: 0; transform: scale(0.95) translateY(8px); }
  to { opacity: 1; transform: scale(1) translateY(0); }
}

.modal-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 18px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--border);
}

.modal-close {
  background: transparent;
  border: 1px solid var(--border);
  color: #fff;
  width: 34px;
  height: 34px;
  border-radius: 8px;
  cursor: pointer;
  font-size: 1.1rem;
}

.modal-close:hover {
  background: #fff;
  color: #050505;
}

/* Cart Drawer */
.drawer-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.72);
  backdrop-filter: blur(6px);
  z-index: 85;
  display: none;
  justify-content: flex-end;
}

.drawer-overlay.open {
  display: flex;
}

.drawer {
  width: 100%;
  max-width: 420px;
  height: 100%;
  background: #0a0a0c;
  border-left: 1px solid var(--border-strong);
  display: flex;
  flex-direction: column;
  padding: 24px;
  animation: slideIn 0.24s ease-out;
}

@keyframes slideIn {
  from { transform: translateX(100%); }
  to { transform: translateX(0); }
}

.drawer-body {
  flex: 1;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin: 16px 0;
}

.cart-item {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 14px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
}

.qty-controls {
  display: flex;
  align-items: center;
  gap: 8px;
}

.qty-btn {
  width: 28px;
  height: 28px;
  border-radius: 6px;
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.05);
  color: #fff;
  cursor: pointer;
}

.qty-btn:hover {
  background: #fff;
  color: #050505;
}

/* Form Groups */
.form-group {
  margin-bottom: 14px;
}

.form-group label {
  display: block;
  font-size: 0.84rem;
  color: var(--text-muted);
  margin-bottom: 6px;
}

.payment-box {
  background: rgba(255, 255, 255, 0.04);
  border: 1px dashed var(--border-strong);
  border-radius: 12px;
  padding: 14px;
  font-size: 0.86rem;
  margin-bottom: 16px;
}

.key-chip {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  background: #141418;
  border: 1px solid var(--border-strong);
  border-radius: 10px;
  padding: 10px 14px;
  font-family: var(--font-mono);
  font-size: 0.88rem;
  margin-top: 8px;
}

/* Toast */
.toast-wrap {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 120;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.toast {
  background: #ffffff;
  color: #050505;
  padding: 12px 18px;
  border-radius: 10px;
  font-size: 0.88rem;
  font-weight: 500;
  box-shadow: 0 14px 36px rgba(0, 0, 0, 0.55);
  animation: popIn 0.2s ease-out;
}

.toast.error {
  background: #18181b;
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.45);
}

/* Footer */
.footer {
  border-top: 1px solid var(--border);
  padding: 36px 0 48px;
  margin-top: 40px;
  color: var(--text-muted);
  font-size: 0.88rem;
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
}

/* Scroll Reveal */
.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.55s ease, transform 0.55s ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Admin Specific Layout */
.admin-shell {
  display: grid;
  grid-template-columns: 250px 1fr;
  min-height: 100vh;
}

.admin-sidebar {
  background: #08080a;
  border-right: 1px solid var(--border);
  padding: 24px 16px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  position: sticky;
  top: 0;
  height: 100vh;
}

.admin-nav {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-top: 28px;
}

.admin-nav button {
  width: 100%;
  text-align: left;
  padding: 11px 14px;
  border-radius: 10px;
  border: 1px solid transparent;
  background: transparent;
  color: var(--text-muted);
  font-family: var(--font-ui);
  font-size: 0.92rem;
  cursor: pointer;
  transition: all 0.18s;
}

.admin-nav button:hover {
  background: rgba(255, 255, 255, 0.05);
  color: #fff;
}

.admin-nav button.active {
  background: #ffffff;
  color: #050505;
  font-weight: 600;
}

.admin-main {
  padding: 32px;
  max-width: 1280px;
  width: 100%;
}

.table-wrap {
  overflow-x: auto;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
}

table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.88rem;
}

th, td {
  padding: 13px 16px;
  text-align: left;
  border-bottom: 1px solid var(--border);
}

th {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  text-transform: uppercase;
  color: var(--text-muted);
  background: rgba(255, 255, 255, 0.03);
}

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

.status-pill {
  display: inline-block;
  padding: 3px 10px;
  border-radius: 999px;
  font-family: var(--font-mono);
  font-size: 0.74rem;
  border: 1px solid var(--border-strong);
}

.status-approved {
  background: #ffffff;
  color: #050505;
  font-weight: 700;
}

.status-pending {
  background: rgba(255, 255, 255, 0.08);
  color: #ffffff;
}

.status-cancelled {
  background: transparent;
  color: #71717a;
  border-color: rgba(255, 255, 255, 0.14);
}

@media (max-width: 900px) {
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .tracker-panel { grid-template-columns: 1fr; }
  .nav-links { display: none; }
  .admin-shell { grid-template-columns: 1fr; }
  .admin-sidebar { position: static; height: auto; }
}
