/* =============================================
   ÍCONES (Lucide) — ver wwwroot/js/icons.js
   O ícone herda font-size (tamanho = 1em) e color (stroke = currentColor),
   então classes de texto/cor existentes continuam funcionando.
   ============================================= */

/* :where() = especificidade zero, para não sobrescrever display de outras classes (d-none, etc.) */
:where([data-lucide]) {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 1em;
    height: 1em;
    line-height: 1;
    font-style: normal;
    vertical-align: -0.125em;
    flex-shrink: 0;
}

[data-lucide] > svg.lucide {
    display: block;
    width: 100%;
    height: 100%;
}

/* Modificadores (equivalentes aos antigos fa-*) */
.icon-xs   { font-size: 0.75em; }
.icon-sm   { font-size: 0.875em; }
.icon-lg   { font-size: 1.33em; }
.icon-2x   { font-size: 2em; }
.icon-3x   { font-size: 3em; }
.icon-5x   { font-size: 5em; }
.icon-fw   { width: 1.25em; }
.icon-fill svg.lucide { fill: currentColor; }
.icon-thin svg.lucide { stroke-width: 1.5; }

.icon-spin { animation: icon-spin 1s linear infinite; }
@keyframes icon-spin {
    from { transform: rotate(0deg); }
    to   { transform: rotate(360deg); }
}
