﻿.no-data-resultados {
    display: flex;
    justify-content: center;
    color: darkred;
    font-family: Arial;
    font-weight: bold;
    font-size: 50px;
    margin-bottom: 290px;
    margin-top: 320px;
}

.titulo-tabla {
    text-align: center;
    font-size: 30px;
    font-weight: bold;
    margin-top: 30px;
    font-family: Arial, sans-serif;
    font-weight: bold;
    color:#38B000;
}

.tabla-resultados {
    width: 100%;
    border-collapse: collapse;
    margin: 20px auto;
    font-family: Arial, sans-serif;
    font-weight: bold;
    background-color:#1f1f1f;
    color: white;
}

    .tabla-resultados th,
    .tabla-resultados td {
        border: 1px solid #444;
        padding: 8px;
        text-align: center;
        font-family: Arial, sans-serif;
        font-weight: bold;
    }

    /* Encabezado general: se sobrescribe por clases dinámicas abajo */
    .tabla-resultados th {
        font-weight: bold;
    }

        /* Primera columna (Piloto) */
        .tabla-resultados th:first-child {
            background-color: #38B000;
            color:black;
        }

        /* Última columna (Total Puntos) */
        .tabla-resultados th:last-child {
            background-color: #38B000;
            color: black;
        }

        /* Columnas de circuitos (entre la primera y la última) */
        .tabla-resultados th:not(:first-child):not(:last-child) {
            background-color: #004B23;
            color: white;
        }

.posicion-oro {
    background-color: #FFD700; /* Oro */
}

.posicion-plata {
    background-color: #C0C0C0; /* Plata */
}

.posicion-bronce {
    background-color: #CD7F32; /* Bronce */
}

.navegacion-temporadas {
    display: flex;
    width: 500px;
    justify-content: space-around;
    align-items: center;
    gap: 20px;
    margin-bottom: 10px;
    margin-left:700px;
    background-color:black
}

.boton-flecha {
    background-color: #70E000;
    color: white;
    font-size: 25px;
    border: none;
    padding: 6px 12px;
    border-radius: 5px;
    cursor: pointer;
}

    .boton-flecha:hover {
        background-color: #38B000;
    }

    .boton-flecha:disabled {
        background-color: #ccc;
        cursor: not-allowed;
    }

.selector-resultados {
    margin-top: 10px;
    text-align: center;
    margin-bottom: 15px;
}

.boton-seleccion {
    background-color: #70E000;
    color: black;
    border: none;
    padding: 8px 14px;
    font-size: 20px;
    cursor: pointer;
    margin: 0 5px;
    border-radius: 4px;
}

    .boton-seleccion:hover {
        cursor: pointer;
        background-color: #38B000;
    }


    .boton-seleccion.activo {
        background-color: #004B23;
        color: white;
    }

        .boton-seleccion.activo:hover {
            cursor: not-allowed;
        }

.tabla-wrapper {
    max-height: 390px;
    overflow-y: auto;
}

.hidden-col {
    display: none;
}

.paginacion-circuitos {
    margin-top: 20px;
    margin-bottom: 20px;
    text-align: center;
}

.btn-pagina {
    background-color: #70E000;
    border: none;
    margin: 0 4px;
    padding: 6px 10px;
    font-weight: bold;
    cursor: pointer;
    border-radius: 4px;
}

    .btn-pagina.pagina-activa {
        background-color: #004B23;
        color: white;
    }

.boton-flecha:disabled {
    background-color: #ccc;
    color: #666;
    cursor: not-allowed;
}

/* Estado sin datos */
.no-data-wrap {
    min-height: calc(100vh - 160px);
    display: flex;
    flex-direction: column;
    justify-content: center; /* centra vertical */
    align-items: center; /* centra horizontal */
    gap: 14px;
    text-align: center;
}

.no-data-text {
    color: #d9534f; /* rojo legible */
    font-family: Arial, sans-serif;
    font-weight: bold;
    font-size: 20px;
    line-height: 1.4;
    margin: 0;
}

/* Botón estilo “secondary” (igual que en simulación) */
.secondary {
    background: #1f1f1f;
    color: #70E000;
    border: 1px solid #333;
    border-radius: 12px;
    padding: 10px 14px;
    font-weight: 700;
    cursor: pointer;
    font-family: inherit;
}

    .secondary:disabled {
        opacity: .6;
        cursor: not-allowed;
    }

