/* /assets/css/core/04_tema_escuro.css */
/* Estética Smoked Pearl Glass (Alabastro Fumê — Escuro Suave) */

html[data-theme="dark"] {
    --bg-outer: #18181a;
    --bg-shell: #222225;
    --bg-sidebar: #1d1d20;
    --bg-card: #2b2b2f;
    --bg-input: #343439;
    --bg-charcoal: #e5dec9; /* Inverte destaque ativo para Pérola Dourado suave */
    --border-white: rgba(255, 255, 255, 0.09);
    --border-subtle: rgba(255, 255, 255, 0.06);
    --text-dark: #f2f2ef;
    --text-muted: #9e9ea6;
    --text-faint: #6e6e77;
    --pearl-gold: #3d392e;
}

/* Ajustes finos de contraste para elementos específicos no modo escuro */
html[data-theme="dark"] .nav-tile.active,
html[data-theme="dark"] .pill-action,
html[data-theme="dark"] .sidebar-brand-badge,
html[data-theme="dark"] .pro-badge-ok {
    color: #1c1c1e;
}

html[data-theme="dark"] .nav-tile:hover {
    background-color: #343439;
}

html[data-theme="dark"] .metrics-strip {
    background-color: rgba(43, 43, 47, 0.90);
}

html[data-theme="dark"] .spool-fan-card.fan-mid {
    background-color: #323237;
}

html[data-theme="dark"] .spool-fan-card.fan-center {
    background: linear-gradient(145deg, #353229, #474234);
    border-color: rgba(229, 222, 201, 0.55);
}

html[data-theme="dark"] .fan-thumb {
    background-color: rgba(0, 0, 0, 0.25);
}

html[data-theme="dark"] .bento-pill {
    background-color: var(--bg-input);
    color: var(--text-dark);
}

html[data-theme="dark"] .avatar-circle {
    background-color: #343439;
    color: #f2f2ef;
    border-color: rgba(255, 255, 255, 0.2);
}