.mapa-brasil-container {
    margin: 0 auto;
    background: white;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.mapa-brasil-header {
    padding: 30px;
    background: linear-gradient(135deg, #0066cc 0%, #0052a3 100%);
    color: white;
    text-align: center;
}

.mapa-brasil-header h1 {
    font-size: 28px;
    margin-bottom: 5px;
}

.mapa-brasil-header p {
    font-size: 14px;
    opacity: 0.9;
}

.mapa-brasil-canvas-wrapper {
    position: relative;
    background: #fff;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 750px;
    padding: 20px;
}

/* MOBILE: remover min-height e padding excessivo */
@media (max-width: 768px) {
    .mapa-brasil-canvas-wrapper {
        min-height: auto;
        /* Remove altura mínima fixa */
        padding: 10px 0;
        /* Reduz padding vertical */
    }

    .mapa-brasil-header {
        padding: 20px 15px;
        /* Header menor no mobile */
    }

    .mapa-brasil-header h1 {
        font-size: 22px;
    }

    .mapa-brasil-legend {
        padding: 15px;
        gap: 20px;
    }
}

.mapa-brasil-canvas {
    max-width: 100%;
    height: auto;
    display: block;
}

.mapa-brasil-tooltip {
    position: fixed;
    background: #0066cc;
    color: white;
    padding: 10px 14px;
    border-radius: 6px;
    font-size: 13px;
    font-weight: 500;
    pointer-events: none;
    white-space: nowrap;
    z-index: 1000;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    display: none;
    opacity: 0;
    transform: scale(0.95);
    transition: opacity 0.2s ease, transform 0.2s ease;
}

.mapa-brasil-tooltip.active {
    display: block;
    opacity: 1;
    transform: scale(1);
}

.mapa-brasil-loading {
    text-align: center;
    color: #666;
    padding: 40px;
}

.mapa-brasil-legend {
    display: flex;
    gap: 40px;
    padding: 20px 30px;
    background: #f9f9f9;
    border-top: 1px solid #e0e0e0;
    justify-content: center;
    flex-wrap: wrap;
}

.mapa-brasil-legend-item {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 14px;
    color: #333;
}

.mapa-brasil-legend-dot {
    width: 14px;
    height: 14px;
    border-radius: 50%;
}

.mapa-brasil-legend-dot.cliente {
    background: #0066cc;
    animation: mapa-brasil-pulse 2s ease-in-out infinite;
}

.mapa-brasil-legend-dot.cobertura {
    background: #c0c0c0;
    animation: mapa-brasil-float 3s ease-in-out infinite;
}

@keyframes mapa-brasil-pulse {

    0%,
    100% {
        box-shadow: 0 0 0 0 rgba(0, 102, 204, 0.7);
    }

    50% {
        box-shadow: 0 0 0 6px rgba(0, 102, 204, 0);
    }
}

@keyframes mapa-brasil-float {

    0%,
    100% {
        opacity: 0.7;
        transform: translateY(0);
    }

    50% {
        opacity: 1;
        transform: translateY(-2px);
    }
}