@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@400;500;600;700;800&display=swap');

/* Escala global compacta para enquadrar todo o painel dentro do campo de visão da tela */
html {
    font-size: 12.5px;
    overflow-x: hidden;
}

@media (min-width: 1537px) {
    html {
        font-size: 13.25px;
    }
}

@media (min-width: 1921px) {
    html {
        font-size: 14px;
    }
}

body {
    font-family: 'Plus Jakarta Sans', sans-serif;
    overflow-x: hidden;
}

/* Custom Scrollbars */
::-webkit-scrollbar {
    width: 6px;
    height: 6px;
}
::-webkit-scrollbar-track {
    background: #f1f5f9;
}
::-webkit-scrollbar-thumb {
    background: #cbd5e1;
    border-radius: 9999px;
}
::-webkit-scrollbar-thumb:hover {
    background: #94a3b8;
}

/* Tabs styling */
.tab-btn.active {
    border-color: #02687E;
    color: #02687E;
    background-color: rgba(2, 104, 126, 0.06);
}
.tab-btn {
    border-bottom-width: 3px;
    border-color: transparent;
}

/* Card hover transitions */
.hover-card {
    transition: all 0.2s ease-in-out;
}
.hover-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.05), 0 8px 10px -6px rgba(0, 0, 0, 0.05);
}

/* Spinner animation */
.spin-slow {
    animation: spin 1s linear infinite;
}

@keyframes spin {
    from {
        transform: rotate(0deg);
    }
    to {
        transform: rotate(360deg);
    }
}

/* 3. Estilo Clean Glass & Soft Elevation (Stripe / Linear Inspired) */
.soft-card {
    background: #ffffff;
    border: 1px solid rgba(226, 232, 240, 0.70);
    border-radius: 1rem; /* rounded-2xl */
    box-shadow: 0 4px 20px -4px rgba(2, 104, 126, 0.06), 0 2px 6px -1px rgba(15, 23, 42, 0.02);
    transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

.soft-card:hover {
    border-color: rgba(2, 104, 126, 0.25);
    box-shadow: 0 10px 25px -4px rgba(2, 104, 126, 0.10), 0 4px 10px -2px rgba(15, 23, 42, 0.03);
}

/* 1. Fonte Tabular para Escaneabilidade Rápida */
.tabular-nums {
    font-variant-numeric: tabular-nums;
    font-feature-settings: "tnum";
}

/* Chips e Pills Interativos */
.filter-chip {
    transition: all 0.15s ease-in-out;
}
.filter-chip:hover {
    transform: translateY(-1px);
}

