/* ============================================================
   FloodSight Antique -- Design System
   Province of Antique Flash-Flood Inundation Mapping
   ============================================================
   PURPOSE:  Complete design tokens, layout system, component styles,
             dark/light theme definitions, and glassmorphism accents.
   AUTHOR:   Roger S. Mission, DIT - University of Antique, 2026
   ============================================================ */

:root {
    --bg-primary: #0a0e1a;
    --bg-secondary: #111827;
    --bg-card: #1a2236;
    --bg-card-hover: #1f2a42;
    --bg-panel: #151d30;
    --border: rgba(56, 189, 248, 0.12);
    --border-active: rgba(56, 189, 248, 0.35);
    --text-primary: #e2e8f0;
    --text-secondary: #94a3b8;
    --text-muted: #64748b;
    --accent-blue: #38bdf8;
    --accent-cyan: #22d3ee;
    --accent-teal: #2dd4bf;
    --accent-amber: #fbbf24;
    --accent-red: #ef4444;
    --accent-orange: #f97316;
    --gradient-brand: linear-gradient(135deg, #0ea5e9, #22d3ee, #2dd4bf);
    --gradient-danger: linear-gradient(135deg, #ef4444, #f97316);
    --gradient-card: linear-gradient(145deg, rgba(30, 41, 69, 0.8), rgba(15, 23, 42, 0.9));
    --shadow-sm: 0 2px 8px rgba(0,0,0,0.3);
    --shadow-md: 0 4px 16px rgba(0,0,0,0.4);
    --shadow-lg: 0 8px 32px rgba(0,0,0,0.5);
    --shadow-glow: 0 0 20px rgba(56, 189, 248, 0.15);
    --radius-sm: 6px;
    --radius-md: 10px;
    --radius-lg: 14px;
    --sidebar-width: 360px;
    --font-sans: 'Inter', system-ui, -apple-system, sans-serif;
    --font-mono: 'JetBrains Mono', 'Fira Code', monospace;
    --transition: 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

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

html, body { height: 100%; overflow: hidden; }

body {
    font-family: var(--font-sans);
    background: var(--bg-primary);
    color: var(--text-primary);
    display: flex;
    position: relative;
}

::-webkit-scrollbar { width: 5px; }
::-webkit-scrollbar-track { background: transparent; }
::-webkit-scrollbar-thumb { background: rgba(56, 189, 248, 0.2); border-radius: 10px; }
::-webkit-scrollbar-thumb:hover { background: rgba(56, 189, 248, 0.4); }

/* ---- Alert Banner ---- */
.alert-banner {
    position: fixed; top: 0; left: 0; right: 0; z-index: 9999;
    background: var(--gradient-danger);
    padding: 10px 20px;
    animation: slideDown 0.4s ease-out;
}
.alert-banner.hidden { display: none; }
.alert-content {
    display: flex; align-items: center; justify-content: center; gap: 12px;
    font-weight: 600; font-size: 0.9rem; color: #fff;
}
.alert-dismiss {
    background: rgba(255,255,255,0.2); border: none; color: #fff;
    width: 28px; height: 28px; border-radius: 50%; cursor: pointer;
    display: flex; align-items: center; justify-content: center;
    transition: var(--transition);
}
.alert-dismiss:hover { background: rgba(255,255,255,0.35); }
@keyframes slideDown { from { transform: translateY(-100%); } to { transform: translateY(0); } }

/* ---- Sidebar ---- */
.sidebar {
    width: var(--sidebar-width); height: 100vh;
    background: var(--bg-secondary);
    border-right: 1px solid var(--border);
    display: flex; flex-direction: column;
    overflow-y: auto; overflow-x: hidden;
    transition: width var(--transition);
    z-index: 100; position: relative;
    box-shadow: 4px 0 24px rgba(0,0,0,0.3);
}
.sidebar.collapsed { width: 60px; }
.sidebar.collapsed .sidebar-header > div:last-child,
.sidebar.collapsed .kpi-grid, .sidebar.collapsed .panel-group,
.sidebar.collapsed .chart-container, .sidebar.collapsed .sidebar-footer { display: none; }
.sidebar.collapsed .sidebar-toggle i { transform: rotate(180deg); }

.sidebar-header {
    display: flex; align-items: center; justify-content: space-between;
    padding: 16px 18px; border-bottom: 1px solid var(--border);
    background: linear-gradient(180deg, rgba(14,165,233,0.08), transparent);
}
.logo-group { display: flex; align-items: center; gap: 12px; }
.logo-icon {
    width: 40px; height: 40px; border-radius: var(--radius-md);
    background: var(--gradient-brand); display: flex; align-items: center;
    justify-content: center; font-size: 1.1rem; color: #fff;
    box-shadow: var(--shadow-glow);
}
.logo-title {
    font-size: 1.15rem; font-weight: 800;
    background: var(--gradient-brand); -webkit-background-clip: text;
    -webkit-text-fill-color: transparent; background-clip: text;
    letter-spacing: -0.5px;
}
.logo-subtitle { font-size: 0.7rem; color: var(--text-muted); font-weight: 500; letter-spacing: 0.5px; text-transform: uppercase; }

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

.sidebar-toggle {
    background: rgba(56, 189, 248, 0.08); border: 1px solid var(--border);
    color: var(--text-secondary); width: 30px; height: 30px; border-radius: var(--radius-sm);
    cursor: pointer; display: flex; align-items: center; justify-content: center;
    transition: var(--transition);
}
.sidebar-toggle:hover { background: rgba(56, 189, 248, 0.15); color: var(--accent-blue); }

/* ---- Theme Toggle (Glassmorphism) ---- */
.theme-toggle {
    width: 36px; height: 36px; border-radius: var(--radius-md);
    background: rgba(56, 189, 248, 0.08); backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid rgba(56, 189, 248, 0.18);
    color: var(--accent-amber); font-size: 1rem;
    cursor: pointer; display: flex; align-items: center; justify-content: center;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative; overflow: hidden;
    box-shadow: 0 2px 12px rgba(56, 189, 248, 0.08), inset 0 1px 1px rgba(255,255,255,0.05);
}
.theme-toggle:hover {
    background: rgba(56, 189, 248, 0.15); transform: scale(1.1) rotate(15deg);
    box-shadow: 0 4px 20px rgba(56, 189, 248, 0.2), inset 0 1px 1px rgba(255,255,255,0.1);
}
.theme-toggle:active { transform: scale(0.95); }
.theme-toggle i { transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1), opacity 0.3s ease; }

/* ---- KPI Grid ---- */
.kpi-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; padding: 14px 16px; }
.kpi-card {
    background: var(--gradient-card); border: 1px solid var(--border);
    border-radius: var(--radius-md); padding: 12px;
    position: relative; overflow: hidden; transition: var(--transition);
}
.kpi-card::before {
    content: ''; position: absolute; top: 0; left: 0; right: 0; height: 2px;
    background: var(--gradient-brand); opacity: 0.5;
}
.kpi-card:hover { border-color: var(--border-active); transform: translateY(-1px); box-shadow: var(--shadow-glow); }
.kpi-rainfall::before { background: var(--accent-blue); }
.kpi-flood::before { background: var(--accent-amber); }
.kpi-alert::before { background: var(--accent-red); }
.kpi-saturation::before { background: var(--accent-teal); }
.kpi-icon { font-size: 0.85rem; color: var(--text-muted); margin-bottom: 6px; }
.kpi-rainfall .kpi-icon { color: var(--accent-blue); }
.kpi-flood .kpi-icon { color: var(--accent-amber); }
.kpi-alert .kpi-icon { color: var(--accent-red); }
.kpi-saturation .kpi-icon { color: var(--accent-teal); }
.kpi-data { display: flex; align-items: baseline; gap: 4px; }
.kpi-value { font-size: 1.5rem; font-weight: 700; font-family: var(--font-mono); color: #fff; }
.kpi-unit { font-size: 0.65rem; color: var(--text-muted); font-weight: 500; }
.kpi-label { display: block; font-size: 0.68rem; color: var(--text-secondary); margin-top: 2px; }
.kpi-trend {
    position: absolute; top: 10px; right: 10px;
    font-size: 0.6rem; font-weight: 600; color: var(--accent-teal);
    background: rgba(45, 212, 191, 0.1); padding: 2px 6px; border-radius: 4px;
}
.kpi-trend-warn { color: var(--accent-amber); background: rgba(251, 191, 36, 0.1); }

/* ---- Panels ---- */
.panel-group { padding: 0 16px 10px; display: flex; flex-direction: column; gap: 6px; }
.panel {
    background: var(--bg-panel); border: 1px solid var(--border);
    border-radius: var(--radius-md); overflow: hidden;
}
.panel-header {
    display: flex; justify-content: space-between; align-items: center;
    padding: 10px 14px; cursor: pointer; font-size: 0.8rem; font-weight: 600;
    color: var(--text-secondary); transition: var(--transition);
}
.panel-header:hover { color: var(--text-primary); background: rgba(56, 189, 248, 0.04); }
.panel-header i:first-child { margin-right: 8px; color: var(--accent-blue); }
.panel-chevron { font-size: 0.65rem; transition: transform var(--transition); }
.panel.collapsed .panel-chevron { transform: rotate(-90deg); }
.panel.collapsed .panel-body { display: none; }
.panel-body { padding: 8px 14px 14px; }

/* Layer toggles */
.layer-toggle {
    display: flex; align-items: center; gap: 10px;
    padding: 6px 0; font-size: 0.78rem; color: var(--text-secondary);
    cursor: pointer; transition: var(--transition);
}
.layer-toggle:hover { color: var(--text-primary); }
.layer-toggle input { display: none; }
.toggle-slider {
    width: 34px; height: 18px; background: rgba(100, 116, 139, 0.3);
    border-radius: 9px; position: relative; transition: var(--transition);
    flex-shrink: 0;
}
.toggle-slider::after {
    content: ''; position: absolute; top: 2px; left: 2px;
    width: 14px; height: 14px; border-radius: 50%;
    background: var(--text-muted); transition: var(--transition);
}
.layer-toggle input:checked + .toggle-slider { background: rgba(56, 189, 248, 0.3); }
.layer-toggle input:checked + .toggle-slider::after {
    transform: translateX(16px); background: var(--accent-blue);
    box-shadow: 0 0 6px rgba(56, 189, 248, 0.5);
}

/* Parameters */
.param-row { margin-bottom: 10px; }
.param-row label { display: block; font-size: 0.72rem; color: var(--text-muted); margin-bottom: 4px; }
.param-row input[type="range"] {
    width: calc(100% - 50px); -webkit-appearance: none; height: 4px;
    background: rgba(56, 189, 248, 0.15); border-radius: 2px; outline: none;
    vertical-align: middle;
}
.param-row input[type="range"]::-webkit-slider-thumb {
    -webkit-appearance: none; width: 14px; height: 14px; border-radius: 50%;
    background: var(--accent-blue); cursor: pointer;
    box-shadow: 0 0 6px rgba(56, 189, 248, 0.4);
}
.param-val {
    display: inline-block; width: 44px; text-align: right;
    font-family: var(--font-mono); font-size: 0.72rem; color: var(--accent-cyan);
}

.btn-run-model {
    width: 100%; padding: 9px; border: none; border-radius: var(--radius-sm);
    background: var(--gradient-brand); color: #fff; font-weight: 600;
    font-size: 0.8rem; cursor: pointer; transition: var(--transition);
    letter-spacing: 0.3px; margin-top: 6px;
}
.btn-run-model:hover { filter: brightness(1.15); transform: translateY(-1px); box-shadow: var(--shadow-glow); }
.btn-run-model:active { transform: translateY(0); }
.btn-run-model.running {
    background: rgba(56, 189, 248, 0.15); color: var(--accent-cyan);
    pointer-events: none; animation: pulse 1.5s infinite;
}
@keyframes pulse { 0%, 100% { opacity: 1; } 50% { opacity: 0.6; } }

/* Thresholds */
.threshold-row {
    display: flex; justify-content: space-between; align-items: center;
    padding: 5px 0; font-size: 0.78rem;
}
.threshold-label {
    padding: 2px 10px; border-radius: 4px; font-weight: 600; font-size: 0.7rem;
    text-transform: uppercase; letter-spacing: 0.5px;
}
.threshold-label.advisory { background: rgba(56, 189, 248, 0.15); color: var(--accent-blue); }
.threshold-label.warning { background: rgba(251, 191, 36, 0.15); color: var(--accent-amber); }
.threshold-label.critical { background: rgba(249, 115, 22, 0.15); color: var(--accent-orange); }
.threshold-label.extreme { background: rgba(239, 68, 68, 0.15); color: var(--accent-red); }
.threshold-value { font-family: var(--font-mono); font-size: 0.75rem; color: var(--text-secondary); }

/* ---- Chart ---- */
.chart-container {
    padding: 14px 16px; border-top: 1px solid var(--border); margin-top: auto;
}
.chart-title {
    font-size: 0.78rem; font-weight: 600; color: var(--text-secondary);
    margin-bottom: 10px;
}
.chart-title i { color: var(--accent-blue); margin-right: 6px; }

/* ---- Footer ---- */
.sidebar-footer {
    padding: 14px 16px; border-top: 1px solid var(--border);
    text-align: center;
    background: linear-gradient(180deg, transparent, rgba(14,165,233,0.04));
}
.footer-line { font-size: 0.7rem; color: var(--text-muted); line-height: 1.6; }
.footer-line strong { color: var(--text-secondary); font-weight: 600; }

/* ---- Main Content ---- */
.main-content { flex: 1; position: relative; height: 100vh; }
.map-container { width: 100%; height: 100%; }

/* ---- Map Toolbar ---- */
.map-toolbar {
    position: absolute; top: 16px; right: 16px; z-index: 500;
    background: rgba(17, 24, 39, 0.9); backdrop-filter: blur(12px);
    border: 1px solid var(--border); border-radius: var(--radius-md);
    padding: 6px; display: flex; flex-direction: column; gap: 4px;
    box-shadow: var(--shadow-md);
}
.map-tool {
    width: 36px; height: 36px; border: none; border-radius: var(--radius-sm);
    background: transparent; color: var(--text-secondary); font-size: 0.9rem;
    cursor: pointer; display: flex; align-items: center; justify-content: center;
    transition: var(--transition);
}
.map-tool:hover { background: rgba(56, 189, 248, 0.1); color: var(--accent-blue); }
.map-tool.active { background: rgba(56, 189, 248, 0.15); color: var(--accent-blue); }
.tool-divider { height: 1px; background: var(--border); margin: 2px 4px; }

/* ---- Legend ---- */
.map-legend {
    position: absolute; bottom: 50px; right: 16px; z-index: 500;
    background: rgba(17, 24, 39, 0.92); backdrop-filter: blur(12px);
    border: 1px solid var(--border); border-radius: var(--radius-md);
    padding: 14px 16px; min-width: 170px; box-shadow: var(--shadow-md);
}
.legend-title { font-size: 0.72rem; font-weight: 600; color: var(--text-secondary); margin-bottom: 8px; text-transform: uppercase; letter-spacing: 0.5px; }
.legend-items { display: flex; flex-direction: column; gap: 5px; }
.legend-item { display: flex; align-items: center; gap: 8px; font-size: 0.73rem; color: var(--text-secondary); }
.legend-color { width: 18px; height: 12px; border-radius: 2px; flex-shrink: 0; }

/* ---- Status Bar ---- */
.status-bar {
    position: absolute; bottom: 0; left: 0; right: 0; z-index: 500;
    background: rgba(10, 14, 26, 0.92); backdrop-filter: blur(8px);
    border-top: 1px solid var(--border);
    padding: 6px 16px; display: flex; justify-content: space-between;
    font-size: 0.7rem; color: var(--text-muted);
}
.status-left, .status-right { display: flex; gap: 16px; align-items: center; }
.status-item { display: flex; align-items: center; gap: 5px; }
.status-item i { color: var(--accent-blue); font-size: 0.65rem; }
.status-live { color: var(--accent-teal); font-weight: 600; }
.pulse-dot {
    width: 6px; height: 6px; border-radius: 50%; background: var(--accent-teal);
    display: inline-block; animation: pulseDot 2s infinite;
}
@keyframes pulseDot { 0%, 100% { opacity: 1; box-shadow: 0 0 0 0 rgba(45,212,191,0.4); } 50% { opacity: 0.7; box-shadow: 0 0 0 4px rgba(45,212,191,0); } }

/* ---- Info Panel ---- */
.info-panel {
    position: absolute; top: 16px; left: 16px; z-index: 600;
    width: 320px; background: rgba(17, 24, 39, 0.95); backdrop-filter: blur(16px);
    border: 1px solid var(--border); border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg); overflow: hidden;
    animation: fadeInUp 0.3s ease-out;
}
.info-panel.hidden { display: none; }
.info-header {
    display: flex; justify-content: space-between; align-items: center;
    padding: 12px 16px; border-bottom: 1px solid var(--border);
    background: rgba(14,165,233,0.05);
}
.info-header h3 { font-size: 0.85rem; font-weight: 600; }
.info-close { background: none; border: none; color: var(--text-muted); cursor: pointer; font-size: 0.85rem; }
.info-close:hover { color: var(--accent-red); }
.info-body { padding: 14px 16px; font-size: 0.78rem; color: var(--text-secondary); line-height: 1.7; }
.info-row { display: flex; justify-content: space-between; padding: 4px 0; border-bottom: 1px solid rgba(56,189,248,0.06); }
.info-row:last-child { border-bottom: none; }
.info-row-label { color: var(--text-muted); }
.info-row-value { font-family: var(--font-mono); font-size: 0.75rem; color: var(--accent-cyan); font-weight: 500; }

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

/* ---- Leaflet Overrides ---- */
.leaflet-control-zoom { border: 1px solid var(--border) !important; border-radius: var(--radius-sm) !important; overflow: hidden; }
.leaflet-control-zoom a {
    background: rgba(17, 24, 39, 0.9) !important; color: var(--text-secondary) !important;
    border-bottom: 1px solid var(--border) !important; width: 34px !important; height: 34px !important;
    line-height: 34px !important; font-size: 1rem !important;
}
.leaflet-control-zoom a:hover { background: rgba(56, 189, 248, 0.1) !important; color: var(--accent-blue) !important; }

/* ---- Responsive ---- */
@media (max-width: 900px) {
    .sidebar { width: 100%; height: auto; max-height: 45vh; position: fixed; bottom: 0; left: 0; right: 0; z-index: 1000; border-right: none; border-top: 1px solid var(--border); }
    .main-content { height: 55vh; }
    .kpi-grid { grid-template-columns: repeat(4, 1fr); }
}

/* ============================================================
   LIGHT MODE THEME
   ============================================================ */
body.light-mode {
    --bg-primary: #f0f4f8;
    --bg-secondary: rgba(255, 255, 255, 0.72);
    --bg-card: rgba(255, 255, 255, 0.55);
    --bg-card-hover: rgba(255, 255, 255, 0.75);
    --bg-panel: rgba(255, 255, 255, 0.45);
    --border: rgba(14, 165, 233, 0.18);
    --border-active: rgba(14, 165, 233, 0.4);
    --text-primary: #0f172a;
    --text-secondary: #475569;
    --text-muted: #64748b;
    --accent-blue: #0284c7;
    --accent-cyan: #0891b2;
    --accent-teal: #0d9488;
    --accent-amber: #d97706;
    --accent-red: #dc2626;
    --accent-orange: #ea580c;
    --gradient-brand: linear-gradient(135deg, #0284c7, #0891b2, #0d9488);
    --gradient-card: linear-gradient(145deg, rgba(255,255,255,0.6), rgba(241,245,249,0.7));
    --shadow-sm: 0 2px 8px rgba(0,0,0,0.06);
    --shadow-md: 0 4px 16px rgba(0,0,0,0.08);
    --shadow-lg: 0 8px 32px rgba(0,0,0,0.1);
    --shadow-glow: 0 0 20px rgba(14, 165, 233, 0.12);
}

/* Glassmorphism sidebar */
body.light-mode .sidebar {
    background: rgba(255, 255, 255, 0.65);
    backdrop-filter: blur(24px); -webkit-backdrop-filter: blur(24px);
    border-right: 1px solid rgba(14, 165, 233, 0.12);
    box-shadow: 4px 0 30px rgba(0, 0, 0, 0.06);
}
body.light-mode .sidebar-header {
    background: linear-gradient(180deg, rgba(14,165,233,0.06), transparent);
    border-bottom: 1px solid rgba(14,165,233,0.1);
}

/* Glassmorphism KPI cards */
body.light-mode .kpi-card {
    background: rgba(255, 255, 255, 0.5);
    backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(14, 165, 233, 0.12);
    box-shadow: 0 2px 12px rgba(0,0,0,0.04), inset 0 1px 2px rgba(255,255,255,0.8);
}
body.light-mode .kpi-card:hover {
    background: rgba(255, 255, 255, 0.7);
    box-shadow: 0 4px 20px rgba(14, 165, 233, 0.1), inset 0 1px 2px rgba(255,255,255,0.9);
}
body.light-mode .kpi-value { color: #0f172a; }

/* Glassmorphism panels */
body.light-mode .panel {
    background: rgba(255, 255, 255, 0.4);
    backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(14, 165, 233, 0.1);
}
body.light-mode .panel-header:hover { background: rgba(14, 165, 233, 0.05); }

/* Glassmorphism toggle button */
body.light-mode .theme-toggle {
    background: rgba(255, 255, 255, 0.5);
    border: 1px solid rgba(14, 165, 233, 0.2);
    color: var(--accent-blue);
    box-shadow: 0 2px 12px rgba(0,0,0,0.05), inset 0 1px 2px rgba(255,255,255,0.8);
}
body.light-mode .theme-toggle:hover {
    background: rgba(255, 255, 255, 0.7);
    box-shadow: 0 4px 20px rgba(14, 165, 233, 0.12), inset 0 1px 2px rgba(255,255,255,0.9);
}

/* Glassmorphism map overlays */
body.light-mode .map-toolbar {
    background: rgba(255, 255, 255, 0.7); backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid rgba(14, 165, 233, 0.15);
    box-shadow: 0 4px 20px rgba(0,0,0,0.06);
}
body.light-mode .map-tool { color: #475569; }
body.light-mode .map-tool:hover { background: rgba(14, 165, 233, 0.08); color: #0284c7; }
body.light-mode .map-tool.active { background: rgba(14, 165, 233, 0.12); color: #0284c7; }

body.light-mode .map-legend {
    background: rgba(255, 255, 255, 0.75); backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid rgba(14, 165, 233, 0.12);
    box-shadow: 0 4px 20px rgba(0,0,0,0.06);
}

body.light-mode .status-bar {
    background: rgba(255, 255, 255, 0.8); backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-top: 1px solid rgba(14, 165, 233, 0.1);
}

body.light-mode .info-panel {
    background: rgba(255, 255, 255, 0.85); backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
}
body.light-mode .info-header { background: rgba(14,165,233,0.04); }
body.light-mode .info-row { border-bottom-color: rgba(14,165,233,0.08); }

/* Glassmorphism chart area */
body.light-mode .chart-container { border-top-color: rgba(14,165,233,0.1); }
body.light-mode .sidebar-footer { background: linear-gradient(180deg, transparent, rgba(14,165,233,0.03)); border-top-color: rgba(14,165,233,0.1); }

/* Leaflet light overrides */
body.light-mode .leaflet-control-zoom a {
    background: rgba(255,255,255,0.8) !important; color: #475569 !important;
    border-bottom: 1px solid rgba(14,165,233,0.1) !important;
}
body.light-mode .leaflet-control-zoom a:hover { background: rgba(14,165,233,0.08) !important; color: #0284c7 !important; }

body.light-mode .sidebar-toggle {
    background: rgba(255,255,255,0.5); border-color: rgba(14,165,233,0.15);
}
body.light-mode .sidebar-toggle:hover { background: rgba(14,165,233,0.1); }
