/* ==========================================================================
   ALGO DEPLOYMENT DASHBOARD DESIGN SYSTEM (DARK / GLASSMORPHISM)
   ========================================================================== */

:root {
  --bg-main: #0a0e17;
  --bg-card: rgba(18, 24, 38, 0.75);
  --bg-card-hover: rgba(26, 34, 53, 0.85);
  --border-color: rgba(255, 255, 255, 0.08);
  --border-glow: rgba(56, 189, 248, 0.2);

  --text-main: #f1f5f9;
  --text-muted: #94a3b8;
  --text-dim: #64748b;

  --accent-cyan: #06b6d4;
  --accent-blue: #3b82f6;
  --accent-green: #10b981;
  --accent-red: #ef4444;
  --accent-amber: #f59e0b;
  --accent-purple: #8b5cf6;

  --font-sans: 'Outfit', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-mono: 'JetBrains Mono', monospace;
  --radius-sm: 6px;
  --radius-md: 12px;
  --radius-lg: 18px;
}

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

body {
  background-color: var(--bg-main);
  background-image: 
    radial-gradient(at 0% 0%, rgba(59, 130, 246, 0.12) 0px, transparent 50%),
    radial-gradient(at 100% 100%, rgba(139, 92, 246, 0.08) 0px, transparent 50%);
  background-attachment: fixed;
  color: var(--text-main);
  font-family: var(--font-sans);
  min-height: 100vh;
  line-height: 1.5;
}

/* -------------------------------------------------------------------------
   Header & Nav
   ------------------------------------------------------------------------- */
.app-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 16px 32px;
  background: rgba(10, 14, 23, 0.85);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border-color);
  position: sticky;
  top: 0;
  z-index: 100;
}

.header-left .logo-box {
  display: flex;
  align-items: center;
  gap: 12px;
}

.logo-icon {
  font-size: 28px;
  background: linear-gradient(135deg, #06b6d4, #3b82f6);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.app-title {
  font-size: 20px;
  font-weight: 700;
  letter-spacing: -0.5px;
}

.badge-pro {
  background: linear-gradient(135deg, #06b6d4, #3b82f6);
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  padding: 2px 7px;
  border-radius: var(--radius-sm);
  margin-left: 4px;
}

.app-subtitle {
  font-size: 12px;
  color: var(--text-muted);
}

.broker-status-chips {
  display: flex;
  gap: 12px;
}

.chip {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 6px 14px;
  border-radius: 20px;
  font-size: 13px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border-color);
  font-family: var(--font-mono);
}

.chip-online .dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent-green);
  box-shadow: 0 0 8px var(--accent-green);
}

.chip-offline .dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent-amber);
  box-shadow: 0 0 8px var(--accent-amber);
}

.cursor-pointer { cursor: pointer; }

.spot-tickers-group {
  display: flex;
  gap: 8px;
}

.live-spot-box {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  justify-content: center;
  padding: 4px 10px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  min-width: 95px;
}

.live-spot-label {
  font-size: 9px;
  color: var(--text-dim);
  font-weight: 700;
  letter-spacing: 0.5px;
}

.live-spot-val {
  font-size: 14px;
  font-weight: 700;
  font-family: var(--font-mono);
  color: var(--accent-cyan);
}

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

/* -------------------------------------------------------------------------
   Condition Checklist / Proximity Monitor
   ------------------------------------------------------------------------- */
.conditions-checklist-container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-bottom: 16px;
}

.condition-card {
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.condition-card.long-card { border-left: 3px solid var(--accent-green); }
.condition-card.short-card { border-left: 3px solid var(--accent-red); }

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

.cond-badge {
  font-size: 11px;
  font-weight: 700;
  padding: 3px 8px;
  border-radius: var(--radius-sm);
  letter-spacing: 0.5px;
}

.cond-summary-text {
  font-size: 12px;
  color: var(--text-muted);
  font-family: var(--font-mono);
}

.criteria-list {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.criteria-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 6px 10px;
  background: rgba(255, 255, 255, 0.02);
  border-radius: var(--radius-sm);
  font-size: 12px;
  font-family: var(--font-mono);
}

.crit-label {
  display: flex;
  align-items: center;
  gap: 8px;
}

.crit-icon-met { color: var(--accent-green); font-weight: bold; }
.crit-icon-unmet { color: var(--accent-red); font-weight: bold; }
.crit-status-met { color: var(--accent-green); font-weight: 600; font-size: 11px; }
.crit-status-unmet { color: var(--text-dim); font-size: 11px; }

/* -------------------------------------------------------------------------
   Buttons
   ------------------------------------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 9px 18px;
  font-size: 14px;
  font-weight: 600;
  font-family: var(--font-sans);
  border-radius: var(--radius-md);
  border: none;
  cursor: pointer;
  transition: all 0.2s ease;
}

.btn-primary {
  background: linear-gradient(135deg, #2563eb, #1d4ed8);
  color: white;
  box-shadow: 0 4px 14px rgba(37, 99, 235, 0.35);
}

.btn-primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(37, 99, 235, 0.5);
}

.btn-secondary {
  background: rgba(255, 255, 255, 0.08);
  color: var(--text-main);
  border: 1px solid var(--border-color);
}

.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.14);
}

.theme-toggle-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-weight: 600;
  cursor: pointer;
  border-radius: var(--radius-sm);
  transition: all 0.2s ease;
  user-select: none;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid var(--border-color);
  color: var(--text-main);
  padding: 8px 14px;
}

.theme-toggle-btn:hover {
  background: rgba(255, 255, 255, 0.16);
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.25);
  border-color: rgba(255, 255, 255, 0.25);
}

[data-theme="light"] .theme-toggle-btn {
  background: #ffffff !important;
  color: #0f172a !important;
  border: 1px solid #cbd5e1 !important;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.08) !important;
}

[data-theme="light"] .theme-toggle-btn:hover {
  background: #f1f5f9 !important;
  border-color: #94a3b8 !important;
  box-shadow: 0 3px 8px rgba(0, 0, 0, 0.12) !important;
}

.btn-danger {
  background: linear-gradient(135deg, #dc2626, #b91c1c);
  color: white;
  box-shadow: 0 4px 14px rgba(220, 38, 38, 0.35);
}

.btn-danger:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(220, 38, 38, 0.5);
}

.btn-sm {
  padding: 4px 10px;
  font-size: 12px;
}

/* -------------------------------------------------------------------------
   Main Layout & Cards
   ------------------------------------------------------------------------- */
.main-container {
  width: 100%;
  max-width: 100%;
  margin: 0;
  padding: 16px 24px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.card {
  background: var(--bg-card);
  backdrop-filter: blur(16px);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 24px;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.25);
  transition: border-color 0.2s ease;
}

.card:hover {
  border-color: var(--border-glow);
}

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

.header-title-group {
  display: flex;
  align-items: center;
  gap: 12px;
}

.module-tag {
  background: rgba(56, 189, 248, 0.15);
  color: var(--accent-cyan);
  font-size: 11px;
  font-weight: 700;
  padding: 3px 10px;
  border-radius: var(--radius-sm);
  letter-spacing: 0.5px;
  text-transform: uppercase;
}

.card-header h2 {
  font-size: 18px;
  font-weight: 600;
}

/* -------------------------------------------------------------------------
   Module 1: Indicator Telemetry Grid
   ------------------------------------------------------------------------- */
.indicator-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 16px;
  margin-bottom: 16px;
}

.telemetry-box {
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.telemetry-label {
  font-size: 12px;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.telemetry-val {
  font-size: 28px;
  font-weight: 700;
  font-family: var(--font-mono);
  color: var(--accent-cyan);
}

.telemetry-sub {
  font-size: 12px;
  color: var(--text-dim);
}

.dual-val {
  display: flex;
  justify-content: space-between;
  font-size: 14px;
  font-family: var(--font-mono);
}

.val-green { color: var(--accent-green); }
.val-red { color: var(--accent-red); }
.val-black { color: #cbd5e1; }

.cross-badge {
  display: inline-block;
  padding: 4px 10px;
  border-radius: var(--radius-sm);
  font-size: 12px;
  font-weight: 600;
  text-align: center;
  margin-top: 4px;
}

.badge-bull {
  background: rgba(16, 185, 129, 0.2);
  color: var(--accent-green);
  border: 1px solid rgba(16, 185, 129, 0.4);
}

.badge-bear {
  background: rgba(239, 68, 68, 0.2);
  color: var(--accent-red);
  border: 1px solid rgba(239, 68, 68, 0.4);
}

.badge-neutral {
  background: rgba(148, 163, 184, 0.1);
  color: var(--text-muted);
}

.pos-badge {
  font-size: 18px;
  font-weight: 700;
  font-family: var(--font-mono);
  padding: 6px 12px;
  border-radius: var(--radius-md);
  text-align: center;
}

.live-signal-banner {
  background: rgba(6, 182, 212, 0.08);
  border: 1px solid rgba(6, 182, 212, 0.2);
  border-radius: var(--radius-md);
  padding: 12px 18px;
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 13px;
  font-family: var(--font-mono);
  color: #38bdf8;
}

/* -------------------------------------------------------------------------
   Tables (Module 2 & Module 3)
   ------------------------------------------------------------------------- */
.table-responsive {
  width: 100%;
  overflow-x: auto;
}

.data-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 13px;
  text-align: left;
}

.data-table th {
  padding: 12px 14px;
  background: rgba(255, 255, 255, 0.03);
  color: var(--text-muted);
  font-weight: 600;
  border-bottom: 1px solid var(--border-color);
  white-space: nowrap;
}

.data-table td {
  padding: 14px;
  border-bottom: 1px solid var(--border-color);
  font-family: var(--font-mono);
}

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

.toggle-switch {
  position: relative;
  display: inline-block;
  width: 38px;
  height: 20px;
}

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

.slider {
  position: absolute;
  cursor: pointer;
  top: 0; left: 0; right: 0; bottom: 0;
  background-color: #334155;
  transition: .3s;
  border-radius: 20px;
}

.slider:before {
  position: absolute;
  content: "";
  height: 14px;
  width: 14px;
  left: 3px;
  bottom: 3px;
  background-color: white;
  transition: .3s;
  border-radius: 50%;
}

input:checked + .slider { background-color: var(--accent-green); }
input:checked + .slider:before { transform: translateX(18px); }

/* -------------------------------------------------------------------------
   KPI Chips (Module 3)
   ------------------------------------------------------------------------- */
.kpi-chips {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.kpi-item {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 8px 16px;
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.kpi-label {
  font-size: 11px;
  color: var(--text-muted);
  text-transform: uppercase;
}

.kpi-val {
  font-size: 16px;
  font-weight: 700;
  font-family: var(--font-mono);
}

/* -------------------------------------------------------------------------
   Modal Form
   ------------------------------------------------------------------------- */
.modal-overlay {
  position: fixed;
  top: 0; left: 0; width: 100%; height: 100%;
  background: rgba(0, 0, 0, 0.75);
  backdrop-filter: blur(8px);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 200;
  padding: 20px;
}

.hidden,
.modal-overlay.hidden {
  display: none !important;
}

.modal-content {
  background: #111827;
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: var(--radius-lg);
  width: 100%;
  max-width: 680px;
  max-height: 90vh;
  overflow-y: auto;
  padding: 28px;
}

.modal-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px;
}

.btn-close {
  background: none;
  border: none;
  font-size: 24px;
  color: var(--text-muted);
  cursor: pointer;
}

.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-bottom: 24px;
}

.full-width { grid-column: 1 / -1; }

.form-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.form-group label {
  font-size: 12px;
  font-weight: 600;
  color: #94a3b8;
  letter-spacing: 0.3px;
}

/* Bulletproof Universal Dark Form Controls (High Contrast) */
input, select, textarea,
input[type="text"], input[type="number"], input[type="password"],
.form-group input, .form-group select, .form-group textarea,
.select-input, .modal-content input, .modal-content select, .modal-content textarea {
  background-color: #1e293b !important;
  color: #f8fafc !important;
  border: 1px solid #475569 !important;
  padding: 10px 14px !important;
  border-radius: var(--radius-sm) !important;
  font-family: var(--font-sans) !important;
  font-size: 14px !important;
  font-weight: 500 !important;
  outline: none !important;
  box-shadow: none !important;
  color-scheme: dark !important; /* Forces native browser widgets (spinners, drop-downs) into dark mode */
}

input::placeholder, textarea::placeholder {
  color: #64748b !important;
}

select option,
.form-group select option,
.modal-content select option {
  background-color: #0f172a !important;
  color: #f8fafc !important;
  padding: 10px 14px !important;
}

input:focus, select:focus, textarea:focus,
.form-group input:focus, .form-group select:focus, .form-group textarea:focus,
.modal-content input:focus, .modal-content select:focus,
.select-input:focus {
  border-color: #38bdf8 !important;
  background-color: #243248 !important;
  box-shadow: 0 0 0 2px rgba(56, 189, 248, 0.3) !important;
}

/* Chrome/Edge Autofill Prevention of white background */
input:-webkit-autofill,
input:-webkit-autofill:hover, 
input:-webkit-autofill:focus,
input:-webkit-autofill:active {
  -webkit-box-shadow: 0 0 0 1000px #1e293b inset !important;
  -webkit-text-fill-color: #f8fafc !important;
  caret-color: #f8fafc !important;
  transition: background-color 5000s ease-in-out 0s;
}

.modal-subtitle {
  font-size: 12px;
  color: #94a3b8;
  margin-top: 4px;
}

.modal-footer {
  display: flex;
  justify-content: flex-end;
  gap: 12px;
}

/* -------------------------------------------------------------------------
   Active Indicator Parameters Quick-Bar
   ------------------------------------------------------------------------- */
.indicator-params-bar {
  display: flex;
  align-items: center;
  gap: 12px;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-sm);
  padding: 8px 14px;
  margin-bottom: 16px;
  flex-wrap: wrap;
}

.params-bar-label {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.8px;
  color: var(--accent-cyan);
}

.param-pills-list {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  flex: 1;
}

.param-pill {
  background: rgba(56, 189, 248, 0.08);
  border: 1px solid rgba(56, 189, 248, 0.25);
  color: #e2e8f0;
  font-family: var(--font-mono);
  font-size: 11px;
  padding: 3px 8px;
  border-radius: 4px;
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.param-pill b {
  color: var(--accent-cyan);
}

.btn-tune-inline {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(56, 189, 248, 0.3);
  color: var(--accent-cyan);
  padding: 4px 10px;
  border-radius: 4px;
  font-size: 11px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s;
}

.btn-tune-inline:hover {
  background: rgba(56, 189, 248, 0.15);
  border-color: var(--accent-cyan);
}

/* Toast Notifications */
.toast-container {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 999;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.toast {
  padding: 12px 18px;
  border-radius: var(--radius-md);
  background: #1e293b;
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.15);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.5);
  font-size: 13px;
  display: flex;
  align-items: center;
  gap: 8px;
  animation: slideInRight 0.3s ease-out;
}

.toast-success {
  border-left: 4px solid var(--accent-green);
}

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

/* Audio Controls & Sound Test Buttons */
.audio-controls-group {
  display: flex;
  align-items: center;
  gap: 6px;
}

.sound-test-btn {
  padding: 4px 8px;
  font-size: 11px;
  opacity: 0.85;
  transition: all 0.2s ease;
}
.sound-test-btn:hover {
  opacity: 1;
  transform: translateY(-1px);
}

/* Next Bar Countdown Badge */
.bar-countdown-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 10px;
  background: rgba(59, 130, 246, 0.12);
  border: 1px solid rgba(59, 130, 246, 0.35);
  border-radius: var(--radius-md);
  font-size: 12px;
  color: #93c5fd;
  font-weight: 500;
  letter-spacing: 0.2px;
}

.bar-countdown-badge b {
  font-family: var(--font-mono);
  color: #60a5fa;
  font-size: 13px;
}

/* ==========================================================================
   MODULE NAVIGATION TABS
   ========================================================================== */
.tabs-nav-bar {
  margin-bottom: 24px;
  display: flex;
  justify-content: flex-start;
  align-items: center;
  border-bottom: 1px solid var(--border-color);
  padding-bottom: 12px;
}

.tabs-pill-group {
  display: inline-flex;
  gap: 8px;
  background: rgba(15, 23, 42, 0.7);
  padding: 6px;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-color);
  backdrop-filter: blur(8px);
}

.nav-tab {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 18px;
  border-radius: var(--radius-md);
  border: 1px solid transparent;
  background: transparent;
  color: var(--text-muted);
  font-family: var(--font-sans);
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
  user-select: none;
}

.nav-tab:hover {
  color: var(--text-main);
  background: rgba(255, 255, 255, 0.05);
}

.nav-tab.active {
  background: linear-gradient(135deg, rgba(6, 182, 212, 0.2), rgba(59, 130, 246, 0.25));
  color: #38bdf8;
  border: 1px solid rgba(56, 189, 248, 0.4);
  box-shadow: 0 4px 16px rgba(6, 182, 212, 0.15);
}

.tab-icon {
  font-size: 16px;
}

.tab-title {
  letter-spacing: -0.2px;
}

.tab-badge {
  font-size: 10px;
  font-weight: 700;
  padding: 2px 7px;
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, 0.08);
  color: var(--text-muted);
  font-family: var(--font-mono);
}

.nav-tab.active .tab-badge {
  background: rgba(56, 189, 248, 0.25);
  color: #38bdf8;
}

.badge-pulse {
  background: rgba(16, 185, 129, 0.2) !important;
  color: #34d399 !important;
  animation: pulseGreenGlow 2s infinite ease-in-out;
}

@keyframes pulseGreenGlow {
  0%, 100% { box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.4); }
  50% { box-shadow: 0 0 0 4px rgba(16, 185, 129, 0); }
}

/* ==========================================================================
   LIVE POSITIONS & AUDIT METADATA STYLES
   ========================================================================== */
.ind-tag {
  display: inline-block;
  padding: 3px 8px;
  border-radius: var(--radius-sm);
  font-size: 11px;
  font-weight: 600;
  background: rgba(139, 92, 246, 0.15);
  color: #c084fc;
  border: 1px solid rgba(139, 92, 246, 0.3);
}

.reason-pill {
  display: inline-block;
  padding: 3px 8px;
  border-radius: var(--radius-sm);
  font-size: 11.5px;
  font-weight: 600;
  max-width: 250px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  background: #1e293b;
  border: 1px solid #475569;
  color: #f8fafc;
}

.time-sub {
  display: block;
  font-size: 11px;
  color: var(--text-dim);
  font-family: var(--font-mono);
  margin-top: 2px;
}

.live-pnl-cell {
  font-family: var(--font-mono);
  font-weight: 700;
  font-size: 14px;
  letter-spacing: 0.2px;
  transition: all 0.2s ease;
}

.live-pulse-dot {
  display: inline-block;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background-color: var(--accent-green);
  margin-right: 6px;
  animation: pulseGreenGlow 1.5s infinite;
}

.tick-flash-green {
  animation: bgFlashGreen 0.6s ease-out;
}

.tick-flash-red {
  animation: bgFlashRed 0.6s ease-out;
}

@keyframes bgFlashGreen {
  0% { background-color: rgba(16, 185, 129, 0.35); }
  100% { background-color: transparent; }
}

@keyframes bgFlashRed {
  0% { background-color: rgba(239, 68, 68, 0.35); }
  100% { background-color: transparent; }
}

/* ==========================================================================
   MODULE 3: DRAGGABLE & SORTABLE TABLE SYSTEM STYLES
   ========================================================================== */
.btn-danger-soft {
  background: rgba(239, 68, 68, 0.12) !important;
  border: 1px solid rgba(239, 68, 68, 0.35) !important;
  color: #f87171 !important;
  font-weight: 600 !important;
  padding: 5px 12px !important;
  border-radius: var(--radius-sm) !important;
  font-size: 12px !important;
  cursor: pointer;
  transition: all 0.2s ease !important;
  display: inline-flex;
  align-items: center;
  gap: 5px;
}

.btn-danger-soft:hover {
  background: #ef4444 !important;
  color: #ffffff !important;
  border-color: #ef4444 !important;
  box-shadow: 0 0 12px rgba(239, 68, 68, 0.4) !important;
  transform: translateY(-1px);
}

.btn-ghost {
  background: transparent !important;
  border: 1px solid rgba(148, 163, 184, 0.25) !important;
  color: #94a3b8 !important;
  font-size: 11px !important;
  padding: 5px 10px !important;
  border-radius: var(--radius-sm) !important;
  cursor: pointer;
  transition: all 0.2s ease !important;
}

.btn-ghost:hover {
  background: rgba(148, 163, 184, 0.12) !important;
  color: #e2e8f0 !important;
  border-color: rgba(148, 163, 184, 0.4) !important;
}

.btn-ghost-danger {
  background: transparent !important;
  border: 1px solid rgba(239, 68, 68, 0.25) !important;
  color: #f87171 !important;
  font-size: 11px !important;
  padding: 5px 10px !important;
  border-radius: var(--radius-sm) !important;
  cursor: pointer;
  transition: all 0.2s ease !important;
}

.btn-ghost-danger:hover {
  background: rgba(239, 68, 68, 0.15) !important;
  color: #fca5a5 !important;
  border-color: rgba(239, 68, 68, 0.45) !important;
}

.column-hint {
  font-size: 11px;
  color: #64748b;
  font-style: italic;
  display: inline-block;
}

/* Draggable Table Header */
.draggable-th {
  cursor: grab !important;
  user-select: none !important;
  position: relative !important;
  transition: background 0.15s ease, border-color 0.15s ease !important;
  white-space: nowrap !important;
}

.draggable-th:active {
  cursor: grabbing !important;
}

.draggable-th.dragging {
  opacity: 0.45 !important;
  background: rgba(56, 189, 248, 0.15) !important;
}

.draggable-th.drag-over-left {
  border-left: 3px solid #38bdf8 !important;
  background: rgba(56, 189, 248, 0.12) !important;
}

.draggable-th.drag-over-right {
  border-right: 3px solid #38bdf8 !important;
  background: rgba(56, 189, 248, 0.12) !important;
}

.th-content {
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  gap: 6px !important;
  width: 100% !important;
}

.th-grip {
  color: #475569;
  font-size: 12px;
  opacity: 0.6;
  margin-right: 2px;
  cursor: grab;
}

.draggable-th:hover .th-grip {
  opacity: 1;
  color: #94a3b8;
}

.th-sort-indicator {
  font-size: 10px;
  margin-left: auto;
  padding: 1px 4px;
  border-radius: 2px;
  color: #64748b;
  font-family: var(--font-mono);
  background: rgba(255, 255, 255, 0.04);
}

.th-sort-indicator.active {
  color: #38bdf8 !important;
  font-weight: 700 !important;
  background: rgba(56, 189, 248, 0.2) !important;
}

.draggable-th:hover {
  background: rgba(255, 255, 255, 0.05) !important;
}

/* Column Resizing */
.col-resizer {
  position: absolute;
  top: 0;
  right: 0;
  width: 7px;
  bottom: 0;
  cursor: col-resize !important;
  user-select: none !important;
  z-index: 10;
  transition: background 0.15s ease;
}

.col-resizer:hover, .col-resizer.resizing {
  background: #38bdf8 !important;
  width: 4px;
  box-shadow: 0 0 6px rgba(56, 189, 248, 0.6);
}

/* Column Visibility Dropdown */
.col-vis-container {
  position: relative;
  display: inline-block;
}

.col-vis-dropdown {
  position: absolute;
  top: calc(100% + 6px);
  right: 0;
  background: #0f172a;
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: var(--radius-md);
  padding: 12px 14px;
  min-width: 230px;
  max-height: 380px;
  overflow-y: auto;
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.6), 0 0 0 1px rgba(56, 189, 248, 0.15);
  z-index: 1050;
  display: flex;
  flex-direction: column;
  gap: 6px;
  backdrop-filter: blur(20px);
}

.col-vis-dropdown.hidden {
  display: none !important;
}

.col-vis-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 8px;
  margin-bottom: 4px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  font-size: 11.5px;
  font-weight: 700;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.col-vis-item {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 12px;
  color: #cbd5e1;
  cursor: pointer;
  padding: 5px 8px;
  border-radius: 4px;
  transition: background 0.15s ease, color 0.15s ease;
  user-select: none;
}

.col-vis-item:hover {
  background: rgba(255, 255, 255, 0.06);
  color: #fff;
}

.col-vis-item input[type="checkbox"] {
  accent-color: #38bdf8;
  width: 14px;
  height: 14px;
  cursor: pointer;
}

/* ==========================================================================
   MODULE 1: MULTI-INDICATOR STACK & 4-WAY EXIT CHECKLIST STYLES
   ========================================================================== */
.all-indicators-container {
  display: flex;
  flex-direction: column;
  gap: 28px;
  width: 100%;
}

.indicator-full-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 24px;
  box-shadow: var(--shadow-md);
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
  position: relative;
}

.indicator-full-card:hover {
  border-color: rgba(99, 102, 241, 0.4);
}

.ind-badge {
  font-size: 11px;
  font-weight: 700;
  padding: 3px 8px;
  border-radius: 4px;
  background: rgba(56, 189, 248, 0.15);
  color: #38bdf8;
  border: 1px solid rgba(56, 189, 248, 0.3);
}

.ind-title {
  font-size: 18px;
  font-weight: 700;
  color: #f8fafc;
  margin: 0;
}

.ind-id-sub {
  font-size: 12px;
  color: #64748b;
  font-family: var(--font-mono);
}

.ind-header-actions {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

/* 4-way Conditions Checklist Quad Grid */
.conditions-checklist-quad {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 16px;
  margin-top: 18px;
}

.cond-card-long {
  background: rgba(16, 185, 129, 0.04);
  border: 1px solid rgba(16, 185, 129, 0.25);
  border-radius: var(--radius-md);
  padding: 14px;
  transition: all 0.25s ease;
}

.cond-card-short {
  background: rgba(239, 68, 68, 0.04);
  border: 1px solid rgba(239, 68, 68, 0.25);
  border-radius: var(--radius-md);
  padding: 14px;
  transition: all 0.25s ease;
}

.cond-card-long-exit {
  background: rgba(245, 158, 11, 0.04);
  border: 1px solid rgba(245, 158, 11, 0.25);
  border-radius: var(--radius-md);
  padding: 14px;
  transition: all 0.25s ease;
}

.cond-card-short-exit {
  background: rgba(168, 85, 247, 0.04);
  border: 1px solid rgba(168, 85, 247, 0.25);
  border-radius: var(--radius-md);
  padding: 14px;
  transition: all 0.25s ease;
}

.badge-exit-long {
  background: rgba(245, 158, 11, 0.2);
  color: #f59e0b;
  border: 1px solid rgba(245, 158, 11, 0.4);
  font-size: 11px;
  font-weight: 700;
  padding: 2px 8px;
  border-radius: 4px;
}

.badge-exit-short {
  background: rgba(168, 85, 247, 0.2);
  color: #c084fc;
  border: 1px solid rgba(168, 85, 247, 0.4);
  font-size: 11px;
  font-weight: 700;
  padding: 2px 8px;
  border-radius: 4px;
}

.status-pill {
  font-size: 10px;
  font-weight: 700;
  padding: 2px 7px;
  border-radius: 4px;
  letter-spacing: 0.3px;
  text-transform: uppercase;
}
.status-waiting {
  background: rgba(148, 163, 184, 0.12);
  color: #94a3b8;
  border: 1px solid rgba(148, 163, 184, 0.25);
}
.status-ready-bull {
  background: rgba(16, 185, 129, 0.25);
  color: #10b981;
  border: 1px solid #10b981;
  box-shadow: 0 0 10px rgba(16, 185, 129, 0.4);
}
.status-ready-bear {
  background: rgba(239, 68, 68, 0.25);
  color: #ef4444;
  border: 1px solid #ef4444;
  box-shadow: 0 0 10px rgba(239, 68, 68, 0.4);
}
.status-ready-exit-long {
  background: rgba(245, 158, 11, 0.25);
  color: #f59e0b;
  border: 1px solid #f59e0b;
  box-shadow: 0 0 10px rgba(245, 158, 11, 0.4);
}
.status-ready-exit-short {
  background: rgba(168, 85, 247, 0.25);
  color: #c084fc;
  border: 1px solid #a855f7;
  box-shadow: 0 0 10px rgba(168, 85, 247, 0.4);
}

.criteria-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.criteria-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 12px;
  padding: 5px 8px;
  border-radius: 4px;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.04);
}
.crit-label {
  display: flex;
  align-items: center;
  gap: 8px;
  color: #cbd5e1;
}
.crit-icon-met {
  color: #10b981;
  font-weight: 700;
  font-size: 13px;
}
.crit-icon-unmet {
  color: #64748b;
  font-weight: 700;
  font-size: 13px;
}
.crit-status-met {
  font-size: 10px;
  font-weight: 700;
  color: #10b981;
  background: rgba(16, 185, 129, 0.15);
  border: 1px solid rgba(16, 185, 129, 0.3);
  padding: 1px 6px;
  border-radius: 3px;
}
.crit-status-unmet {
  font-size: 10px;
  font-weight: 600;
  color: #64748b;
  background: rgba(148, 163, 184, 0.1);
  padding: 1px 6px;
  border-radius: 3px;
}

/* Card Blinking Animations (Triggered 2-3 Times on Condition Met) */
@keyframes blinkCardBull {
  0%, 100% { border-color: rgba(16, 185, 129, 0.25); box-shadow: 0 0 0 rgba(16, 185, 129, 0); transform: scale(1); }
  50% { border-color: #10b981; box-shadow: 0 0 30px rgba(16, 185, 129, 0.85); transform: scale(1.025); background: rgba(16, 185, 129, 0.15); }
}

@keyframes blinkCardBear {
  0%, 100% { border-color: rgba(239, 68, 68, 0.25); box-shadow: 0 0 0 rgba(239, 68, 68, 0); transform: scale(1); }
  50% { border-color: #ef4444; box-shadow: 0 0 30px rgba(239, 68, 68, 0.85); transform: scale(1.025); background: rgba(239, 68, 68, 0.15); }
}

@keyframes blinkCardExitLong {
  0%, 100% { border-color: rgba(245, 158, 11, 0.25); box-shadow: 0 0 0 rgba(245, 158, 11, 0); transform: scale(1); }
  50% { border-color: #f59e0b; box-shadow: 0 0 30px rgba(245, 158, 11, 0.85); transform: scale(1.025); background: rgba(245, 158, 11, 0.15); }
}

@keyframes blinkCardExitShort {
  0%, 100% { border-color: rgba(168, 85, 247, 0.25); box-shadow: 0 0 0 rgba(168, 85, 247, 0); transform: scale(1); }
  50% { border-color: #a855f7; box-shadow: 0 0 30px rgba(168, 85, 247, 0.85); transform: scale(1.025); background: rgba(168, 85, 247, 0.15); }
}

.blink-active-long {
  animation: blinkCardBull 0.7s ease-in-out 3;
}

.blink-active-short {
  animation: blinkCardBear 0.7s ease-in-out 3;
}

.blink-active-long-exit {
  animation: blinkCardExitLong 0.7s ease-in-out 3;
}

.blink-active-short-exit {
  animation: blinkCardExitShort 0.7s ease-in-out 3;
}

/* Audio Toolbar & Test Buttons */
.audio-controls-group {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.audio-test-buttons {
  display: flex;
  align-items: center;
  gap: 6px;
  flex-wrap: wrap;
}

.btn-sound-test {
  padding: 3px 8px !important;
  font-size: 11px !important;
  font-weight: 600 !important;
  border-radius: var(--radius-sm) !important;
  cursor: pointer;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: #cbd5e1;
  transition: all 0.2s;
}

.btn-sound-test:hover {
  transform: translateY(-1px);
}

.btn-sound-test.test-long:hover {
  background: rgba(16, 185, 129, 0.2);
  border-color: #10b981;
  color: #34d399;
}

.btn-sound-test.test-short:hover {
  background: rgba(239, 68, 68, 0.2);
  border-color: #ef4444;
  color: #f87171;
}

.btn-sound-test.test-exit-long:hover {
  background: rgba(245, 158, 11, 0.2);
  border-color: #f59e0b;
  color: #fbbf24;
}

.btn-sound-test.test-exit-short:hover {
  background: rgba(168, 85, 247, 0.2);
  border-color: #a855f7;
  color: #c084fc;
}

/* Inline Indicator Logs Accordion & Delete Actions */
.btn-primary-soft {
  background: rgba(56, 189, 248, 0.12) !important;
  border: 1px solid rgba(56, 189, 248, 0.35) !important;
  color: #38bdf8 !important;
  font-weight: 600 !important;
  padding: 5px 10px !important;
  border-radius: var(--radius-sm) !important;
  font-size: 11px !important;
  cursor: pointer;
  transition: all 0.2s ease !important;
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.btn-primary-soft:hover {
  background: rgba(56, 189, 248, 0.25) !important;
  color: #7dd3fc !important;
  border-color: #38bdf8 !important;
  box-shadow: 0 0 10px rgba(56, 189, 248, 0.3) !important;
}

.btn-icon {
  padding: 4px 8px !important;
  font-size: 13px !important;
  line-height: 1 !important;
}

.ind-logs-row td {
  background: #090e1a !important;
}

.algo-trades-drawer-cell {
  padding: 14px 18px !important;
  background: #090e1a !important;
  border-top: 1px dashed rgba(16, 185, 129, 0.5) !important;
  border-bottom: 2px solid rgba(16, 185, 129, 0.7) !important;
  color: #f8fafc !important;
}

.algo-ind-logs-drawer-cell {
  padding: 12px 16px !important;
  background: #090e1a !important;
  border-top: 1px dashed rgba(56, 189, 248, 0.5) !important;
  border-bottom: 2px solid rgba(56, 189, 248, 0.7) !important;
  color: #f8fafc !important;
}

/* Trade execution logs table inside algo drawer */
.algo-trades-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.85rem;
  background: #0d1527;
  border-radius: 6px;
  overflow: hidden;
  border: 1px solid rgba(148, 163, 184, 0.25);
}

.algo-trades-table th {
  background: #172554 !important;
  color: #f8fafc !important;
  padding: 9px 12px !important;
  font-weight: 700 !important;
  font-size: 11.5px !important;
  text-transform: uppercase !important;
  letter-spacing: 0.4px !important;
  border-bottom: 2px solid rgba(56, 189, 248, 0.5) !important;
  white-space: nowrap !important;
}

.algo-trades-table td {
  padding: 9px 12px !important;
  border-bottom: 1px solid rgba(148, 163, 184, 0.15) !important;
  color: #f8fafc !important;
  font-family: var(--font-mono) !important;
  font-size: 12px !important;
}

.algo-trades-table tr:hover td {
  background: rgba(56, 189, 248, 0.08) !important;
}

.ind-inline-logs-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 12px;
  background: #0d1527;
  border-radius: 6px;
  overflow: hidden;
  border: 1px solid rgba(148, 163, 184, 0.25);
}

.ind-inline-logs-table th {
  background: #1e293b !important;
  color: #f8fafc !important;
  padding: 8px 12px !important;
  text-align: left !important;
  border-bottom: 2px solid rgba(56, 189, 248, 0.5) !important;
  font-weight: 700 !important;
  font-size: 11px !important;
  text-transform: uppercase !important;
  letter-spacing: 0.4px !important;
}

.ind-inline-logs-table td {
  padding: 8px 12px !important;
  border-bottom: 1px solid rgba(148, 163, 184, 0.15) !important;
  color: #f8fafc !important;
}

.ind-inline-logs-table tr:hover td {
  background: rgba(56, 189, 248, 0.08) !important;
}

.metric-details-text {
  color: #e2e8f0;
  font-family: var(--font-mono);
  font-size: 11.5px;
  font-weight: 500;
}

.empty-state-box {
  background: rgba(15, 23, 42, 0.55);
  color: #94a3b8;
  border: 1px dashed rgba(148, 163, 184, 0.25);
}

/* -------------------------------------------------------------------------
   Collapsible Indicators & List View Drill-Down
   ------------------------------------------------------------------------- */
.ind-collapsible-card {
  margin-bottom: 14px;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-color);
  background: var(--bg-card);
  transition: all 0.25s ease;
  overflow: hidden;
}

.ind-collapsible-card.is-expanded {
  border-color: rgba(56, 189, 248, 0.4);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.35), 0 0 12px rgba(56, 189, 248, 0.1);
}

.ind-collapsible-card.is-collapsed {
  border-color: rgba(255, 255, 255, 0.07);
}

.ind-collapsible-card.is-collapsed .ind-drilldown-body,
.ind-drilldown-body.hidden {
  display: none !important;
}

/* Drag and Drop Card Styling */
.ind-collapsible-card {
  position: relative;
  transition: transform 0.15s ease, box-shadow 0.15s ease, opacity 0.15s ease;
}

.ind-collapsible-card.is-dragging {
  opacity: 0.45 !important;
  border: 1px dashed #38bdf8 !important;
  transform: scale(0.995);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.5) !important;
}

.ind-collapsible-card.drag-over-top {
  border-top: 3px solid #38bdf8 !important;
  box-shadow: 0 -6px 16px rgba(56, 189, 248, 0.45) !important;
}

.ind-collapsible-card.drag-over-bottom {
  border-bottom: 3px solid #38bdf8 !important;
  box-shadow: 0 6px 16px rgba(56, 189, 248, 0.45) !important;
}

.ind-drag-handle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #64748b;
  font-size: 16px;
  cursor: grab;
  padding: 3px 6px;
  border-radius: 4px;
  transition: all 0.2s ease;
  user-select: none;
  letter-spacing: -1px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.ind-drag-handle:hover {
  color: #38bdf8;
  background: rgba(56, 189, 248, 0.15);
  border-color: rgba(56, 189, 248, 0.4);
  transform: scale(1.1);
}

.ind-drag-handle:active {
  cursor: grabbing;
}

.ind-collapsible-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 18px;
  cursor: pointer;
  background: rgba(15, 23, 42, 0.85);
  transition: background 0.2s ease, border-color 0.2s ease;
  flex-wrap: wrap;
  gap: 12px;
  user-select: none;
}

.ind-collapsible-header:hover {
  background: rgba(30, 41, 59, 0.85);
}

.ind-header-left {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.ind-seq-badge {
  background: linear-gradient(135deg, #0284c7, #0369a1);
  color: #ffffff;
  font-family: var(--font-mono);
  font-weight: 800;
  font-size: 13px;
  padding: 4px 9px;
  border-radius: 6px;
  box-shadow: 0 2px 6px rgba(2, 132, 199, 0.35);
  letter-spacing: 0.5px;
}

.ind-symbol-badge {
  font-weight: 700;
  color: #38bdf8;
  border: 1px solid rgba(56, 189, 248, 0.4);
  padding: 2px 8px;
  border-radius: 4px;
  font-size: 11px;
  font-family: var(--font-mono);
}

.ind-name-text {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--text-main);
}

.chip-custom-mini {
  background: rgba(16, 185, 129, 0.15);
  color: var(--accent-green);
  border: 1px solid rgba(16, 185, 129, 0.3);
  font-size: 10px;
  padding: 2px 6px;
  border-radius: 4px;
  font-weight: 700;
}

/* Critical Values Chips (List View Header) */
.ind-header-critical-chips {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.list-crit-chip {
  background: rgba(15, 23, 42, 0.9);
  border: 1px solid rgba(255, 255, 255, 0.1);
  padding: 4px 10px;
  border-radius: 6px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--font-mono);
  font-size: 12px;
}

.list-crit-label {
  font-size: 9.5px;
  font-weight: 700;
  color: #64748b;
  letter-spacing: 0.5px;
  text-transform: uppercase;
}

.val-spot {
  color: #f8fafc;
  font-weight: 700;
}

.val-cyan {
  color: #38bdf8;
  font-weight: 700;
}

.pos-badge-mini {
  padding: 2px 8px;
  border-radius: 4px;
  font-size: 11px;
  font-weight: 700;
  font-family: var(--font-mono);
}

.list-crit-prox {
  color: #cbd5e1;
  font-weight: 600;
  font-size: 11.5px;
}

.list-crit-time {
  color: #94a3b8;
  font-size: 11px;
}

.pulse-dot {
  color: #10b981;
  animation: pulseAnim 1.5s infinite;
}

@keyframes pulseAnim {
  0% { opacity: 0.4; }
  50% { opacity: 1; }
  100% { opacity: 0.4; }
}

.ind-header-actions {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.btn-drilldown {
  background: rgba(56, 189, 248, 0.15) !important;
  border: 1px solid rgba(56, 189, 248, 0.35) !important;
  color: #38bdf8 !important;
  font-weight: 700 !important;
  padding: 5px 12px !important;
  border-radius: 6px !important;
  font-size: 11.5px !important;
  cursor: pointer;
  transition: all 0.2s ease !important;
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.btn-drilldown:hover {
  background: rgba(56, 189, 248, 0.28) !important;
  color: #ffffff !important;
  box-shadow: 0 0 10px rgba(56, 189, 248, 0.35);
  transform: translateY(-1px);
}

/* Drilldown Body */
.ind-drilldown-body {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(10, 15, 29, 0.95);
  padding: 16px 20px;
}

@keyframes slideDown {
  from {
    opacity: 0;
    transform: translateY(-6px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.ind-body-topbar {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 14px;
  flex-wrap: wrap;
}

.ind-body-label {
  font-size: 12px;
  font-weight: 600;
  color: #94a3b8;
}

/* Indicator Card Logs Drawer (Module 1) */
.btn-ind-logs {
  background: rgba(14, 165, 233, 0.15) !important;
  border: 1px solid rgba(14, 165, 233, 0.35) !important;
  color: #38bdf8 !important;
  font-weight: 700 !important;
  padding: 5px 11px !important;
  border-radius: 6px !important;
  font-size: 11.5px !important;
  cursor: pointer;
  transition: all 0.2s ease !important;
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.btn-ind-logs:hover,
.btn-ind-logs.active {
  background: rgba(14, 165, 233, 0.3) !important;
  color: #ffffff !important;
  box-shadow: 0 0 10px rgba(14, 165, 233, 0.35);
  border-color: #38bdf8 !important;
}

.ind-logs-drawer {
  border-top: 1px solid rgba(56, 189, 248, 0.2);
  background: rgba(11, 19, 38, 0.98);
  padding: 14px 20px;
  animation: slideDown 0.25s ease forwards;
}

.ind-logs-table-m1 {
  width: 100%;
  border-collapse: collapse;
  font-size: 11.5px;
}

.ind-logs-table-m1 th {
  background: rgba(15, 23, 42, 0.9);
  color: #94a3b8;
  padding: 7px 10px;
  text-align: left;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  font-weight: 700;
  text-transform: uppercase;
  font-size: 10.5px;
  letter-spacing: 0.5px;
}

.ind-logs-table-m1 td {
  padding: 8px 10px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  color: #e2e8f0;
}

.ind-logs-table-m1 tr:hover td {
  background: rgba(255, 255, 255, 0.03);
}

/* -------------------------------------------------------------------------
   Module 2: Expandable Trade Logs Drawer
   ------------------------------------------------------------------------- */
.algo-trades-row td {
  animation: slideDown 0.25s ease forwards;
}

.btn-success-soft {
  background: rgba(16, 185, 129, 0.15);
  color: #10b981;
  border: 1px solid rgba(16, 185, 129, 0.35);
  font-weight: 600;
  transition: all 0.2s ease;
}

.btn-success-soft:hover {
  background: rgba(16, 185, 129, 0.3);
  color: #ffffff;
  border-color: #10b981;
  box-shadow: 0 0 10px rgba(16, 185, 129, 0.3);
}

/* -------------------------------------------------------------------------
   Module 3: Unified Filter Toolbar
   ------------------------------------------------------------------------- */
.module-filter-toolbar {
  backdrop-filter: blur(12px);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.25);
  transition: border-color 0.2s ease;
}

.module-filter-toolbar:focus-within {
  border-color: rgba(56, 189, 248, 0.5) !important;
}

.module-filter-toolbar select,
.module-filter-toolbar input {
  background: rgba(30, 41, 59, 0.8) !important;
  border: 1px solid rgba(148, 163, 184, 0.25) !important;
  color: #f8fafc !important;
  border-radius: 6px;
  transition: all 0.2s ease;
}

.module-filter-toolbar select:focus,
.module-filter-toolbar input:focus {
  border-color: #38bdf8 !important;
  box-shadow: 0 0 0 2px rgba(56, 189, 248, 0.25) !important;
  outline: none;
}

/* =========================================================================
   Version Snapshots & Rollback UI
   ========================================================================= */
.version-card {
  background: rgba(15, 23, 42, 0.7);
  border: 1px solid rgba(148, 163, 184, 0.15);
  border-radius: 8px;
  padding: 14px 16px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  position: relative;
}

.version-card:hover {
  border-color: rgba(56, 189, 248, 0.4);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.3);
  transform: translateY(-1px);
}

.version-card.is-active {
  border: 1px solid rgba(16, 185, 129, 0.5);
  background: rgba(16, 185, 129, 0.04);
  box-shadow: 0 0 15px rgba(16, 185, 129, 0.15);
}

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

.version-title-group {
  display: flex;
  align-items: center;
  gap: 10px;
}

.version-name {
  font-size: 1.05rem;
  font-weight: 600;
  color: #f8fafc;
}

.version-active-badge {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: #10b981;
  background: rgba(16, 185, 129, 0.15);
  border: 1px solid rgba(16, 185, 129, 0.4);
  padding: 2px 8px;
  border-radius: 12px;
}

.version-date {
  font-size: 0.8rem;
  color: #94a3b8;
  font-family: 'JetBrains Mono', monospace;
}

.version-desc {
  font-size: 0.85rem;
  color: #cbd5e1;
  line-height: 1.4;
}

.version-stats-chips {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.v-stat-chip {
  font-size: 0.75rem;
  font-family: 'JetBrains Mono', monospace;
  background: rgba(30, 41, 59, 0.8);
  border: 1px solid rgba(148, 163, 184, 0.2);
  padding: 3px 8px;
  border-radius: 4px;
  color: #94a3b8;
  display: inline-flex;
  align-items: center;
  gap: 5px;
}

.v-stat-chip strong {
  color: #f8fafc;
}

.v-stat-pnl-pos {
  color: #10b981 !important;
  font-weight: 700;
}

.v-stat-pnl-neg {
  color: #ef4444 !important;
  font-weight: 700;
}

.version-actions-bar {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  gap: 8px;
  margin-top: 4px;
}

.btn-rollback {
  background: linear-gradient(135deg, #0284c7, #0369a1);
  color: #ffffff;
  border: 1px solid rgba(56, 189, 248, 0.5);
  font-weight: 600;
  font-size: 0.82rem;
  padding: 5px 14px;
  border-radius: 6px;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: all 0.2s ease;
}

.btn-rollback:hover {
  background: linear-gradient(135deg, #0369a1, #075985);
  box-shadow: 0 0 12px rgba(56, 189, 248, 0.4);
  transform: translateY(-1px);
}

.btn-rollback.is-active-btn {
  background: rgba(16, 185, 129, 0.2);
  border-color: rgba(16, 185, 129, 0.4);
  color: #10b981;
  cursor: default;
  transform: none;
  box-shadow: none;
}

.btn-delete-ver {
  background: transparent;
  color: #94a3b8;
  border: 1px solid rgba(148, 163, 184, 0.2);
  font-size: 0.8rem;
  padding: 5px 10px;
  border-radius: 6px;
  cursor: pointer;
  transition: all 0.2s ease;
}

.btn-delete-ver:hover {
  color: #ef4444;
  border-color: rgba(239, 68, 68, 0.4);
  background: rgba(239, 68, 68, 0.1);
}

/* ==========================================================================
   LIGHT THEME DESIGN SYSTEM (PROFESSIONAL & CLEAN)
   ========================================================================== */
[data-theme="light"] {
  --bg-main: #f8fafc;
  --bg-card: #ffffff;
  --bg-card-hover: #ffffff;
  --border-color: #e2e8f0;
  --border-glow: rgba(14, 165, 233, 0.35);

  --text-main: #0f172a;
  --text-muted: #475569;
  --text-dim: #64748b;

  --accent-cyan: #0284c7;
  --accent-blue: #2563eb;
  --accent-green: #059669;
  --accent-red: #dc2626;
  --accent-amber: #d97706;
  --accent-purple: #7c3aed;
}

[data-theme="light"],
[data-theme="light"] body {
  background-color: #f1f5f9 !important;
  background-image: 
    radial-gradient(at 0% 0%, rgba(59, 130, 246, 0.08) 0px, transparent 50%),
    radial-gradient(at 100% 100%, rgba(14, 165, 233, 0.06) 0px, transparent 50%) !important;
  color: #0f172a !important;
}

/* Header & Nav */
[data-theme="light"] .app-header {
  background: rgba(255, 255, 255, 0.95) !important;
  border-bottom: 1px solid #e2e8f0 !important;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.04);
}

[data-theme="light"] .app-title {
  color: #0f172a;
}

[data-theme="light"] .app-subtitle {
  color: #64748b;
}

[data-theme="light"] .chip {
  background: #f8fafc !important;
  border: 1px solid #cbd5e1 !important;
  color: #334155 !important;
}

[data-theme="light"] .live-spot-box {
  background: #f8fafc !important;
  border: 1px solid #e2e8f0 !important;
}

[data-theme="light"] .live-spot-label {
  color: #64748b !important;
}

[data-theme="light"] .live-spot-val {
  color: #0284c7 !important;
}

[data-theme="light"] .card {
  background: #ffffff !important;
  border: 1px solid #e2e8f0 !important;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.04) !important;
  color: #0f172a !important;
}

[data-theme="light"] .card:hover {
  border-color: rgba(14, 165, 233, 0.4) !important;
}

[data-theme="light"] .card-header h2 {
  color: #0f172a !important;
}

[data-theme="light"] .module-tag {
  background: rgba(2, 132, 199, 0.1) !important;
  color: #0284c7 !important;
}

/* Tabs */
[data-theme="light"] .tabs-pill-group {
  background: #e2e8f0 !important;
  border: 1px solid #cbd5e1 !important;
}

[data-theme="light"] .nav-tab {
  background: transparent !important;
  color: #475569 !important;
  border: none !important;
}

[data-theme="light"] .nav-tab:hover {
  color: #0f172a !important;
  background: rgba(255, 255, 255, 0.5) !important;
}

[data-theme="light"] .nav-tab.active {
  background: #ffffff !important;
  color: #0284c7 !important;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08) !important;
}

[data-theme="light"] .nav-tab .tab-badge {
  background: #e2e8f0 !important;
  color: #334155 !important;
}

[data-theme="light"] .nav-tab.active .tab-badge {
  background: rgba(2, 132, 199, 0.12) !important;
  color: #0284c7 !important;
}

/* Buttons */
[data-theme="light"] .btn-secondary {
  background: #f1f5f9 !important;
  color: #1e293b !important;
  border: 1px solid #cbd5e1 !important;
}

[data-theme="light"] .btn-secondary:hover {
  background: #e2e8f0 !important;
  color: #0f172a !important;
}

[data-theme="light"] .btn-ghost {
  color: #334155 !important;
  border-color: #cbd5e1 !important;
}

[data-theme="light"] .btn-ghost:hover {
  background: #f1f5f9 !important;
}

[data-theme="light"] .sound-test-btn {
  background: #f8fafc !important;
  border: 1px solid #cbd5e1 !important;
  color: #334155 !important;
}

/* Indicators Module 1 */
[data-theme="light"] .ind-collapsible-card {
  background: #ffffff !important;
  border: 1px solid #e2e8f0 !important;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.03) !important;
}

[data-theme="light"] .ind-collapsible-header {
  background: #ffffff !important;
  color: #0f172a !important;
}

[data-theme="light"] .ind-collapsible-header:hover {
  background: #f8fafc !important;
}

[data-theme="light"] .ind-seq-badge {
  background: #f1f5f9 !important;
  color: #0284c7 !important;
  border: 1px solid #cbd5e1 !important;
}

[data-theme="light"] .ind-symbol-badge {
  background: #0284c7 !important;
  color: #ffffff !important;
}

[data-theme="light"] .ind-name-text {
  color: #0f172a !important;
}

[data-theme="light"] .ind-id-sub {
  color: #64748b !important;
}

[data-theme="light"] .list-crit-chip {
  background: #f8fafc !important;
  border: 1px solid #e2e8f0 !important;
  color: #0f172a !important;
}

[data-theme="light"] .list-crit-label {
  color: #64748b !important;
}

[data-theme="light"] .val-spot {
  color: #0f172a !important;
}

[data-theme="light"] .val-cyan {
  color: #0284c7 !important;
}

[data-theme="light"] .val-black {
  color: #0f172a !important;
}

[data-theme="light"] .list-crit-prox {
  color: #334155 !important;
}

[data-theme="light"] .ind-drilldown-body {
  background: #f8fafc !important;
  border-top: 1px solid #e2e8f0 !important;
}

[data-theme="light"] .ind-body-label {
  color: #475569 !important;
}

[data-theme="light"] .param-pill {
  background: #ffffff !important;
  border: 1px solid #cbd5e1 !important;
  color: #1e293b !important;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.03);
}

[data-theme="light"] .telemetry-box {
  background: #ffffff !important;
  border: 1px solid #e2e8f0 !important;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.03) !important;
}

[data-theme="light"] .telemetry-label {
  color: #475569 !important;
}

[data-theme="light"] .telemetry-sub {
  color: #64748b !important;
}

[data-theme="light"] .cond-card-long,
[data-theme="light"] .cond-card-short,
[data-theme="light"] .cond-card-long-exit,
[data-theme="light"] .cond-card-short-exit {
  background: #ffffff !important;
  border: 1px solid #e2e8f0 !important;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.03) !important;
}

[data-theme="light"] .criteria-item {
  border-bottom: 1px solid #f1f5f9 !important;
}

[data-theme="light"] .crit-label {
  color: #334155 !important;
}

[data-theme="light"] .crit-status-unmet {
  color: #64748b !important;
}

[data-theme="light"] .cond-summary {
  color: #475569 !important;
}

/* Tables */
[data-theme="light"] .data-table th {
  background: #f8fafc !important;
  color: #334155 !important;
  border-bottom: 2px solid #cbd5e1 !important;
}

[data-theme="light"] .data-table td {
  border-bottom: 1px solid #e2e8f0 !important;
  color: #0f172a !important;
}

[data-theme="light"] .data-table tr:hover td {
  background: #f1f5f9 !important;
}

[data-theme="light"] .kpi-item {
  background: #ffffff !important;
  border: 1px solid #e2e8f0 !important;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.03) !important;
}

[data-theme="light"] .kpi-label {
  color: #475569 !important;
}

[data-theme="light"] .kpi-val {
  color: #0f172a !important;
}

[data-theme="light"] .badge-neutral {
  background: #e2e8f0 !important;
  color: #334155 !important;
}

/* Form Controls & Modals in Light Theme */
[data-theme="light"] .modal-content {
  background: #ffffff !important;
  color: #0f172a !important;
  border: 1px solid #cbd5e1 !important;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.15) !important;
}

[data-theme="light"] .modal-overlay {
  background: rgba(15, 23, 42, 0.5) !important;
}

[data-theme="light"] .modal-header h3 {
  color: #0f172a !important;
}

[data-theme="light"] .modal-subtitle {
  color: #64748b !important;
}

[data-theme="light"] .form-group label {
  color: #334155 !important;
}

[data-theme="light"] input,
[data-theme="light"] select,
[data-theme="light"] textarea,
[data-theme="light"] input[type="text"],
[data-theme="light"] input[type="number"],
[data-theme="light"] input[type="password"],
[data-theme="light"] .form-group input,
[data-theme="light"] .form-group select,
[data-theme="light"] .form-group textarea,
[data-theme="light"] .select-input,
[data-theme="light"] .modal-content input,
[data-theme="light"] .modal-content select,
[data-theme="light"] .modal-content textarea {
  background-color: #ffffff !important;
  color: #0f172a !important;
  border: 1px solid #cbd5e1 !important;
  color-scheme: light !important;
}

[data-theme="light"] input:focus,
[data-theme="light"] select:focus,
[data-theme="light"] textarea:focus {
  border-color: #0284c7 !important;
  box-shadow: 0 0 0 3px rgba(2, 132, 199, 0.15) !important;
}

[data-theme="light"] select option,
[data-theme="light"] .form-group select option,
[data-theme="light"] .modal-content select option {
  background-color: #ffffff !important;
  color: #0f172a !important;
}

[data-theme="light"] input::placeholder,
[data-theme="light"] textarea::placeholder {
  color: #94a3b8 !important;
}

[data-theme="light"] .slider {
  background-color: #cbd5e1 !important;
}

[data-theme="light"] .ind-logs-row td {
  background: #f8fafc !important;
}

[data-theme="light"] .algo-trades-row td {
  background: #f8fafc !important;
}

[data-theme="light"] .algo-trades-drawer-cell {
  background: #f8fafc !important;
  border-top: 1px dashed #059669 !important;
  border-bottom: 2px solid #059669 !important;
  color: #0f172a !important;
}

[data-theme="light"] .algo-ind-logs-drawer-cell {
  background: #f8fafc !important;
  border-top: 1px dashed #0284c7 !important;
  border-bottom: 2px solid #0284c7 !important;
  color: #0f172a !important;
}

[data-theme="light"] .algo-trades-table {
  background: #ffffff !important;
  border: 1px solid #cbd5e1 !important;
}

[data-theme="light"] .algo-trades-table th {
  background: #e2e8f0 !important;
  color: #0f172a !important;
  font-weight: 700 !important;
  border-bottom: 2px solid #94a3b8 !important;
}

[data-theme="light"] .algo-trades-table td {
  color: #0f172a !important;
  border-bottom: 1px solid #e2e8f0 !important;
}

[data-theme="light"] .algo-trades-table tr:hover td {
  background: #f1f5f9 !important;
}

[data-theme="light"] .ind-inline-logs-table {
  background: #ffffff !important;
  border: 1px solid #cbd5e1 !important;
}

[data-theme="light"] .ind-inline-logs-table th {
  background: #e2e8f0 !important;
  color: #0f172a !important;
  font-weight: 700 !important;
  border-bottom: 2px solid #94a3b8 !important;
}

[data-theme="light"] .ind-inline-logs-table td {
  color: #0f172a !important;
  border-bottom: 1px solid #e2e8f0 !important;
}

[data-theme="light"] .ind-inline-logs-table tr:hover td {
  background: #f1f5f9 !important;
}

[data-theme="light"] .ind-logs-drawer {
  background: #ffffff !important;
  border: 1px solid #cbd5e1 !important;
}

[data-theme="light"] .ind-logs-table-m1 {
  background: #ffffff !important;
  border: 1px solid #cbd5e1 !important;
}

[data-theme="light"] .ind-logs-table-m1 th {
  background: #e2e8f0 !important;
  color: #0f172a !important;
  font-weight: 700 !important;
  border-bottom: 2px solid #94a3b8 !important;
}

[data-theme="light"] .ind-logs-table-m1 td {
  color: #0f172a !important;
  border-bottom: 1px solid #e2e8f0 !important;
}

[data-theme="light"] .ind-logs-table-m1 tr:hover td {
  background: #f1f5f9 !important;
}

[data-theme="light"] .reason-pill {
  background: #e2e8f0 !important;
  border: 1px solid #cbd5e1 !important;
  color: #0f172a !important;
  font-weight: 600 !important;
}

[data-theme="light"] .metric-details-text {
  color: #0f172a !important;
  font-weight: 600 !important;
}

[data-theme="light"] .empty-state-box {
  background: #f8fafc !important;
  color: #334155 !important;
  border: 1px dashed #cbd5e1 !important;
}

[data-theme="light"] .bar-countdown-badge {
  background: #ffffff !important;
  border: 1px solid #cbd5e1 !important;
  color: #334155 !important;
}

[data-theme="light"] .live-signal-banner {
  background: #f0f9ff !important;
  border: 1px solid #bae6fd !important;
  color: #0369a1 !important;
}

[data-theme="light"] .version-card {
  background: #ffffff !important;
  border: 1px solid #e2e8f0 !important;
}

[data-theme="light"] .version-card.is-active-version {
  border-color: #0284c7 !important;
  background: #f0f9ff !important;
}

[data-theme="light"] .ver-tag {
  color: #0f172a !important;
}

[data-theme="light"] .ver-date {
  color: #64748b !important;
}

[data-theme="light"] .toast {
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12) !important;
}

/* ==========================================================================
   AUTHENTICATION & SECURITY MODAL STYLING
   ========================================================================== */
.login-overlay {
  background: rgba(11, 15, 25, 0.88) !important;
  backdrop-filter: blur(16px) !important;
  -webkit-backdrop-filter: blur(16px) !important;
  z-index: 9999 !important;
  display: flex;
  align-items: center;
  justify-content: center;
}

.login-card {
  background: #0f172a;
  border: 1px solid rgba(56, 189, 248, 0.35);
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.6), 0 0 40px rgba(14, 165, 233, 0.2);
  border-radius: 12px;
  padding: 28px 32px;
  animation: fadeInModal 0.25s ease-out;
}

.user-auth-group {
  display: flex;
  align-items: center;
  gap: 8px;
}

.chip-user {
  background: rgba(14, 165, 233, 0.12) !important;
  border: 1px solid rgba(14, 165, 233, 0.35) !important;
  color: #38bdf8 !important;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
}

.chip-user:hover {
  background: rgba(14, 165, 233, 0.22) !important;
  border-color: #38bdf8 !important;
  transform: translateY(-1px);
}

/* ==========================================================================
   INDICATOR TOGGLE SWITCH & DISABLED STATE
   ========================================================================== */
.ind-toggle-switch {
  position: relative;
  display: inline-block;
  width: 36px;
  height: 20px;
  margin: 0;
  cursor: pointer;
  flex-shrink: 0;
}

.ind-toggle-switch input {
  opacity: 0;
  width: 0;
  height: 0;
}

.ind-toggle-switch .slider {
  position: absolute;
  cursor: pointer;
  top: 0; left: 0; right: 0; bottom: 0;
  background-color: #334155;
  transition: .25s;
  border-radius: 20px;
  border: 1px solid rgba(255, 255, 255, 0.15);
}

.ind-toggle-switch .slider:before {
  position: absolute;
  content: "";
  height: 14px;
  width: 14px;
  left: 2px;
  bottom: 2px;
  background-color: white;
  transition: .25s;
  border-radius: 50%;
}

.ind-toggle-switch input:checked + .slider {
  background-color: #10b981;
  border-color: #059669;
}

.ind-toggle-switch input:checked + .slider:before {
  transform: translateX(16px);
}

.is-disabled-indicator {
  opacity: 0.65;
  filter: grayscale(0.25);
  border-color: rgba(148, 163, 184, 0.2) !important;
}

.is-disabled-indicator:hover {
  opacity: 0.85;
}

.chip-disabled-badge {
  background: rgba(239, 68, 68, 0.15);
  border: 1px solid rgba(239, 68, 68, 0.35);
  color: #ef4444;
  font-size: 10px;
  font-weight: 700;
  padding: 1px 6px;
  border-radius: 3px;
  letter-spacing: 0.5px;
}

/* Light Theme overrides for Auth & Indicator Toggle */
[data-theme="light"] .login-overlay {
  background: rgba(241, 245, 249, 0.88) !important;
}

[data-theme="light"] .login-card {
  background: #ffffff !important;
  border: 1px solid #cbd5e1 !important;
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.12), 0 0 30px rgba(2, 132, 199, 0.1) !important;
  color: #0f172a !important;
}

[data-theme="light"] .chip-user {
  background: #f0f9ff !important;
  border: 1px solid #bae6fd !important;
  color: #0284c7 !important;
}

[data-theme="light"] .chip-user:hover {
  background: #e0f2fe !important;
  border-color: #0284c7 !important;
}

[data-theme="light"] .ind-toggle-switch .slider {
  background-color: #cbd5e1 !important;
  border: 1px solid #94a3b8 !important;
}

[data-theme="light"] .ind-toggle-switch input:checked + .slider {
  background-color: #059669 !important;
  border-color: #047857 !important;
}

[data-theme="light"] .is-disabled-indicator {
  opacity: 0.65;
  background: #f8fafc !important;
  border-color: #e2e8f0 !important;
}


