.custom-select-style {
    background: #332e34;
    color: #fff;
    border: none;
    border-radius: 10px;
    padding: 15px 25px;
    margin: 30px auto 16px auto;
    font-size: 1.2rem;
    display: block;
    width: 350px;
    text-align: center;
    font-weight: 400;
    box-shadow: none;
    outline: none;
}

.legend-bar {
    background: #453d47;
    border-radius: 10px;
    padding: 8px 18px;
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 0 auto 24px auto;
    width: fit-content;
    gap: 16px;
}

.legend-item {
    display: flex;
    align-items: center;
    font-size: 1.1rem;
    color: #fff;
    font-weight: 400;
    margin-right: 10px;
}

.legend-dot {
    width: 18px;
    height: 18px;
    border-radius: 50%;
    display: inline-block;
    margin-right: 6px;
    border: 2px solid #fff;
}

.dot-vme {
    background: #d84f6f;
}

.dot-ext {
    background: #9577d8;
}

.dot-exs {
    background: #ffd243;
}

.dot-adv {
    background: #94d885;
}

.dot-cev {
    background: #b7e19f;
}

.dot-pie {
    background: #ffb347;
}

.dot-pes {
    background: #a1a1a1;
}

.dot-ras {
    background: #3ed6bb;
}

.dot-vms {
    background: #d3d3d3;
}

.custom-select-secondary {
    background: #332e34;
    color: #fff;
    border: none;
    border-radius: 10px;
    padding: 10px 18px;
    margin: 0 auto 8px auto;
    font-size: 1.15rem;
    display: block;
    width: 200px;
    text-align: center;
    font-weight: 400;
    box-shadow: none;
    outline: none;
}

.btn-filtro-estadisticas {
    background: #332e34;
    color: #fff;
    border: 2px solid #fff;
    border-radius: 8px;
    font-size: 1.1rem;
    font-weight: 600;
    padding: 7px 34px;
    margin: 0 auto 30px auto;
    display: block;
    transition: background 0.2s, color 0.2s;
}

.btn-filtro-estadisticas:hover {
    background: #fff;
    color: #332e34;
    text-decoration: none;
}

.chart-container-outer {
    background: #191919;
    padding: 20px 0 0 0;
    margin: 40px 0 0 0;
}

.chart-container-inner {
    background: #232323;
    border-radius: 4px;
    margin: 0 auto;
    width: 96%;
    min-height: 340px;
}

.apexcharts-legend-text {
    font-size: 15px !important;
    font-weight: bold !important;
    color: #fff !important;
}

@media (max-width: 600px) {
    .custom-select-style, .legend-bar, .custom-select-secondary, .facultad-btn {
        width: 98% !important;
        font-size: 1rem;
    }

    .legend-bar {
        flex-wrap: wrap;
        gap: 10px;
    }

    .chart-container-inner {
        font-size: 1rem;
    }
}
