@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;500;600;700;800&family=Plus+Jakarta+Sans:wght@300;400;500;600;700&display=swap');

:root {
  /* Color Tokens - Dark Mode Default */
  --bg-main: #060913;
  --bg-sidebar: rgba(10, 16, 32, 0.85);
  --bg-card: rgba(17, 25, 46, 0.6);
  --bg-card-hover: rgba(22, 34, 61, 0.75);
  --border-color: rgba(255, 255, 255, 0.06);
  --border-color-focus: rgba(99, 102, 241, 0.6);
  
  --text-primary: #f8fafc;
  --text-secondary: #94a3b8;
  --text-muted: #64748b;
  
  --primary: #6366f1;
  --primary-glow: rgba(99, 102, 241, 0.3);
  --primary-grad: linear-gradient(135deg, #6366f1 0%, #4f46e5 100%);
  
  --cyan: #06b6d4;
  --cyan-grad: linear-gradient(135deg, #06b6d4 0%, #0891b2 100%);
  --cyan-glow: rgba(6, 182, 212, 0.25);
  
  --success: #10b981;
  --success-grad: linear-gradient(135deg, #10b981 0%, #059669 100%);
  --success-glow: rgba(16, 185, 129, 0.2);
  
  --warning: #f59e0b;
  --warning-grad: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
  --warning-glow: rgba(245, 158, 11, 0.2);
  
  --danger: #ef4444;
  --danger-grad: linear-gradient(135deg, #ef4444 0%, #dc2626 100%);
  --danger-glow: rgba(239, 68, 68, 0.2);

  --sidebar-width: 320px;
  --header-height: 80px;
  
  --glass-blur: blur(16px);
  --shadow-sm: 0 4px 12px 0 rgba(0, 0, 0, 0.15);
  --shadow-md: 0 8px 32px 0 rgba(0, 0, 0, 0.28);
  --shadow-lg: 0 16px 48px 0 rgba(0, 0, 0, 0.45);
}

/* Light Theme overrides */
body.light-theme {
  --bg-main: #f1f5f9;
  --bg-sidebar: rgba(255, 255, 255, 0.9);
  --bg-card: rgba(255, 255, 255, 0.7);
  --bg-card-hover: rgba(255, 255, 255, 0.9);
  --border-color: rgba(0, 0, 0, 0.08);
  --border-color-focus: rgba(79, 70, 229, 0.6);
  
  --text-primary: #0f172a;
  --text-secondary: #475569;
  --text-muted: #94a3b8;
  
  --primary: #4f46e5;
  --primary-glow: rgba(79, 70, 229, 0.15);
  --primary-grad: linear-gradient(135deg, #4f46e5 0%, #3730a3 100%);
  
  --cyan: #0891b2;
  --cyan-grad: linear-gradient(135deg, #0891b2 0%, #0e7490 100%);
  
  --success: #059669;
  --success-grad: linear-gradient(135deg, #059669 0%, #047857 100%);
  
  --warning: #d97706;
  --warning-grad: linear-gradient(135deg, #d97706 0%, #b45309 100%);
  
  --danger: #dc2626;
  --danger-grad: linear-gradient(135deg, #dc2626 0%, #b91c1c 100%);
  
  --shadow-sm: 0 4px 12px 0 rgba(0, 0, 0, 0.05);
  --shadow-md: 0 8px 32px 0 rgba(0, 0, 0, 0.08);
  --shadow-lg: 0 16px 48px 0 rgba(0, 0, 0, 0.12);
}

/* Base Styles */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  font-family: 'Plus Jakarta Sans', sans-serif;
  -webkit-font-smoothing: antialiased;
}

body {
  background-color: var(--bg-main);
  color: var(--text-primary);
  min-height: 100vh;
  display: flex;
  overflow-x: hidden;
  transition: background-color 0.4s ease, color 0.4s ease;
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Outfit', sans-serif;
  font-weight: 700;
  letter-spacing: -0.02em;
}

/* Sidebar Styling */
aside.sidebar {
  width: var(--sidebar-width);
  background: var(--bg-sidebar);
  border-right: 1px solid var(--border-color);
  backdrop-filter: var(--glass-blur);
  padding: 2rem 1.5rem;
  display: flex;
  flex-direction: column;
  position: fixed;
  top: 0;
  bottom: 0;
  left: 0;
  z-index: 100;
  transition: all 0.3s ease;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 2.5rem;
}

.brand-icon {
  width: 42px;
  height: 42px;
  background: transparent;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: none;
}


.brand-icon svg {
  width: 24px;
  height: 24px;
  fill: #fff;
}

.brand-name {
  font-size: 1.35rem;
  font-weight: 800;
  background: linear-gradient(135deg, var(--text-primary) 30%, var(--cyan) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.control-section {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  overflow-y: auto;
  flex: 1;
  padding-right: 0.25rem;
}

/* Styling custom scrollbar */
.control-section::-webkit-scrollbar,
.dashboard-content::-webkit-scrollbar,
.scenarios-list::-webkit-scrollbar {
  width: 6px;
}
.control-section::-webkit-scrollbar-track,
.dashboard-content::-webkit-scrollbar-track,
.scenarios-list::-webkit-scrollbar-track {
  background: transparent;
}
.control-section::-webkit-scrollbar-thumb,
.dashboard-content::-webkit-scrollbar-thumb,
.scenarios-list::-webkit-scrollbar-thumb {
  background: var(--border-color);
  border-radius: 10px;
}
.control-section::-webkit-scrollbar-thumb:hover,
.dashboard-content::-webkit-scrollbar-thumb:hover,
.scenarios-list::-webkit-scrollbar-thumb:hover {
  background: var(--text-muted);
}

.control-group {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.control-group label {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-secondary);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.control-group label span.value {
  color: var(--cyan);
  font-family: 'Outfit', sans-serif;
  font-weight: 700;
}

.input-wrapper {
  position: relative;
  display: flex;
  align-items: center;
}

.input-prefix {
  position: absolute;
  left: 1rem;
  font-weight: 700;
  color: var(--text-muted);
  font-size: 0.9rem;
}

.control-group input[type="number"],
.control-group select {
  width: 100%;
  padding: 0.75rem 1rem;
  background: rgba(0, 0, 0, 0.2);
  border: 1px solid var(--border-color);
  border-radius: 10px;
  color: var(--text-primary);
  font-size: 0.95rem;
  font-weight: 600;
  transition: all 0.3s ease;
}

.control-group select option {
  background: #0f172a;
  color: #f8fafc;
}

.control-group input[type="number"] {
  padding-left: 2.5rem; /* Space for IDR prefix */
}

body.light-theme .control-group input[type="number"],
body.light-theme .control-group select {
  background: #ffffff;
  color: #0f172a;
}

body.light-theme .control-group select option {
  background: #ffffff;
  color: #0f172a;
}

.control-group input[type="number"]:focus,
.control-group select:focus {
  border-color: var(--cyan);
  box-shadow: 0 0 0 3px var(--cyan-glow);
  outline: none;
}

/* Custom slider input */
.control-group input[type="range"] {
  -webkit-appearance: none;
  width: 100%;
  height: 6px;
  background: var(--border-color);
  border-radius: 3px;
  outline: none;
  margin: 0.5rem 0;
}

.control-group input[type="range"]::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: var(--cyan);
  cursor: pointer;
  box-shadow: 0 0 10px var(--cyan-glow);
  transition: all 0.2s ease;
}

.control-group input[type="range"]::-webkit-slider-thumb:hover {
  transform: scale(1.2);
}

.sidebar-footer {
  margin-top: 2rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--border-color);
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

/* Theme Toggle */
.theme-toggle-btn, .pwa-install-btn {
  width: 100%;
  padding: 0.75rem;
  border-radius: 10px;
  border: 1px solid var(--border-color);
  background: transparent;
  color: var(--text-primary);
  font-size: 0.9rem;
  font-weight: 600;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  cursor: pointer;
  transition: all 0.3s ease;
}

.theme-toggle-btn:hover, .pwa-install-btn:hover {
  background: rgba(255, 255, 255, 0.05);
  border-color: var(--text-secondary);
}

body.light-theme .theme-toggle-btn:hover,
body.light-theme .pwa-install-btn:hover {
  background: rgba(0, 0, 0, 0.05);
}

.pwa-install-btn {
  background: var(--cyan-grad);
  border: none;
  color: #fff;
  display: none; /* Shown dynamically via JS */
  box-shadow: 0 4px 15px var(--cyan-glow);
}

.pwa-install-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px var(--cyan-glow);
}

/* Main Dashboard Area */
main.main-content {
  margin-left: var(--sidebar-width);
  flex: 1;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

/* Header Styling */
header.dashboard-header {
  height: var(--header-height);
  border-bottom: 1px solid var(--border-color);
  background: rgba(6, 9, 19, 0.5);
  backdrop-filter: var(--glass-blur);
  padding: 0 2.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: sticky;
  top: 0;
  z-index: 90;
}

body.light-theme header.dashboard-header {
  background: rgba(241, 245, 249, 0.5);
}

.header-title-area h2 {
  font-size: 1.5rem;
  background: linear-gradient(135deg, var(--text-primary) 50%, var(--primary) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.header-title-area p {
  font-size: 0.8rem;
  color: var(--text-secondary);
  font-weight: 500;
}

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

.badge {
  background: rgba(99, 102, 241, 0.15);
  border: 1px solid rgba(99, 102, 241, 0.3);
  padding: 0.35rem 0.75rem;
  border-radius: 99px;
  color: var(--primary);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

/* Dashboard Content Grid */
.dashboard-content {
  padding: 2.5rem;
  display: flex;
  flex-direction: column;
  gap: 2rem;
  max-width: 1600px;
  margin: 0 auto;
  width: 100%;
}

/* KPI Panel Grid */
.kpi-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
}

.kpi-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 16px;
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  position: relative;
  overflow: hidden;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: var(--shadow-sm);
}

.kpi-card:hover {
  transform: translateY(-5px);
  background: var(--bg-card-hover);
  border-color: var(--border-color-focus);
  box-shadow: var(--shadow-md);
}

.kpi-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: var(--primary-grad);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.kpi-card:hover::before {
  opacity: 1;
}

.kpi-card.cyan-accent::before { background: var(--cyan-grad); }
.kpi-card.success-accent::before { background: var(--success-grad); }
.kpi-card.warning-accent::before { background: var(--warning-grad); }
.kpi-card.danger-accent::before { background: var(--danger-grad); }

.kpi-card .kpi-label {
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--text-secondary);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 0.75rem;
}

.kpi-card .kpi-value {
  font-size: 1.8rem;
  font-weight: 800;
  font-family: 'Outfit', sans-serif;
  color: var(--text-primary);
  line-height: 1.1;
  margin-bottom: 0.5rem;
  transition: color 0.3s ease;
}

.kpi-card .kpi-subtext {
  font-size: 0.75rem;
  color: var(--text-muted);
  display: flex;
  align-items: center;
  gap: 0.35rem;
}

.kpi-card .kpi-icon-bg {
  position: absolute;
  right: -10px;
  bottom: -15px;
  width: 80px;
  height: 80px;
  opacity: 0.04;
  color: var(--text-primary);
  pointer-events: none;
  transition: transform 0.3s ease, opacity 0.3s ease;
}

.kpi-card:hover .kpi-icon-bg {
  transform: scale(1.15) rotate(-10deg);
  opacity: 0.08;
}

/* Primary Visual Sections */
.visualization-row {
  display: grid;
  grid-template-columns: 3.5fr 2.5fr;
  gap: 1.5rem;
}

.dashboard-panel {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 20px;
  padding: 1.75rem;
  display: flex;
  flex-direction: column;
  position: relative;
  box-shadow: var(--shadow-sm);
}

.panel-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1.5rem;
  border-bottom: 1px solid var(--border-color);
  padding-bottom: 1rem;
}

.panel-title {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--text-primary);
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.panel-title svg {
  width: 20px;
  height: 20px;
  color: var(--cyan);
}

/* Receipt Panel Header — Professional Layout */
.receipt-panel-header {
  flex-wrap: wrap;
  gap: 0.75rem;
  justify-content: space-between;
  align-items: center;
}

.receipt-actions {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  flex-wrap: wrap;
}

.receipt-channel-badge {
  background: rgba(6, 182, 212, 0.12);
  color: var(--cyan);
  border-color: rgba(6, 182, 212, 0.3);
  font-size: 0.7rem;
  white-space: nowrap;
}

/* Export Dropdown Container */
.export-dropdown {
  position: relative;
  display: inline-block;
}

/* Export Dropdown Trigger Button */
.export-dropdown-trigger {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.45rem 0.85rem;
  border-radius: 8px;
  font-size: 0.75rem;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.2s ease;
  background: rgba(6, 182, 212, 0.1);
  color: var(--cyan);
  border: 1px solid rgba(6, 182, 212, 0.25);
  letter-spacing: 0.02em;
}

.export-dropdown-trigger:hover {
  background: var(--cyan);
  color: #fff;
  box-shadow: 0 4px 12px rgba(6, 182, 212, 0.3);
}

body.light-theme .export-dropdown-trigger {
  background: rgba(6, 182, 212, 0.08);
}

.export-dropdown-trigger svg {
  flex-shrink: 0;
}

.export-dropdown-trigger .chevron-icon {
  transition: transform 0.2s ease;
}

.export-dropdown.open .export-dropdown-trigger .chevron-icon {
  transform: rotate(180deg);
}

/* Dropdown Menu */
.export-dropdown-menu {
  display: none;
  position: absolute;
  top: 100%;
  right: 0;
  margin-top: 0.5rem;
  background: rgba(15, 23, 42, 0.95);
  backdrop-filter: var(--glass-blur);
  border: 1px solid var(--border-color);
  border-radius: 10px;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.5);
  z-index: 100;
  min-width: 140px;
  padding: 0.35rem 0;
  animation: slideDownFade 0.2s ease-out;
}

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

.export-dropdown.open .export-dropdown-menu {
  display: block;
}

/* Light theme support */
body.light-theme .export-dropdown-menu {
  background: rgba(255, 255, 255, 0.98);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

/* Dropdown Items */
.export-dropdown-menu button.dropdown-item {
  width: 100%;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.55rem 1rem;
  background: transparent;
  border: none;
  color: var(--text-secondary);
  font-size: 0.75rem;
  font-weight: 600;
  text-align: left;
  cursor: pointer;
  transition: all 0.2s ease;
}

.export-dropdown-menu button.dropdown-item:hover {
  background: rgba(6, 182, 212, 0.15);
  color: var(--cyan);
}

body.light-theme .export-dropdown-menu button.dropdown-item:hover {
  background: rgba(6, 182, 212, 0.08);
}

.export-dropdown-menu button.dropdown-item svg {
  width: 13px;
  height: 13px;
  flex-shrink: 0;
  color: inherit;
}

/* Mobile: stack panel title & actions */
@media (max-width: 600px) {
  .receipt-panel-header {
    flex-direction: column;
    align-items: flex-start;
  }

  .receipt-actions {
    width: 100%;
    justify-content: space-between;
    align-items: center;
  }

  .receipt-channel-badge {
    font-size: 0.68rem;
    padding: 0.25rem 0.6rem;
  }
}


/* Chart Styles */
.chart-container {
  position: relative;
  width: 100%;
  height: 300px;
  min-height: 280px;
}

/* Receipt Styles */
.receipt-wrapper {
  background: rgba(10, 15, 30, 0.4);
  border: 1px dashed var(--border-color);
  border-radius: 12px;
  padding: 1.25rem;
  font-family: 'Plus Jakarta Sans', monospace;
  position: relative;
}

body.light-theme .receipt-wrapper {
  background: rgba(255, 255, 255, 0.5);
}

.receipt-header {
  text-align: center;
  margin-bottom: 1.25rem;
  border-bottom: 1px dashed var(--border-color);
  padding-bottom: 0.75rem;
}

.receipt-header h4 {
  font-family: 'Outfit', sans-serif;
  font-size: 1rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--cyan);
}

.receipt-header p {
  font-size: 0.75rem;
  color: var(--text-muted);
  margin-top: 0.2rem;
}

.receipt-item {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 1rem;
  font-size: 0.85rem;
  margin-bottom: 0.6rem;
  color: var(--text-secondary);
  line-height: 1.4;
}

.receipt-item span:first-child {
  flex: 1;
  text-align: left;
  overflow-wrap: break-word;
}

.receipt-item span:last-child {
  flex-shrink: 0;
  text-align: right;
  white-space: nowrap;
  font-weight: 600;
}

.receipt-item.indent {
  padding-left: 1.25rem;
  font-size: 0.8rem;
  color: var(--text-muted);
}

.receipt-item.divider {
  border-bottom: 1px dashed var(--border-color);
  margin: 0.75rem 0;
  height: 0;
}

.receipt-item.highlight {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--text-primary);
  background: rgba(255, 255, 255, 0.02);
  padding: 0.35rem 0.5rem;
  border-radius: 6px;
  border: 1px solid rgba(255, 255, 255, 0.04);
}

body.light-theme .receipt-item.highlight {
  background: rgba(0, 0, 0, 0.02);
  border: 1px solid rgba(0, 0, 0, 0.04);
}

.receipt-item.highlight-cyan {
  background: rgba(6, 182, 212, 0.08);
  border: 1px dashed rgba(6, 182, 212, 0.25);
  color: var(--cyan);
}

.receipt-item.highlight-success {
  background: rgba(16, 185, 129, 0.08);
  border: 1px dashed rgba(16, 185, 129, 0.25);
  color: var(--success);
}

.receipt-item.highlight-danger {
  background: rgba(239, 68, 68, 0.08);
  border: 1px dashed rgba(239, 68, 68, 0.25);
  color: var(--danger);
}

.receipt-footer-notes {
  font-size: 0.7rem;
  color: var(--text-muted);
  text-align: center;
  margin-top: 1rem;
  line-height: 1.3;
}

/* ============================================================
   Kurs (Foreign Exchange) Block inside Receipt
   ============================================================ */
.receipt-kurs-block {
  margin-top: 1rem;
  border: 1px solid rgba(245, 158, 11, 0.22);
  border-radius: 10px;
  background: rgba(245, 158, 11, 0.05);
  padding: 0.75rem 1rem;
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
}

.receipt-kurs-title {
  font-size: 0.72rem;
  font-weight: 800;
  color: var(--warning);
  text-transform: uppercase;
  letter-spacing: 0.07em;
  display: flex;
  align-items: center;
  gap: 0.35rem;
  margin-bottom: 0.25rem;
  opacity: 0.9;
}

.receipt-kurs-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.8rem;
  color: var(--text-secondary);
}

.receipt-kurs-row span:first-child {
  flex: 1;
}

.receipt-kurs-value {
  font-family: 'Outfit', sans-serif;
  font-weight: 700;
  color: var(--warning);
  font-size: 0.85rem;
  white-space: nowrap;
}

.receipt-kurs-value.receipt-kurs-dim {
  color: var(--text-muted);
  font-weight: 600;
  font-size: 0.78rem;
}

body.light-theme .receipt-kurs-block {
  background: rgba(245, 158, 11, 0.06);
  border-color: rgba(217, 119, 6, 0.25);
}

/* History and Scenario Row */
.scenario-row {
  display: grid;
  grid-template-columns: 2.2fr 3.8fr;
  gap: 1.5rem;
}

/* Action button inside panels */
.btn-primary, .btn-secondary {
  padding: 0.65rem 1.25rem;
  border-radius: 8px;
  font-size: 0.85rem;
  font-weight: 600;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  border: none;
}

.btn-primary {
  background: var(--cyan-grad);
  color: white;
  box-shadow: 0 4px 12px var(--cyan-glow);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 18px var(--cyan-glow);
}

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

.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: var(--text-muted);
}

body.light-theme .btn-secondary {
  background: #ffffff;
}

body.light-theme .btn-secondary:hover {
  background: rgba(0, 0, 0, 0.05);
}

/* Scenario Inputs Form */
.scenario-form-box {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.scenario-form-box input {
  padding: 0.65rem 0.85rem;
  background: rgba(0, 0, 0, 0.2);
  border: 1px solid var(--border-color);
  border-radius: 8px;
  color: var(--text-primary);
  font-size: 0.9rem;
  font-weight: 600;
  transition: border-color 0.3s;
}

body.light-theme .scenario-form-box input {
  background: #ffffff;
}

.scenario-form-box input:focus {
  border-color: var(--cyan);
  outline: none;
}

/* Saved Scenarios List Container */
.scenarios-list {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  max-height: 280px;
  overflow-y: auto;
  padding-right: 0.5rem;
}

.no-scenarios {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 3rem 0;
  text-align: center;
  color: var(--text-muted);
  gap: 0.5rem;
}

.no-scenarios svg {
  width: 48px;
  height: 48px;
  opacity: 0.3;
}

.scenario-item {
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid var(--border-color);
  border-radius: 12px;
  padding: 1rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  transition: all 0.2s ease;
}

.scenario-item:hover {
  border-color: var(--cyan);
  background: rgba(255, 255, 255, 0.04);
}

body.light-theme .scenario-item {
  background: #ffffff;
}

body.light-theme .scenario-item:hover {
  background: #f8fafc;
}

.scenario-item-info {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.scenario-item-title {
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--text-primary);
}

.scenario-item-meta {
  font-size: 0.75rem;
  color: var(--text-muted);
  display: flex;
  gap: 0.75rem;
}

.scenario-item-meta span {
  display: flex;
  align-items: center;
  gap: 0.25rem;
}

.scenario-item-metrics {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.scenario-metric-box {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
}

.scenario-metric-label {
  font-size: 0.65rem;
  font-weight: 600;
  color: var(--text-muted);
  text-transform: uppercase;
}

.scenario-metric-value {
  font-size: 0.95rem;
  font-weight: 700;
  font-family: 'Outfit', sans-serif;
}

.scenario-metric-value.cyan { color: var(--cyan); }
.scenario-metric-value.success { color: var(--success); }
.scenario-metric-value.danger { color: var(--danger); }

.scenario-item-actions {
  display: flex;
  gap: 0.5rem;
}

.btn-icon-danger {
  background: rgba(239, 68, 68, 0.1);
  color: var(--danger);
  border: 1px solid rgba(239, 68, 68, 0.2);
  width: 32px;
  height: 32px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.2s;
}

.btn-icon-danger:hover {
  background: var(--danger);
  color: white;
  transform: scale(1.05);
}

.btn-icon-apply {
  background: rgba(6, 182, 212, 0.1);
  color: var(--cyan);
  border: 1px solid rgba(6, 182, 212, 0.2);
  width: 32px;
  height: 32px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.2s;
}

.btn-icon-apply:hover {
  background: var(--cyan);
  color: white;
  transform: scale(1.05);
}

/* Animations for calculated values updates */
@keyframes flashGlow {
  0% { text-shadow: 0 0 0px var(--cyan); transform: scale(1); }
  50% { text-shadow: 0 0 10px var(--cyan); transform: scale(1.03); }
  100% { text-shadow: 0 0 0px var(--cyan); transform: scale(1); }
}

.calculated-update {
  animation: flashGlow 0.4s ease-out;
}

/* ============================================================
   Hamburger Button — Mobile Only
   ============================================================ */
.hamburger-btn {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  width: 40px;
  height: 40px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid var(--border-color);
  border-radius: 10px;
  cursor: pointer;
  flex-shrink: 0;
  transition: all 0.2s ease;
  padding: 0;
}

.hamburger-btn:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: var(--cyan);
}

.hamburger-btn span {
  display: block;
  width: 18px;
  height: 2px;
  background: var(--text-primary);
  border-radius: 2px;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  transform-origin: center;
}

.hamburger-btn.active span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}
.hamburger-btn.active span:nth-child(2) {
  opacity: 0;
  transform: scaleX(0);
}
.hamburger-btn.active span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

.sidebar-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(4px);
  z-index: 99;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}

.sidebar-overlay.active {
  opacity: 1;
  visibility: visible;
}

/* ============================================================
   Responsive Breakpoints — Full Mobile-First Overhaul
   ============================================================ */

/* Large Desktop: 4-col KPI */
@media (min-width: 1401px) {
  .kpi-row {
    grid-template-columns: repeat(4, 1fr);
  }
  .visualization-row {
    grid-template-columns: 3.5fr 2.5fr;
  }
}

/* Medium Desktop / Laptop */
@media (max-width: 1400px) {
  .kpi-row {
    grid-template-columns: repeat(2, 1fr);
  }
  .visualization-row {
    grid-template-columns: 1fr;
  }
  .chart-container {
    height: 280px;
  }
}

/* Tablet Landscape & below — Sidebar becomes a Drawer */
@media (max-width: 1024px) {
  /* Show hamburger */
  .hamburger-btn {
    display: flex;
    z-index: 210;
  }



  /* Sidebar becomes fixed off-screen drawer */
  aside.sidebar {
    position: fixed;
    top: 0;
    left: 0;
    bottom: 0;
    width: 300px;
    max-width: 85vw;
    z-index: 200;
    transform: translateX(-100%);
    transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    border-right: 1px solid var(--border-color);
    box-shadow: 8px 0 40px rgba(0, 0, 0, 0.5);
    overflow-y: auto;
  }

  aside.sidebar.open {
    transform: translateX(0);
  }

  /* Main content takes full width */
  main.main-content {
    margin-left: 0;
    width: 100%;
    min-height: 100vh;
  }

  /* Header layout adjustments */
  header.dashboard-header {
    gap: 0.75rem;
    padding: 0 1.25rem;
    z-index: 100;
  }

  .header-title-area h2 {
    font-size: 1.1rem;
  }

  .header-title-area p {
    font-size: 0.7rem;
  }

  /* Scenario row stacks */
  .scenario-row {
    grid-template-columns: 1fr;
  }

  /* Dashboard padding */
  .dashboard-content {
    padding: 1.25rem;
    gap: 1.25rem;
  }
}

/* Tablet Portrait */
@media (max-width: 768px) {
  .kpi-row {
    grid-template-columns: repeat(2, 1fr);
    gap: 0.75rem;
  }

  .kpi-card .kpi-value {
    font-size: 1.4rem;
  }

  .kpi-card {
    padding: 1.1rem;
  }

  header.dashboard-header {
    height: auto;
    min-height: 64px;
    padding: 0.75rem 1rem;
    flex-wrap: nowrap;
  }

  .header-title-area {
    flex: 1;
    min-width: 0;
    overflow: hidden;
  }

  .header-title-area h2 {
    font-size: 0.95rem;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }

  .header-title-area p {
    display: none;
  }

  .dashboard-content {
    padding: 1rem;
    gap: 1rem;
  }

  .visualization-row {
    grid-template-columns: 1fr;
    gap: 1rem;
  }

  .chart-container {
    height: 240px;
  }

  .panel-title {
    font-size: 0.95rem;
  }

  .panel-title svg {
    width: 16px;
    height: 16px;
  }

  .receipt-wrapper {
    padding: 1rem;
  }

  .receipt-item {
    font-size: 0.8rem;
  }

  .scenario-row {
    grid-template-columns: 1fr;
    gap: 1rem;
  }

  .scenarios-list {
    max-height: 240px;
  }
}

/* Mobile Portrait */
@media (max-width: 480px) {
  .kpi-row {
    grid-template-columns: 1fr 1fr;
    gap: 0.6rem;
  }

  .kpi-card .kpi-value {
    font-size: 1.15rem;
  }

  .kpi-card .kpi-label {
    font-size: 0.68rem;
  }

  .kpi-card .kpi-subtext {
    font-size: 0.65rem;
  }

  .kpi-card {
    padding: 0.85rem 0.9rem;
  }

  .kpi-card .kpi-icon-bg {
    width: 55px;
    height: 55px;
  }

  header.dashboard-header {
    padding: 0.6rem 0.85rem;
  }

  .header-title-area h2 {
    font-size: 0.85rem;
  }

  .hamburger-btn {
    width: 36px;
    height: 36px;
  }

  .hamburger-btn span {
    width: 16px;
  }

  .dashboard-content {
    padding: 0.85rem;
    gap: 0.85rem;
  }

  .dashboard-panel {
    padding: 1.1rem;
    border-radius: 14px;
  }

  .chart-container {
    height: 200px;
  }

  .receipt-item {
    font-size: 0.76rem;
    margin-bottom: 0.45rem;
  }

  .receipt-header h4 {
    font-size: 0.85rem;
  }

  .btn-primary, .btn-secondary {
    font-size: 0.78rem;
    padding: 0.55rem 0.85rem;
  }

  .panel-header {
    flex-wrap: wrap;
    gap: 0.5rem;
  }

  .scenario-item {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.75rem;
  }

  .scenario-item-metrics {
    width: 100%;
    justify-content: space-between;
  }

  .toast-container {
    width: calc(100vw - 24px);
    right: 12px;
    top: 12px;
  }

  .toast-message {
    white-space: normal;
    font-size: 0.78rem;
  }
}

/* Very Small Mobile */
@media (max-width: 360px) {
  .kpi-row {
    grid-template-columns: 1fr;
  }

  .kpi-card .kpi-value {
    font-size: 1.3rem;
  }
}


/* Print-friendly PDF layout for corporate presentation */
@media print {
  body {
    background: #ffffff !important;
    color: #000000 !important;
  }
  aside.sidebar,
  header.dashboard-header,
  .kpi-row,
  .visualization-row > div:nth-child(2),
  .scenario-row,
  #printReportBtn {
    display: none !important;
  }
  main.main-content {
    margin-left: 0 !important;
    padding: 0 !important;
  }
  .dashboard-content {
    padding: 0 !important;
    margin: 0 !important;
  }
  .visualization-row {
    grid-template-columns: 1fr !important;
  }
  .dashboard-panel {
    background: #ffffff !important;
    border: none !important;
    box-shadow: none !important;
    padding: 0 !important;
    margin: 0 !important;
  }
  .receipt-wrapper {
    background: #ffffff !important;
    border: 1px solid #000000 !important;
    color: #000000 !important;
    padding: 2rem !important;
  }
  .receipt-item {
    color: #000000 !important;
  }
  .receipt-item.highlight,
  .receipt-item.highlight-cyan,
  .receipt-item.highlight-success,
  .receipt-item.highlight-danger {
    background: #f1f5f9 !important;
    border: 1px solid #000000 !important;
    color: #000000 !important;
  }
  .print-only-heading {
    display: block !important;
  }
  .receipt-logo-area,
  .receipt-panel-header {
    display: none !important;
  }
}

/* ============================================================
   Professional Toast Notification System
   ============================================================ */
.toast-container {
  position: fixed;
  top: 24px;
  right: 24px;
  z-index: 9999;
  display: flex;
  flex-direction: column;
  gap: 10px;
  width: 360px;
  max-width: calc(100vw - 48px);
  pointer-events: none;
}

.toast {
  pointer-events: auto;
  background: rgba(10, 15, 30, 0.97);
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 14px;
  padding: 0.9rem 1rem;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  box-shadow: 0 20px 40px -8px rgba(0,0,0,0.6), 0 8px 16px -4px rgba(0,0,0,0.4), inset 0 1px 0 rgba(255,255,255,0.06);
  transform: translateX(calc(100% + 32px));
  opacity: 0;
  transition: transform 0.45s cubic-bezier(0.34, 1.56, 0.64, 1), opacity 0.3s ease;
  position: relative;
  overflow: hidden;
}

.toast::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.15), transparent);
}

.toast.show {
  transform: translateX(0);
  opacity: 1;
}

/* Toast Icon Container */
.toast-icon {
  flex-shrink: 0;
  width: 36px;
  height: 36px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.toast-icon svg {
  width: 18px;
  height: 18px;
}

.toast-icon-success {
  background: rgba(16, 185, 129, 0.15);
  color: #10b981;
  border: 1px solid rgba(16, 185, 129, 0.25);
}

.toast-icon-danger {
  background: rgba(239, 68, 68, 0.15);
  color: #ef4444;
  border: 1px solid rgba(239, 68, 68, 0.25);
}

.toast-icon-warning {
  background: rgba(245, 158, 11, 0.15);
  color: #f59e0b;
  border: 1px solid rgba(245, 158, 11, 0.25);
}

.toast-icon-info {
  background: rgba(6, 182, 212, 0.15);
  color: #06b6d4;
  border: 1px solid rgba(6, 182, 212, 0.25);
}

/* Toast Body */
.toast-body {
  flex: 1;
  min-width: 0;
}

.toast-title {
  font-size: 0.8rem;
  font-weight: 800;
  font-family: 'Outfit', sans-serif;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: #f8fafc;
  margin-bottom: 2px;
}

.toast-message {
  font-size: 0.82rem;
  font-weight: 500;
  color: #94a3b8;
  line-height: 1.4;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* Toast Close Button */
.toast-close {
  flex-shrink: 0;
  width: 28px;
  height: 28px;
  border-radius: 7px;
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.08);
  color: #64748b;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s ease;
  padding: 0;
}

.toast-close:hover {
  background: rgba(255,255,255,0.1);
  color: #f8fafc;
}

.toast-close svg {
  width: 13px;
  height: 13px;
}

/* Accent bar per type */
.toast-success { border-left: 3px solid #10b981; box-shadow: 0 20px 40px -8px rgba(0,0,0,0.6), 0 0 0 1px rgba(16,185,129,0.08), inset 0 1px 0 rgba(255,255,255,0.06); }
.toast-danger  { border-left: 3px solid #ef4444; box-shadow: 0 20px 40px -8px rgba(0,0,0,0.6), 0 0 0 1px rgba(239,68,68,0.08), inset 0 1px 0 rgba(255,255,255,0.06); }
.toast-warning { border-left: 3px solid #f59e0b; box-shadow: 0 20px 40px -8px rgba(0,0,0,0.6), 0 0 0 1px rgba(245,158,11,0.08), inset 0 1px 0 rgba(255,255,255,0.06); }
.toast-info    { border-left: 3px solid #06b6d4; box-shadow: 0 20px 40px -8px rgba(0,0,0,0.6), 0 0 0 1px rgba(6,182,212,0.08), inset 0 1px 0 rgba(255,255,255,0.06); }

/* Light Theme Toasts */
body.light-theme .toast {
  background: rgba(255, 255, 255, 0.97);
  border-color: rgba(0, 0, 0, 0.08);
  box-shadow: 0 20px 40px -8px rgba(0,0,0,0.15), 0 8px 16px -4px rgba(0,0,0,0.08);
}

body.light-theme .toast-title { color: #0f172a; }
body.light-theme .toast-message { color: #475569; }
body.light-theme .toast-close { background: rgba(0,0,0,0.04); border-color: rgba(0,0,0,0.08); color: #94a3b8; }
body.light-theme .toast-close:hover { background: rgba(0,0,0,0.08); color: #0f172a; }
body.light-theme .toast::before { background: linear-gradient(90deg, transparent, rgba(0,0,0,0.06), transparent); }

/* Progress bar animation at bottom of toast */
.toast-progress {
  position: absolute;
  bottom: 0;
  left: 0;
  height: 2px;
  background: currentColor;
  animation: toastProgress 4s linear forwards;
  opacity: 0.4;
}

@keyframes toastProgress {
  from { width: 100%; }
  to   { width: 0%; }
}

/* Hide PNG/Print buttons in print mode */
@media print {
  #exportPngBtn, .toast-container { display: none !important; }
}

/* Custom Confirmation Modal */
.confirm-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(5px);
  z-index: 99999;
  display: flex;
  justify-content: center;
  align-items: center;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.confirm-overlay.show {
  opacity: 1;
}

.confirm-modal {
  background: rgba(15, 23, 42, 0.95);
  backdrop-filter: var(--glass-blur);
  border: 1px solid var(--border-color);
  border-radius: 20px;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.7);
  width: 90%;
  max-width: 400px;
  padding: 2rem;
  text-align: center;
  transform: scale(0.9) translateY(20px);
  opacity: 0;
  transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.confirm-modal.show {
  transform: scale(1) translateY(0);
  opacity: 1;
}

body.light-theme .confirm-modal {
  background: rgba(255, 255, 255, 0.98);
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.15);
}

.confirm-icon {
  width: 60px;
  height: 60px;
  border-radius: 50px;
  background: rgba(239, 68, 68, 0.1);
  color: var(--danger);
  display: flex;
  justify-content: center;
  align-items: center;
  margin: 0 auto 1.25rem auto;
  animation: pulseDanger 2s infinite;
}

@keyframes pulseDanger {
  0% {
    box-shadow: 0 0 0 0 rgba(239, 68, 68, 0.4);
  }
  70% {
    box-shadow: 0 0 0 10px rgba(239, 68, 68, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(239, 68, 68, 0);
  }
}

.confirm-icon svg {
  width: 28px;
  height: 28px;
}

.confirm-title {
  font-family: 'Outfit', sans-serif;
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 0.5rem;
}

.confirm-message {
  font-size: 0.88rem;
  color: var(--text-secondary);
  line-height: 1.5;
  margin-bottom: 1.75rem;
}

.confirm-buttons {
  display: flex;
  gap: 0.75rem;
}

.confirm-buttons button {
  flex: 1;
  padding: 0.75rem;
  font-size: 0.85rem;
  font-weight: 700;
  border-radius: 10px;
  cursor: pointer;
  transition: all 0.2s ease;
  border: 1px solid transparent;
}

.btn-confirm-cancel {
  background: rgba(255, 255, 255, 0.05);
  color: var(--text-secondary);
  border-color: var(--border-color) !important;
}

.btn-confirm-cancel:hover {
  background: rgba(255, 255, 255, 0.1);
  color: var(--text-primary);
}

body.light-theme .btn-confirm-cancel {
  background: rgba(0, 0, 0, 0.03);
}

body.light-theme .btn-confirm-cancel:hover {
  background: rgba(0, 0, 0, 0.06);
}

.btn-confirm-ok {
  background: var(--danger);
  color: #ffffff;
}

.btn-confirm-ok:hover {
  background: #dc2626;
  box-shadow: 0 4px 15px rgba(239, 68, 68, 0.3);
  transform: translateY(-1px);
}

/* PWA Custom Toast styling */
.pwa-install-toast {
  max-width: 400px;
  border-left: 4px solid var(--cyan) !important;
}

.pwa-install-toast .toast-title {
  color: var(--cyan) !important;
}

.pwa-install-toast .btn-primary {
  background: var(--cyan);
  border-color: rgba(6, 182, 212, 0.25);
  color: #fff;
  font-weight: 700;
}

.pwa-install-toast .btn-primary:hover {
  background: #0891b2;
  box-shadow: 0 4px 12px rgba(6, 182, 212, 0.3);
}

/* ============================================================
   Custom Channels Manager Style
   ============================================================ */
.custom-channels-list {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  max-height: 160px;
  overflow-y: auto;
  padding-right: 4px;
}

/* Custom scrollbar for custom channels list */
.custom-channels-list::-webkit-scrollbar {
  width: 4px;
}
.custom-channels-list::-webkit-scrollbar-track {
  background: transparent;
}
.custom-channels-list::-webkit-scrollbar-thumb {
  background: var(--border-color);
  border-radius: 4px;
}
.custom-channels-list::-webkit-scrollbar-thumb:hover {
  background: var(--text-muted);
}

.custom-channel-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.5rem 0.75rem;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid var(--border-color);
  border-radius: 8px;
  transition: all 0.2s ease;
}

.custom-channel-row:hover {
  background: rgba(255, 255, 255, 0.04);
  border-color: rgba(6, 182, 212, 0.3);
}

body.light-theme .custom-channel-row {
  background: rgba(0, 0, 0, 0.01);
}
body.light-theme .custom-channel-row:hover {
  background: rgba(0, 0, 0, 0.03);
}

.custom-channel-info {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.custom-channel-name {
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--text-primary);
}

.custom-channel-meta {
  font-size: 0.7rem;
  color: var(--text-muted);
}

.custom-channel-actions {
  display: flex;
  gap: 0.35rem;
}

.btn-edit-ch, .btn-delete-ch {
  width: 28px;
  height: 28px;
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.2s;
  border: none;
}

.btn-edit-ch {
  background: rgba(6, 182, 212, 0.1);
  color: var(--cyan);
  border: 1px solid rgba(6, 182, 212, 0.2);
}
.btn-edit-ch:hover {
  background: var(--cyan);
  color: white;
  transform: scale(1.05);
}

.btn-delete-ch {
  background: rgba(239, 68, 68, 0.1);
  color: var(--danger);
  border: 1px solid rgba(239, 68, 68, 0.2);
}
.btn-delete-ch:hover {
  background: var(--danger);
  color: white;
  transform: scale(1.05);
}

/* Edit form row */
.custom-channel-edit-row {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  padding: 0.75rem;
  background: rgba(6, 182, 212, 0.04);
  border: 1px solid rgba(6, 182, 212, 0.3);
  border-radius: 8px;
  width: 100%;
}

.custom-channel-edit-row input {
  padding: 0.4rem 0.6rem;
  font-size: 0.8rem;
  border-radius: 6px;
  border: 1px solid var(--border-color);
  background: rgba(0, 0, 0, 0.2);
  color: #fff;
  transition: border-color 0.2s;
}

body.light-theme .custom-channel-edit-row input {
  background: #fff;
  color: #000;
}

.custom-channel-edit-row input:focus {
  border-color: var(--cyan);
  outline: none;
}

.btn-save-edit-ch, .btn-cancel-edit-ch {
  padding: 0.3rem 0.75rem;
  border-radius: 6px;
  font-size: 0.75rem;
  font-weight: 700;
  cursor: pointer;
  border: none;
  transition: all 0.2s;
}

.btn-save-edit-ch {
  background: var(--cyan);
  color: white;
}
.btn-save-edit-ch:hover {
  background: #0891b2;
}

.btn-cancel-edit-ch {
  background: rgba(255, 255, 255, 0.05);
  color: var(--text-secondary);
  border: 1px solid var(--border-color) !important;
}
.btn-cancel-edit-ch:hover {
  background: rgba(255, 255, 255, 0.1);
  color: var(--text-primary);
}

body.light-theme .btn-cancel-edit-ch {
  background: rgba(0, 0, 0, 0.03);
}
body.light-theme .btn-cancel-edit-ch:hover {
  background: rgba(0, 0, 0, 0.06);
}

