/* ╔══════════════════════════════════════════════════════════════╗
   ║  ANetBBS Enhanced Theme — VOID SIGNAL                       ║
   ║  Triple neon (green + magenta + cyan) on absolute black      ║
   ║  Full-page CRT scanlines · Brand glitch · Max glow          ║
   ╚══════════════════════════════════════════════════════════════╝ */

@import url('https://fonts.googleapis.com/css2?family=Share+Tech+Mono&family=Orbitron:wght@400;700;900&display=swap');

/* IBM VGA 9×16 — authentic CP437 bitmap font for BBS content
   Source : https://int10h.org/oldschool-pc-fonts/fontlist/
   Author : VileR / Screwtape (int10h.org)
   License: CC BY-SA 4.0 — https://creativecommons.org/licenses/by-sa/4.0/
   File converted from TTF to WOFF; see anetbbs/static/fonts/LICENSE.txt */
@font-face {
  font-family: 'VGA437';
  src: url('../fonts/Ac437_IBM_VGA_9x16.woff') format('woff');
  font-weight: normal;
  font-style: normal;
  font-display: swap;
}


/* ─────────────────────────────────────────
   ROOT / GLOBAL
───────────────────────────────────────── */
:root {
  --vs-green:   #00ff88;
  --vs-magenta: #ff00cc;
  --vs-cyan:    #00e5ff;
  --vs-yellow:  #ffee00;
  --vs-bg:      #000000;
  --vs-card:    #020a05;
  --vs-text:    #d8ffe8;
}

/* ─────────────────────────────────────────
   BODY
───────────────────────────────────────── */
body {
  background: #000000 !important;
  color: #d8ffe8 !important;
  font-family: 'VGA437', 'Share Tech Mono', 'Courier New', monospace;
  -webkit-font-smoothing: none;
  -moz-osx-font-smoothing: auto;
  font-smooth: never;
}

/* Orbitron headings look better with smoothing restored */
h1, h2, h3, h4, h5, h6, .navbar-brand,
.bbs-header h1, .bbs-header h2 {
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  font-smooth: always;
}

/* ─────────────────────────────────────────
   CUSTOM SCROLLBAR
───────────────────────────────────────── */
::-webkit-scrollbar { width: 6px; height: 6px; }
::-webkit-scrollbar-track { background: #000; }
::-webkit-scrollbar-thumb {
  background: var(--vs-green);
  box-shadow: 0 0 6px var(--vs-green);
}
::-webkit-scrollbar-thumb:hover { background: var(--vs-cyan); }

/* ─────────────────────────────────────────
   TEXT SELECTION
───────────────────────────────────────── */
::selection {
  background: rgba(0, 255, 136, 0.35);
  color: #ffffff;
}

/* ─────────────────────────────────────────
   HEADINGS
───────────────────────────────────────── */
h1, h2, h3, h4, h5, h6 {
  font-family: 'Orbitron', 'Arial Black', sans-serif;
  text-transform: uppercase;
  letter-spacing: 3px;
}

h1 {
  font-size: clamp(1.4rem, 4vw, 2.2rem);
  font-weight: 900;
  background: linear-gradient(90deg, var(--vs-green) 0%, var(--vs-cyan) 60%, var(--vs-magenta) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  filter: drop-shadow(0 0 12px rgba(0, 255, 136, 0.7));
}

h2 {
  color: var(--vs-green);
  text-shadow: 0 0 16px rgba(0, 255, 136, 0.8), 0 0 40px rgba(0, 255, 136, 0.3);
}

h3 { color: var(--vs-cyan); text-shadow: 0 0 12px rgba(0, 229, 255, 0.7); }
h4 { color: var(--vs-magenta); text-shadow: 0 0 10px rgba(255, 0, 204, 0.6); }
h5, h6 { color: var(--vs-yellow); }

/* ─────────────────────────────────────────
   LINKS
───────────────────────────────────────── */
a { color: var(--vs-cyan); text-decoration: none; transition: color 0.15s, text-shadow 0.15s; }
a:hover {
  color: var(--vs-green);
  text-shadow: 0 0 12px rgba(0, 255, 136, 0.8);
}

hr {
  border-color: rgba(0, 255, 136, 0.25);
  opacity: 1;
}

/* ═══════════════════════════════════════════════════════════
   NAVBAR
═══════════════════════════════════════════════════════════ */
.navbar {
  background: #000000 !important;
  border-bottom: 2px solid var(--vs-green) !important;
  box-shadow:
    0 0 30px rgba(0, 255, 136, 0.5),
    0 0 80px rgba(0, 255, 136, 0.15),
    inset 0 -1px 0 rgba(0, 229, 255, 0.2);
  position: relative;
  animation: navbar-throb 3s ease-in-out infinite;
}

@keyframes navbar-throb {
  0%, 100% {
    box-shadow: 0 0 30px rgba(0,255,136,0.5), 0 0 80px rgba(0,255,136,0.15), inset 0 -1px 0 rgba(0,229,255,0.2);
    border-bottom-color: #00ff88 !important;
  }
  33% {
    box-shadow: 0 0 30px rgba(0,229,255,0.5), 0 0 80px rgba(0,229,255,0.15), inset 0 -1px 0 rgba(255,0,204,0.2);
    border-bottom-color: #00e5ff !important;
  }
  66% {
    box-shadow: 0 0 30px rgba(255,0,204,0.5), 0 0 80px rgba(255,0,204,0.15), inset 0 -1px 0 rgba(0,255,136,0.2);
    border-bottom-color: #ff00cc !important;
  }
}

/* BRAND with CSS GLITCH */
.navbar-brand {
  font-family: 'Orbitron', 'Arial Black', sans-serif !important;
  font-weight: 900 !important;
  font-size: 1.35rem !important;
  letter-spacing: 4px;
  color: var(--vs-green) !important;
  text-transform: uppercase;
  position: relative;
  display: inline-block;
  text-shadow:
    0 0 10px var(--vs-green),
    0 0 30px rgba(0, 255, 136, 0.5);
  animation: brand-glitch 7s infinite;
}

@keyframes brand-glitch {
  0%, 89%, 100% {
    transform: none;
    text-shadow: 0 0 10px var(--vs-green), 0 0 30px rgba(0,255,136,0.5);
    color: var(--vs-green) !important;
  }
  90% {
    transform: skewX(-8deg) translateX(-3px);
    text-shadow: 3px 0 var(--vs-magenta), -3px 0 var(--vs-cyan);
    color: #ffffff !important;
  }
  91% {
    transform: skewX(4deg) translateX(2px);
    text-shadow: -2px 0 var(--vs-cyan), 2px 0 var(--vs-magenta);
    color: var(--vs-green) !important;
  }
  92% {
    transform: none;
    text-shadow: 0 0 10px var(--vs-green), 0 0 30px rgba(0,255,136,0.5);
  }
  93% {
    transform: translateX(4px) scaleX(1.02);
    text-shadow: -4px 0 var(--vs-magenta), 4px 0 var(--vs-cyan);
    color: #ffffff !important;
  }
  94% {
    transform: none;
    text-shadow: 0 0 10px var(--vs-green), 0 0 30px rgba(0,255,136,0.5);
    color: var(--vs-green) !important;
  }
}

/* Nav links */
.navbar-nav .nav-link {
  color: rgba(0, 255, 136, 0.7) !important;
  font-family: 'VGA437', 'Share Tech Mono', monospace;
  font-size: 0.82rem;
  letter-spacing: 1px;
  text-transform: uppercase;
  transition: all 0.15s;
}

.navbar-nav .nav-link:hover,
.navbar-nav .nav-link:focus {
  color: var(--vs-green) !important;
  text-shadow: 0 0 14px var(--vs-green), 0 0 30px rgba(0,255,136,0.4);
}

.navbar-toggler {
  border-color: var(--vs-green) !important;
  box-shadow: 0 0 8px rgba(0,255,136,0.4);
}

/* ═══════════════════════════════════════════════════════════
   SEARCH BAR
═══════════════════════════════════════════════════════════ */
.bg-dark.border-bottom {
  background: #000000 !important;
  border-color: rgba(0, 255, 136, 0.2) !important;
}

/* ═══════════════════════════════════════════════════════════
   CARDS — animated color-cycling neon border
═══════════════════════════════════════════════════════════ */
.card {
  background: #020a05 !important;
  border: 1px solid rgba(0, 255, 136, 0.35) !important;
  border-radius: 0 !important;
  position: relative;
  transition: border-color 0.3s, box-shadow 0.3s;
}

.card:hover {
  border-color: var(--vs-green) !important;
  box-shadow:
    0 0 20px rgba(0, 255, 136, 0.4),
    0 0 50px rgba(0, 255, 136, 0.1),
    inset 0 0 20px rgba(0, 255, 136, 0.03) !important;
}

/* Top accent stripe */
.card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--vs-green), var(--vs-cyan), var(--vs-magenta));
  background-size: 200% auto;
  animation: stripe-cycle 4s linear infinite;
}

@keyframes stripe-cycle {
  0%   { background-position: 0% center; }
  100% { background-position: 200% center; }
}

.card-header {
  background: #000a03 !important;
  border-bottom: 1px solid rgba(0, 255, 136, 0.3) !important;
  border-radius: 0 !important;
  font-family: 'Orbitron', sans-serif;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  color: var(--vs-green) !important;
  text-shadow: 0 0 10px rgba(0,255,136,0.6);
}

.card-footer {
  background: #000a03 !important;
  border-top: 1px solid rgba(0, 255, 136, 0.2) !important;
  border-radius: 0 !important;
}

/* ═══════════════════════════════════════════════════════════
   BUTTONS
═══════════════════════════════════════════════════════════ */
.btn {
  border-radius: 0 !important;
  font-family: 'Orbitron', sans-serif;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  transition: all 0.15s;
}

.btn-primary {
  background: transparent !important;
  border: 1px solid var(--vs-green) !important;
  color: var(--vs-green) !important;
  box-shadow: 0 0 8px rgba(0,255,136,0.3), inset 0 0 8px rgba(0,255,136,0.05);
}

.btn-primary:hover, .btn-primary:focus, .btn-primary:active {
  background: rgba(0,255,136,0.12) !important;
  border-color: var(--vs-green) !important;
  color: #ffffff !important;
  box-shadow: 0 0 24px rgba(0,255,136,0.8), 0 0 50px rgba(0,255,136,0.3), inset 0 0 12px rgba(0,255,136,0.1) !important;
  text-shadow: 0 0 10px var(--vs-green);
}

.btn-secondary {
  background: transparent !important;
  border: 1px solid var(--vs-cyan) !important;
  color: var(--vs-cyan) !important;
}

.btn-secondary:hover {
  background: rgba(0,229,255,0.1) !important;
  box-shadow: 0 0 20px rgba(0,229,255,0.6) !important;
  color: #fff !important;
}

.btn-success {
  background: transparent !important;
  border: 1px solid var(--vs-green) !important;
  color: var(--vs-green) !important;
}

.btn-success:hover {
  background: rgba(0,255,136,0.1) !important;
  box-shadow: 0 0 20px rgba(0,255,136,0.6) !important;
  color: #fff !important;
}

.btn-danger {
  background: transparent !important;
  border: 1px solid var(--vs-magenta) !important;
  color: var(--vs-magenta) !important;
}

.btn-danger:hover {
  background: rgba(255,0,204,0.1) !important;
  box-shadow: 0 0 20px rgba(255,0,204,0.6) !important;
  color: #fff !important;
}

.btn-warning {
  background: transparent !important;
  border: 1px solid var(--vs-yellow) !important;
  color: var(--vs-yellow) !important;
}

.btn-warning:hover {
  background: rgba(255,238,0,0.1) !important;
  box-shadow: 0 0 20px rgba(255,238,0,0.5) !important;
  color: #fff !important;
}

.btn-info {
  background: transparent !important;
  border: 1px solid var(--vs-cyan) !important;
  color: var(--vs-cyan) !important;
}

.btn-info:hover {
  background: rgba(0,229,255,0.1) !important;
  box-shadow: 0 0 20px rgba(0,229,255,0.5) !important;
  color: #fff !important;
}

.btn-outline-primary  { border-color: rgba(0,255,136,0.6) !important; color: var(--vs-green) !important; background: transparent !important; border-radius: 0 !important; }
.btn-outline-primary:hover  { background: rgba(0,255,136,0.1) !important; box-shadow: 0 0 16px rgba(0,255,136,0.5) !important; }
.btn-outline-secondary { border-color: rgba(0,229,255,0.5) !important; color: var(--vs-cyan) !important; background: transparent !important; border-radius: 0 !important; }
.btn-outline-secondary:hover { background: rgba(0,229,255,0.08) !important; }
.btn-outline-danger   { border-color: rgba(255,0,204,0.5) !important; color: var(--vs-magenta) !important; background: transparent !important; border-radius: 0 !important; }
.btn-outline-danger:hover   { background: rgba(255,0,204,0.08) !important; }
.btn-outline-success  { border-color: rgba(0,255,136,0.5) !important; color: var(--vs-green) !important; background: transparent !important; border-radius: 0 !important; }
.btn-outline-success:hover  { background: rgba(0,255,136,0.08) !important; }

.btn-close { filter: invert(1) sepia(1) saturate(6) hue-rotate(90deg); }

/* ═══════════════════════════════════════════════════════════
   FORM CONTROLS
═══════════════════════════════════════════════════════════ */
.form-control,
.form-select {
  background: #000a03 !important;
  border: 1px solid rgba(0, 255, 136, 0.3) !important;
  color: var(--vs-text) !important;
  border-radius: 0 !important;
  font-family: 'VGA437', 'Share Tech Mono', monospace;
  transition: border-color 0.15s, box-shadow 0.15s;
  caret-color: var(--vs-green);
}

.form-control:focus,
.form-select:focus {
  background: #01120a !important;
  border-color: var(--vs-green) !important;
  box-shadow: 0 0 0 2px rgba(0,255,136,0.25), 0 0 20px rgba(0,255,136,0.15) !important;
  color: #ffffff !important;
}

.form-control::placeholder { color: rgba(0, 255, 136, 0.3); }

.form-label {
  color: rgba(0, 255, 136, 0.8);
  font-family: 'Orbitron', sans-serif;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
}

.form-check-input {
  background-color: #000a03 !important;
  border-color: rgba(0, 255, 136, 0.4) !important;
  border-radius: 0 !important;
}

.form-check-input:checked {
  background-color: var(--vs-green) !important;
  border-color: var(--vs-green) !important;
  box-shadow: 0 0 8px rgba(0,255,136,0.7);
}

.input-group-text {
  background: #000a03 !important;
  border-color: rgba(0, 255, 136, 0.3) !important;
  color: rgba(0, 255, 136, 0.8) !important;
  border-radius: 0 !important;
  font-family: 'VGA437', 'Share Tech Mono', monospace;
}

/* ═══════════════════════════════════════════════════════════
   DROPDOWN MENUS
═══════════════════════════════════════════════════════════ */
.dropdown-menu {
  background: #000a03 !important;
  border: 1px solid rgba(0, 255, 136, 0.4) !important;
  border-radius: 0 !important;
  box-shadow:
    0 15px 50px rgba(0, 0, 0, 0.9),
    0 0 30px rgba(0, 255, 136, 0.15),
    0 0 1px var(--vs-green);
}

.dropdown-item {
  color: rgba(0, 255, 136, 0.75) !important;
  font-family: 'VGA437', 'Share Tech Mono', monospace;
  font-size: 0.82rem;
  letter-spacing: 0.5px;
  transition: all 0.1s;
  padding: 0.3rem 1rem;
}

.dropdown-item:hover, .dropdown-item:focus {
  background: rgba(0, 255, 136, 0.1) !important;
  color: var(--vs-green) !important;
  text-shadow: 0 0 10px rgba(0,255,136,0.6);
}

.dropdown-divider { border-color: rgba(0, 255, 136, 0.15) !important; }

.dropdown-header {
  color: var(--vs-cyan) !important;
  font-family: 'Orbitron', sans-serif;
  font-size: 0.62rem;
  letter-spacing: 3px;
  text-transform: uppercase;
  text-shadow: 0 0 8px rgba(0,229,255,0.5);
}

/* ═══════════════════════════════════════════════════════════
   TABLES
═══════════════════════════════════════════════════════════ */
.table {
  color: var(--vs-text);
  font-family: 'VGA437', 'Share Tech Mono', monospace;
  font-size: 0.88rem;
  --bs-table-bg: transparent;
}

.table > :not(caption) > * > * {
  background-color: transparent;
  border-bottom-color: rgba(0, 255, 136, 0.1);
  color: var(--vs-text);
}

.table thead th {
  color: var(--vs-green);
  border-bottom: 2px solid rgba(0, 255, 136, 0.5) !important;
  font-family: 'Orbitron', sans-serif;
  font-size: 0.68rem;
  letter-spacing: 2px;
  text-transform: uppercase;
  text-shadow: 0 0 10px rgba(0,255,136,0.5);
}

.table-hover > tbody > tr:hover > * {
  background: rgba(0, 255, 136, 0.06) !important;
  color: #ffffff;
}

.table-striped > tbody > tr:nth-of-type(odd) > * {
  background: rgba(0, 255, 136, 0.025) !important;
  color: var(--vs-text);
}

/* ═══════════════════════════════════════════════════════════
   BADGES
═══════════════════════════════════════════════════════════ */
.badge {
  border-radius: 0 !important;
  font-family: 'Orbitron', sans-serif;
  font-size: 0.6rem;
  letter-spacing: 1px;
  text-transform: uppercase;
}

.bg-primary, .badge.bg-primary { background: linear-gradient(135deg, var(--vs-green), var(--vs-cyan)) !important; color: #000 !important; }
.bg-danger,  .badge.bg-danger  { background: var(--vs-magenta) !important; box-shadow: 0 0 8px rgba(255,0,204,0.7); color: #fff !important; }
.bg-success, .badge.bg-success { background: var(--vs-green) !important; color: #000 !important; box-shadow: 0 0 8px rgba(0,255,136,0.7); }
.bg-info,    .badge.bg-info    { background: var(--vs-cyan) !important; color: #000 !important; box-shadow: 0 0 8px rgba(0,229,255,0.7); }
.bg-warning, .badge.bg-warning { background: var(--vs-yellow) !important; color: #000 !important; box-shadow: 0 0 8px rgba(255,238,0,0.6); }

/* ═══════════════════════════════════════════════════════════
   ALERTS
═══════════════════════════════════════════════════════════ */
.alert {
  border-radius: 0 !important;
  border-left-width: 4px !important;
  border-top-width: 0 !important;
  border-right-width: 0 !important;
  border-bottom-width: 0 !important;
  font-family: 'VGA437', 'Share Tech Mono', monospace;
}

.alert-success { background: rgba(0,255,136,0.07) !important; border-color: var(--vs-green) !important; color: #a0ffcc; }
.alert-danger  { background: rgba(255,0,204,0.07) !important; border-color: var(--vs-magenta) !important; color: #ffaaee; }
.alert-warning { background: rgba(255,238,0,0.05) !important; border-color: var(--vs-yellow) !important; color: #ffffaa; }
.alert-info    { background: rgba(0,229,255,0.06) !important; border-color: var(--vs-cyan) !important; color: #aaf0ff; }

/* ═══════════════════════════════════════════════════════════
   PAGINATION
═══════════════════════════════════════════════════════════ */
.page-item .page-link {
  background: transparent;
  border: 1px solid rgba(0,255,136,0.25);
  color: var(--vs-cyan);
  font-family: 'VGA437', 'Share Tech Mono', monospace;
  border-radius: 0 !important;
  transition: all 0.15s;
}

.page-item .page-link:hover {
  background: rgba(0,255,136,0.1);
  border-color: var(--vs-green);
  color: var(--vs-green);
  box-shadow: 0 0 12px rgba(0,255,136,0.4);
}

.page-item.active .page-link {
  background: rgba(0,255,136,0.2) !important;
  border-color: var(--vs-green) !important;
  color: #fff;
  box-shadow: 0 0 14px rgba(0,255,136,0.6);
}

.page-item.disabled .page-link {
  background: transparent;
  border-color: rgba(0,255,136,0.08);
  color: rgba(0,255,136,0.25);
}

/* ═══════════════════════════════════════════════════════════
   LIST GROUP
═══════════════════════════════════════════════════════════ */
.list-group-item {
  background: #010a04 !important;
  border-color: rgba(0,255,136,0.12) !important;
  color: var(--vs-text) !important;
  border-radius: 0 !important;
  transition: all 0.12s;
}

.list-group-item:hover {
  background: rgba(0,255,136,0.07) !important;
  border-color: rgba(0,255,136,0.35) !important;
  color: #ffffff !important;
}

.list-group-item.active {
  background: rgba(0,255,136,0.15) !important;
  border-color: var(--vs-green) !important;
  color: #fff !important;
  box-shadow: inset 3px 0 0 var(--vs-green);
}

/* ═══════════════════════════════════════════════════════════
   NAV TABS / PILLS
═══════════════════════════════════════════════════════════ */
.nav-tabs { border-bottom: 1px solid rgba(0,255,136,0.3) !important; }

.nav-tabs .nav-link {
  color: rgba(0,255,136,0.5) !important;
  border: 1px solid transparent !important;
  border-radius: 0 !important;
  font-family: 'Orbitron', sans-serif;
  font-size: 0.68rem;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  transition: all 0.15s;
}

.nav-tabs .nav-link:hover {
  color: var(--vs-green) !important;
  border-color: rgba(0,255,136,0.2) rgba(0,255,136,0.2) transparent !important;
  background: rgba(0,255,136,0.05) !important;
}

.nav-tabs .nav-link.active {
  background: rgba(0,255,136,0.08) !important;
  border-color: rgba(0,255,136,0.5) rgba(0,255,136,0.5) transparent !important;
  color: var(--vs-green) !important;
  text-shadow: 0 0 12px rgba(0,255,136,0.6);
}

.nav-pills .nav-link {
  color: rgba(0,255,136,0.6);
  border-radius: 0 !important;
  font-family: 'Orbitron', sans-serif;
  font-size: 0.68rem;
  letter-spacing: 1px;
  text-transform: uppercase;
}

.nav-pills .nav-link.active {
  background: rgba(0,255,136,0.18) !important;
  color: var(--vs-green) !important;
  box-shadow: 0 0 12px rgba(0,255,136,0.4);
}

/* ═══════════════════════════════════════════════════════════
   PROGRESS
═══════════════════════════════════════════════════════════ */
.progress { background: rgba(0,255,136,0.12); border-radius: 0; height: 5px; }
.progress-bar {
  background: linear-gradient(90deg, var(--vs-green), var(--vs-cyan)) !important;
  box-shadow: 0 0 10px rgba(0,255,136,0.7);
  border-radius: 0;
}

/* ═══════════════════════════════════════════════════════════
   MODALS
═══════════════════════════════════════════════════════════ */
.modal-content {
  background: #000a03 !important;
  border: 1px solid rgba(0,255,136,0.5) !important;
  border-radius: 0 !important;
  box-shadow: 0 0 80px rgba(0,255,136,0.2), 0 0 160px rgba(0,229,255,0.05);
}

.modal-header {
  background: #000000 !important;
  border-bottom: 1px solid rgba(0,255,136,0.3) !important;
}

.modal-title {
  font-family: 'Orbitron', sans-serif;
  font-weight: 700;
  font-size: 0.85rem;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  color: var(--vs-green) !important;
  text-shadow: 0 0 14px rgba(0,255,136,0.7);
}

.modal-footer {
  border-top: 1px solid rgba(0,255,136,0.2) !important;
  background: #000000 !important;
}

.modal-backdrop.show { opacity: 0.88 !important; }

/* ═══════════════════════════════════════════════════════════
   BBS HEADER / ANSI ART
═══════════════════════════════════════════════════════════ */
.bbs-header {
  background: #000000 !important;
  border: 1px solid rgba(0,255,136,0.3) !important;
  border-radius: 0 !important;
  box-shadow: 0 0 20px rgba(0,255,136,0.08), inset 0 0 30px rgba(0,0,0,0.5);
  overflow: hidden;
  position: relative;
}


/* ═══════════════════════════════════════════════════════════
   FOOTER
═══════════════════════════════════════════════════════════ */
.footer {
  background: #000000 !important;
  border-top: none !important;
  margin-top: 2rem;
  padding-top: 0;
  font-family: 'VGA437', 'Share Tech Mono', monospace;
  font-size: 0.78rem;
  color: rgba(0, 255, 136, 0.5);
  position: relative;
}

/* Tri-color animated sweep */
.footer::before {
  content: '';
  display: block;
  height: 2px;
  background: linear-gradient(
    90deg,
    transparent 0%,
    var(--vs-green) 20%,
    var(--vs-cyan) 40%,
    var(--vs-magenta) 60%,
    var(--vs-cyan) 80%,
    var(--vs-green) 100%
  );
  background-size: 200% auto;
  animation: footer-sweep 3s linear infinite;
  margin-bottom: 1rem;
}

@keyframes footer-sweep {
  0%   { background-position: 0% center; }
  100% { background-position: 200% center; }
}

/* ═══════════════════════════════════════════════════════════
   CODE
═══════════════════════════════════════════════════════════ */
code {
  color: var(--vs-cyan);
  background: rgba(0,229,255,0.07);
  padding: 0.1em 0.3em;
  font-family: 'VGA437', 'Share Tech Mono', monospace;
}

pre {
  background: #000a03 !important;
  border: 1px solid rgba(0,255,136,0.2);
  border-radius: 0;
  padding: 1rem;
}

pre code { background: transparent; color: var(--vs-green); }

/* ═══════════════════════════════════════════════════════════
   TOASTS
═══════════════════════════════════════════════════════════ */
.toast {
  border-radius: 0 !important;
  border: 1px solid rgba(0,255,136,0.5) !important;
  font-family: 'VGA437', 'Share Tech Mono', monospace;
}

.text-bg-warning {
  background: rgba(20,18,0,0.97) !important;
  color: var(--vs-yellow) !important;
  border-color: rgba(255,238,0,0.5) !important;
}

.text-bg-danger {
  background: rgba(15,0,10,0.97) !important;
  color: var(--vs-magenta) !important;
  border-color: rgba(255,0,204,0.5) !important;
}

/* ═══════════════════════════════════════════════════════════
   @MENTION POPUP
═══════════════════════════════════════════════════════════ */
#mentionPopup {
  background: #000a03 !important;
  border: 1px solid rgba(0,255,136,0.5) !important;
  box-shadow: 0 8px 30px rgba(0,0,0,0.9), 0 0 20px rgba(0,255,136,0.15);
  border-radius: 0 !important;
}

#mentionPopup .list-group-item {
  color: rgba(0,255,136,0.8) !important;
  font-family: 'VGA437', 'Share Tech Mono', monospace;
}

#mentionPopup .list-group-item:hover {
  background: rgba(0,255,136,0.1) !important;
  color: var(--vs-green) !important;
  text-shadow: 0 0 8px rgba(0,255,136,0.5);
}

/* ═══════════════════════════════════════════════════════════
   BREADCRUMBS
═══════════════════════════════════════════════════════════ */
.breadcrumb-item + .breadcrumb-item::before { color: rgba(0,255,136,0.4); content: '//'; font-size: 0.7em; }
.breadcrumb-item a { color: var(--vs-cyan); }
.breadcrumb-item.active { color: var(--vs-green); }

/* ═══════════════════════════════════════════════════════════
   ACCORDION
═══════════════════════════════════════════════════════════ */
.accordion-item { background: #010a04 !important; border-color: rgba(0,255,136,0.15) !important; border-radius: 0 !important; }
.accordion-button {
  background: #000a03 !important;
  color: rgba(0,255,136,0.8) !important;
  font-family: 'Orbitron', sans-serif;
  font-size: 0.75rem;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  border-radius: 0 !important;
}
.accordion-button:not(.collapsed) {
  background: rgba(0,255,136,0.07) !important;
  color: var(--vs-green) !important;
  box-shadow: inset 0 -1px 0 rgba(0,255,136,0.2) !important;
}
.accordion-button::after { filter: invert(1) sepia(1) saturate(5) hue-rotate(80deg); }

/* ═══════════════════════════════════════════════════════════
   TEXT UTILITIES
═══════════════════════════════════════════════════════════ */
.text-muted   { color: rgba(0, 255, 136, 0.45) !important; }
.text-primary { color: var(--vs-green) !important; }
.text-success { color: var(--vs-green) !important; }
.text-danger  { color: var(--vs-magenta) !important; }
.text-info    { color: var(--vs-cyan) !important; }
.text-warning { color: var(--vs-yellow) !important; }
.text-secondary { color: rgba(0,229,255,0.6) !important; }

/* Online indicator */
.bi-circle-fill.text-success { color: var(--vs-green) !important; filter: drop-shadow(0 0 4px var(--vs-green)); }

/* ═══════════════════════════════════════════════════════════
   IMAGES / AVATARS
═══════════════════════════════════════════════════════════ */
.rounded-circle {
  border: 2px solid rgba(0,255,136,0.5) !important;
  box-shadow: 0 0 12px rgba(0,255,136,0.3);
}

img.img-thumbnail {
  background: #010a04 !important;
  border-color: rgba(0,255,136,0.3) !important;
  border-radius: 0 !important;
}

/* ═══════════════════════════════════════════════════════════
   RESPONSIVE
═══════════════════════════════════════════════════════════ */
@media (max-width: 768px) {
  .navbar-brand { font-size: 1rem !important; letter-spacing: 2px; }
  h1 { font-size: 1.3rem; letter-spacing: 1.5px; }
  .btn { font-size: 0.65rem; letter-spacing: 1px; }
}
