body {
    background-color: #f8fafc;
    font-family: 'Inter', sans-serif;
    color: #334155;
}

.card {
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.card:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.1), 0 8px 10px -6px rgba(0, 0, 0, 0.1);
}

.loader {
    border: 2px solid #f3f3f3;
    border-top: 2px solid #3b82f6;
    border-radius: 50%;
    width: 14px;
    height: 14px;
    animation: spin 1s linear infinite;
    display: inline-block;
}

@keyframes spin {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

#map {
    height: 100%;
    width: 100%;
    border-radius: 0.75rem;
    z-index: 1;
}

.custom-scroll::-webkit-scrollbar {
    width: 5px;
}

.custom-scroll::-webkit-scrollbar-thumb {
    background-color: #cbd5e1;
    border-radius: 10px;
}

/* --- GAUGE STYLES --- */
svg.gauge-svg {
    overflow: visible;
}

.gauge-bg {
    stroke: #cbd5e1;
    fill: #f1f5f9;
    opacity: 0.5;
}

.gauge-fill {
    stroke: #10b981;
    stroke-linecap: round;
    transition: stroke-dasharray 0.6s cubic-bezier(0.4, 0, 0.2, 1), stroke 0.3s ease;
}

.no-anim-trans {
    transition: none !important;
}

.gauge-pulse {
    animation: gaugeGlow 1.5s ease-in-out infinite alternate;
}

@keyframes gaugeGlow {
    from {
        filter: drop-shadow(0 0 2px rgba(16, 185, 129, 0.4));
        stroke-width: 2.5;
    }

    to {
        filter: drop-shadow(0 0 8px rgba(16, 185, 129, 0.8));
        stroke-width: 2.8;
    }
}

.blink {
    animation: blinker 1.5s linear infinite;
}

@keyframes blinker {
    50% {
        opacity: 0.5;
    }
}