/* ============================================================
   💀 KILLER V2 - CYBERPUNK HACKER THEME
   Dark Mode | Neon Red/Cyan/Green | Glassmorphism | Responsive
   ============================================================ */

/* ----- FONTS & BASE ----- */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;600;700;900&family=JetBrains+Mono:wght@400;700;900&display=swap');

:root {
  --neon-red: #ff0040;
  --neon-cyan: #00f0ff;
  --neon-green: #00ff41;
  --neon-purple: #b000ff;
  --bg-primary: #0a0a0a;
  --bg-secondary: #111111;
  --bg-card: rgba(20, 20, 20, 0.85);
  --glass-border: rgba(255, 0, 64, 0.2);
  --glass-shadow: rgba(255, 0, 64, 0.1);
  --text-primary: #f0f0f0;
  --text-muted: #666666;
  --sidebar-width: 280px;
  --nav-height: 70px;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  background-color: var(--bg-primary);
  color: var(--text-primary);
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  min-height: 100vh;
  overflow-x: hidden;
  line-height: 1.6;
}

/* ----- SCROLLBAR STYLING ----- */
::-webkit-scrollbar { width: 6px; height: 6px; }
::-webkit-scrollbar-track { background: var(--bg-primary); }
::-webkit-scrollbar-thumb { background: var(--neon-red); border-radius: 3px; }
::-webkit-scrollbar-thumb:hover { background: #ff2060; }

/* ----- UTILITY CLASSES ----- */
.hidden { display: none !important; }
.text-neon-red { color: var(--neon-red); }
.text-neon-cyan { color: var(--neon-cyan); }
.text-neon-green { color: var(--neon-green); }
.text-neon-purple { color: var(--neon-purple); }
.bg-neon-red { background: var(--neon-red); }
.bg-neon-cyan { background: var(--neon-cyan); }
.bg-neon-green { background: var(--neon-green); }

/* ----- GLASSMORPHISM BASE ----- */
.glass {
  background: var(--bg-card);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid var(--glass-border);
  box-shadow: 0 8px 32px var(--glass-shadow);
}

.glass-strong {
  background: rgba(10, 10, 10, 0.92);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 0, 64, 0.15);
}

/* ----- NEON GLOW EFFECTS ----- */
.neon-glow-red {
  box-shadow: 0 0 10px rgba(255, 0, 64, 0.3),
              0 0 20px rgba(255, 0, 64, 0.1);
}

.neon-glow-cyan {
  box-shadow: 0 0 10px rgba(0, 240, 255, 0.3),
              0 0 20px rgba(0, 240, 255, 0.1);
}

.neon-glow-green {
  box-shadow: 0 0 10px rgba(0, 255, 65, 0.3),
              0 0 20px rgba(0, 255, 65, 0.1);
}

.neon-text {
  text-shadow: 0 0 10px currentColor, 0 0 20px currentColor;
}

/* ----- ANIMATIONS ----- */
@keyframes pulse-red {
  0%, 100% { box-shadow: 0 0 5px rgba(255, 0, 64, 0.3); }
  50% { box-shadow: 0 0 20px rgba(255, 0, 64, 0.6), 0 0 40px rgba(255, 0, 64, 0.3); }
}

@keyframes pulse-cyan {
  0%, 100% { box-shadow: 0 0 5px rgba(0, 240, 255, 0.3); }
  50% { box-shadow: 0 0 20px rgba(0, 240, 255, 0.6), 0 0 40px rgba(0, 240, 255, 0.3); }
}

@keyframes pulse-green {
  0%, 100% { box-shadow: 0 0 5px rgba(0, 255, 65, 0.3); }
  50% { box-shadow: 0 0 20px rgba(0, 255, 65, 0.6), 0 0 40px rgba(0, 255, 65, 0.3); }
}

@keyframes scanline {
  0% { transform: translateY(-100%); }
  100% { transform: translateY(100vh); }
}

@keyframes flicker {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.85; }
}

@keyframes slideInLeft {
  from { opacity: 0; transform: translateX(-30px); }
  to { opacity: 1; transform: translateX(0); }
}

@keyframes slideInUp {
  from { opacity: 0; transform: translateY(30px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

@keyframes glitch {
  0% { transform: translate(0); }
  20% { transform: translate(-2px, 2px); }
  40% { transform: translate(2px, -2px); }
  60% { transform: translate(-1px, 1px); }
  80% { transform: translate(1px, -1px); }
  100% { transform: translate(0); }
}

@keyframes typing {
  from { width: 0; }
  to { width: 100%; }
}

@keyframes blink-caret {
  from, to { border-color: transparent; }
  50% { border-color: var(--neon-red); }
}

.animate-pulse-red { animation: pulse-red 2s ease-in-out infinite; }
.animate-pulse-cyan { animation: pulse-cyan 2s ease-in-out infinite; }
.animate-pulse-green { animation: pulse-green 2s ease-in-out infinite; }
.animate-fade-in { animation: fadeIn 0.5s ease-out; }
.animate-slide-up { animation: slideInUp 0.5s ease-out; }
.animate-slide-left { animation: slideInLeft 0.5s ease-out; }
.animate-glitch:hover { animation: glitch 0.3s ease-in-out; }

/* ============================================================
   LOGIN SCREEN
   ============================================================ */
.login-wrapper {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  background: radial-gradient(ellipse at center, #1a0000 0%, #0a0a0a 70%);
  position: relative;
  overflow: hidden;
}

.login-wrapper::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: repeating-linear-gradient(
    0deg,
    transparent,
    transparent 2px,
    rgba(255, 0, 64, 0.03) 2px,
    rgba(255, 0, 64, 0.03) 4px
  );
  pointer-events: none;
}

.login-card {
  background: var(--bg-card);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 0, 64, 0.25);
  border-radius: 24px;
  box-shadow: 0 20px 60px rgba(255, 0, 64, 0.15),
              inset 0 0 30px rgba(255, 0, 64, 0.05);
  width: 100%;
  max-width: 420px;
  padding: 45px 30px;
  position: relative;
  overflow: hidden;
  animation: fadeIn 0.6s ease-out;
}

.login-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 3px;
  background: linear-gradient(90deg, transparent, var(--neon-red), transparent);
  animation: pulse-red 3s ease-in-out infinite;
}

.login-card::after {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: conic-gradient(from 0deg, transparent, rgba(255, 0, 64, 0.03), transparent, rgba(0, 240, 255, 0.03), transparent);
  animation: spin 10s linear infinite;
  pointer-events: none;
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

.login-logo {
  font-size: 60px;
  color: var(--neon-red);
  margin-bottom: 5px;
  text-shadow: 0 0 30px rgba(255, 0, 64, 0.6);
  animation: flicker 3s ease-in-out infinite;
}

.login-title {
  color: #fff;
  font-weight: 900;
  letter-spacing: 4px;
  font-family: 'JetBrains Mono', monospace;
  font-size: 28px;
  text-transform: uppercase;
}

.login-subtitle {
  color: var(--neon-red);
  font-size: 11px;
  margin-bottom: 35px;
  letter-spacing: 3px;
  font-weight: 700;
  opacity: 0.8;
}

/* ----- CUSTOM INPUTS ----- */
.custom-input-group {
  background: rgba(255, 0, 64, 0.05);
  border: 1px solid rgba(255, 0, 64, 0.2);
  border-radius: 12px;
  overflow: hidden;
  margin-bottom: 15px;
  display: flex;
  align-items: center;
  transition: all 0.3s ease;
}

.custom-input-group:focus-within {
  border-color: var(--neon-red);
  box-shadow: 0 0 20px rgba(255, 0, 64, 0.2);
  background: rgba(255, 0, 64, 0.08);
}

.custom-input-group i {
  padding: 16px 15px;
  color: var(--neon-red);
  font-size: 14px;
  opacity: 0.7;
}

.custom-input-group input {
  background: transparent;
  border: none;
  color: var(--neon-green);
  width: 100%;
  padding: 15px 10px;
  outline: none;
  font-weight: 700;
  font-family: 'JetBrains Mono', monospace;
  font-size: 15px;
}

.custom-input-group input::placeholder {
  color: #444;
  font-weight: 400;
  letter-spacing: 1px;
}

/* ----- ROLE SELECTOR ----- */
.role-selector-bg {
  background: rgba(255, 0, 64, 0.05);
  border: 1px solid rgba(255, 0, 64, 0.15);
  border-radius: 12px;
  display: flex;
  padding: 4px;
  margin-bottom: 25px;
  gap: 2px;
}

.btn-role {
  flex: 1;
  text-align: center;
  color: #666;
  font-weight: 700;
  font-size: 11px;
  padding: 10px 6px;
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.3s ease;
  border: none;
  background: transparent;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.btn-check:checked + .btn-role {
  background: linear-gradient(135deg, var(--neon-red), #cc0033);
  color: #fff;
  box-shadow: 0 4px 15px rgba(255, 0, 64, 0.4);
  text-shadow: 0 1px 2px #000;
}

.btn-role:hover:not(:checked + .btn-role) {
  color: #aaa;
  background: rgba(255, 0, 64, 0.1);
}

/* ----- SIGN IN BUTTON ----- */
.btn-signin {
  background: linear-gradient(135deg, var(--neon-red), #880022);
  border: none;
  border-radius: 12px;
  font-weight: 900;
  font-size: 16px;
  padding: 16px;
  color: white;
  text-transform: uppercase;
  letter-spacing: 2px;
  transition: all 0.2s ease;
  box-shadow: 0 6px 0 #550011, 0 10px 25px rgba(255, 0, 64, 0.3);
  margin-bottom: 10px;
  position: relative;
  overflow: hidden;
}

.btn-signin::after {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: linear-gradient(45deg, transparent, rgba(255,255,255,0.05), transparent);
  transform: rotate(45deg);
  transition: all 0.5s ease;
}

.btn-signin:hover::after {
  left: 100%;
}

.btn-signin:active {
  transform: translateY(6px);
  box-shadow: 0 0 0 #550011, 0 2px 5px rgba(255, 0, 64, 0.3);
  background: var(--neon-red);
  color: #000;
}

/* ============================================================
   SIDEBAR NAVIGATION
   ============================================================ */
#sidebar {
  position: fixed;
  top: 0;
  left: -300px;
  width: var(--sidebar-width);
  height: 100vh;
  background: rgba(10, 10, 10, 0.98);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-right: 1px solid rgba(255, 0, 64, 0.15);
  transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  z-index: 1050;
  overflow-y: auto;
  overflow-x: hidden;
  display: flex;
  flex-direction: column;
}

#sidebar.active {
  left: 0;
  box-shadow: 10px 0 40px rgba(255, 0, 64, 0.15);
}

.sidebar-header {
  padding: 25px 20px 20px;
  border-bottom: 1px solid rgba(255, 0, 64, 0.1);
  position: relative;
}

.sidebar-header-content {
  display: flex;
  align-items: center;
  gap: 15px;
}

.sidebar-logo-icon {
  font-size: 38px;
  color: var(--neon-red);
  text-shadow: 0 0 20px rgba(255, 0, 64, 0.5);
  animation: flicker 4s ease-in-out infinite;
}

.sidebar-brand {
  font-family: 'JetBrains Mono', monospace;
  font-weight: 900;
  font-size: 22px;
  color: var(--neon-red);
  letter-spacing: 2px;
  line-height: 1.2;
}

.sidebar-brand-sub {
  font-size: 9px;
  color: var(--text-muted);
  letter-spacing: 2px;
  font-weight: 600;
  text-transform: uppercase;
}

.sidebar-close {
  position: absolute;
  right: 18px;
  top: 18px;
  color: var(--neon-red);
  font-size: 22px;
  cursor: pointer;
  transition: all 0.3s ease;
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
}

.sidebar-close:hover {
  background: rgba(255, 0, 64, 0.1);
  transform: rotate(90deg);
}

/* ----- USER PROFILE IN SIDEBAR ----- */
.user-profile-box {
  background: rgba(255, 0, 64, 0.05);
  border: 1px solid rgba(255, 0, 64, 0.15);
  border-radius: 12px;
  padding: 14px 16px;
  margin: 18px 15px 20px;
  display: flex;
  align-items: center;
  gap: 14px;
  transition: all 0.3s ease;
}

.user-profile-box:hover {
  border-color: rgba(255, 0, 64, 0.3);
  background: rgba(255, 0, 64, 0.08);
}

.user-avatar {
  width: 42px;
  height: 42px;
  border-radius: 10px;
  background: linear-gradient(135deg, var(--neon-red), #880022);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  color: #fff;
  flex-shrink: 0;
}

.user-info-name {
  font-size: 13px;
  font-weight: 700;
  color: var(--neon-green);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  word-break: break-word;
}

.user-info-badge {
  font-size: 9px;
  color: var(--neon-red);
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
}

/* ----- NAV ITEMS ----- */
.nav-section-label {
  padding: 15px 20px 5px;
  font-size: 10px;
  color: var(--text-muted);
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
}

.nav-item {
  padding: 13px 20px;
  color: #888;
  cursor: pointer;
  font-weight: 600;
  font-size: 13px;
  display: flex;
  align-items: center;
  gap: 14px;
  border-radius: 8px;
  margin: 2px 12px;
  transition: all 0.3s ease;
  font-family: 'Inter', sans-serif;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  position: relative;
  overflow: hidden;
}

.nav-item i {
  font-size: 17px;
  width: 24px;
  text-align: center;
  color: #555;
  transition: all 0.3s ease;
}

.nav-item::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  height: 100%;
  width: 3px;
  background: var(--neon-red);
  transform: scaleY(0);
  transition: transform 0.3s ease;
}

.nav-item:hover {
  background: rgba(255, 0, 64, 0.08);
  color: var(--neon-red);
}

.nav-item:hover i {
  color: var(--neon-red);
}

.nav-item:hover::before {
  transform: scaleY(1);
}

.nav-item.active {
  background: linear-gradient(90deg, rgba(255, 0, 64, 0.15), rgba(255, 0, 64, 0.05));
  color: #fff;
  box-shadow: 0 4px 15px rgba(255, 0, 64, 0.15);
}

.nav-item.active i {
  color: var(--neon-red);
}

.nav-item.active::before {
  transform: scaleY(1);
}

.nav-item.logout-item {
  margin-top: auto;
  border-top: 1px solid rgba(255, 0, 64, 0.1);
  border-radius: 0;
  padding-top: 18px;
  margin-bottom: 20px;
}

.nav-item.logout-item i {
  color: var(--neon-red);
}

/* ============================================================
   MOBILE HEADER
   ============================================================ */
.mobile-header {
  display: flex;
  background: rgba(10, 10, 10, 0.98);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(255, 0, 64, 0.15);
  padding: 14px 20px;
  align-items: center;
  justify-content: space-between;
  position: sticky;
  top: 0;
  z-index: 1000;
}

.mobile-header-brand {
  display: flex;
  align-items: center;
  gap: 10px;
}

.mobile-header-brand i {
  font-size: 24px;
  color: var(--neon-red);
  text-shadow: 0 0 15px rgba(255, 0, 64, 0.4);
}

.mobile-header-brand h5 {
  font-family: 'JetBrains Mono', monospace;
  font-weight: 900;
  letter-spacing: 2px;
  margin: 0;
}

.mobile-menu-btn {
  background: transparent;
  border: 1px solid rgba(255, 0, 64, 0.2);
  color: var(--neon-red);
  width: 42px;
  height: 42px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  cursor: pointer;
  transition: all 0.3s ease;
}

.mobile-menu-btn:hover {
  background: rgba(255, 0, 64, 0.1);
  border-color: var(--neon-red);
}

/* ============================================================
   CONTENT AREA
   ============================================================ */
#content-area {
  transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  padding: 25px;
  width: 100%;
  min-height: 100vh;
  background: var(--bg-primary);
}

.content-header {
  margin-bottom: 25px;
  padding-bottom: 15px;
  border-bottom: 2px solid rgba(255, 0, 64, 0.15);
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px;
}

.content-header h4 {
  font-family: 'JetBrains Mono', monospace;
  font-weight: 900;
  letter-spacing: 1px;
  margin: 0;
}

/* ============================================================
   CARDS & GLASSMORPHISM CONTAINERS
   ============================================================ */
.card-modern {
  background: var(--bg-card);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid var(--glass-border);
  border-radius: 16px;
  box-shadow: 0 8px 32px var(--glass-shadow);
  padding: 24px;
  transition: all 0.3s ease;
}

.card-modern:hover {
  border-color: rgba(255, 0, 64, 0.35);
  box-shadow: 0 8px 40px rgba(255, 0, 64, 0.15);
}

.card-modern-cyan {
  border-color: rgba(0, 240, 255, 0.2);
  box-shadow: 0 8px 32px rgba(0, 240, 255, 0.08);
}

.card-modern-cyan:hover {
  border-color: rgba(0, 240, 255, 0.35);
  box-shadow: 0 8px 40px rgba(0, 240, 255, 0.15);
}

.card-modern-green {
  border-color: rgba(0, 255, 65, 0.2);
  box-shadow: 0 8px 32px rgba(0, 255, 65, 0.08);
}

.card-modern-green:hover {
  border-color: rgba(0, 255, 65, 0.35);
  box-shadow: 0 8px 40px rgba(0, 255, 65, 0.15);
}

.card-modern-purple {
  border-color: rgba(176, 0, 255, 0.2);
  box-shadow: 0 8px 32px rgba(176, 0, 255, 0.08);
}

/* ----- STAT CARDS ----- */
.stat-card {
  border-radius: 16px;
  padding: 25px 28px;
  position: relative;
  overflow: hidden;
  transition: all 0.3s ease;
}

.stat-card .stat-value {
  font-size: 48px;
  font-weight: 900;
  color: #fff;
  font-family: 'JetBrains Mono', monospace;
  line-height: 1;
  text-shadow: 0 0 10px rgba(255,255,255,0.2);
}

.stat-card .stat-label {
  font-size: 14px;
  font-weight: 700;
  margin-top: 8px;
  letter-spacing: 1px;
}

.stat-card .stat-icon-bg {
  position: absolute;
  right: 20px;
  bottom: 10px;
  font-size: 80px;
  opacity: 0.08;
  z-index: 1;
}

.stat-card-red {
  background: linear-gradient(135deg, #ff0033 0%, #8b0000 100%);
  box-shadow: 0 0 25px rgba(255, 0, 50, 0.25);
  border: 1px solid rgba(255, 100, 100, 0.3);
}

.stat-card-cyan {
  background: linear-gradient(135deg, #0a1a2e 0%, #000000 100%);
  box-shadow: 0 0 25px rgba(0, 240, 255, 0.1);
  border: 1px solid rgba(0, 240, 255, 0.2);
  border-left: 4px solid var(--neon-cyan);
}

.stat-card-green {
  background: linear-gradient(135deg, #002b00 0%, #000000 100%);
  box-shadow: 0 0 25px rgba(0, 255, 65, 0.1);
  border: 1px solid rgba(0, 255, 65, 0.2);
  border-left: 4px solid var(--neon-green);
}

.stat-card-purple {
  background: linear-gradient(135deg, #1a002b 0%, #000000 100%);
  box-shadow: 0 0 25px rgba(176, 0, 255, 0.1);
  border: 1px solid rgba(176, 0, 255, 0.2);
  border-left: 4px solid var(--neon-purple);
}

/* ============================================================
   TABLES
   ============================================================ */
.table-modern {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  color: #ccc;
}

.table-modern thead {
  background: rgba(255, 0, 64, 0.1);
}

.table-modern thead th {
  padding: 14px 12px;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--neon-red);
  border-bottom: 2px solid rgba(255, 0, 64, 0.2);
  white-space: nowrap;
}

.table-modern tbody tr {
  transition: all 0.2s ease;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.table-modern tbody tr:hover {
  background: rgba(255, 0, 64, 0.05);
}

.table-modern tbody td {
  padding: 12px;
  font-size: 13px;
  vertical-align: middle;
}

.table-modern tbody tr:last-child td {
  border-bottom: none;
}

.table-responsive-custom {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  border-radius: 12px;
  border: 1px solid rgba(255, 0, 64, 0.1);
}

/* ============================================================
   FORM ELEMENTS
   ============================================================ */
.input-modern {
  background: rgba(255, 255, 255, 0.05) !important;
  border: 1px solid rgba(255, 0, 64, 0.2) !important;
  border-radius: 10px !important;
  color: var(--neon-green) !important;
  padding: 12px 16px !important;
  font-family: 'JetBrains Mono', monospace !important;
  font-weight: 600 !important;
  transition: all 0.3s ease !important;
}

.input-modern:focus {
  border-color: var(--neon-red) !important;
  box-shadow: 0 0 20px rgba(255, 0, 64, 0.15) !important;
  background: rgba(255, 0, 64, 0.05) !important;
}

.input-modern::placeholder {
  color: #555 !important;
  font-weight: 400 !important;
}

.select-modern {
  background: rgba(255, 255, 255, 0.05) !important;
  border: 1px solid rgba(255, 0, 64, 0.2) !important;
  border-radius: 10px !important;
  color: var(--text-primary) !important;
  padding: 12px 16px !important;
  font-weight: 600 !important;
  transition: all 0.3s ease !important;
}

.select-modern:focus {
  border-color: var(--neon-red) !important;
  box-shadow: 0 0 20px rgba(255, 0, 64, 0.15) !important;
}

/* ----- BUTTONS ----- */
.btn-neon-red {
  background: linear-gradient(135deg, var(--neon-red), #880022);
  border: none;
  border-radius: 10px;
  font-weight: 700;
  padding: 12px 24px;
  color: white;
  text-transform: uppercase;
  letter-spacing: 1px;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(255, 0, 64, 0.3);
  cursor: pointer;
  font-size: 13px;
}

.btn-neon-red:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 25px rgba(255, 0, 64, 0.4);
}

.btn-neon-red:active {
  transform: translateY(0);
}

.btn-neon-cyan {
  background: transparent;
  border: 2px solid var(--neon-cyan);
  border-radius: 10px;
  font-weight: 700;
  padding: 10px 20px;
  color: var(--neon-cyan);
  text-transform: uppercase;
  letter-spacing: 1px;
  transition: all 0.3s ease;
  cursor: pointer;
  font-size: 12px;
}

.btn-neon-cyan:hover {
  background: rgba(0, 240, 255, 0.1);
  box-shadow: 0 0 20px rgba(0, 240, 255, 0.2);
}

.btn-neon-green {
  background: transparent;
  border: 2px solid var(--neon-green);
  border-radius: 10px;
  font-weight: 700;
  padding: 10px 20px;
  color: var(--neon-green);
  text-transform: uppercase;
  letter-spacing: 1px;
  transition: all 0.3s ease;
  cursor: pointer;
  font-size: 12px;
}

.btn-neon-green:hover {
  background: rgba(0, 255, 65, 0.1);
  box-shadow: 0 0 20px rgba(0, 255, 65, 0.2);
}

.btn-neon-outline {
  background: transparent;
  border: 1px solid rgba(255, 0, 64, 0.3);
  border-radius: 8px;
  font-weight: 600;
  padding: 8px 16px;
  color: var(--text-primary);
  transition: all 0.3s ease;
  cursor: pointer;
  font-size: 12px;
}

.btn-neon-outline:hover {
  border-color: var(--neon-red);
  background: rgba(255, 0, 64, 0.1);
  color: var(--neon-red);
}

/* ============================================================
   BADGES
   ============================================================ */
.badge-modern {
  display: inline-block;
  padding: 4px 12px;
  border-radius: 6px;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.badge-active { background: rgba(0, 255, 65, 0.15); color: var(--neon-green); border: 1px solid rgba(0, 255, 65, 0.3); }
.badge-pending { background: rgba(255, 165, 0, 0.15); color: #ffa500; border: 1px solid rgba(255, 165, 0, 0.3); }
.badge-expired { background: rgba(255, 0, 64, 0.15); color: var(--neon-red); border: 1px solid rgba(255, 0, 64, 0.3); }
.badge-inactive { background: rgba(100, 100, 100, 0.15); color: #888; border: 1px solid rgba(100, 100, 100, 0.3); }

/* ============================================================
   CHAT WIDGET
   ============================================================ */
.chat-toggle-btn {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 9999;
  border-radius: 50%;
  width: 60px;
  height: 60px;
  background: linear-gradient(135deg, var(--neon-red), #880022);
  color: white;
  border: 2px solid rgba(255, 0, 64, 0.4);
  box-shadow: 0 0 25px rgba(255, 0, 64, 0.4);
  font-size: 24px;
  cursor: pointer;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
}

.chat-toggle-btn:hover {
  transform: scale(1.1);
  box-shadow: 0 0 35px rgba(255, 0, 64, 0.6);
}

.chat-box {
  position: fixed;
  bottom: 96px;
  right: 24px;
  z-index: 9998;
  width: 340px;
  height: 460px;
  background: rgba(10, 10, 10, 0.98);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 0, 64, 0.25);
  border-radius: 16px;
  box-shadow: 0 10px 40px rgba(255, 0, 64, 0.2);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  animation: slideInUp 0.3s ease-out;
}

.chat-header {
  background: linear-gradient(90deg, rgba(255, 0, 64, 0.15), rgba(255, 0, 64, 0.05));
  padding: 14px 16px;
  border-bottom: 1px solid rgba(255, 0, 64, 0.2);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.chat-header-title {
  color: var(--neon-green);
  font-weight: 700;
  font-size: 13px;
  font-family: 'JetBrains Mono', monospace;
}

.chat-messages {
  flex: 1;
  padding: 12px;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 8px;
  background: rgba(0, 0, 0, 0.5);
}

.chat-input-area {
  padding: 12px;
  border-top: 1px solid rgba(255, 0, 64, 0.15);
  background: rgba(10, 10, 10, 0.8);
  display: flex;
  gap: 8px;
}

.chat-input {
  flex: 1;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 0, 64, 0.2);
  color: var(--neon-green);
  font-weight: 600;
  padding: 10px 14px;
  outline: none;
  border-radius: 8px;
  font-size: 12px;
  font-family: 'JetBrains Mono', monospace;
  transition: all 0.3s ease;
}

.chat-input:focus {
  border-color: var(--neon-red);
  box-shadow: 0 0 15px rgba(255, 0, 64, 0.15);
}

.chat-send-btn {
  background: linear-gradient(135deg, var(--neon-red), #880022);
  color: white;
  border: none;
  padding: 10px 14px;
  border-radius: 8px;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.3s ease;
}

.chat-send-btn:hover {
  box-shadow: 0 0 15px rgba(255, 0, 64, 0.3);
}

/* ============================================================
   MODAL
   ============================================================ */
.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  background: rgba(0, 0, 0, 0.85);
  z-index: 10000;
  display: flex;
  align-items: center;
  justify-content: center;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  animation: fadeIn 0.2s ease-out;
}

.modal-content {
  width: 90%;
  max-width: 420px;
  background: rgba(10, 10, 10, 0.98);
  border: 2px solid rgba(0, 255, 65, 0.3);
  border-radius: 16px;
  box-shadow: 0 0 40px rgba(0, 255, 65, 0.15);
  overflow: hidden;
  animation: slideInUp 0.3s ease-out;
}

.modal-header {
  background: linear-gradient(90deg, rgba(0, 255, 65, 0.1), rgba(0, 255, 65, 0.05));
  padding: 16px 20px;
  border-bottom: 1px solid rgba(0, 255, 65, 0.2);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.modal-header h5 {
  font-family: 'JetBrains Mono', monospace;
  font-weight: 700;
  margin: 0;
}

.modal-close {
  color: var(--neon-red);
  font-size: 20px;
  cursor: pointer;
  transition: all 0.3s ease;
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 6px;
}

.modal-close:hover {
  background: rgba(255, 0, 64, 0.1);
}

.modal-body {
  padding: 20px;
}

/* ============================================================
   SPAWN CREDENTIAL POPUP
   ============================================================ */
.spawn-popup-card {
  width: 90%;
  max-width: 400px;
  background: rgba(8, 8, 8, 0.98);
  border: 2px solid rgba(0, 255, 65, 0.35);
  border-radius: 16px;
  box-shadow: 0 0 50px rgba(0, 255, 65, 0.2), 0 0 100px rgba(0, 255, 65, 0.05);
  overflow: hidden;
  animation: slideInUp 0.35s ease-out;
}

.spawn-popup-header {
  background: linear-gradient(90deg, rgba(0, 255, 65, 0.12), rgba(0, 255, 65, 0.04));
  padding: 14px 18px;
  border-bottom: 1px solid rgba(0, 255, 65, 0.2);
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-family: 'JetBrains Mono', monospace;
  font-weight: 700;
  font-size: 12px;
  letter-spacing: 1px;
  color: #00ff41;
}

.spawn-popup-body {
  padding: 24px 20px 20px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.spawn-brand {
  text-align: center;
  font-family: 'JetBrains Mono', monospace;
  font-weight: 900;
  font-size: 22px;
  letter-spacing: 4px;
  color: #00ff41;
  text-shadow: 0 0 20px rgba(0, 255, 65, 0.4);
  margin-bottom: 8px;
}

.spawn-field {
  display: flex;
  align-items: center;
  gap: 8px;
  background: rgba(0, 255, 65, 0.04);
  border: 1px solid rgba(0, 255, 65, 0.12);
  border-radius: 10px;
  padding: 10px 12px;
}

.spawn-label {
  font-family: 'JetBrains Mono', monospace;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 1.5px;
  color: rgba(0, 255, 65, 0.5);
  min-width: 50px;
}

.spawn-value {
  flex: 1;
  font-family: 'JetBrains Mono', monospace;
  font-size: 14px;
  font-weight: 700;
  color: #00ff41;
  text-shadow: 0 0 8px rgba(0, 255, 65, 0.3);
  word-break: break-all;
}

.spawn-role {
  color: #ffcc00;
  text-shadow: 0 0 8px rgba(255, 204, 0, 0.3);
}

.spawn-copy-btn {
  background: rgba(0, 255, 65, 0.1);
  border: 1px solid rgba(0, 255, 65, 0.2);
  color: #00ff41;
  width: 32px;
  height: 32px;
  border-radius: 8px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.25s ease;
  flex-shrink: 0;
  font-size: 13px;
}

.spawn-copy-btn:hover {
  background: rgba(0, 255, 65, 0.25);
  border-color: #00ff41;
  box-shadow: 0 0 12px rgba(0, 255, 65, 0.3);
}

.spawn-copy-all-btn {
  margin-top: 4px;
  background: linear-gradient(135deg, rgba(0, 255, 65, 0.15), rgba(0, 255, 65, 0.05));
  border: 1px solid rgba(0, 255, 65, 0.3);
  color: #00ff41;
  padding: 12px 16px;
  border-radius: 12px;
  cursor: pointer;
  font-family: 'JetBrains Mono', monospace;
  font-weight: 700;
  font-size: 12px;
  letter-spacing: 1.5px;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
}

.spawn-copy-all-btn:hover {
  background: linear-gradient(135deg, rgba(0, 255, 65, 0.3), rgba(0, 255, 65, 0.1));
  border-color: #00ff41;
  box-shadow: 0 0 20px rgba(0, 255, 65, 0.2);
  transform: scale(1.02);
}

/* ============================================================
   RESPONSIVE - TABLETS & DESKTOP
   ============================================================ */
@media (min-width: 768px) {
  #sidebar {
    left: 0;
  }

  #content-area {
    margin-left: var(--sidebar-width);
    width: calc(100% - var(--sidebar-width));
  }

  .mobile-header {
    display: none !important;
  }

  .sidebar-close {
    display: none !important;
  }
}

/* ============================================================
   RESPONSIVE - MOBILE
   ============================================================ */
@media (max-width: 767px) {
  #sidebar {
    width: 280px;
  }

  #content-area {
    padding: 16px;
  }

  .content-header {
    flex-direction: column;
    align-items: flex-start;
  }

  .content-header h4 {
    font-size: 18px;
  }

  .stat-card .stat-value {
    font-size: 36px;
  }

  .stat-card {
    padding: 18px 20px;
  }

  .chat-box {
    width: calc(100% - 32px);
    right: 16px;
    bottom: 90px;
    height: 420px;
  }

  .chat-toggle-btn {
    width: 52px;
    height: 52px;
    font-size: 20px;
    bottom: 20px;
    right: 20px;
  }

  .card-modern {
    padding: 16px;
  }

  .table-modern thead th,
  .table-modern tbody td {
    padding: 10px 8px;
    font-size: 11px;
  }

  .login-card {
    padding: 30px 20px;
  }

  .login-title {
    font-size: 22px;
  }

  .btn-role {
    font-size: 10px;
    padding: 8px 4px;
  }

  .nav-item {
    font-size: 12px;
    padding: 11px 16px;
  }
}

/* ============================================================
   RESPONSIVE - SMALL MOBILE
   ============================================================ */
@media (max-width: 480px) {
  #content-area {
    padding: 12px;
  }

  .stat-card .stat-value {
    font-size: 28px;
  }

  .stat-card .stat-label {
    font-size: 12px;
  }

  .stat-card .stat-icon-bg {
    font-size: 60px;
  }

  .table-modern thead th,
  .table-modern tbody td {
    padding: 8px 6px;
    font-size: 10px;
  }

  .card-modern {
    padding: 12px;
    border-radius: 12px;
  }

  .login-card {
    padding: 24px 16px;
    border-radius: 18px;
  }

  .login-logo {
    font-size: 45px;
  }

  .login-title {
    font-size: 18px;
    letter-spacing: 2px;
  }

  .custom-input-group input {
    font-size: 13px;
    padding: 12px 8px;
  }

  .btn-signin {
    font-size: 14px;
    padding: 14px;
  }

  .chat-box {
    height: 380px;
    border-radius: 12px;
  }
}

/* ============================================================
   PRINT STYLES
   ============================================================ */
@media print {
  #sidebar,
  .mobile-header,
  .chat-toggle-btn,
  .chat-box {
    display: none !important;
  }

  #content-area {
    margin-left: 0 !important;
    width: 100% !important;
  }
}