.chart-container {
    position: relative;
    width: 100%;
    max-width: 900px;
    height: 400px;
    margin: 0 auto;
}

.gauge-wrapper {
    width: 30%;
    position: relative;
    flex: 0 0 30%;
}

#results-table th,
#results-table td {
    font-weight: normal;
}

#results-table td:first-child {
    text-align: left;
}

#results-table td:not(:first-child),
#results-table th:not(:first-child) {
    text-align: center;
}

.loader-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    /* Fondo semitransparente */
    display: none;
    /* Oculto por defecto */
    justify-content: center;
    align-items: center;
    z-index: 9999;
    /* Asegura que esté al frente */
}

.loader {
    border: 16px solid #f3f3f3;
    border-top: 16px solid #3498db;
    border-radius: 50%;
    width: 120px;
    height: 120px;
    animation: spin 2s linear infinite;
}

@keyframes spin {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}