.tabs-container {
    display: flex;
    align-items: center; /* Alinea verticalmente */
    background-color: #f8f8f8;
}
.prediction-container {
    text-align: center;
    margin-bottom: 20px;
}

.prediction-title {
    font-size: 18px;
    font-weight: bold;
    margin-bottom: 10px;
}

#tabs-aciertos {
    display: flex;
    flex-direction: column; /* Pestañas en vertical */
    width: 110px; /* Ancho ajustable */
    background: #ffffff;
    padding: 5px 0;
}

.tab {
    padding: 12px;
    cursor: pointer;
    font-weight: bold;
    text-align: left;
    position: relative;
    border-left: 4px solid transparent; /* Resaltar la pestaña activa */
    transition: all 0.3s ease;
}

/* Quita la línea gris */
#tabs-aciertos::after {
    display: none !important;
}

.tab.active {
    background-color: #c20017;
    color: white;
    border-left: 4px solid white;
}

/* Triángulo en la pestaña activa */
.tab.active::after {
    content: "";
    position: absolute;
    right: -5px; /* Ajusta la posición */
    top: 50%;
    transform: translateY(-50%);
    border-left: 10px solid #c20017; /* Color del triángulo */
    border-top: 8px solid transparent;
    border-bottom: 8px solid transparent;
}

#aciertos-widget {
    flex-grow: 1; /* Ocupa el resto del espacio */
    display: flex;
    justify-content: center;
    align-items: center;
   
}



.donut-label {
    font-size: 14px;
    font-weight: bold;
    text-anchor: middle;
}
        .percentage-text {
            fill: white;
            font-weight: bold;
        }


.legend {
    display: flex;
    justify-content: center;
    margin-top: 20px;
}

.legend div {
    width: 20px;
    height: 20px;
    margin-right: 5px;
    border-radius: 50%;
}
