/* Estilos para el botón de Discord y niveles de población */
.discord-sidebox-link {
    display: block;
    background-color: #5865F2;
    color: #ffffff !important;
    text-align: center;
    padding: 10px;
    border-radius: 5px;
    font-weight: bold;
    text-decoration: none;
    margin-bottom: 15px;
    transition: background-color 0.3s;
}

.discord-sidebox-link:hover {
    background-color: #4752C4;
    text-decoration: none;
}

.discord-sidebox-link i {
    margin-right: 8px;
}

.population-graph-container {
    padding: 10px 0;
}

.population-label {
    font-size: 0.9em;
    margin-bottom: 5px;
    display: block;
}

.population-dots {
    display: flex;
    justify-content: center;
    gap: 4px;
}

.pop-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background-color: #333; /* Color por defecto (vacío) */
    display: inline-block;
}

/* Colores por niveles */
.pop-low .pop-dot:nth-child(-n+1) { background-color: #4caf50; } /* Verde */
.pop-base .pop-dot:nth-child(-n+2) { background-color: #8bc34a; } /* Verde claro */
.pop-medium .pop-dot:nth-child(-n+4) { background-color: #ffeb3b; } /* Amarillo */
.pop-medium-high .pop-dot:nth-child(-n+6) { background-color: #ff9800; } /* Naranja */
.pop-high .pop-dot:nth-child(-n+8) { background-color: #f44336; } /* Rojo */
.pop-full .pop-dot:nth-child(-n+10) { background-color: #9c27b0; } /* Púrpura */

/* Estilo para el texto del nivel */
.pop-text {
    font-weight: bold;
    margin-top: 5px;
    display: block;
}

.pop-low .pop-text { color: #4caf50; }
.pop-base .pop-text { color: #8bc34a; }
.pop-medium .pop-text { color: #ffeb3b; }
.pop-medium-high .pop-text { color: #ff9800; }
.pop-high .pop-text { color: #f44336; }
.pop-full .pop-text { color: #9c27b0; }
