html {
    scroll-behavior: smooth;
}

body {
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* ====== SELECTION BAR CORRIGIDA ====== */
.bright.qv-panel-current-selections,
.bright.qv-panel-current-selections .wrap {
    background-color: transparent !important;
    font-weight: bold !important;
    border: none !important;
}

#CurrentSelections { 
    height: 40px; 
    background-color: rgba(255, 255, 255, 0.15); 
}

/* Força a cor do texto e dos ícones para o azul escuro do cabeçalho (#1e3a8a) garantindo total legibilidade */
#CurrentSelections i, 
#CurrentSelections span, 
#CurrentSelections .text, 
#CurrentSelections .label { 
    color: #1e3a8a !important; 
}

.skeleton-loader {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    gap: 8px;
    animation: skeletonFadeIn 0.4s ease;
}

@keyframes skeletonFadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

.skeleton-bar {
    background: linear-gradient(90deg, #f1f5f9 25%, #e2e8f0 37%, #f1f5f9 63%);
    background-size: 400% 100%;
    animation: skeletonShimmer 1.6s ease infinite;
    border-radius: 6px;
}

@keyframes skeletonShimmer {
    0% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

.skeleton-dots {
    display: flex;
    align-items: center;
    gap: 6px;
}

.skeleton-dots span {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #0ea5e9;
    opacity: 0.4;
}

.kpi-card {
    position: relative;
    overflow: hidden;
    transition: transform 0.25s cubic-bezier(.4, 0, .2, 1), box-shadow 0.25s cubic-bezier(.4, 0, .2, 1);
}

.kpi-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 25px -5px rgba(30, 58, 138, 0.10);
}

.section-title {
    position: relative;
}

.section-title::after {
    content: '';
    display: block;
    width: 60px;
    height: 4px;
    background: linear-gradient(90deg, #0ea5e9, #38bdf8);
    border-radius: 2px;
    margin-top: 8px;
}

.filtro-row {
    display: grid;
    grid-template-columns: 118px 1px 1fr;
    align-items: center;
    column-gap: 12px;
}

.filtro-row .filtro-label {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    padding-right: 4px;
}

.filtro-row .filtro-divider {
    height: 32px;
    background: rgba(255, 255, 255, 0.20);
}

.qv-object, .qv-inner-object { 
    background-color: transparent !important;
}

::-webkit-scrollbar { width: 8px; height: 8px; }
::-webkit-scrollbar-track { background: #f0f9ff; border-radius: 4px; }
::-webkit-scrollbar-thumb { background: #0ea5e9; border-radius: 4px; }