/* Popup Styling */
.popup-mini {
    font-family: 'Outfit', sans-serif;
    color: #2c3e50;
    min-width: 180px;
}

.popup-header {
    background: #2c3e50;
    color: #fff;
    padding: 8px 12px;
    border-radius: 8px 8px 0 0;
    margin: -14px -14px 10px -14px;
    /* Compensate Leaflet padding */
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-weight: 700;
    font-size: 0.95rem;
}

.popup-header .v-icon {
    margin-right: 6px;
    font-size: 1.1rem;
}

.status-badge {
    font-size: 0.65rem;
    padding: 2px 6px;
    border-radius: 4px;
    background: rgba(255, 255, 255, 0.2);
    color: #b2bec3;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.status-badge.live {
    background: #2ecc71;
    color: #fff;
    box-shadow: 0 0 10px rgba(46, 204, 113, 0.4);
    animation: flash 2s infinite;
}

@keyframes flash {

    0%,
    100% {
        opacity: 1;
    }

    50% {
        opacity: 0.7;
    }
}

.popup-body {
    padding-bottom: 5px;
}

.stat-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 6px;
    font-size: 0.85rem;
}

.stat-label {
    color: #7f8c8d;
    font-weight: 600;
}

.stat-val {
    font-weight: 700;
    color: #2c3e50;
}

.stat-val-sm {
    font-size: 0.75rem;
    color: #95a5a6;
    margin-left: 8px;
}

.progress-bar-mini {
    flex-grow: 1;
    height: 6px;
    background: #eee;
    border-radius: 3px;
    margin: 0 10px;
    overflow: hidden;
}

.progress-bar-mini .fill {
    height: 100%;
    background: linear-gradient(90deg, #3498db, #2ecc71);
    border-radius: 3px;
}