@import url('https://fonts.googleapis.com/css2?family=Space+Grotesk:wght@400;500;600;700&family=Rajdhani:wght@600;700;800&family=Fira+Code:wght@500;700&display=swap');

:root {
  /* Ultra-Premium Obsidian Obsidian Backgrounds */
  --bg: #030306;
  --bg1: #090c15; /* Solid premium dark modal background */
  --bg2: #121620; /* Solid premium dark card background */
  --card: rgba(10, 11, 16, 0.65);
  --surface: #07080b;
  --surface2: #0f1118;
  --input: rgba(6, 7, 10, 0.85);

  /* Subtle Cybernetic Borders */
  --border: rgba(255, 255, 255, 0.04);
  --border2: rgba(255, 255, 255, 0.08);
  --border-r: rgba(239, 68, 68, 0.18);
  --border-r2: rgba(245, 158, 11, 0.28);

  /* Tactical Stealth Red & Cyberpunk Gold Accents */
  --r1: #7f0d0d;
  --r2: #b91c1c;
  --r3: #ef4444; /* Neon Crimson */
  --r4: #f59e0b; /* Bright Cyber Amber/Gold */
  --r-bg: rgba(239, 68, 68, 0.05);
  
  /* Indicators */
  --green: #00e676;
  --green-bg: rgba(0, 230, 118, 0.06);
  --blue: #00b0ff;
  --blue-bg: rgba(0, 176, 255, 0.06);

  /* High Contrast Premium Typography Colors */
  --tx: #ffffff;
  --tx2: #e2e8f0;
  --tx3: #8a9cae;

  /* Modern Sharp Rounded Borders */
  --radius: 12px;
  --radius-sm: 8px;
  --radius-xs: 5px;

  /* Sidebar Width */
  --sw: 280px;
  
  /* Cybernetic Neon Shadows & 3D Lighting */
  --shadow: 0 25px 60px rgba(0, 0, 0, 0.9);
  --shadow-r: 0 0 25px rgba(239, 68, 68, 0.2);
  --shadow-r2: 0 0 45px rgba(245, 158, 11, 0.35);
  --shadow-neon: 0 0 30px rgba(239, 68, 68, 0.45), 0 0 60px rgba(239, 68, 68, 0.2);
  --shadow-inset-3d: inset 0 1px 2px rgba(255, 255, 255, 0.03), inset 0 -1px 2px rgba(0, 0, 0, 0.9);
  
  --transition: all .25s cubic-bezier(0.2, 0.8, 0.2, 1);

  /* Futuristic Gaming Fonts */
  --font-sans: 'Space Grotesk', system-ui, -apple-system, sans-serif;
  --font-display: 'Rajdhani', sans-serif;
  --font-mono: 'Fira Code', monospace;
}

/* Base Animations */
@keyframes pulseGlow {
  0% { box-shadow: var(--shadow-r); border-color: var(--border-r); }
  50% { box-shadow: var(--shadow-neon); border-color: var(--r3); }
  100% { box-shadow: var(--shadow-r); border-color: var(--border-r); }
}
@keyframes glitchText {
  0% { text-shadow: 1.5px 0 var(--r2), -1.5px 0 var(--blue); }
  25% { text-shadow: -1px 0 var(--r3), 1px 0 var(--green); }
  50% { text-shadow: 1.5px 0 var(--r2), -1.5px 0 var(--blue); }
  75% { text-shadow: -1.5px 0 var(--r3), 1.5px 0 var(--blue); }
  100% { text-shadow: 1.5px 0 var(--r2), -1.5px 0 var(--blue); }
}
@keyframes borderDance {
  0% { border-color: rgba(239, 68, 68, 0.2); }
  50% { border-color: rgba(245, 158, 11, 0.45); }
  100% { border-color: rgba(239, 68, 68, 0.2); }
}
@keyframes slideIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

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

/* Custom Webkit Scrollbars for Premium Look */
::-webkit-scrollbar {
  width: 8px;
  height: 8px;
}
::-webkit-scrollbar-track {
  background: var(--bg);
}
::-webkit-scrollbar-thumb {
  background: rgba(239, 68, 68, 0.2);
  border-radius: 4px;
  border: 2px solid var(--bg);
  transition: background 0.3s;
}
::-webkit-scrollbar-thumb:hover {
  background: rgba(239, 68, 68, 0.5);
}

body {
  font-family: var(--font-sans);
  background: var(--bg);
  background-image: 
      radial-gradient(circle at 50% 0%, rgba(239, 68, 68, 0.15), transparent 50%),
      radial-gradient(circle at 100% 100%, rgba(185, 28, 28, 0.05), transparent 45%),
      linear-gradient(rgba(255, 255, 255, 0.005) 1px, transparent 1px),
      linear-gradient(90deg, rgba(255, 255, 255, 0.005) 1px, transparent 1px);
  background-size: 100% 100%, 100% 100%, 40px 40px, 40px 40px;
  color: var(--tx);
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
  position: relative;
  overflow-x: hidden;
}
body::before {
  content: ''; position: absolute; top: 0; left: 0; width: 100%; height: 100%;
  background: repeating-linear-gradient(0deg, transparent, transparent 2px, rgba(239, 68, 68, 0.015) 2px, rgba(239, 68, 68, 0.015) 4px);
  pointer-events: none; z-index: 9999; opacity: 0.4;
}

/* Layout Wrapper */
.main-wrap { 
  margin-left: var(--sw); 
  padding: 40px 50px; 
  min-height: 100vh; 
  position: relative; 
  z-index: 2; 
  animation: slideIn 0.5s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}
.auth-wrap { 
  min-height: 100vh; 
  display: flex; 
  align-items: center; 
  justify-content: center; 
  padding: 20px; 
  position: relative; 
  z-index: 2; 
}

/* Sidebar Dashboard Navigation */
.sidebar {
  position: fixed; top: 0; left: 0; bottom: 0; width: var(--sw);
  background: rgba(6, 7, 10, 0.82); backdrop-filter: blur(25px) saturate(180%); -webkit-backdrop-filter: blur(25px) saturate(180%);
  border-right: 1px solid rgba(255, 255, 255, 0.03);
  display: flex; flex-direction: column; z-index: 100;
  box-shadow: 15px 0 50px rgba(0, 0, 0, 0.95);
}

.sidebar-logo {
  padding: 25px 24px; 
  border-bottom: 1px solid rgba(255, 255, 255, 0.03);
  display: flex; align-items: center; gap: 14px;
}
.panel-logo {
  box-shadow: 0 0 15px rgba(239, 68, 68, 0.3);
  transition: transform 0.3s;
}
.panel-logo:hover {
  transform: rotate(5deg) scale(1.05);
}
.logo-text { 
  font-family: var(--font-display); 
  font-size: 21px; 
  font-weight: 800; 
  letter-spacing: 1.2px; 
  text-transform: uppercase; 
  color: #fff;
  text-shadow: 0 0 10px rgba(239, 68, 68, 0.6); 
}
.logo-sub { 
  font-family: var(--font-display); 
  font-size: 11px; 
  color: var(--r4); 
  font-weight: 700; 
  text-transform: uppercase; 
  letter-spacing: 2px; 
  margin-top: 1px;
}

.sidebar-nav { flex: 1; min-height: 0; padding: 24px 16px; display: flex; flex-direction: column; gap: 6px; overflow-y: auto; }
/* Scrollbar for sidebar nav */
.sidebar-nav::-webkit-scrollbar { width: 4px; }
.sidebar-nav::-webkit-scrollbar-track { background: transparent; }
.sidebar-nav::-webkit-scrollbar-thumb { background: rgba(255, 255, 255, 0.1); border-radius: 4px; }
.sidebar-nav::-webkit-scrollbar-thumb:hover { background: rgba(255, 255, 255, 0.2); }
.nav-section { 
  font-size: 10px; 
  font-weight: 700; 
  color: var(--tx3); 
  text-transform: uppercase; 
  letter-spacing: 1.5px; 
  padding: 14px 14px 8px; 
  opacity: 0.5; 
}
.nav-item {
  display: flex; align-items: center; gap: 12px; padding: 11px 15px;
  border-radius: var(--radius-sm); color: var(--tx2); text-decoration: none;
  font-size: 13.5px; font-weight: 500; transition: var(--transition);
  border: 1px solid transparent;
  margin-bottom: 2px;
}
.nav-item:hover { 
  background: rgba(239, 68, 68, 0.04); 
  color: var(--tx); 
  border-color: rgba(239, 68, 68, 0.08); 
  transform: translateX(5px);
}
.nav-item.active { 
  background: linear-gradient(90deg, rgba(239, 68, 68, 0.08), transparent); 
  color: #fff; 
  border-left: 3px solid var(--r3); 
  border-color: rgba(255, 255, 255, 0.02) rgba(255, 255, 255, 0.02) rgba(255, 255, 255, 0.02) var(--r3);
  font-weight: 600;
}
.nav-icon { font-size: 16px; }

.sidebar-footer { 
  padding: 20px 16px; 
  border-top: 1px solid rgba(255, 255, 255, 0.03); 
  background: rgba(0,0,0,0.15);
}
.user-chip {
  display: flex; align-items: center; gap: 12px; padding: 10px 12px;
  background: rgba(12, 14, 20, 0.55); border: 1px solid rgba(255,255,255,0.03);
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow-inset-3d);
}
.user-avatar {
  width: 36px; height: 36px; border-radius: 6px; background: rgba(239, 68, 68, 0.08);
  color: var(--r3); display: flex; align-items: center; justify-content: center;
  font-weight: 700; font-size: 15px; border: 1px solid rgba(239, 68, 68, 0.2);
}
.user-info { flex: 1; }
.user-name { font-size: 13.5px; font-weight: 700; color: #fff; }
.user-role { font-size: 9.5px; color: var(--tx3); text-transform: uppercase; letter-spacing: 0.5px; opacity: 0.8; }
.logout-btn { background: transparent; border: none; color: var(--tx3); cursor: pointer; display: flex; align-items: center; transition: var(--transition); }
.logout-btn:hover { color: var(--r3); transform: scale(1.05); }

/* Language Selector */
.lang-picker a {
  transition: color 0.2s, text-shadow 0.2s;
}
.lang-picker a:hover {
  color: #fff !important;
  text-shadow: 0 0 8px rgba(255, 255, 255, 0.6);
}

/* Typography & Page Header */
.page-top { margin-bottom: 35px; display: flex; justify-content: space-between; align-items: flex-end; }
.page-title { 
  font-family: var(--font-display); 
  font-size: 38px; 
  font-weight: 800; 
  text-transform: uppercase; 
  letter-spacing: 1.2px; 
  color: #fff; 
  text-shadow: 0 0 15px rgba(255, 255, 255, 0.05);
}
.page-sub { font-family: var(--font-sans); color: var(--tx3); font-size: 14px; margin-top: 5px; }
.stat-pill { 
  background: rgba(0, 230, 118, 0.05); 
  color: var(--green); 
  padding: 8px 16px; 
  border-radius: 30px; 
  border: 1px solid rgba(0, 230, 118, 0.2); 
  font-size: 11.5px; 
  font-weight: 700; 
  box-shadow: 0 0 15px rgba(0, 230, 118, 0.1); 
  letter-spacing: 0.5px;
  text-transform: uppercase;
}

/* Premium Statistics Grid */
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; margin-bottom: 35px; }
.stat-card {
  background: var(--card); 
  backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.03);
  border-radius: var(--radius); padding: 24px; box-shadow: var(--shadow);
  position: relative; overflow: hidden; transition: var(--transition);
}
.stat-card:hover { 
  border-color: rgba(239, 68, 68, 0.35); 
  transform: translateY(-4px); 
  box-shadow: 0 25px 45px rgba(0,0,0,0.9), 0 0 25px rgba(239, 68, 68, 0.1); 
}
.stat-card::after { content: ''; position: absolute; top: 0; left: 0; width: 100%; height: 3px; background: rgba(255,255,255,0.05); }
.stat-card:nth-child(1)::after { background: var(--blue); box-shadow: 0 0 12px var(--blue); }
.stat-card:nth-child(2)::after { background: var(--green); box-shadow: 0 0 12px var(--green); }
.stat-card:nth-child(3)::after { background: var(--r3); box-shadow: 0 0 12px var(--r3); }
.stat-card-label { font-family: var(--font-display); font-size: 12px; font-weight: 700; color: var(--tx3); text-transform: uppercase; letter-spacing: 1px; margin-bottom: 8px; opacity: 0.8; }
.stat-card-value { font-family: var(--font-display); font-size: 45px; font-weight: 800; line-height: 1; color: #fff; }

/* Dashboard Columns Grid */
.settings-form--bot { display: grid; grid-template-columns: 2.1fr 1fr; gap: 30px; align-items: start; }
.dashboard-row { display: grid; grid-template-columns: 1fr 1fr; gap: 30px; align-items: start; }
.card { 
  background: rgba(10, 12, 22, 0.76); 
  backdrop-filter: blur(25px); -webkit-backdrop-filter: blur(25px);
  border: 1px solid rgba(0, 176, 255, 0.10); 
  border-radius: var(--radius); 
  padding: 26px 30px; 
  box-shadow: 0 20px 45px rgba(0, 0, 0, 0.85), 0 0 20px rgba(0, 176, 255, 0.03); 
  transition: var(--transition); 
  position: relative; 
}
.card:hover { 
  transform: translateY(-3px); 
  box-shadow: 0 25px 50px rgba(0,0,0,0.95), 0 0 25px rgba(0, 176, 255, 0.25); 
  border-color: rgba(0, 176, 255, 0.35); 
}
.card::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0; height: 2px;
  background: linear-gradient(90deg, transparent, rgba(0, 176, 255, 0.6), rgba(124, 58, 237, 0.6), rgba(0, 176, 255, 0.6), transparent);
  border-radius: var(--radius) var(--radius) 0 0;
  opacity: 0.9;
}
.card-head { margin-bottom: 22px; border-bottom: 1px solid rgba(255, 255, 255, 0.04); padding-bottom: 16px; }
.card-title { font-family: 'Rajdhani', sans-serif; font-size: 19px; font-weight: 800; text-transform: uppercase; letter-spacing: 1.5px; color: #fff; display: flex; align-items: center; gap: 8px; }
.card-desc { font-family: var(--font-sans); font-size: 13px; color: var(--tx3); margin-bottom: 22px; line-height: 1.55; }

/* Dynamic Database Tables */
.table-wrap, .table-container { overflow-x: auto; width: 100%; -webkit-overflow-scrolling: touch; }
table { width: 100%; border-collapse: collapse; }
th { 
  text-align: left; 
  padding: 14px 20px; 
  font-size: 10px; 
  font-weight: 700; 
  color: var(--tx3); 
  text-transform: uppercase; 
  letter-spacing: 1.5px; 
  border-bottom: 1px solid rgba(255,255,255,0.04); 
  background: rgba(0,0,0,0.15); 
  white-space: nowrap; 
}
td { padding: 15px 20px; border-bottom: 1px solid rgba(255,255,255,0.03); font-size: 13.5px; vertical-align: middle; transition: background 0.15s ease; }
tr:last-child td { border-bottom: none; }
tr:hover td { background: rgba(239, 68, 68, 0.018); }

.uid-mono {
  font-family: var(--font-mono); font-size: 13px; font-weight: 600;
  color: var(--tx); word-break: break-all; line-height: 1.4;
  display: block; max-width: 100%;
}
.uid-note { font-size: 11px; color: var(--tx3); margin-top: 3px; opacity: 0.8; }
.mono-sm { 
  font-family: var(--font-mono); font-size: 11.5px; color: var(--r4); 
  background: rgba(245,158,11,0.05); border: 1px solid rgba(245,158,11,0.15); 
  padding: 4px 8px; border-radius: 4px; display: inline-block; 
}

/* Badges & Tags */
.badge { 
  padding: 4px 10px; border-radius: 4px; font-size: 10px; font-weight: 700; letter-spacing: 0.5px; 
  text-transform: uppercase; display: inline-block;
}
.badge-blue { background: var(--blue-bg); color: var(--blue); border: 1px solid rgba(0, 176, 255, 0.2); }
.badge-red { background: rgba(239, 68, 68, 0.06); color: var(--r3); border: 1px solid rgba(239, 68, 68, 0.25); box-shadow: var(--shadow-r); }
.badge-green { background: var(--green-bg); color: var(--green); border: 1px solid rgba(0, 230, 118, 0.2); }
.badge-gold {
  background: rgba(245, 158, 11, 0.06);
  color: var(--r4);
  border: 1px solid rgba(245, 158, 11, 0.25);
}

.tag { padding: 4px 10px; border-radius: 4px; font-size: 10.5px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.5px; }
.tag-purple { background: rgba(168, 85, 247, 0.08); color: #c084fc; border: 1px solid rgba(168, 85, 247, 0.2); }
.tag-gray { background: rgba(255, 255, 255, 0.03); color: var(--tx3); border: 1px solid rgba(255,255,255,0.04); }

/* Forms & Fields */
.form-label { display: block; font-family: 'Rajdhani', sans-serif; font-size: 11px; font-weight: 700; color: var(--tx3); text-transform: uppercase; letter-spacing: 1.5px; margin-bottom: 10px; opacity: 0.9; }
.form-input {
  width: 100%; padding: 14px 16px; background: rgba(6, 7, 10, 0.85);
  border: 1px solid rgba(0, 176, 255, 0.15); border-radius: var(--radius-sm);
  color: var(--tx); font-family: var(--font-mono); font-size: 14px;
  transition: all 0.3s ease; box-shadow: inset 0 2px 4px rgba(0,0,0,0.8);
}
.form-input:focus { 
  outline: none; 
  border-color: var(--blue); 
  background: rgba(10, 11, 16, 0.95);
  box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.9), 0 0 15px rgba(0, 176, 255, 0.25); 
}
select.form-input { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' fill='none' stroke='%238a9cae' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 14px center; background-size: 16px; padding-right: 40px; }
.field { margin-bottom: 20px; }

/* Buttons Styles */
.btn-primary, .btn-full {
  display: block; width: 100%; padding: 13px 20px; 
  background: linear-gradient(135deg, #00b0ff 0%, #7c3aed 100%);
  color: #fff; border: 1px solid rgba(255, 255, 255, 0.1); border-top: 1px solid rgba(255, 255, 255, 0.35); border-radius: var(--radius-sm);
  font-size: 13px; font-weight: 800; text-transform: uppercase; letter-spacing: 2px;
  cursor: pointer; transition: all 0.25s ease; font-family: 'Rajdhani', sans-serif;
  position: relative; overflow: hidden;
  box-shadow: 0 4px 18px rgba(0, 176, 255, 0.25), inset 0 1px 0 rgba(255, 255, 255, 0.1);
  text-shadow: 0 1px 2px rgba(0,0,0,0.3);
  text-align: center;
  text-decoration: none;
  box-sizing: border-box;
}
.btn-primary::after, .btn-full::after {
  content: ''; position: absolute; top: -50%; left: -50%; width: 200%; height: 200%;
  background: linear-gradient(to right, transparent, rgba(255,255,255,0.15), transparent);
  transform: rotate(45deg) translateY(-100%); transition: var(--transition);
}
.btn-primary:hover, .btn-full:hover { 
  background: linear-gradient(135deg, #00c6ff 0%, #8b5cf6 100%);
  box-shadow: 0 6px 25px rgba(0, 176, 255, 0.45); 
  transform: translateY(-2px); 
  border-color: rgba(255,255,255,0.4); 
}
.btn-primary:active, .btn-full:active { 
  transform: translateY(1px); 
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.4); 
}

.btn-danger { 
  background: transparent; 
  border: 1px solid rgba(239, 68, 68, 0.2); 
  color: var(--r3); 
  padding: 8px 16px; 
  border-radius: var(--radius-xs); 
  cursor: pointer; 
  font-size: 11.5px; 
  font-weight: 700; 
  transition: var(--transition); 
  font-family: inherit;
  box-shadow: var(--shadow-inset-3d);
}
.btn-danger:hover { 
  background: rgba(239, 68, 68, 0.08); 
  box-shadow: var(--shadow-r), var(--shadow-inset-3d); 
  border-color: var(--r3); 
  color: #fff; 
  transform: translateY(-1.5px); 
}

.btn-warning { 
  background: transparent; 
  border: 1px solid rgba(245, 158, 11, 0.2); 
  color: var(--r4); 
  padding: 8px 16px; 
  border-radius: var(--radius-xs); 
  cursor: pointer; 
  font-size: 11.5px; 
  font-weight: 700; 
  transition: var(--transition); 
  font-family: inherit;
  box-shadow: var(--shadow-inset-3d);
}
.btn-warning:hover { 
  background: rgba(245, 158, 11, 0.08); 
  box-shadow: var(--shadow-r2), var(--shadow-inset-3d); 
  border-color: var(--r4); 
  color: #fff; 
  transform: translateY(-1.5px); 
}

.btn-info { 
  background: transparent; 
  border: 1px solid rgba(0, 176, 255, 0.2); 
  color: var(--blue); 
  padding: 8px 16px; 
  border-radius: var(--radius-xs); 
  cursor: pointer; 
  font-size: 11.5px; 
  font-weight: 700; 
  transition: var(--transition); 
  font-family: inherit;
  box-shadow: var(--shadow-inset-3d);
}
.btn-info:hover { 
  background: rgba(0, 176, 255, 0.08); 
  box-shadow: 0 0 25px rgba(0, 176, 255, 0.2), var(--shadow-inset-3d); 
  border-color: var(--blue); 
  color: #fff; 
  transform: translateY(-1.5px); 
}

.btn-xs { padding: 5px 12px; font-size: 11px; }

/* Specific button styles */
.btn-purge {
  background: rgba(239, 68, 68, 0.05);
  border: 1px solid rgba(239, 68, 68, 0.2);
  color: var(--r3);
  padding: 8px 16px;
  border-radius: var(--radius-xs);
  cursor: pointer;
  font-size: 11.5px;
  font-weight: 700;
  font-family: inherit;
  transition: var(--transition);
  letter-spacing: 0.5px;
  text-transform: uppercase;
}
.btn-purge:hover {
  background: var(--r2);
  color: #fff;
  border-color: var(--r2);
  box-shadow: var(--shadow-neon);
  transform: translateY(-1.5px);
}

/* Authentication Portal Styles */
.auth-card {
  width: 100%; max-width: 440px; 
  background: linear-gradient(135deg, rgba(8, 9, 13, 0.8), rgba(15, 17, 24, 0.96)); 
  backdrop-filter: blur(25px); 
  -webkit-backdrop-filter: blur(25px);
  border: 1px solid rgba(239, 68, 68, 0.2);
  border-top: 4px solid var(--r3); 
  border-radius: var(--radius); 
  padding: 45px;
  box-shadow: 0 35px 80px rgba(0,0,0,0.98), 0 0 45px rgba(239, 68, 68, 0.15);
  animation: borderDance 6s infinite;
  transition: var(--transition);
}
.auth-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 40px 85px rgba(0,0,0,0.98), 0 0 35px rgba(239, 68, 68, 0.2);
  border-color: rgba(239, 68, 68, 0.35);
}
.auth-brand-logo { 
  margin: 0 auto 24px; width: 72px; height: 72px; background: var(--r-bg); border-radius: 14px; 
  border: 1px solid rgba(239, 68, 68, 0.2); display: flex; align-items: center; justify-content: center; 
  box-shadow: var(--shadow-r), var(--shadow-inset-3d); 
}
.auth-title { font-family: var(--font-display); font-size: 26px; font-weight: 800; text-transform: uppercase; letter-spacing: 1.5px; color: #fff; text-shadow: 0 0 10px rgba(239, 68, 68, 0.4); }
.auth-sub { font-size: 13px; color: var(--tx3); margin-top: 8px; line-height: 1.5; }

/* Tactical 3D Toast Notifications */
.toast-root { position: fixed; top: 20px; right: 20px; z-index: 9999; display: flex; flex-direction: column; gap: 10px; }
.toast { 
  background: rgba(10, 11, 16, 0.9); backdrop-filter: blur(15px); -webkit-backdrop-filter: blur(15px);
  border: 1px solid rgba(255,255,255,0.03); padding: 15px 20px; border-radius: var(--radius-sm); 
  display: flex; align-items: center; gap: 12px; font-size: 13.5px; font-weight: 600; 
  box-shadow: var(--shadow); border-left: 4px solid var(--r3); 
  animation: slideInRight 0.35s cubic-bezier(0.16, 1, 0.3, 1) forwards; 
}
.toast-ok { border-left-color: var(--green); }
.toast-icon { font-size: 16px; }
.toast-out { animation: slideOut 0.3s cubic-bezier(0.16, 1, 0.3, 1) forwards; }

@keyframes slideInRight {
  from { transform: translateX(100%); opacity: 0; }
  to { transform: translateX(0); opacity: 1; }
}
@keyframes slideOut {
  from { transform: translateX(0); opacity: 1; }
  to { transform: translateX(120%); opacity: 0; }
}

/* Responsive Mobile Navigation */
.menu-toggle {
  display: none;
  position: fixed;
  top: 15px;
  left: 15px;
  z-index: 9999;
  background: var(--surface);
  border: 1px solid rgba(239, 68, 68, 0.25);
  color: var(--r3);
  font-size: 22px;
  padding: 6px 12px;
  border-radius: var(--radius-sm);
  cursor: pointer;
  box-shadow: var(--shadow-r), var(--shadow-inset-3d);
  transition: var(--transition);
}
.menu-toggle:hover {
  background: var(--r-bg);
  color: #fff;
  transform: scale(1.05);
}

/* Mobile Responsive Engine */
@media (max-width: 1050px) {
  .settings-form--bot, .dashboard-row {
    grid-template-columns: 1fr;
    gap: 30px;
  }
}

/* Sidebar Overlay for Click-outside-to-close */
.sidebar-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.7);
  backdrop-filter: blur(5px);
  -webkit-backdrop-filter: blur(5px);
  z-index: 99;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}
.sidebar-overlay.active {
  opacity: 1;
  visibility: visible;
}

@media (max-width: 1024px) {
  .menu-toggle {
    display: block;
  }
  
  .sidebar {
    transform: translateX(-100%);
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  }
  
  .sidebar.active {
    transform: translateX(0);
  }
  
  .main-wrap {
    margin-left: 0;
    padding: 80px 20px 30px 20px;
  }
  
  .stats-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }
  
  .page-top {
    flex-direction: column;
    align-items: flex-start;
    gap: 14px;
  }
  .page-top > div {
    width: 100%;
  }
  
  .uid-cell {
    max-width: 140px;
  }

  /* Prevent mobile auto-zoom and ensure comfortable tap sizes */
  .form-input, .custom-select-trigger, select.form-input {
    font-size: 16px !important;
    height: 44px !important;
  }
}

/* Custom SVG Micro-Animated Icons Engine */
.icon-svg {
  width: 19px;
  height: 19px;
  stroke: var(--tx3);
  transition: stroke 0.25s, transform 0.25s;
  display: block;
}

.nav-item:hover .icon-svg {
  stroke: var(--r3);
  filter: drop-shadow(0 0 4px rgba(239, 68, 68, 0.5));
  transform: scale(1.08);
}

.nav-item.active .icon-svg {
  stroke: #ffffff;
  filter: drop-shadow(0 0 6px rgba(255, 255, 255, 0.4));
}

/* 1. Dashboard Animation - Sliding bar charts up sequentially */
.icon-dashboard line {
  transform-origin: bottom;
  transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}
.nav-item:hover .icon-dashboard line:nth-child(1) { transform: scaleY(1.35); }
.nav-item:hover .icon-dashboard line:nth-child(2) { transform: scaleY(1.2); transition-delay: 0.04s; }
.nav-item:hover .icon-dashboard line:nth-child(3) { transform: scaleY(1.45); transition-delay: 0.08s; }

/* 2. Free Portals Animation - Rotating link parts closer */
.icon-portals path {
  transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  transform-origin: center;
}
.nav-item:hover .icon-portals path:nth-child(1) { transform: translate(1px, -1px) scale(1.05); }
.nav-item:hover .icon-portals path:nth-child(2) { transform: translate(-1px, 1px) scale(1.05); }

/* 3. Trial UIDs Animation - Gift Box bouncing and Lid shifting open */
.icon-trials .gift-lid {
  transform-origin: center;
  transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}
.nav-item:hover .icon-trials .gift-lid { transform: translateY(-2px) rotate(-6deg); }
.nav-item:hover .icon-trials { animation: giftShake 0.6s ease infinite alternate; }
@keyframes giftShake {
  0% { transform: scale(1.05) rotate(-2deg); }
  100% { transform: scale(1.05) rotate(2deg); }
}

/* 4. User Manager Animation - Glow and slight outline expansion */
.icon-users circle, .icon-users path {
  transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  transform-origin: center;
}
.nav-item:hover .icon-users circle { transform: translateY(-1px) scale(1.08); }
.nav-item:hover .icon-users path:nth-child(1) { transform: translateY(0.5px) scaleX(1.02); }
.nav-item:hover .icon-users path:nth-child(3) { transform: translate(0.5px, 0.5px); }

/* 5. Logout Animation - Dynamic exit arrow pushing */
.logout-btn:hover .icon-logout {
  stroke: var(--r3);
  filter: drop-shadow(0 0 6px rgba(239, 68, 68, 0.6));
  transform: translateX(1px);
}
.logout-btn .logout-arrow { transition: transform 0.3s ease; }
.logout-btn:hover .logout-arrow { animation: arrowPush 0.8s ease-in-out infinite; }
.logout-btn .logout-line { transition: transform 0.3s ease; transform-origin: left; }
.logout-btn:hover .logout-line { animation: linePush 0.8s ease-in-out infinite; }

@keyframes arrowPush {
  0%, 100% { transform: translateX(0); }
  50% { transform: translateX(2px); }
}
@keyframes linePush {
  0%, 100% { transform: scaleX(1); }
  50% { transform: scaleX(1.2); }
}

/* 6. Login History Animation - Clock hands spinning */
.icon-logs path {
  transition: transform 0.5s cubic-bezier(0.25, 0.8, 0.25, 1);
  transform-origin: 12px 12px;
}
.nav-item:hover .icon-logs path { animation: clockSpin 2s linear infinite; }
@keyframes clockSpin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

/* 7. 2FA Security Shield Animation - Pulse expand */
.icon-security path {
  transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  transform-origin: center;
}
.nav-item:hover .icon-security { animation: shieldShield 0.8s ease infinite alternate; }
@keyframes shieldShield {
  0% { transform: scale(1) rotate(-3deg); filter: drop-shadow(0 0 2px rgba(239,68,68,0.2)); }
  100% { transform: scale(1.15) rotate(3deg); filter: drop-shadow(0 0 8px rgba(239,68,68,0.5)); }
}

/* 8. Discord Bot Animation - Antenna pulsing */
.icon-bot circle {
  transition: transform 0.3s ease;
  transform-origin: 12px 5px;
}
.nav-item:hover .icon-bot circle { animation: antennaPulse 1s ease infinite alternate; }
.nav-item:hover .icon-bot { transform: translateY(-1.5px) scale(1.05); }
@keyframes antennaPulse {
  0% { transform: scale(1); filter: drop-shadow(0 0 1px var(--r3)); }
  100% { transform: scale(1.35); filter: drop-shadow(0 0 6px var(--r3)); }
}

/* ==========================================================================
   Custom Sci-Fi Dropdown Select (Premium Theme Overlay)
   ========================================================================== */
.custom-select-wrapper {
    position: relative;
    user-select: none;
    width: 100%;
}

.custom-select-trigger {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    background: var(--input);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: var(--radius-sm);
    padding: 12px 16px;
    color: var(--tx);
    font-family: var(--font-sans);
    font-size: 14px;
    cursor: pointer;
    transition: var(--transition);
    box-shadow: inset 0 2px 5px rgba(0,0,0,0.6);
}

.custom-select-trigger:hover {
    border-color: var(--r3);
    box-shadow: 0 0 15px rgba(239, 68, 68, 0.12), inset 0 2px 4px rgba(0,0,0,0.8);
}

.custom-select-wrapper:focus {
    outline: none;
}

.custom-select-wrapper:focus .custom-select-trigger,
.custom-select-wrapper.open .custom-select-trigger {
    border-color: var(--r3);
    background: rgba(10, 11, 16, 0.95);
    box-shadow: 0 0 15px rgba(239, 68, 68, 0.12), inset 0 2px 4px rgba(0,0,0,0.8);
}

.custom-select-trigger .arrow {
    width: 0;
    height: 0;
    border-left: 5px solid transparent;
    border-right: 5px solid transparent;
    border-top: 5px solid var(--tx3);
    transition: transform 0.2s ease;
}

.custom-select-wrapper.open .custom-select-trigger .arrow {
    transform: rotate(180deg);
    border-top-color: var(--r3);
}

.custom-options {
    position: absolute;
    top: calc(100% + 5px);
    left: 0;
    right: 0;
    background: var(--surface2);
    border: 1px solid var(--border);
    border-top: 2px solid var(--r3);
    border-radius: 4px;
    z-index: 1000;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transform: translateY(-5px);
    transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: var(--shadow);
    max-height: 250px;
    overflow-y: auto;
}

.custom-select-wrapper.open .custom-options {
    opacity: 1;
    visibility: visible;
    pointer-events: all;
    transform: translateY(0);
}

.custom-option {
    padding: 12px 16px;
    font-family: var(--font-sans);
    font-size: 13px;
    font-weight: 500;
    color: var(--tx2);
    cursor: pointer;
    transition: all 0.1s ease;
    display: flex;
    align-items: center;
    gap: 8px;
}

.custom-option:hover, 
.custom-option.hovered {
    background-color: var(--r2) !important;
    color: #fff !important;
}

.custom-option.selected {
    background-color: var(--r1);
    border-left: 2px solid var(--r3);
    color: #fff;
}

/* ==========================================================================
   Premium Table Components & Professional Action Buttons
   ========================================================================== */

/* Modern Status Dot */
.status-indicator {
  display: inline-block;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  margin-right: 8px;
  vertical-align: middle;
}
.status-online {
  background: var(--green);
  box-shadow: 0 0 10px var(--green);
  animation: pulseStatus 2s infinite;
}
.status-offline {
  background: #4b5563;
  box-shadow: none;
}
@keyframes pulseStatus {
  0% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(0, 230, 118, 0.7); }
  70% { transform: scale(1); box-shadow: 0 0 0 6px rgba(0, 230, 118, 0); }
  100% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(0, 230, 118, 0); }
}

/* Premium Glass Due Badge */
.badge-due {
  display: inline-flex;
  align-items: center;
  padding: 3px 8px;
  font-size: 10px;
  font-weight: 700;
  border-radius: 6px;
  background: rgba(245, 158, 11, 0.08);
  color: var(--r4);
  border: 1px solid rgba(245, 158, 11, 0.2);
  text-shadow: 0 0 4px rgba(245, 158, 11, 0.15);
  vertical-align: middle;
  margin-left: 8px;
  letter-spacing: 0.5px;
  text-transform: uppercase;
}

/* Professional Password Meta */
.password-meta {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 11px;
  color: var(--tx3);
  font-family: var(--font-mono);
  margin-top: 8px;
  background: rgba(255, 255, 255, 0.02);
  padding: 3px 8px;
  border-radius: 5px;
  border: 1px solid rgba(255, 255, 255, 0.04);
  cursor: pointer;
  transition: var(--transition);
  user-select: none;
}
.password-meta:hover {
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(255, 255, 255, 0.1);
  color: var(--tx2);
}
.password-meta i {
  font-size: 12px;
  color: var(--tx3);
}

/* Actions Button Group Flex */
.actions-group {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  align-items: center;
}
.actions-group form {
  display: inline-flex;
  margin: 0;
}

/* Table Button System */
.btn-table {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 6px 12px;
  font-size: 10.5px;
  font-weight: 600;
  border-radius: 6px;
  cursor: pointer;
  transition: var(--transition);
  font-family: inherit;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  border: 1px solid transparent;
  height: 28px;
  width: auto;
  white-space: nowrap;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

/* Table Button Variations */
.btn-table-purge {
  background: rgba(239, 68, 68, 0.08);
  border-color: rgba(239, 68, 68, 0.18);
  color: var(--r3);
}
.btn-table-purge:hover {
  background: var(--r2);
  color: #fff;
  border-color: var(--r2);
  box-shadow: 0 0 12px rgba(239, 68, 68, 0.35);
  transform: translateY(-1.5px);
}

.btn-table-copy {
  background: rgba(139, 92, 246, 0.08);
  border-color: rgba(139, 92, 246, 0.18);
  color: #a78bfa;
}
.btn-table-copy:hover {
  background: #7c3aed;
  color: #fff;
  border-color: #7c3aed;
  box-shadow: 0 0 12px rgba(124, 58, 237, 0.35);
  transform: translateY(-1.5px);
}

.btn-table-billing {
  background: rgba(16, 185, 129, 0.08);
  border-color: rgba(16, 185, 129, 0.18);
  color: #34d399;
}
.btn-table-billing:hover {
  background: #059669;
  color: #fff;
  border-color: #059669;
  box-shadow: 0 0 12px rgba(16, 185, 129, 0.35);
  transform: translateY(-1.5px);
}

.btn-table-limits {
  background: rgba(59, 130, 246, 0.08);
  border-color: rgba(59, 130, 246, 0.18);
  color: #60a5fa;
}
.btn-table-limits:hover {
  background: #2563eb;
  color: #fff;
  border-color: #2563eb;
  box-shadow: 0 0 12px rgba(59, 130, 246, 0.35);
  transform: translateY(-1.5px);
}

.btn-table-reset {
  background: rgba(255, 255, 255, 0.03);
  border-color: rgba(255, 255, 255, 0.06);
  color: var(--tx2);
}
.btn-table-reset:hover {
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
  border-color: rgba(255, 255, 255, 0.15);
  transform: translateY(-1.5px);
}

.btn-table-reset2fa {
  background: rgba(245, 158, 11, 0.08);
  border-color: rgba(245, 158, 11, 0.18);
  color: var(--r4);
}
.btn-table-reset2fa:hover {
  background: #d97706;
  color: #fff;
  border-color: #d97706;
  box-shadow: 0 0 12px rgba(245, 158, 11, 0.35);
  transform: translateY(-1.5px);
}

/* Premium Sliding Toggle Switch */
.switch {
  position: relative;
  display: inline-block;
  width: 44px;
  height: 24px;
  margin-right: 12px;
  flex-shrink: 0;
}

.switch input { 
  opacity: 0;
  width: 0;
  height: 0;
}

.slider {
  position: absolute;
  cursor: pointer;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: rgba(255, 255, 255, 0.04);
  transition: .3s;
  border-radius: 24px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.4);
}

.slider:before {
  position: absolute;
  content: "";
  height: 16px;
  width: 16px;
  left: 3px;
  bottom: 3px;
  background-color: #8a9cae;
  transition: .3s;
  border-radius: 50%;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.4);
}

input:checked + .slider:before {
  transform: translateX(20px);
  background-color: #ffffff;
  box-shadow: 0 0 8px #ffffff;
}

/* ==========================================
   PREMIUM CLIENT DASHBOARD REDESIGN STYLES
   ========================================== */

/* 2-Column Layout Grid */
.dashboard-row {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 30px;
  align-items: start;
}
.dashboard-col {
  display: flex;
  flex-direction: column;
  gap: 30px;
}

/* System Status Card styling */
.system-status-card {
  position: relative;
  background: rgba(10, 11, 16, 0.72);
  backdrop-filter: blur(25px);
  -webkit-backdrop-filter: blur(25px);
  border: 1px solid rgba(255, 255, 255, 0.04);
  border-top: 2px solid #00b0ff;
  border-radius: 12px;
  padding: 30px 24px 24px 24px;
  margin-bottom: 0px;
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.95), inset 0 1px 0 rgba(255, 255, 255, 0.03);
  background-image: radial-gradient(circle at 50% 120%, rgba(0, 176, 255, 0.06), transparent 70%);
}
.system-status-title-badge {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: #030306;
  border: 1px solid rgba(0, 176, 255, 0.35);
  padding: 3px 20px;
  border-radius: 20px;
  font-family: 'Rajdhani', sans-serif;
  font-size: 11px;
  font-weight: 800;
  color: #00b0ff;
  text-transform: uppercase;
  letter-spacing: 2px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.8), 0 0 12px rgba(0, 176, 255, 0.15);
  white-space: nowrap;
}
.system-status-grid {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 10px;
  text-align: center;
  align-items: center;
}
.system-status-item {
  display: flex;
  flex-direction: column;
  gap: 8px;
  position: relative;
}
.system-status-item:not(:last-child)::after {
  content: '';
  position: absolute;
  right: 0;
  top: 15%;
  height: 70%;
  width: 1px;
  background: linear-gradient(to bottom, transparent, rgba(255, 255, 255, 0.05), transparent);
}
.system-status-label {
  font-family: 'Rajdhani', sans-serif;
  font-size: 10px;
  font-weight: 700;
  color: var(--tx3);
  text-transform: uppercase;
  letter-spacing: 1.5px;
  opacity: 0.8;
}
.system-status-value {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
}
.system-status-value.time-val {
  font-family: 'Rajdhani', sans-serif;
  font-size: 32px;
  font-weight: 800;
  color: #ffffff;
  letter-spacing: 0.5px;
  line-height: 1;
}
.system-status-value.uid-val {
  font-family: var(--font-mono);
  font-size: 13.5px;
  color: var(--tx2);
  word-break: break-all;
  line-height: 1.3;
}

/* Status Pills */
.badge-active {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(0, 230, 118, 0.04);
  border: 1px solid rgba(0, 230, 118, 0.22);
  padding: 6px 16px;
  border-radius: 20px;
  color: #00e676;
  font-family: 'Rajdhani', sans-serif;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 1.5px;
  box-shadow: 0 0 15px rgba(0, 230, 118, 0.05);
}
.badge-active .dot {
  width: 8px;
  height: 8px;
  background: #00e676;
  border-radius: 50%;
  box-shadow: 0 0 8px #00e676;
  animation: pulseGlowGreen 2s infinite alternate;
}
@keyframes pulseGlowGreen {
  0% { transform: scale(0.9); opacity: 0.7; box-shadow: 0 0 4px #00e676; }
  100% { transform: scale(1.1); opacity: 1; box-shadow: 0 0 12px #00e676; }
}

.badge-expired {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(239, 68, 68, 0.04);
  border: 1px solid rgba(239, 68, 68, 0.22);
  padding: 6px 16px;
  border-radius: 20px;
  color: #ef4444;
  font-family: 'Rajdhani', sans-serif;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 1.5px;
  box-shadow: 0 0 15px rgba(239, 68, 68, 0.05);
}
.badge-expired .dot {
  width: 8px;
  height: 8px;
  background: #ef4444;
  border-radius: 50%;
  box-shadow: 0 0 8px #ef4444;
}

/* Gaming UID Card Customizations */
.gaming-uid-card {
  background: rgba(10, 11, 16, 0.65);
  border: 1px solid rgba(255, 255, 255, 0.04);
  border-radius: 12px;
  padding: 24px;
  box-shadow: var(--shadow);
}
.gaming-uid-title {
  font-family: 'Rajdhani', sans-serif;
  font-size: 16px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: #fff;
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 8px;
}
.gaming-uid-desc {
  font-size: 12.5px;
  color: var(--tx3);
  line-height: 1.5;
  margin-bottom: 24px;
}
.gaming-uid-input-label {
  font-family: 'Rajdhani', sans-serif;
  font-size: 11px;
  font-weight: 700;
  color: var(--tx3);
  letter-spacing: 1.5px;
  text-transform: uppercase;
  margin-bottom: 10px;
  display: block;
}
.gaming-uid-input {
  width: 100%;
  background: rgba(6, 7, 10, 0.85);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 8px;
  padding: 14px 16px;
  color: #fff;
  font-family: var(--font-mono);
  font-size: 14px;
  box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.8);
  box-sizing: border-box;
  transition: all 0.3s ease;
  margin-bottom: 20px;
}
.gaming-uid-input:focus {
  border-color: rgba(255, 255, 255, 0.2);
  box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.9), 0 0 15px rgba(255, 255, 255, 0.05);
  outline: none;
}

/* Metallic Glass Action Button */
.gaming-uid-btn {
  width: 100%;
  height: 48px;
  background: linear-gradient(to bottom, #2d313f 0%, #151821 100%);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-top: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 8px;
  color: #ffffff;
  font-family: 'Rajdhani', sans-serif;
  font-size: 13.5px;
  font-weight: 800;
  letter-spacing: 2px;
  text-transform: uppercase;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.4), inset 0 1px 0 rgba(255, 255, 255, 0.05);
  transition: all 0.25s ease;
}
.gaming-uid-btn:hover {
  background: linear-gradient(to bottom, #383d4e 0%, #1c202b 100%);
  border-color: rgba(255, 255, 255, 0.25);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.5);
  transform: translateY(-1px);
}
.gaming-uid-btn:active {
  transform: translateY(1px);
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.4);
}

/* Bypass Update Loader Card styling */
.loader-card {
  background: rgba(10, 11, 16, 0.65);
  border: 1px solid rgba(255, 255, 255, 0.04);
  border-radius: 12px;
  padding: 24px;
  box-shadow: var(--shadow);
}
.loader-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 24px;
}
.loader-title {
  font-family: 'Rajdhani', sans-serif;
  font-size: 20px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: #fff;
  display: flex;
  align-items: center;
  gap: 10px;
}
.loader-version-badge {
  background: rgba(0, 176, 255, 0.1);
  border: 1px solid rgba(0, 176, 255, 0.35);
  color: #00b0ff;
  padding: 3px 10px;
  border-radius: 4px;
  font-size: 11px;
  font-weight: 800;
  font-family: var(--font-mono);
  box-shadow: 0 0 10px rgba(0, 176, 255, 0.1);
}

/* Premium Download Button with Wave Animations */
.premium-download-btn {
  width: 100%;
  height: 54px;
  background: linear-gradient(to bottom, #1e3c72 0%, #2a5298 100%);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-top: 1px solid rgba(255, 255, 255, 0.35);
  border-radius: 10px;
  color: #ffffff;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 20px;
  box-sizing: border-box;
  box-shadow: 
      0 10px 20px rgba(0, 0, 0, 0.4), 
      0 0 15px rgba(0, 176, 255, 0.20),
      inset 0 1px 1px rgba(255, 255, 255, 0.2);
  transition: all 0.3s ease;
  text-decoration: none;
}
.premium-download-btn:hover {
  background: linear-gradient(to bottom, #244888 0%, #3262b6 100%);
  box-shadow: 
      0 12px 24px rgba(0, 0, 0, 0.5), 
      0 0 25px rgba(0, 176, 255, 0.45),
      inset 0 1px 1px rgba(255, 255, 255, 0.3);
  transform: translateY(-1px);
}
.premium-download-btn-left {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: 'Rajdhani', sans-serif;
  font-size: 15px;
  font-weight: 800;
  letter-spacing: 2px;
  text-transform: uppercase;
}
.premium-download-btn-left i {
  font-size: 20px;
  animation: bounce-down 2s infinite;
}
@keyframes bounce-down {
  0%, 20%, 50%, 80%, 100% { transform: translateY(0); }
  40% { transform: translateY(-4px); }
  60% { transform: translateY(-2px); }
}
.premium-download-btn-right {
  display: flex;
  align-items: center;
  gap: 3px;
  height: 20px;
  opacity: 0.8;
}
.premium-download-btn-right span {
  display: inline-block;
  width: 2px;
  background: #ffffff;
  border-radius: 1px;
}
.premium-download-btn-right span:nth-child(1) { height: 6px; animation: wave-anim 1.2s infinite ease-in-out; }
.premium-download-btn-right span:nth-child(2) { height: 14px; animation: wave-anim 0.8s infinite ease-in-out 0.2s; }
.premium-download-btn-right span:nth-child(3) { height: 18px; animation: wave-anim 1.0s infinite ease-in-out 0.1s; }
.premium-download-btn-right span:nth-child(4) { height: 10px; animation: wave-anim 1.4s infinite ease-in-out 0.3s; }
.premium-download-btn-right span:nth-child(5) { height: 15px; animation: wave-anim 0.9s infinite ease-in-out 0.15s; }
.premium-download-btn-right span:nth-child(6) { height: 8px; animation: wave-anim 1.1s infinite ease-in-out 0.25s; }

@keyframes wave-anim {
  0%, 100% { transform: scaleY(1); }
  50% { transform: scaleY(0.3); }
}

/* Installation & Apply Guide card */
.guide-card {
  background: rgba(10, 11, 16, 0.65);
  border: 1px solid rgba(255, 255, 255, 0.04);
  border-radius: 12px;
  padding: 24px;
  box-shadow: var(--shadow);
}
.guide-header {
  margin-bottom: 20px;
}
.guide-title {
  font-family: 'Rajdhani', sans-serif;
  font-size: 20px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: #fff;
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 4px;
}
.guide-desc {
  font-size: 12px;
  color: var(--tx3);
}

/* Virtual Training Module OS window container */
.v-window {
  background: #0d0f17;
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.6);
  position: relative;
}
.v-window-header {
  background: #151821;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 15px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.04);
}
.v-window-title {
  font-family: 'Rajdhani', sans-serif;
  font-size: 10.5px;
  font-weight: 700;
  color: var(--tx3);
  text-transform: uppercase;
  letter-spacing: 1.5px;
  margin: 0 auto;
}
.v-window-controls {
  display: flex;
  gap: 8px;
  position: absolute;
  right: 15px;
}
.v-window-controls span {
  color: var(--tx3);
  font-size: 12px;
  cursor: pointer;
  opacity: 0.6;
  transition: opacity 0.2s;
}
.v-window-controls span:hover {
  opacity: 1;
  color: #fff;
}
.v-window-body {
  position: relative;
  background: #000;
  width: 100%;
  aspect-ratio: 16/9;
  overflow: hidden;
}
.v-window-body iframe {
  width: 100%;
  height: 100%;
  border: 0;
}
.v-window-body-overlay {
  position: absolute;
  top: 0; left: 0; width: 100%; height: 100%;
  background: rgba(0,0,0,0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: none;
  transition: opacity 0.3s ease;
}
.v-window-play-btn {
  width: 60px;
  height: 60px;
  background: rgba(0, 176, 255, 0.15);
  border: 2px solid rgba(0, 176, 255, 0.4);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #00b0ff;
  font-size: 24px;
  box-shadow: 0 0 20px rgba(0, 176, 255, 0.3);
  transition: all 0.3s ease;
}
.v-window:hover .v-window-play-btn {
  background: rgba(0, 176, 255, 0.3);
  border-color: #00b0ff;
  box-shadow: 0 0 30px rgba(0, 176, 255, 0.6);
  transform: scale(1.05);
}

/* Responsiveness overrides for columns */
@media (max-width: 1024px) {
  .dashboard-row {
    grid-template-columns: 1fr;
    gap: 30px;
  }
}

/* ==========================================
   PREMIUM ADMIN CONSOLE THEME OVERRIDES
   ========================================== */

/* Colored Stats Cards */
.stat-card-blue {
  background: rgba(10, 11, 16, 0.72);
  border: 1.5px solid rgba(59, 130, 246, 0.22);
  border-radius: 12px;
  padding: 22px 24px;
  box-shadow: 0 15px 30px rgba(0,0,0,0.6), 0 0 15px rgba(59, 130, 246, 0.08);
  transition: all .25s ease;
}
.stat-card-blue:hover {
  border-color: rgba(59, 130, 246, 0.45);
  box-shadow: 0 20px 40px rgba(0,0,0,0.7), 0 0 25px rgba(59, 130, 246, 0.2);
  transform: translateY(-2px);
}

.stat-card-green {
  background: rgba(10, 11, 16, 0.72);
  border: 1.5px solid rgba(16, 185, 129, 0.22);
  border-radius: 12px;
  padding: 22px 24px;
  box-shadow: 0 15px 30px rgba(0,0,0,0.6), 0 0 15px rgba(16, 185, 129, 0.08);
  transition: all .25s ease;
}
.stat-card-green:hover {
  border-color: rgba(16, 185, 129, 0.45);
  box-shadow: 0 20px 40px rgba(0,0,0,0.7), 0 0 25px rgba(16, 185, 129, 0.2);
  transform: translateY(-2px);
}

.stat-card-red {
  background: rgba(10, 11, 16, 0.72);
  border: 1.5px solid rgba(239, 68, 68, 0.22);
  border-radius: 12px;
  padding: 22px 24px;
  box-shadow: 0 15px 30px rgba(0,0,0,0.6), 0 0 15px rgba(239, 68, 68, 0.08);
  transition: all .25s ease;
}
.stat-card-red:hover {
  border-color: rgba(239, 68, 68, 0.45);
  box-shadow: 0 20px 40px rgba(0,0,0,0.7), 0 0 25px rgba(239, 68, 68, 0.2);
  transform: translateY(-2px);
}

.stat-card-teal {
  background: rgba(10, 11, 16, 0.72);
  border: 1.5px solid rgba(16, 185, 129, 0.22);
  border-radius: 12px;
  padding: 22px 24px;
  box-shadow: 0 15px 30px rgba(0,0,0,0.6), 0 0 15px rgba(16, 185, 129, 0.08);
  transition: all .25s ease;
}
.stat-card-teal:hover {
  border-color: rgba(16, 185, 129, 0.45);
  box-shadow: 0 20px 40px rgba(0,0,0,0.7), 0 0 25px rgba(16, 185, 129, 0.2);
  transform: translateY(-2px);
}

.stat-label-themed {
  font-family: 'Rajdhani', sans-serif;
  font-size: 11px;
  font-weight: 700;
  color: var(--tx3);
  text-transform: uppercase;
  letter-spacing: 1.5px;
  display: flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 12px;
  opacity: 0.8;
}
.stat-val-themed {
  font-family: 'Rajdhani', sans-serif;
  font-size: 38px;
  font-weight: 800;
  line-height: 1;
  color: #ffffff;
}

/* Search Box Customizations */
.pill-search-input {
  width: 100%;
  background: rgba(6, 7, 10, 0.85) !important;
  border: 1px solid rgba(0, 176, 255, 0.25) !important;
  border-radius: 20px !important;
  padding: 12px 16px 12px 36px !important;
  color: #fff !important;
  font-family: var(--font-sans) !important;
  font-size: 13.5px !important;
  box-shadow: 0 0 12px rgba(0, 176, 255, 0.05) !important;
  box-sizing: border-box !important;
  transition: all 0.3s ease !important;
}
.pill-search-input:focus {
  border-color: #00b0ff !important;
  box-shadow: 0 0 18px rgba(0, 176, 255, 0.25) !important;
  outline: none !important;
}

/* Green Gradient Buttons */
.btn-green-themed {
  width: 100%;
  height: 46px;
  background: linear-gradient(135deg, #10b981, #059669);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 8px;
  color: #ffffff;
  font-family: 'Rajdhani', sans-serif;
  font-size: 13.5px;
  font-weight: 800;
  letter-spacing: 2px;
  text-transform: uppercase;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 15px rgba(16, 185, 129, 0.25);
  transition: all 0.25s ease;
  text-decoration: none;
}
.btn-green-themed:hover {
  background: linear-gradient(135deg, #059669, #047857);
  box-shadow: 0 6px 20px rgba(16, 185, 129, 0.4);
  transform: translateY(-1px);
}

/* Dashboard Notice Box */
.dashboard-notice-box {
  display: flex;
  align-items: center;
  gap: 15px;
  background: linear-gradient(135deg, rgba(245, 158, 11, 0.08) 0%, rgba(217, 119, 6, 0.04) 100%);
  border: 1px solid rgba(245, 158, 11, 0.25);
  border-radius: 12px;
  padding: 12px 20px;
  width: 100%;
  margin-bottom: 25px;
  box-sizing: border-box;
  box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.37), 0 0 15px rgba(245, 158, 11, 0.05);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  animation: noticePulse 4s infinite alternate;
}

@keyframes noticePulse {
  0% {
    border-color: rgba(245, 158, 11, 0.25);
    box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.37), 0 0 15px rgba(245, 158, 11, 0.05);
  }
  100% {
    border-color: rgba(245, 158, 11, 0.45);
    box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.37), 0 0 25px rgba(245, 158, 11, 0.15);
  }
}

.notice-icon-wrapper {
  background: rgba(245, 158, 11, 0.15);
  color: #f59e0b;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  border: 1px solid rgba(245, 158, 11, 0.3);
  flex-shrink: 0;
}

.notice-content {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.notice-badge {
  font-family: var(--font-display);
  font-size: 10px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: #f59e0b;
  background: rgba(245, 158, 11, 0.1);
  padding: 2px 6px;
  border-radius: 4px;
  width: fit-content;
}

.notice-text {
  font-family: var(--font-sans);
  color: var(--tx2);
  font-size: 13px;
  line-height: 1.4;
  margin: 0;
  font-weight: 500;
}

@media (max-width: 768px) {
  .dashboard-notice-box {
    max-width: 100%;
    width: 100%;
    margin-top: 10px;
  }
}

/* Loader Update Highlighting */
.loader-card-updated {
  border-color: rgba(0, 176, 255, 0.45) !important;
  box-shadow: 0 0 15px rgba(0, 176, 255, 0.15), var(--shadow);
  animation: pulse-update-glow 2.5s infinite alternate ease-in-out;
}

.loader-card-updated .premium-download-btn {
  background: linear-gradient(135deg, #ef4444 0%, #ff5e3a 50%, #f59e0b 100%) !important;
  border-color: rgba(255, 94, 58, 0.6) !important;
  box-shadow: 0 0 20px rgba(239, 68, 68, 0.5), inset 0 1px 2px rgba(255, 255, 255, 0.4) !important;
  animation: pulse-button-attention 1.5s infinite alternate ease-in-out !important;
}

@keyframes pulse-update-glow {
  0% {
    border-color: rgba(0, 176, 255, 0.2);
    box-shadow: 0 0 10px rgba(0, 176, 255, 0.05), var(--shadow);
  }
  100% {
    border-color: rgba(0, 176, 255, 0.7);
    box-shadow: 0 0 22px rgba(0, 176, 255, 0.35), var(--shadow);
  }
}

@keyframes pulse-update-glow-badge {
  0% {
    opacity: 0.75;
    box-shadow: 0 0 4px rgba(239, 68, 68, 0.4);
  }
  100% {
    opacity: 1;
    box-shadow: 0 0 12px rgba(239, 68, 68, 0.85);
  }
}

@keyframes pulse-button-attention {
  0% {
    transform: scale(1);
    box-shadow: 0 0 12px rgba(239, 68, 68, 0.4);
  }
  100% {
    transform: scale(1.025);
    box-shadow: 0 0 25px rgba(239, 68, 68, 0.8), 0 0 10px rgba(245, 158, 11, 0.4);
  }
}

.uid-suggestion-item:hover {
  background: rgba(0, 176, 255, 0.08) !important;
}
