/*
 * Fase 0 do redesign — reset e estilos de base compartilhados, hoje
 * duplicados em cada uma das páginas com sidebar (extraído de
 * public/dashboard.html). Sem mudança visual nesta fase.
 */

*{ box-sizing: border-box; }

/* Barra de rolagem com as cores do tema (em vez do cinza padrão do SO). */
html::-webkit-scrollbar, body::-webkit-scrollbar, ::-webkit-scrollbar{ width:10px; height:10px; }
html::-webkit-scrollbar-track, body::-webkit-scrollbar-track, ::-webkit-scrollbar-track{ background:var(--bg); }
html::-webkit-scrollbar-thumb, body::-webkit-scrollbar-thumb, ::-webkit-scrollbar-thumb{ background:var(--border); border-radius:100px; border:2px solid var(--bg); }
html::-webkit-scrollbar-thumb:hover, body::-webkit-scrollbar-thumb:hover, ::-webkit-scrollbar-thumb:hover{ background:var(--gold-dim); }
/* scrollbar-color/scrollbar-width: precisa em CADA elemento com overflow
   próprio (não herda de forma confiável em Chromium) — aplicado via `*`. */
*{ scrollbar-color: var(--border) var(--bg); scrollbar-width: thin; }

html, body{
  margin: 0;
  min-height: 100%;
  background: var(--bg);
  color: var(--text);
  font-family: 'Inter', -apple-system, sans-serif;
  -webkit-font-smoothing: antialiased;
}

/* Ícones sol/lua do switch de tema — sol visível só no tema claro, lua
   só no escuro, nunca os dois ao mesmo tempo (JS troca via .light-active). */
.theme-icon-sun, .theme-icon-moon{ display:none; }
.theme-toggle-item .theme-icon-moon{ display:block; }
.theme-toggle-item.light-active .theme-icon-sun{ display:block; }
.theme-toggle-item.light-active .theme-icon-moon{ display:none; }
