/* Centroid-style dark theme */
:root {
    --bg-main: #0f1117;
    --bg-card: #1a1d27;
    --bg-sidebar: #11141c;
    --accent: #e53935;
    --accent-hover: #c0282d;
    --text-primary: #ffffff;
    --text-secondary: #9ca3af;
    --border-color: #2a2e38;
}

html.theme-dark body, body { background: var(--bg-main); color: var(--text-primary); }
html.theme-light body { background: #fafafa; color: #111827; }
html.theme-light .card { background: #ffffff !important; color: #111827; border-color: #e5e7eb !important; }
html.theme-light .sidebar { background: #ffffff !important; color: #111827; border-color: #e5e7eb !important; }
html.theme-light .nav-link { color: #4b5563; }
html.theme-light .nav-link:hover { background: rgba(0,0,0,0.04); color: #111827; }
html.theme-light .text-gray-400 { color: #6b7280 !important; }
html.theme-light .text-gray-500 { color: #6b7280 !important; }
html.theme-light .border-gray-800 { border-color: #e5e7eb !important; }
html.theme-light input, html.theme-light select, html.theme-light textarea {
    background: #ffffff !important; color: #111827 !important; border-color: #d1d5db !important;
}

.card { background: var(--bg-card); border: 1px solid var(--border-color); border-radius: 0.5rem; }
.btn-primary { background: var(--accent); color: var(--text-primary); }
.btn-primary:hover { background: var(--accent-hover); }
.nav-link.active { color: var(--accent); border-left: 3px solid var(--accent); background: rgba(229,57,53,0.08); }
table thead { background: rgba(255,255,255,0.02); }
table tbody tr:hover { background: rgba(255,255,255,0.03); }

/* Coming-soon toast */
#csToast {
    position: fixed; top: 80px; right: 24px; z-index: 9999;
    background: rgba(229,57,53,0.95); color: white; padding: 10px 16px;
    border-radius: 8px; font-size: 13px; box-shadow: 0 8px 24px rgba(0,0,0,0.4);
    transform: translateX(380px); transition: transform 0.25s ease-out;
}
#csToast.show { transform: translateX(0); }
