:root {
  --bg-main: #080c14;
  --bg-card: #101622;
  --bg-card-hover: #161e2e;
  --bg-subcard: rgba(255, 255, 255, 0.03);
  --border-color: rgba(255, 255, 255, 0.08);
  --border-hover: rgba(249, 115, 22, 0.4);
  
  --bybit-orange: #f97316;
  --bybit-orange-glow: rgba(249, 115, 22, 0.25);
  --win-green: #10b981;
  --loss-red: #ef4444;
  --cyan-sky: #38bdf8;
  --purple-lab: #c084fc;
  --gold-accent: #facc15;
  
  --text-main: #f8fafc;
  --text-muted: #94a3b8;
  --text-dim: #64748b;
  
  --font-main: 'Outfit', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-mono: 'JetBrains Mono', Consolas, monospace;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  font-family: var(--font-main);
}

body {
  background-color: var(--bg-main);
  color: var(--text-main);
  min-height: 100vh;
  padding: 1.25rem 1rem;
  background-image: 
    radial-gradient(circle at 15% 15%, rgba(249, 115, 22, 0.06) 0%, transparent 40%),
    radial-gradient(circle at 85% 85%, rgba(56, 189, 248, 0.04) 0%, transparent 40%);
}

.app-container {
  max-width: 1440px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

/* ==========================================================================
   HEADER & BRANDING
   ========================================================================== */
.app-header {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 16px;
  padding: 1.25rem 1.5rem;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.4);
}

@media (min-width: 900px) {
  .app-header {
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
  }
}

.brand-group {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.brand-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  color: var(--bybit-orange);
  background: rgba(249, 115, 22, 0.12);
  border: 1px solid rgba(249, 115, 22, 0.35);
  padding: 0.2rem 0.6rem;
  border-radius: 20px;
  width: fit-content;
}

.pulse-dot {
  width: 7px;
  height: 7px;
  background: #10b981;
  border-radius: 50%;
  box-shadow: 0 0 8px #10b981;
  animation: pulseAnim 1.8s infinite;
}

@keyframes pulseAnim {
  0% { transform: scale(0.95); opacity: 0.7; }
  50% { transform: scale(1.3); opacity: 1; }
  100% { transform: scale(0.95); opacity: 0.7; }
}

.brand-title {
  font-size: 1.6rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: #fff;
}

.highlight-bybit {
  color: var(--bybit-orange);
  text-shadow: 0 0 16px var(--bybit-orange-glow);
}

.brand-subtitle {
  font-size: 0.85rem;
  color: var(--text-muted);
}

.brand-subtitle strong {
  color: #fff;
}

.header-actions {
  display: flex;
  gap: 0.45rem;
  flex-wrap: wrap;
  align-items: center;
}

/* ==========================================================================
   BUTTONS
   ========================================================================== */
.btn {
  font-size: 0.8rem;
  font-weight: 600;
  padding: 0.5rem 0.85rem;
  border-radius: 8px;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  border: 1px solid transparent;
  background: rgba(255, 255, 255, 0.05);
  color: var(--text-main);
}

.btn:hover {
  transform: translateY(-2px);
  filter: brightness(1.15);
}

.btn:active {
  transform: translateY(0);
}

.btn-outline-cyan { border-color: rgba(56, 189, 248, 0.4); color: var(--cyan-sky); background: rgba(56, 189, 248, 0.08); }
.btn-outline-cyan:hover { background: rgba(56, 189, 248, 0.18); box-shadow: 0 0 12px rgba(56, 189, 248, 0.25); }

.btn-outline-green { border-color: rgba(16, 185, 129, 0.4); color: var(--win-green); background: rgba(16, 185, 129, 0.08); }
.btn-outline-green:hover { background: rgba(16, 185, 129, 0.18); box-shadow: 0 0 12px rgba(16, 185, 129, 0.25); }

.btn-outline-purple { border-color: rgba(192, 132, 252, 0.4); color: var(--purple-lab); background: rgba(192, 132, 252, 0.08); }
.btn-outline-purple:hover { background: rgba(192, 132, 252, 0.18); box-shadow: 0 0 12px rgba(192, 132, 252, 0.25); }

.btn-outline-orange { border-color: rgba(249, 115, 22, 0.4); color: var(--bybit-orange); background: rgba(249, 115, 22, 0.08); }
.btn-outline-orange:hover { background: rgba(249, 115, 22, 0.18); box-shadow: 0 0 12px rgba(249, 115, 22, 0.25); }

.btn-gold { background: rgba(250, 204, 21, 0.15); color: var(--gold-accent); border: 1px solid rgba(250, 204, 21, 0.35); }
.btn-gold:hover { background: rgba(250, 204, 21, 0.25); }

.btn-primary { background: var(--bybit-orange); color: #000; font-weight: 700; border: none; }
.btn-primary:hover { background: #fb923c; color: #000; box-shadow: 0 0 14px var(--bybit-orange-glow); }

.btn-secondary { background: rgba(255, 255, 255, 0.08); color: var(--text-main); }
.btn-danger { background: rgba(239, 68, 68, 0.15); color: #fca5a5; border: 1px solid rgba(239, 68, 68, 0.4); }
.btn-danger:hover { background: rgba(239, 68, 68, 0.25); color: #fff; }

.btn-sm { padding: 0.3rem 0.6rem; font-size: 0.72rem; }

/* Dropdown */
.dropdown-export { position: relative; }
.dropdown-menu {
  display: none;
  position: absolute;
  right: 0;
  top: calc(100% + 6px);
  background: #151c2c;
  border: 1px solid rgba(250, 204, 21, 0.3);
  border-radius: 8px;
  padding: 0.4rem 0;
  min-width: 180px;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.7);
  z-index: 50;
}
.dropdown-menu.show { display: block; animation: dropdownFade 0.15s ease-out; }
@keyframes dropdownFade { from { opacity: 0; transform: translateY(-6px); } to { opacity: 1; transform: translateY(0); } }
.dropdown-menu a {
  display: block;
  padding: 0.45rem 1rem;
  font-size: 0.78rem;
  color: #e2e8f0;
  text-decoration: none;
  transition: 0.15s;
}
.dropdown-menu a:hover { background: rgba(250, 204, 21, 0.12); color: var(--gold-accent); }

/* ==========================================================================
   GLOBAL FILTER BAR
   ========================================================================== */
.filter-section {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 12px;
  padding: 0.85rem 1.25rem;
}

@media (min-width: 900px) {
  .filter-section {
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
  }
}

.date-filter-wrap {
  display: flex;
  gap: 0.6rem;
  flex-wrap: wrap;
  align-items: center;
}

.filter-label {
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--text-muted);
}

.filter-presets {
  display: flex;
  gap: 0.35rem;
  flex-wrap: wrap;
}

.preset-btn {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: var(--text-muted);
  padding: 0.35rem 0.65rem;
  border-radius: 6px;
  font-size: 0.75rem;
  font-weight: 600;
  cursor: pointer;
  transition: 0.15s;
}

.preset-btn:hover {
  background: rgba(249, 115, 22, 0.1);
  border-color: rgba(249, 115, 22, 0.3);
  color: #fff;
}

.preset-btn.active {
  background: var(--bybit-orange);
  color: #000;
  border-color: var(--bybit-orange);
  font-weight: 700;
}

.custom-date-group {
  display: flex;
  align-items: center;
  gap: 0.35rem;
}

.date-input {
  background: #0d121c;
  border: 1px solid var(--border-color);
  color: #fff;
  padding: 0.3rem 0.55rem;
  border-radius: 6px;
  font-size: 0.75rem;
}

.date-sep { font-size: 0.72rem; color: var(--text-dim); }

.quick-status-bar {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.status-pill {
  font-size: 0.72rem;
  font-weight: 600;
  padding: 0.25rem 0.55rem;
  border-radius: 20px;
}

.status-online { background: rgba(16, 185, 129, 0.12); color: var(--win-green); border: 1px solid rgba(16, 185, 129, 0.3); }
.status-muted { background: rgba(255, 255, 255, 0.04); color: var(--text-dim); }

.btn-refresh-icon {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-color);
  color: var(--text-main);
  padding: 0.3rem 0.55rem;
  border-radius: 6px;
  cursor: pointer;
  font-size: 0.8rem;
  transition: 0.2s;
}

.btn-refresh-icon:hover { transform: rotate(180deg); color: var(--bybit-orange); border-color: var(--bybit-orange); }

/* ==========================================================================
   HERO METRICS GRID (4 CARDS)
   ========================================================================== */
.hero-metrics-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
}

@media (max-width: 1100px) {
  .hero-metrics-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

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

.metric-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 14px;
  padding: 1.1rem 1.25rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.3);
  transition: all 0.2s ease;
  position: relative;
  overflow: hidden;
}

.metric-card:hover {
  transform: translateY(-2px);
  border-color: var(--border-hover);
}

.card-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 0.4rem;
}

.badge-pill {
  font-size: 0.72rem;
  font-weight: 700;
  padding: 0.2rem 0.55rem;
  border-radius: 20px;
  letter-spacing: 0.03em;
}

.badge-orange { background: rgba(249, 115, 22, 0.12); color: var(--bybit-orange); border: 1px solid rgba(249, 115, 22, 0.35); }
.badge-cyan { background: rgba(56, 189, 248, 0.12); color: var(--cyan-sky); border: 1px solid rgba(56, 189, 248, 0.35); }
.badge-purple { background: rgba(192, 132, 252, 0.12); color: var(--purple-lab); border: 1px solid rgba(192, 132, 252, 0.35); }
.badge-red { background: rgba(239, 68, 68, 0.12); color: var(--loss-red); border: 1px solid rgba(239, 68, 68, 0.35); }

.card-icon { font-size: 1.15rem; opacity: 0.85; }

.metric-big-val {
  font-size: 1.75rem;
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.1;
  margin: 0.2rem 0 0.15rem 0;
}

.val-green { color: var(--win-green); text-shadow: 0 0 12px rgba(16, 185, 129, 0.3); }
.val-red { color: var(--loss-red); text-shadow: 0 0 12px rgba(239, 68, 68, 0.3); }
.val-neutral { color: #fff; }

.text-orange { color: var(--bybit-orange); }
.text-cyan { color: var(--cyan-sky); }
.text-purple { color: var(--purple-lab); }
.text-green { color: var(--win-green); }
.text-red { color: var(--loss-red); }

.metric-subtext {
  font-size: 0.75rem;
  color: var(--text-muted);
  margin-bottom: 0.6rem;
}

.card-mini-breakdown {
  display: flex;
  gap: 0.5rem;
  padding-top: 0.6rem;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.mini-col {
  flex: 1;
  background: var(--bg-subcard);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: 8px;
  padding: 0.4rem 0.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.1rem;
  cursor: pointer;
  transition: 0.15s;
}

.mini-col:hover {
  background: rgba(255, 255, 255, 0.07);
  border-color: rgba(255, 255, 255, 0.15);
}

.mini-label {
  font-size: 0.65rem;
  font-weight: 700;
  color: var(--text-dim);
  text-transform: uppercase;
}

.mini-val {
  font-size: 0.85rem;
  font-weight: 800;
  color: #fff;
}

.mini-sub {
  font-size: 0.62rem;
  color: var(--text-dim);
}

.progress-bar-wrap {
  width: 100%;
  height: 6px;
  background: rgba(255, 255, 255, 0.08);
  border-radius: 4px;
  overflow: hidden;
  margin: 0.4rem 0;
}

.progress-bar-fill {
  height: 100%;
  background: linear-gradient(90deg, #10b981, #f59e0b, #ef4444);
  transition: width 0.3s ease;
}

/* ==========================================================================
   STRATEGY OVERVIEW STATS (4 BOXES)
   ========================================================================== */
.stats-overview-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.85rem;
}

@media (max-width: 900px) {
  .stats-overview-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

.stat-box {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 12px;
  padding: 0.9rem 1.1rem;
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
}

.stat-box-title { font-size: 0.75rem; font-weight: 600; color: var(--text-muted); text-transform: uppercase; }
.stat-box-num { font-size: 1.4rem; font-weight: 800; }
.stat-box-desc { font-size: 0.7rem; color: var(--text-dim); }

/* ==========================================================================
   LIVE ACTIVE SHORT POSITIONS RADAR / MONITOR
   ========================================================================== */
.section-container {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 16px;
  padding: 1.25rem;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

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

.section-title-wrap {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.section-title-wrap h2 {
  font-size: 1.15rem;
  font-weight: 800;
  color: #fff;
}

.badge-count {
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--bybit-orange);
  background: rgba(249, 115, 22, 0.12);
  border: 1px solid rgba(249, 115, 22, 0.3);
  padding: 0.15rem 0.5rem;
  border-radius: 12px;
}

.live-positions-grid {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}

.empty-state-box {
  text-align: center;
  padding: 2.5rem 1rem;
  color: var(--text-muted);
}

.empty-icon { font-size: 2.2rem; display: block; margin-bottom: 0.5rem; }
.empty-state-box p { font-size: 0.9rem; font-weight: 600; color: #cbd5e1; }
.empty-state-box small { font-size: 0.75rem; color: var(--text-dim); }

/* Interactive Active Position Radar Card */
.active-short-card {
  background: #0b101b;
  border: 1px solid rgba(249, 115, 22, 0.25);
  border-radius: 12px;
  padding: 1rem 1.25rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  transition: 0.2s;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.4);
}

.active-short-card:hover {
  border-color: rgba(249, 115, 22, 0.6);
  box-shadow: 0 6px 20px rgba(249, 115, 22, 0.15);
}

.card-trade-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.trade-pair-badge {
  font-size: 0.95rem;
  font-weight: 800;
  color: #fff;
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

.trade-mode-badge {
  font-size: 0.68rem;
  font-weight: 700;
  padding: 0.15rem 0.45rem;
  border-radius: 4px;
}

.mode-demo { background: rgba(249, 115, 22, 0.15); color: #fb923c; border: 1px solid rgba(249, 115, 22, 0.4); }
.mode-live { background: rgba(16, 185, 129, 0.15); color: #34d399; border: 1px solid rgba(16, 185, 129, 0.4); }
.mode-sim { background: rgba(192, 132, 252, 0.15); color: #c084fc; border: 1px solid rgba(192, 132, 252, 0.4); }

.trade-pnl-tag {
  font-size: 1.1rem;
  font-weight: 800;
  font-family: var(--font-mono);
}

/* Visual Price Gauge Slider */
.price-gauge-container {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: 8px;
  padding: 0.6rem 0.85rem;
}

.gauge-labels {
  display: flex;
  justify-content: space-between;
  font-size: 0.72rem;
  font-family: var(--font-mono);
}

.label-sl { color: var(--loss-red); font-weight: 700; }
.label-entry { color: #cbd5e1; font-weight: 700; }
.label-tp { color: var(--win-green); font-weight: 700; }

.gauge-track {
  position: relative;
  width: 100%;
  height: 8px;
  background: #1e293b;
  border-radius: 4px;
}

.gauge-fill {
  position: absolute;
  height: 100%;
  border-radius: 4px;
}

.gauge-pin {
  position: absolute;
  top: -4px;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: #fff;
  border: 2px solid var(--bybit-orange);
  box-shadow: 0 0 10px var(--bybit-orange);
  transform: translateX(-50%);
  transition: left 0.3s ease;
}

.card-trade-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.72rem;
  color: var(--text-dim);
}

/* ==========================================================================
   TABS & TABLES
   ========================================================================== */
.tab-nav-bar {
  display: flex;
  gap: 0.4rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  margin-bottom: 1rem;
  overflow-x: auto;
}

.tab-btn {
  background: transparent;
  border: none;
  border-bottom: 2px solid transparent;
  color: var(--text-muted);
  font-size: 0.82rem;
  font-weight: 700;
  padding: 0.6rem 1rem;
  cursor: pointer;
  transition: 0.15s;
  white-space: nowrap;
}

.tab-btn:hover {
  color: #fff;
}

.tab-btn.active {
  color: var(--bybit-orange);
  border-bottom-color: var(--bybit-orange);
}

.table-card {
  overflow: hidden;
}

.table-responsive {
  overflow-x: auto;
}

.custom-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.8rem;
  text-align: left;
}

.custom-table th {
  background: #111827;
  padding: 0.75rem 0.85rem;
  color: var(--text-dim);
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.custom-table td {
  padding: 0.75rem 0.85rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.04);
  color: #cbd5e1;
}

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

.table-pagination {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 1rem;
  font-size: 0.75rem;
  color: var(--text-dim);
}

.page-btns {
  display: flex;
  gap: 0.4rem;
}

/* ==========================================================================
   MODALS
   ========================================================================== */
.modal-overlay {
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(4, 6, 12, 0.85);
  backdrop-filter: blur(8px);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 1000;
  padding: 1rem;
}

.modal-overlay.show { display: flex; animation: modalFadeIn 0.2s ease-out; }
@keyframes modalFadeIn { from { opacity: 0; transform: scale(0.96); } to { opacity: 1; transform: scale(1); } }

.modal-content {
  background: #111827;
  border: 1px solid rgba(249, 115, 22, 0.3);
  border-radius: 16px;
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.8);
  width: 100%;
  max-height: 90vh;
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

.modal-md { max-width: 600px; }
.modal-lg { max-width: 900px; }

.modal-header {
  padding: 1.1rem 1.4rem;
  background: #151d2e;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.modal-header h2 {
  font-size: 1.1rem;
  font-weight: 800;
  color: #fff;
}

.btn-close {
  background: none;
  border: none;
  font-size: 1.4rem;
  color: var(--text-dim);
  cursor: pointer;
  line-height: 1;
}

.btn-close:hover { color: #fff; }

.modal-body {
  padding: 1.25rem 1.4rem;
  overflow-y: auto;
  flex: 1;
}

.modal-footer {
  padding: 1rem 1.4rem;
  background: #0f1624;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  justify-content: flex-end;
  gap: 0.5rem;
}

/* Settings Form Elements */
.settings-group {
  margin-bottom: 1.25rem;
  padding-bottom: 1.25rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.settings-title {
  font-size: 0.85rem;
  font-weight: 800;
  color: var(--bybit-orange);
  margin-bottom: 0.75rem;
  text-transform: uppercase;
}

.form-row {
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
  margin-bottom: 0.75rem;
}

.form-grid-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.75rem;
}

.form-col {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.form-col label, .form-row label {
  font-size: 0.78rem;
  font-weight: 600;
  color: #cbd5e1;
}

.form-input {
  background: #090d16;
  border: 1px solid var(--border-color);
  color: #fff;
  padding: 0.45rem 0.65rem;
  border-radius: 6px;
  font-size: 0.8rem;
}

.form-input:focus {
  outline: none;
  border-color: var(--bybit-orange);
  box-shadow: 0 0 10px var(--bybit-orange-glow);
}

.form-col small, .form-row small {
  font-size: 0.68rem;
  color: var(--text-dim);
}

.form-row-check {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-top: 0.5rem;
}

/* Terminal Log */
.terminal-container {
  padding: 0.85rem;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  line-height: 1.5;
  color: #e2e8f0;
  height: 60vh;
  overflow-y: auto;
  background: #080c14;
}

/* Footer */
.app-footer {
  text-align: center;
  padding: 1.5rem 0 0.5rem 0;
  font-size: 0.72rem;
  color: var(--text-dim);
}

/* Toast */
.toast-container {
  position: fixed;
  bottom: 1.5rem;
  right: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  z-index: 2000;
}

.toast {
  background: #1e293b;
  border: 1px solid var(--border-color);
  color: #fff;
  padding: 0.6rem 1rem;
  border-radius: 8px;
  font-size: 0.8rem;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.6);
  animation: toastSlideIn 0.2s ease-out;
}
@keyframes toastSlideIn { from { transform: translateX(100%); opacity: 0; } to { transform: translateX(0); opacity: 1; } }