/* static/css/core/base_reset.css */
/* Reset global, scrollbars ultrafinas, toque nativo mobile e estabilização de ícones */

.no-scrollbar::-webkit-scrollbar { display: none; }
.no-scrollbar { -ms-overflow-style: none; scrollbar-width: none; }

/* Scrollbar Global Moderna e Ultrafina */
::-webkit-scrollbar { width: 5px; height: 5px; }
::-webkit-scrollbar-track { background: transparent; }
::-webkit-scrollbar-thumb { background: #cbd5e1; border-radius: 10px; }
.dark ::-webkit-scrollbar-track { background: transparent; }
.dark ::-webkit-scrollbar-thumb { background: #334155; }
::-webkit-scrollbar-thumb:hover { background: var(--cor-destaque, #9D38DC); }

/* [APP NATIVE FEEL] Aparência 100% nativa em mobile */
@media (max-width: 1024px) {
    * { -webkit-tap-highlight-color: transparent; -webkit-touch-callout: none; -webkit-user-select: none; user-select: none; }
    input, textarea, select, [contenteditable="true"], .allow-select, .select-text { -webkit-user-select: text !important; user-select: text !important; }
    html, body { touch-action: pan-x pan-y; overscroll-behavior-y: none !important; overscroll-behavior: none !important; }
}

.dark select option { background-color: #1e293b !important; color: #ffffff !important; }
[x-cloak] { display: none !important; }

/* ESTABILIZAÇÃO GLOBAL DE ÍCONES (Evita Layout Shifts / Pulos antes da injeção de SVGs) */
i[data-lucide] {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    flex-shrink: 0 !important;
    vertical-align: middle !important;
    box-sizing: border-box !important;
}
i[data-lucide].w-4 { width: 1rem !important; height: 1rem !important; min-width: 1rem !important; min-height: 1rem !important; }
i[data-lucide].w-5 { width: 1.25rem !important; height: 1.25rem !important; min-width: 1.25rem !important; min-height: 1.25rem !important; }
i[data-lucide].w-6 { width: 1.5rem !important; height: 1.5rem !important; min-width: 1.5rem !important; min-height: 1.5rem !important; }
i[data-lucide].w-3\.5, i[data-lucide].w-3 { width: 0.875rem !important; height: 0.875rem !important; min-width: 0.875rem !important; min-height: 0.875rem !important; }
i[data-lucide].w-2\.5 { width: 0.625rem !important; height: 0.625rem !important; min-width: 0.625rem !important; min-height: 0.625rem !important; }

/* ESTABILIZAÇÃO TOTAL DA PÁGINA */
html, body { scroll-behavior: auto !important; overflow: visible !important; height: auto !important; overscroll-behavior-y: none !important; overscroll-behavior: none !important; -webkit-overflow-scrolling: touch; }

/* ACELERAÇÃO E ESTABILIZAÇÃO DAS TRANSIÇÕES (SPA) */
::view-transition-group(*) { animation-duration: 0.25s; animation-timing-function: ease-in-out; }
::view-transition-old(*), ::view-transition-new(*) { mix-blend-mode: normal; animation: none; height: 100%; }
