/* Theme System — shared across all mockup pages */

/* Dark theme (default) */
:root, [data-theme="dark"] {
    --bg-dark: #0f1117;
    --bg-surface: #181a22;
    --bg-card: #1e2130;
    --bg-hover: #252839;
    --border: #2a2d3e;
    --text-primary: #e4e4e8;
    --text-secondary: #8b8d9e;
    --text-muted: #5c5e6e;
    --accent: #7c6bf0;
    --accent-dim: rgba(124, 107, 240, 0.15);
    --twin-color: #6ec6f0;
    --twin-dim: rgba(110, 198, 240, 0.12);
    --human-color: #e4e4e8;
    --green: #4ade80;
    --green-dim: rgba(74, 222, 128, 0.15);
    --amber: #fbbf24;
    --amber-dim: rgba(251, 191, 36, 0.12);
    --quiet-color: #8b8d9e;
    --shadow-sm: 0 1px 3px rgba(0,0,0,0.3);
    --shadow-md: 0 4px 12px rgba(0,0,0,0.3);
}

/* Light theme */
[data-theme="light"] {
    --bg-dark: #f0f1f5;
    --bg-surface: #ffffff;
    --bg-card: #f7f7fa;
    --bg-hover: #eeeff3;
    --border: #e2e3ea;
    --text-primary: #1a1a2e;
    --text-secondary: #5a5c6f;
    --text-muted: #9a9bab;
    --accent: #6c5ce7;
    --accent-dim: rgba(108, 92, 231, 0.1);
    --twin-color: #2d7dd2;
    --twin-dim: rgba(45, 125, 210, 0.1);
    --human-color: #1a1a2e;
    --green: #27ae60;
    --green-dim: rgba(39, 174, 96, 0.1);
    --amber: #d4930d;
    --amber-dim: rgba(212, 147, 13, 0.1);
    --quiet-color: #7c7e8f;
    --shadow-sm: 0 1px 3px rgba(0,0,0,0.06);
    --shadow-md: 0 4px 12px rgba(0,0,0,0.06);
}

/* Theme Switcher */
.theme-switcher {
    display: flex;
    align-items: center;
    gap: 2px;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 8px;
    padding: 2px;
}

.theme-btn {
    background: none;
    border: none;
    padding: 5px 8px;
    border-radius: 6px;
    cursor: pointer;
    font-size: 13px;
    color: var(--text-muted);
    transition: all 0.15s;
    line-height: 1;
}

.theme-btn:hover { color: var(--text-primary); }
.theme-btn.active {
    background: var(--accent-dim);
    color: var(--accent);
}
