/* Stylesheet for Secure Lottery Phơi Số Calculation Web Application */
@import url('https://fonts.googleapis.com/css2?family=Fira+Code:wght@400;500;600&family=Outfit:wght@300;400;500;600;700;800&display=swap');

:root {
  --bg-primary: #05060b;
  --bg-secondary: #0b0d19;
  --bg-tertiary: #131627;
  --glass-bg: rgba(11, 13, 25, 0.65);
  --glass-border: rgba(255, 255, 255, 0.05);
  --glass-border-focus: rgba(0, 240, 255, 0.35);
  
  --color-primary: #00f0ff; /* Vibrant electric cyan */
  --color-primary-glow: rgba(0, 240, 255, 0.4);
  --color-success: #39ff14; /* Cyber neon green */
  --color-success-glow: rgba(57, 255, 20, 0.4);
  --color-error: #ff0055; /* Neon rose/red */
  --color-error-glow: rgba(255, 0, 85, 0.4);
  --color-warning: #ffaa00; /* Neon orange/gold */
  --color-warning-glow: rgba(255, 170, 0, 0.4);
  --color-text-main: #f8fafc; /* Slate 50 */
  --color-text-muted: #94a3b8; /* Slate 400 */
  --color-text-dark: #475569; /* Slate 600 */
  
  --shadow-neon-cyan: 0 0 15px rgba(0, 240, 255, 0.25), 0 0 30px rgba(0, 240, 255, 0.1);
  --shadow-neon-green: 0 0 15px rgba(57, 255, 20, 0.25), 0 0 30px rgba(57, 255, 20, 0.1);
  --shadow-neon-red: 0 0 20px rgba(255, 0, 85, 0.3), 0 0 40px rgba(255, 0, 85, 0.1);
  
  --font-sans: 'Outfit', sans-serif;
  --font-mono: 'Fira Code', monospace;
  
  --transition-fast: 0.2s ease;
  --transition-normal: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-bounce: 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
  --transition-smooth: 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  --transition-interactive: 0.2s cubic-bezier(0.25, 0.8, 0.25, 1);
}

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

.icon {
  width: 1.1em;
  height: 1.1em;
  vertical-align: -0.15em;
  stroke: currentColor;
  fill: none;
  display: inline-block;
  flex-shrink: 0;
}

body {
  background-color: var(--bg-primary);
  background-image: 
    radial-gradient(at 0% 0%, rgba(6, 182, 212, 0.05) 0px, transparent 50%),
    radial-gradient(at 100% 100%, rgba(16, 185, 129, 0.04) 0px, transparent 50%),
    radial-gradient(at 50% 50%, rgba(24, 27, 40, 0.3) 0px, transparent 100%);
  background-attachment: fixed;
  color: var(--color-text-main);
  font-family: var(--font-sans);
  min-height: 100vh;
  overflow-x: hidden;
}

/* Scrollbar styling */
::-webkit-scrollbar {
  width: 6px;
  height: 6px;
}
::-webkit-scrollbar-track {
  background: var(--bg-primary);
}
::-webkit-scrollbar-thumb {
  background: var(--bg-tertiary);
  border-radius: 3px;
}
::-webkit-scrollbar-thumb:hover {
  background: var(--color-primary);
}

/* Lock Screen overlay */
#lock-screen {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(9, 10, 15, 0.96);
  backdrop-filter: blur(30px);
  -webkit-backdrop-filter: blur(30px);
  z-index: 10000;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  transition: opacity var(--transition-smooth), visibility var(--transition-smooth);
  overflow: hidden;
}

#lock-screen::before, #lock-screen::after {
  content: '';
  position: absolute;
  border-radius: 50%;
  filter: blur(100px);
  -webkit-filter: blur(100px);
  opacity: 0.12;
  z-index: -1;
  pointer-events: none;
  animation: float-blob 25s infinite alternate ease-in-out;
}

#lock-screen::before {
  width: 350px;
  height: 350px;
  background: var(--color-primary);
  top: 10%;
  left: -5%;
}

#lock-screen::after {
  width: 450px;
  height: 450px;
  background: var(--color-success);
  bottom: 5%;
  right: -5%;
  animation-delay: -7s;
  animation-duration: 30s;
}

@keyframes float-blob {
  0% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(80px, -60px) scale(1.15); }
  100% { transform: translate(-40px, 80px) scale(0.9); }
}

#lock-screen.hidden {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

#lock-screen.hidden .lock-container {
  transform: scale(0.92) translateY(-25px);
  opacity: 0;
}

.lock-container {
  background: rgba(11, 13, 25, 0.6);
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.6), inset 0 1px 0 rgba(255, 255, 255, 0.05);
  border-radius: 28px;
  padding: 40px;
  width: 90%;
  max-width: 420px;
  text-align: center;
  animation: lock-pulse 4s infinite alternate;
  transition: transform var(--transition-bounce), opacity var(--transition-smooth);
  backdrop-filter: blur(25px);
  -webkit-backdrop-filter: blur(25px);
}

@keyframes lock-pulse {
  0% { box-shadow: 0 20px 50px rgba(0, 0, 0, 0.6), 0 0 0px rgba(0, 240, 255, 0); }
  100% { box-shadow: 0 20px 50px rgba(0, 0, 0, 0.6), 0 0 30px rgba(0, 240, 255, 0.2); }
}

.lock-logo {
  font-size: 2.5rem;
  font-weight: 800;
  background: linear-gradient(135deg, var(--color-primary), var(--color-success));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  margin-bottom: 8px;
  letter-spacing: -0.05em;
}

.lock-logo span {
  font-weight: 300;
}

.lock-subtitle {
  color: var(--color-text-muted);
  font-size: 0.95rem;
  margin-bottom: 30px;
}

.passcode-dots {
  display: flex;
  justify-content: center;
  gap: 16px;
  margin-bottom: 30px;
}

.dot {
  width: 16px;
  height: 16px;
  border-radius: 50%;
  border: 2px solid var(--color-text-dark);
  transition: all var(--transition-interactive);
}

.dot.active {
  background: var(--color-primary);
  border-color: var(--color-primary);
  box-shadow: 0 0 12px var(--color-primary);
  transform: scale(1.18);
  animation: dot-pulse 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

@keyframes dot-pulse {
  0% { transform: scale(0.8); }
  50% { transform: scale(1.3); }
  100% { transform: scale(1.18); }
}

.dot.error {
  background: var(--color-error);
  border-color: var(--color-error);
  box-shadow: 0 0 12px var(--color-error);
  animation: shake 0.25s ease-in-out 2;
}

@keyframes shake {
  0%, 100% { transform: translateX(0); }
  25% { transform: translateX(-6px); }
  75% { transform: translateX(6px); }
}

.numpad {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-bottom: 20px;
}

.num-btn {
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.05);
  color: var(--color-text-main);
  font-size: 1.5rem;
  font-weight: 500;
  border-radius: 50%;
  width: 70px;
  height: 70px;
  margin: 0 auto;
  cursor: pointer;
  display: flex;
  justify-content: center;
  align-items: center;
  transition: all var(--transition-interactive);
  backdrop-filter: blur(5px);
  -webkit-backdrop-filter: blur(5px);
}

.num-btn:hover {
  background: rgba(0, 240, 255, 0.08);
  border-color: rgba(0, 240, 255, 0.3);
  transform: translateY(-2px) scale(1.05);
  box-shadow: 0 4px 15px rgba(0, 240, 255, 0.15);
}

.num-btn:active {
  background: var(--color-primary);
  border-color: var(--color-primary);
  color: #000;
  box-shadow: var(--shadow-neon-cyan);
  transform: scale(0.95);
}

.lock-info {
  font-size: 0.85rem;
  color: var(--color-text-dark);
  margin-top: 15px;
}

.setup-mode-indicator {
  background: rgba(6, 182, 212, 0.1);
  border: 1px solid var(--color-primary);
  color: var(--color-primary);
  padding: 8px 12px;
  border-radius: 8px;
  font-size: 0.85rem;
  margin-bottom: 20px;
  display: none;
}

/* Main Dashboard UI */
.app-wrapper {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  padding: 20px;
  max-width: 1600px;
  margin: 0 auto;
  gap: 20px;
}

/* Header styling */
header {
  background: rgba(11, 13, 25, 0.65);
  border: 1px solid rgba(255, 255, 255, 0.07);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3), inset 0 1px 0 rgba(255, 255, 255, 0.05);
  border-radius: 20px;
  padding: 18px 28px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
}

.logo {
  font-size: 1.6rem;
  font-weight: 800;
  letter-spacing: -0.05em;
  background: linear-gradient(135deg, var(--color-primary), var(--color-success));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.logo span {
  font-weight: 300;
}

.security-badge {
  display: flex;
  align-items: center;
  gap: 6px;
  background: rgba(16, 185, 129, 0.08);
  border: 1px solid rgba(16, 185, 129, 0.2);
  color: var(--color-success);
  padding: 4px 10px;
  border-radius: 20px;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.header-controls {
  display: flex;
  align-items: center;
  gap: 16px;
}

.auto-lock-timer {
  font-size: 0.85rem;
  color: var(--color-text-muted);
  display: flex;
  align-items: center;
  gap: 6px;
}

.auto-lock-timer span {
  font-family: var(--font-mono);
  color: var(--color-primary);
  font-weight: bold;
}

.header-btn {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--glass-border);
  color: var(--color-text-main);
  padding: 8px 16px;
  border-radius: 8px;
  font-size: 0.85rem;
  font-weight: 500;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 8px;
  transition: all var(--transition-fast);
}

.header-btn:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.15);
}

.header-btn.lock-btn:hover {
  color: var(--color-primary);
  border-color: var(--color-primary);
  box-shadow: var(--shadow-neon-cyan);
}

.header-btn.panic-btn {
  background: rgba(244, 63, 94, 0.1);
  border-color: rgba(244, 63, 94, 0.2);
  color: var(--color-error);
  font-weight: bold;
  animation: pulse-red-border 2s infinite;
}

.header-btn.panic-btn:hover {
  background: var(--color-error);
  color: #fff;
  box-shadow: var(--shadow-neon-red);
}

@keyframes pulse-red-border {
  0% { border-color: rgba(244, 63, 94, 0.2); }
  50% { border-color: rgba(244, 63, 94, 0.6); }
  100% { border-color: rgba(244, 63, 94, 0.2); }
}

/* Dashboard Grid */
.dashboard-grid {
  display: grid;
  grid-template-columns: 360px 1fr 380px;
  gap: 20px;
  align-items: stretch;
}

@media (max-width: 1280px) {
  .dashboard-grid {
    grid-template-columns: 320px 1fr;
  }
  .ledger-column {
    grid-column: span 2;
  }
}

@media (max-width: 900px) {
  .dashboard-grid {
    grid-template-columns: 1fr;
  }
  .ledger-column, .input-column {
    grid-column: span 1;
  }
}

@keyframes slideUpFade {
  from {
    opacity: 0;
    transform: translateY(20px);
    filter: blur(4px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
    filter: blur(0);
  }
}

.dashboard-card {
  background: rgba(11, 13, 25, 0.65);
  border: 1px solid rgba(255, 255, 255, 0.06);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4), inset 0 1px 0 rgba(255, 255, 255, 0.05);
  border-radius: 18px;
  padding: 24px;
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  display: flex;
  flex-direction: column;
  gap: 20px;
  animation: slideUpFade 0.6s cubic-bezier(0.16, 1, 0.3, 1) both;
}

.input-column { animation-delay: 0.05s; }
.viewer-column { animation-delay: 0.15s; }
.ledger-column { animation-delay: 0.25s; }

.card-title {
  font-size: 1.1rem;
  font-weight: 700;
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid var(--glass-border);
  padding-bottom: 12px;
}

.card-title .badge {
  font-size: 0.75rem;
  padding: 2px 8px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.05);
  color: var(--color-text-muted);
  font-weight: 500;
}

/* Control styles inside input column */
.form-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.form-group label {
  font-size: 0.85rem;
  color: var(--color-text-muted);
  font-weight: 500;
}

.select-input, .text-input {
  background: rgba(0, 0, 0, 0.4);
  border: 1px solid var(--glass-border);
  border-radius: 10px;
  color: var(--color-text-main);
  padding: 12px 14px;
  font-family: var(--font-sans);
  font-size: 0.9rem;
  outline: none;
  transition: border-color var(--transition-fast), box-shadow var(--transition-fast), background-color var(--transition-fast), transform var(--transition-fast);
}

.select-input:hover, .text-input:hover {
  border-color: rgba(0, 240, 255, 0.25);
  background: rgba(255, 255, 255, 0.02);
}

.select-input:focus, .text-input:focus {
  border-color: var(--color-primary);
  box-shadow: 0 0 16px rgba(0, 240, 255, 0.25), inset 0 0 8px rgba(0, 240, 255, 0.05);
  background: rgba(0, 0, 0, 0.5);
  transform: translateY(-2px);
}

textarea.text-input {
  resize: vertical;
  min-height: 120px;
  font-family: var(--font-mono);
  font-size: 0.85rem;
  line-height: 1.5;
}

.btn-primary {
  background: linear-gradient(135deg, var(--color-primary), #00d8ff);
  border: none;
  color: #000;
  padding: 12px 20px;
  border-radius: 10px;
  font-weight: 700;
  font-size: 0.95rem;
  cursor: pointer;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 8px;
  box-shadow: 0 4px 15px rgba(0, 240, 255, 0.35);
  transition: transform var(--transition-interactive), box-shadow var(--transition-normal), filter var(--transition-fast);
  position: relative;
  overflow: hidden;
}

.btn-primary::after {
  content: '';
  position: absolute;
  top: -50%;
  left: -60%;
  width: 30%;
  height: 200%;
  background: rgba(255, 255, 255, 0.16);
  transform: rotate(30deg);
  transition: all 0.6s cubic-bezier(0.25, 1, 0.5, 1);
  opacity: 0;
  pointer-events: none;
}

.btn-primary:hover::after {
  left: 140%;
  opacity: 1;
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(0, 240, 255, 0.55);
}

.btn-primary:active {
  transform: translateY(0) scale(0.97);
}

.btn-secondary {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--glass-border);
  color: var(--color-text-main);
  padding: 10px 18px;
  border-radius: 8px;
  font-weight: 600;
  font-size: 0.85rem;
  cursor: pointer;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 6px;
  transition: all var(--transition-interactive);
}

.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.07);
  border-color: rgba(255, 255, 255, 0.15);
  color: var(--color-primary);
  transform: translateY(-1px);
}

.btn-secondary:active {
  transform: translateY(0) scale(0.97);
}

.btn-danger-outline {
  background: rgba(255, 0, 85, 0.05);
  border: 1px solid rgba(255, 0, 85, 0.2);
  color: var(--color-error);
  padding: 10px 18px;
  border-radius: 8px;
  font-weight: 600;
  font-size: 0.85rem;
  cursor: pointer;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 6px;
  transition: all var(--transition-interactive);
}

.btn-danger-outline:hover {
  background: rgba(255, 0, 85, 0.15);
  border-color: var(--color-error);
  transform: translateY(-1px);
  box-shadow: 0 4px 15px rgba(255, 0, 85, 0.2);
}

.btn-danger-outline:active {
  transform: translateY(0) scale(0.97);
}

.button-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

/* Demo/Benchmark section */
.benchmark-card {
  background: rgba(6, 182, 212, 0.03);
  border: 1px solid rgba(6, 182, 212, 0.1);
  border-radius: 12px;
  padding: 14px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.benchmark-card h4 {
  font-size: 0.9rem;
  color: var(--color-primary);
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 6px;
}

.benchmark-card p {
  font-size: 0.8rem;
  color: var(--color-text-muted);
  line-height: 1.4;
}

/* Config matrix styles */
.config-matrix-preview {
  font-size: 0.8rem;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 4px;
  background: rgba(0, 0, 0, 0.15);
  padding: 8px 12px;
  border-radius: 8px;
  border: 1px solid var(--glass-border);
}

.config-matrix-preview span {
  color: var(--color-text-muted);
}

.config-matrix-preview strong {
  color: var(--color-primary);
  font-family: var(--font-mono);
}

/* Center Panel (Viewer & Parser) */
.view-mode-tabs {
  display: flex;
  background: rgba(0, 0, 0, 0.4);
  padding: 5px;
  border-radius: 30px;
  gap: 2px;
  border: 1px solid rgba(255, 255, 255, 0.03);
}

.tab-btn {
  flex: 1;
  background: transparent;
  border: none;
  color: var(--color-text-muted);
  padding: 10px 16px;
  border-radius: 25px;
  font-size: 0.85rem;
  font-weight: 600;
  cursor: pointer;
  transition: all var(--transition-interactive);
}

.tab-btn.active {
  background: var(--bg-tertiary);
  color: var(--color-primary);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3), inset 0 1px 0 rgba(255, 255, 255, 0.05), 0 0 12px rgba(0, 240, 255, 0.15);
  border: 1px solid rgba(0, 240, 255, 0.15);
}

.tab-btn:hover:not(.active) {
  color: var(--color-text-main);
  background: rgba(255, 255, 255, 0.04);
}

.bills-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
  overflow-y: auto;
  max-height: 600px;
  padding-right: 4px;
  animation: panelFadeIn var(--transition-smooth) both;
}

@keyframes panelFadeIn {
  from {
    opacity: 0;
    transform: translateY(12px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

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

@keyframes winningPulse {
  0% {
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.25), 0 0 0px rgba(16, 185, 129, 0);
    border-color: rgba(16, 185, 129, 0.2);
  }
  100% {
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.35), 0 0 15px rgba(16, 185, 129, 0.35);
    border-color: rgba(16, 185, 129, 0.6);
  }
}

.bill-card {
  background: rgba(11, 13, 25, 0.45);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: 14px;
  padding: 16px;
  position: relative;
  animation: popIn 0.35s cubic-bezier(0.34, 1.56, 0.64, 1) both;
  transition: transform var(--transition-normal), box-shadow var(--transition-normal), background-color var(--transition-fast), border-color var(--transition-fast);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.bill-card:nth-child(1) { animation-delay: 0.02s; }
.bill-card:nth-child(2) { animation-delay: 0.04s; }
.bill-card:nth-child(3) { animation-delay: 0.06s; }
.bill-card:nth-child(4) { animation-delay: 0.08s; }
.bill-card:nth-child(5) { animation-delay: 0.10s; }
.bill-card:nth-child(n+6) { animation-delay: 0.12s; }

.bill-card.win-highlight {
  animation: popIn 0.35s cubic-bezier(0.34, 1.56, 0.64, 1) both, winningPulse 2s infinite alternate ease-in-out;
}

.bill-card:hover {
  background: rgba(11, 13, 25, 0.6);
  border-color: rgba(0, 240, 255, 0.25);
  transform: translateY(-4px) scale(1.01);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.4), 0 0 20px rgba(0, 240, 255, 0.08);
}

.bill-card.status-active {
  border-left: 3px solid var(--color-success);
}

.bill-card.status-void {
  border-left: 3px solid var(--color-text-dark);
  opacity: 0.55;
  background: rgba(255, 255, 255, 0.01);
}

.bill-card.status-void .bill-math, 
.bill-card.status-void .bill-total,
.bill-card.status-void .bill-title {
  text-decoration: line-through;
}

.bill-card.status-rejected {
  border-left: 3px solid var(--color-error);
  background: rgba(255, 0, 85, 0.02);
}

.bill-card.checked-strike {
  opacity: 0.45;
  border-color: rgba(255, 255, 255, 0.1) !important;
  box-shadow: none !important;
  background: rgba(255, 255, 255, 0.01) !important;
  transform: none !important;
}

.bill-card.checked-strike .bill-title span,
.bill-card.checked-strike .play-row span {
  text-decoration: line-through;
  color: var(--color-text-muted) !important;
}

.bill-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 8px;
}

.bill-title {
  font-weight: 600;
  font-size: 0.95rem;
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
}

.bill-stt {
  background: var(--bg-tertiary);
  color: var(--color-primary);
  font-family: var(--font-mono);
  font-size: 0.75rem;
  padding: 2px 8px;
  border-radius: 4px;
  border: 1px solid rgba(0, 240, 255, 0.2);
}

.bill-meta {
  font-size: 0.8rem;
  color: var(--color-text-muted);
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 10px;
}

.bill-meta span strong {
  color: var(--color-text-main);
}

.bill-plays {
  display: flex;
  flex-direction: column;
  gap: 8px;
  background: rgba(0, 0, 0, 0.3);
  padding: 12px;
  border-radius: 8px;
  font-family: var(--font-mono);
  font-size: 0.8rem;
  border: 1px dashed rgba(255, 255, 255, 0.08);
}

.play-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  padding-bottom: 6px;
  border-bottom: 1px dashed rgba(255, 255, 255, 0.05);
}

.play-row:last-child {
  padding-bottom: 0;
  border-bottom: none;
}

.play-formula {
  color: var(--color-text-muted);
}

.play-formula span.highlight {
  color: var(--color-primary);
}

.play-subtotal {
  color: var(--color-success);
  font-weight: 600;
}

.bill-card.status-rejected .play-subtotal {
  color: var(--color-error);
}

.bill-card.status-void .play-subtotal {
  color: var(--color-text-muted);
}

.status-badge {
  font-size: 0.7rem;
  padding: 2px 6px;
  border-radius: 4px;
  font-weight: 600;
  text-transform: uppercase;
}

.status-badge.active {
  background: rgba(57, 255, 20, 0.1);
  color: var(--color-success);
  border: 1px solid rgba(57, 255, 20, 0.2);
}

.status-badge.void {
  background: rgba(255, 255, 255, 0.05);
  color: var(--color-text-muted);
  border: 1px solid var(--glass-border);
}

.status-badge.rejected {
  background: rgba(255, 0, 85, 0.1);
  color: var(--color-error);
  border: 1px solid rgba(255, 0, 85, 0.2);
}

/* Ledger Column */
.ledger-summary {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.ledger-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 16px;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.03) 0%, rgba(255, 255, 255, 0.01) 100%);
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.05);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  transition: all var(--transition-normal);
  position: relative;
}

.ledger-row:hover {
  transform: translateX(6px);
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.06) 0%, rgba(255, 255, 255, 0.02) 100%);
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.25);
}

.ledger-row.mn {
  border-left: 3px solid var(--color-primary);
}
.ledger-row.mn:hover {
  border-color: rgba(0, 240, 255, 0.35);
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.25), 0 0 12px rgba(0, 240, 255, 0.12);
}

.ledger-row.mt {
  border-left: 3px solid var(--color-warning);
}
.ledger-row.mt:hover {
  border-color: rgba(255, 170, 0, 0.35);
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.25), 0 0 12px rgba(255, 170, 0, 0.12);
}

.ledger-row.mb {
  border-left: 3px solid #a855f7;
}
.ledger-row.mb:hover {
  border-color: rgba(168, 85, 247, 0.35);
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.25), 0 0 12px rgba(168, 85, 247, 0.12);
}

.ledger-label {
  font-size: 0.88rem;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--color-text-main);
}

.ledger-region-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  box-shadow: 0 0 8px currentColor;
}

.ledger-region-dot.mn { background: var(--color-primary); color: var(--color-primary); }
.ledger-region-dot.mt { background: var(--color-warning); color: var(--color-warning); }
.ledger-region-dot.mb { background: #a855f7; color: #a855f7; }

.ledger-values {
  text-align: right;
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.ledger-gross {
  font-size: 0.72rem;
  color: var(--color-text-muted);
  font-family: var(--font-mono);
  opacity: 0.85;
}

.ledger-net {
  font-size: 1.1rem;
  font-weight: 700;
  font-family: var(--font-mono);
  color: var(--color-success);
  text-shadow: 0 0 10px rgba(57, 255, 20, 0.2);
}

.ledger-total-card {
  border-radius: 16px;
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  position: relative;
  overflow: hidden;
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  transition: all var(--transition-normal);
}

/* Profit Positive State */
.ledger-total-card.profit-positive {
  background: linear-gradient(135deg, rgba(57, 255, 20, 0.08) 0%, rgba(5, 150, 105, 0.03) 100%);
  border: 1px solid rgba(57, 255, 20, 0.25);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.35), inset 0 1px 0 rgba(255, 255, 255, 0.05), 0 0 20px rgba(57, 255, 20, 0.1);
}

.ledger-total-card.profit-positive::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 4px;
  height: 100%;
  background: linear-gradient(to bottom, var(--color-success), #059669);
}

.ledger-total-card.profit-positive:hover {
  transform: translateY(-2px);
  border-color: rgba(57, 255, 20, 0.45);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.45), inset 0 1px 0 rgba(255, 255, 255, 0.1), 0 0 30px rgba(57, 255, 20, 0.25);
}

/* Profit Negative State */
.ledger-total-card.profit-negative {
  background: linear-gradient(135deg, rgba(255, 0, 85, 0.08) 0%, rgba(159, 18, 57, 0.03) 100%);
  border: 1px solid rgba(255, 0, 85, 0.25);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.35), inset 0 1px 0 rgba(255, 255, 255, 0.05), 0 0 20px rgba(255, 0, 85, 0.1);
}

.ledger-total-card.profit-negative::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 4px;
  height: 100%;
  background: linear-gradient(to bottom, var(--color-error), #9f1239);
}

.ledger-total-card.profit-negative:hover {
  transform: translateY(-2px);
  border-color: rgba(255, 0, 85, 0.45);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.45), inset 0 1px 0 rgba(255, 255, 255, 0.1), 0 0 30px rgba(255, 0, 85, 0.25);
}

.ledger-total-label {
  font-size: 0.75rem;
  color: var(--color-text-muted);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-weight: 700;
  opacity: 0.8;
}

.ledger-total-net {
  font-size: 2.1rem;
  font-weight: 800;
  color: var(--color-success);
  font-family: var(--font-mono);
  text-shadow: 0 0 15px rgba(57, 255, 20, 0.3);
  letter-spacing: -0.02em;
  line-height: 1.1;
  margin: 4px 0;
}

.ledger-total-gross {
  font-size: 0.82rem;
  color: var(--color-text-muted);
  font-family: var(--font-mono);
}

.ledger-total-gross span {
  font-weight: 600;
  color: var(--color-text-main);
}

/* History Logs */
.audit-logs {
  display: flex;
  flex-direction: column;
  gap: 8px;
  max-height: 250px;
  overflow-y: auto;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  padding-right: 4px;
}

.log-item {
  background: rgba(0, 0, 0, 0.2);
  border-radius: 6px;
  padding: 8px 10px;
  border-left: 2px solid var(--color-text-dark);
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.log-item.log-success { border-left-color: var(--color-success); }
.log-item.log-void { border-left-color: var(--color-text-dark); opacity: 0.7; }
.log-item.log-block { border-left-color: var(--color-error); }

.log-header {
  display: flex;
  justify-content: space-between;
  color: var(--color-text-muted);
}

.log-body {
  word-break: break-all;
  white-space: pre-wrap;
  color: var(--color-text-main);
}

/* Winning Bill Cards in Lottery Tab */
.winning-bill-card {
  background: linear-gradient(135deg, rgba(16, 185, 129, 0.06) 0%, rgba(16, 185, 129, 0.01) 100%);
  border: 1px solid rgba(16, 185, 129, 0.18);
  border-radius: 8px;
  padding: 10px 12px;
  margin-bottom: 8px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
  animation: popIn 0.35s cubic-bezier(0.34, 1.56, 0.64, 1) both, winningPulse 2.5s infinite alternate ease-in-out;
  transition: transform var(--transition-interactive), border-color var(--transition-interactive), box-shadow var(--transition-interactive);
}

.winning-bill-card:hover {
  transform: translateY(-2px) scale(1.01);
  border-color: rgba(16, 185, 129, 0.5);
  box-shadow: 0 6px 16px rgba(0,0,0,0.25), 0 0 15px rgba(16,185,129,0.15);
}

.winning-bill-header {
  display: flex;
  justify-content: space-between;
  font-size: 0.8rem;
  font-weight: 600;
  margin-bottom: 6px;
  color: var(--color-text-main);
}

.winning-bill-header span:last-child {
  color: var(--color-success);
  text-shadow: 0 0 8px rgba(16, 185, 129, 0.25);
}

.winning-bill-divider {
  border-top: 1px dashed rgba(16, 185, 129, 0.15);
  padding-top: 6px;
  margin-top: 4px;
}

.winning-play-row {
  display: flex;
  justify-content: space-between;
  font-size: 0.75rem;
  color: var(--color-text-muted);
  font-family: var(--font-mono);
  padding: 2px 0;
}

.winning-play-row strong {
  color: var(--color-text-main);
}

/* Settings modal styling */
.modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(3, 4, 7, 0.85);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  z-index: 5000;
  display: flex;
  justify-content: center;
  align-items: center;
  opacity: 0;
  visibility: hidden;
  transition: opacity var(--transition-smooth), visibility var(--transition-smooth);
}

.modal.active {
  opacity: 1;
  visibility: visible;
}

.modal-content {
  background: rgba(11, 13, 25, 0.95);
  border: 1px solid rgba(0, 240, 255, 0.2);
  box-shadow: 0 30px 70px rgba(0, 0, 0, 0.7), 0 0 40px rgba(0, 240, 255, 0.1), inset 0 1px 0 rgba(255, 255, 255, 0.05);
  border-radius: 20px;
  width: 90%;
  max-width: 800px;
  max-height: 85vh;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  transform: scale(0.92) translateY(20px);
  transition: transform var(--transition-bounce), opacity var(--transition-smooth);
  opacity: 0;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.modal.active .modal-content {
  transform: scale(1) translateY(0);
  opacity: 1;
}

.modal-header {
  padding: 20px 24px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.modal-title {
  font-size: 1.2rem;
  font-weight: 700;
  background: linear-gradient(135deg, var(--color-primary), var(--color-success));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  display: flex;
  align-items: center;
  gap: 10px;
}

.modal-close {
  background: transparent;
  border: none;
  color: var(--color-text-muted);
  font-size: 1.5rem;
  cursor: pointer;
  transition: color var(--transition-interactive), transform var(--transition-interactive);
}

.modal-close:hover {
  color: var(--color-error);
  transform: rotate(90deg);
}

.modal-body {
  padding: 20px;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.modal-footer {
  padding: 16px 20px;
  border-top: 1px solid var(--glass-border);
  display: flex;
  justify-content: flex-end;
  gap: 12px;
}

/* Pricing Grid in settings */
.pricing-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr 1fr 1.2fr;
  gap: 8px;
  align-items: center;
}

.pricing-header-cell {
  font-weight: bold;
  font-size: 0.8rem;
  color: var(--color-text-muted);
  text-align: center;
  padding: 6px;
}

.pricing-header-cell:first-child {
  text-align: left;
}

.pricing-label-cell {
  font-size: 0.85rem;
  font-weight: 500;
}

.pricing-input {
  background: rgba(0, 0, 0, 0.3);
  border: 1px solid var(--glass-border);
  color: var(--color-success);
  font-family: var(--font-mono);
  font-size: 0.85rem;
  padding: 6px 8px;
  border-radius: 6px;
  text-align: center;
  width: 100%;
  transition: border-color var(--transition-fast), box-shadow var(--transition-fast), background-color var(--transition-fast), transform var(--transition-fast);
}

.pricing-input:hover {
  border-color: rgba(6, 182, 212, 0.25);
  background: rgba(255, 255, 255, 0.01);
}

.pricing-input:focus {
  border-color: var(--color-primary);
  box-shadow: 0 0 12px rgba(6, 182, 212, 0.22);
  background: rgba(0, 0, 0, 0.4);
  transform: translateY(-1px);
  outline: none;
}

/* Empty placeholder */
.empty-placeholder {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  height: 250px;
  color: var(--color-text-dark);
  text-align: center;
  gap: 12px;
}

.empty-placeholder svg {
  width: 48px;
  height: 48px;
  stroke: var(--color-text-dark);
}

/* Alert notifications banner */
#toast-container {
  position: fixed;
  bottom: 20px;
  right: 20px;
  z-index: 11000;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.toast {
  background: var(--bg-tertiary);
  border: 1px solid var(--glass-border);
  border-radius: 8px;
  padding: 12px 18px;
  min-width: 250px;
  max-width: 350px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
  display: flex;
  align-items: center;
  gap: 12px;
  animation: slide-in 0.3s cubic-bezier(0.18, 0.89, 0.32, 1.28);
  font-size: 0.85rem;
}

.toast-success { border-left: 4px solid var(--color-success); }
.toast-error { border-left: 4px solid var(--color-error); }
.toast-info { border-left: 4px solid var(--color-primary); }

@keyframes slide-in {
  from { transform: translateX(120%); opacity: 0; }
  to { transform: translateX(0); opacity: 1; }
}

.toast.removing {
  animation: slide-out 0.3s cubic-bezier(0.6, -0.28, 0.735, 0.045) forwards;
}

@keyframes slide-out {
  from { transform: translateX(0); opacity: 1; }
  to { transform: translateX(120%); opacity: 0; }
}

.blocked-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(244, 63, 94, 0.1);
  color: var(--color-error);
  border: 1px solid rgba(244, 63, 94, 0.2);
  padding: 2px 8px;
  border-radius: 12px;
  font-size: 0.8rem;
  font-family: var(--font-mono);
}

.blocked-container {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

/* Today Info Widget Style */
.today-info-widget {
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid var(--glass-border);
  border-radius: 12px;
  padding: 14px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 8px;
}

.today-date-time {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--color-text-main);
  border-bottom: 1px solid var(--glass-border);
  padding-bottom: 8px;
}

.date-icon {
  font-size: 1.1rem;
}

.time-sep {
  color: var(--color-text-dark);
}

.time-highlight {
  font-family: var(--font-mono);
  color: var(--color-primary);
  text-shadow: 0 0 10px rgba(6, 182, 212, 0.3);
}

.today-stations-info {
  display: flex;
  flex-direction: column;
  gap: 6px;
  font-size: 0.8rem;
}

.station-region-list {
  display: flex;
  gap: 6px;
  align-items: center;
}

.region-label {
  font-weight: 700;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  padding: 2px 6px;
  border-radius: 4px;
  min-width: 32px;
  text-align: center;
}

.region-label.mn {
  background: rgba(6, 182, 212, 0.1);
  color: var(--color-primary);
  border: 1px solid rgba(6, 182, 212, 0.2);
}

.region-label.mt {
  background: rgba(16, 185, 129, 0.1);
  color: var(--color-success);
  border: 1px solid rgba(16, 185, 129, 0.2);
}

.region-label.mb {
  background: rgba(251, 191, 36, 0.1);
  color: var(--color-warning);
  border: 1px solid rgba(251, 191, 36, 0.2);
}

.today-stations-info span:not(.region-label) {
  color: var(--color-text-muted);
}

/* ==========================================
   MOBILE & TABLET RESPONSIVE OPTIMIZATIONS
   ========================================== */

/* Tablet & Mobile Layout Shifts */
@media (max-width: 900px) {
  .dashboard-grid {
    display: flex !important;
    flex-direction: column !important;
    gap: 16px !important;
  }
  
  /* Optimize reading order: Inputs -> Totals Ledger -> Detailed Bills */
  .input-column {
    order: 1 !important;
  }
  
  .ledger-column {
    order: 2 !important;
  }
  
  .viewer-column {
    order: 3 !important;
  }
}

/* Mobile Specific Tweaks */
@media (max-width: 768px) {
  /* Prevent iOS auto-zooming on focus by enforcing 16px font-size */
  .select-input, 
  .text-input, 
  .pricing-input {
    font-size: 16px !important;
  }
  
  .app-wrapper {
    padding: 10px;
    gap: 12px;
  }
  
  /* Make pricing sheets/tables scrollable horizontally instead of breaking layout */
  #pricing-sheet-container, 
  .modal-body {
    overflow-x: auto !important;
    -webkit-overflow-scrolling: touch;
  }
  
  .config-matrix-preview, 
  .pricing-grid {
    min-width: 580px !important;
  }
  
  .modal-content {
    width: 95% !important;
    max-height: 90vh !important;
  }
}

/* Header & Controls Stack on Small Screens */
@media (max-width: 600px) {
  header {
    flex-direction: column !important;
    align-items: stretch !important;
    gap: 12px !important;
    padding: 12px !important;
  }
  
  .brand {
    justify-content: space-between;
    width: 100%;
  }
  
  .header-controls {
    display: grid !important;
    grid-template-columns: 1fr 1fr !important;
    gap: 8px !important;
  }
  
  .header-controls .auto-lock-timer {
    grid-column: span 2 !important;
    justify-content: center;
    background: rgba(255, 255, 255, 0.02);
    padding: 6px;
    border-radius: 6px;
    margin-bottom: 2px;
  }
  
  .header-btn {
    padding: 10px 8px !important;
    font-size: 0.8rem !important;
    justify-content: center;
  }
  
  .header-btn.panic-btn {
    grid-column: span 2 !important;
    margin-top: 4px;
  }
}

/* Landscape and Low Height Viewports Scaling */
@media (max-height: 650px) {
  #lock-screen {
    padding: 15px 0 !important;
    overflow-y: auto !important;
  }
  .lock-container {
    padding: 16px 12px !important;
    margin: auto 0 !important;
    max-width: 360px !important;
  }
  .lock-logo {
    font-size: 1.8rem !important;
    margin-bottom: 4px !important;
  }
  .lock-subtitle {
    margin-bottom: 12px !important;
    font-size: 0.85rem !important;
  }
  .passcode-dots {
    margin-bottom: 12px !important;
    gap: 8px !important;
  }
  .numpad {
    gap: 8px !important;
    margin-bottom: 8px !important;
  }
  .num-btn {
    width: 52px !important;
    height: 52px !important;
    font-size: 1.2rem !important;
  }
  .lock-info {
    margin-top: 8px !important;
    font-size: 0.75rem !important;
  }
}

/* Extra Narrow Devices (e.g., iPhone SE portrait) */
@media (max-width: 400px) {
  .lock-container {
    padding: 24px 12px !important;
    width: 95% !important;
  }
  
  .lock-logo {
    font-size: 2.1rem !important;
  }
  
  .num-btn {
    width: 58px !important;
    height: 58px !important;
    font-size: 1.3rem !important;
  }
  
  .numpad {
    gap: 10px !important;
    margin-bottom: 12px !important;
  }
  
  .passcode-dots {
    gap: 12px !important;
    margin-bottom: 20px !important;
  }
}

/* Button & Widget stacks for ultra-compact layout */
@media (max-width: 480px) {
  .button-row {
    grid-template-columns: 1fr !important;
    gap: 8px !important;
  }
  
  #quick-paste-btn {
    grid-column: span 1 !important;
  }
  
  .today-date-time {
    flex-wrap: wrap !important;
    justify-content: center !important;
    gap: 4px !important;
    font-size: 0.85rem !important;
  }
  
  .time-sep {
    display: none !important;
  }
  
  .modal-header {
    padding: 12px 16px !important;
  }
  
  .modal-title {
    font-size: 1rem !important;
  }
  
  .modal-body {
    padding: 16px !important;
    gap: 16px !important;
  }
  
  .modal-footer {
    padding: 12px 16px !important;
  }
  
  .station-region-list {
    align-items: flex-start !important;
  }
}

/* Lottery Board Table Styles */
.lottery-table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 5px;
}

.lottery-table td {
  border: 1px solid var(--glass-border);
  padding: 6px 10px;
  vertical-align: middle;
}

.lottery-table tr:hover {
  background: rgba(255, 255, 255, 0.02);
}

.prize-label {
  width: 100px;
  font-weight: 600;
  color: var(--color-text-muted);
  font-size: 0.75rem;
  text-transform: uppercase;
  background: rgba(255, 255, 255, 0.01);
  text-align: left;
}

.prize-numbers {
  text-align: center;
  font-size: 0.85rem;
  color: #fff;
  letter-spacing: 0.5px;
}

.lottery-station-board {
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.lottery-station-board:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.4);
  border-color: rgba(255, 255, 255, 0.2);
}

.lottery-controls {
  display: grid;
  grid-template-columns: 1.2fr 1fr 1.2fr 1.2fr;
  gap: 8px;
  align-items: center;
  width: 100%;
}

@media (max-width: 600px) {
  .lottery-controls {
    grid-template-columns: 1fr 1fr;
  }
}

/* User Management Table Styles */
#user-management-modal table {
  border-spacing: 0;
  width: 100%;
}
#user-management-modal th, #user-management-modal td {
  border-bottom: 1px solid var(--glass-border);
  padding: 10px 8px;
  color: var(--color-text-main);
  vertical-align: middle;
}
#user-management-modal tr:last-child td {
  border-bottom: none;
}
#user-management-modal th {
  font-weight: 600;
  font-size: 0.8rem;
  background: rgba(255, 255, 255, 0.02);
}
.user-badge-status {
  padding: 3px 8px;
  border-radius: 12px;
  font-size: 0.75rem;
  font-weight: 600;
  display: inline-block;
  text-align: center;
}
.user-badge-status.active {
  background: rgba(16, 185, 129, 0.1);
  color: var(--color-success);
  border: 1px solid rgba(16, 185, 129, 0.2);
}
.user-badge-status.offline {
  background: rgba(255, 255, 255, 0.05);
  color: var(--color-text-muted);
  border: 1px solid rgba(255, 255, 255, 0.1);
}
.btn-delete-user {
  background: rgba(239, 68, 68, 0.1);
  border: 1px solid rgba(239, 68, 68, 0.2);
  color: #ef4444;
  padding: 4px 10px;
  border-radius: 6px;
  font-size: 0.75rem;
  font-weight: 500;
  cursor: pointer;
  transition: all var(--transition-fast);
}
.btn-delete-user:hover {
  background: rgba(239, 68, 68, 0.25);
  border-color: #ef4444;
  box-shadow: 0 0 10px rgba(239, 68, 68, 0.2);
}
.btn-delete-user:disabled {
  background: rgba(255, 255, 255, 0.02);
  border-color: rgba(255, 255, 255, 0.05);
  color: var(--color-text-dark);
  cursor: not-allowed;
  box-shadow: none;
}

.bot-status-badge {
  font-size: 0.82rem;
  color: var(--color-text-muted);
  display: flex;
  align-items: center;
  gap: 8px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--glass-border);
  padding: 6px 12px;
  border-radius: 20px;
  font-weight: 500;
}

.status-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  display: inline-block;
  transition: all var(--transition-fast);
}

.status-dot.online {
  background-color: var(--color-success);
  box-shadow: 0 0 10px var(--color-success);
}

.status-dot.offline {
  background-color: var(--color-error);
  box-shadow: 0 0 10px var(--color-error);
}



