﻿.banner-Distribuidores {
    width: 100%;
    margin-top: 124px; /* Compensa el navbar fixed */
    overflow: hidden;
    display: flex;
    justify-content: flex-start;
    align-items: center;
    background-position: left;
    background: var(--color-white);
}

/* ===== SECCIÓN DE DISTRIBUIDORES ===== */
.news-section {
    background: #fff;
    color: #1D1D1B;
}

    .news-section p {
        color: #1D1D1B !important;
    }

/* ===== SELECTOR ===== */
#departamentoSelect {
    border-radius: 10px;
    padding: 12px;
    font-size: 1.1rem;
}

/* ===== INFO DISTRIBUIDOR ===== */
#infoDistribuidor {
    border-left: 6px solid #dc3545;
    background: #fff;
    color: #1D1D1B;
    border-radius: 10px;
    transition: all .3s ease-in-out;
}

    #infoDistribuidor h4 {
        font-weight: 700;
        color: #1D1D1B;
    }

    #infoDistribuidor p {
        font-size: 1.1rem;
    }

/* ===== BOTONES ===== */
.btn-danger {
    border-radius: 10px;
    font-size: 1.1rem;
    padding: 12px 25px;
    font-weight: 600;
}

/* ===== MODALES ===== */
.modal-header {
    border-bottom: none;
}

.modal-content {
    border-radius: 15px;
    overflow: hidden;
}

.modal-body {
    font-size: 1.1rem;
    color: #1D1D1B;
}

.btn-close {
    filter: invert(1);
}


/****/

.container-main {
    max-width: 1550px;
    margin: 0 auto;
    padding: 20px;
}

h1 {
    text-align: center;
    color: white;
    margin-bottom: 10px;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
    font-weight: 700;
}

.subtitle {
    text-align: center;
    color: rgba(255,255,255,0.9);
    margin-bottom: 30px;
    font-size: 1.1rem;
}

.map-wrapper {
    background: white;
    border-radius: 15px;
    padding: 20px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.2);
    margin-bottom: 20px;
}

#map {
    width: 80%;
    !import height: 500px;
    border-radius: 10px;
}

.controls-wrapper {
    background: white;
    border-radius: 15px;
    padding: 25px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.2);
    margin-bottom: 20px;
}

.info-panel {
    background: white;
    border-radius: 15px;
    padding: 25px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.2);
    max-height: 800px;
    overflow-y: auto;
}

    .info-panel h3 {
        color: #667eea;
        margin-bottom: 15px;
        border-bottom: 2px solid #667eea;
        padding-bottom: 10px;
    }

.distribuidor-card {
    background: #f8f9fa;
    padding: 15px;
    border-radius: 10px;
    border-left: 4px solid #667eea;
    margin-bottom: 15px;
    transition: transform 0.2s, box-shadow 0.2s;
}

    .distribuidor-card:hover {
        transform: translateX(5px);
        box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    }

    .distribuidor-card h5 {
        color: #333;
        margin-bottom: 8px;
        font-weight: 600;
    }

    .distribuidor-card p {
        margin-bottom: 5px;
        color: #666;
        font-size: 0.95rem;
    }

    .distribuidor-card .badge {
        background: #667eea;
        color: white;
        padding: 5px 10px;
        border-radius: 15px;
        font-size: 0.8rem;
    }

.form-select-lg {
    border: 2px solid #667eea;
    border-radius: 10px;
}

    .form-select-lg:focus {
        border-color: #764ba2;
        box-shadow: 0 0 0 0.2rem rgba(102, 126, 234, 0.25);
    }

.legend {
    background: white;
    padding: 10px;
    border-radius: 5px;
    box-shadow: 0 0 15px rgba(0,0,0,0.2);
    line-height: 1.5;
}

    .legend i {
        width: 18px;
        height: 18px;
        float: left;
        margin-right: 8px;
        opacity: 0.9;
        border-radius: 50%;
    }

.marker-distribuidor {
    background: #e74c3c;
    border: 3px solid white;
    border-radius: 50%;
    box-shadow: 0 2px 5px rgba(0,0,0,0.3);
}

.custom-popup {
    font-family: 'Segoe UI', sans-serif;
}

    .custom-popup h4 {
        color: #667eea;
        margin-bottom: 10px;
        font-size: 1.1rem;
    }

    .custom-popup p {
        margin-bottom: 5px;
        font-size: 0.9rem;
    }

.stats-badge {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 8px 16px;
    border-radius: 20px;
    font-weight: 600;
    display: inline-block;
    margin-bottom: 15px;
}

.no-results {
    text-align: center;
    color: #666;
    padding: 40px;
    font-style: italic;
}




/*boton Flotante*/
.flotante {
    position: fixed;
    bottom: 60px;
    right: 80px;
    z-index: 9999;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
}


.btn-flotante {
    display: flex;
    align-items: center;
    gap: 12px;
    background: #1e5ec9;
    color: white;
    border: none;
    padding: 14px 22px;
    border-radius: 50px;
    font-weight: bold;
    font-size: 16px;
    box-shadow: 0 10px 25px rgba(0,0,0,0.35);
    cursor: pointer;
    transition: all .3s ease;
    animation: pulso 2.5s infinite;
}

    .btn-flotante i {
        width: 42px;
        height: 42px;
        border-radius: 50%;
        background: rgba(255,255,255,0.2);
        display: flex;
        align-items: center;
        justify-content: center;
        font-size: 18px;
        transition: all .3s ease;
    }

    .btn-flotante:hover {
        background: #d20a11;
        transform: translateY(-5px) scale(1.05);
        box-shadow: 0 15px 35px rgba(0,0,0,0.5);
    }

        .btn-flotante:hover i {
            background: rgba(255,255,255,0.3);
            transform: rotate(10deg) scale(1.1);
        }

.flotante {
    position: fixed;
    bottom: 60px;
    right: 80px;
    z-index: 9999;
}

.ondas-container {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    pointer-events: none;
}

.onda {
    position: absolute;
    width: 200px;
    height: 200px;
    border: 3px solid #1e5ec9;
    border-radius: 50%;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    animation: expand-ring 2s ease-out infinite;
    opacity: 0;
}

.onda-2 {
    animation-delay: 1s;
    border-color: #ff6b35;
}

@keyframes expand-ring {
    0% {
        width: 60px;
        height: 60px;
        opacity: 0.8;
    }

    100% {
        width: 200px;
        height: 200px;
        opacity: 0;
    }
}

.btn-flotante {
    position: relative;
    z-index: 10;
    display: flex;
    align-items: center;
    gap: 12px;
    background: #1e5ec9;
    color: white;
    border: none;
    padding: 14px 22px;
    border-radius: 50px;
    font-weight: bold;
    font-size: 16px;
    box-shadow: 0 10px 25px rgba(0,0,0,0.35);
    cursor: pointer;
    transition: all .3s ease;
}


