/* ===== frontend\static\css\base.css ===== */
/* ===== VARIÁVEIS DE TEMA (DIA) ===== */
:root {
    --bg: #f0f2f5; --bg-panel: #ffffff; --bg-hover: #f5f5f5;
    --text-primary: #1a1a2e; --text-secondary: #333333; --text-muted: #888888;
    --border: #e0e0e0; --accent: #1976d2; --accent-hover: #1565c0;
    --shadow: 0 2px 8px rgba(0,0,0,0.08);
    --logo-opacity: 0.7;
}
.user-badge { color: #a0a0b0; font-size: 0.85rem; margin: 0 0.5rem; }
/* ===== TEMA NOTURNO ===== */
[data-theme="night"] {
    --bg: #121212; --bg-panel: #1e1e1e; --bg-hover: #2a2a2a;
    --text-primary: #efefef; --text-secondary: #e0e0e0; --text-muted: #cccccc;
    --border: #333333; --accent: #1e88e5; --accent-hover: #d2b019;
    --shadow: 0 2px 8px rgba(0,0,0,0.4);
    --logo-opacity: 0.9;
}
/* ===== RESET GLOBAL ===== */
* { margin: 0; padding: 0; box-sizing: border-box; }
body {
    font-family: "Segoe UI", Arial, sans-serif;
    background: var(--bg); color: var(--text-primary);
    overflow: hidden; height: 100vh;
}
/* ===== SCROLLBAR ===== */
::-webkit-scrollbar { width: 8px; height: 8px; }
::-webkit-scrollbar-thumb { background: var(--border); border-radius: 4px; }
::-webkit-scrollbar-track { background: transparent; }
/* ===== TRANSIÇÕES ===== */
#header, #search-box input, #search-box button, #search-results, #context-menu,
#ficha-panel, #footer, #toast, #loading {
    transition: background 0.3s, border-color 0.3s, color 0.3s, box-shadow 0.3s;
}