/* Botones de navegación deportiva */

/* Contenedor de las pestañas */
.public .public-tabs {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
    margin: 24px 0;
}

/* Botones normales */
.public .public-tabs button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;

    min-height: 44px;
    padding: 12px 20px;

    background: rgba(255, 255, 255, .88) !important;
    color: #101b4b !important;

    border: 1px solid rgba(255, 255, 255, .65) !important;
    border-radius: 12px !important;

    font-size: 13px;
    font-weight: 750;
    line-height: 1.3;

    box-shadow: 0 4px 14px rgba(0, 15, 65, .10);

    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);

    transition:
        background .18s ease,
        color .18s ease,
        transform .18s ease,
        box-shadow .18s ease;
}

/* Efecto al pasar el mouse */
.public .public-tabs button:hover:not(.active) {
    background: #ffe100 !important;
    color: #101b4b !important;
    border-color: #ffe100 !important;

    transform: translateY(-2px);
    box-shadow: 0 7px 18px rgba(0, 15, 65, .18);
}

/* Pestaña seleccionada */
/* Pestaña seleccionada: azul limpio, sin orilla amarilla */
.public .public-tabs button.active {
    background: linear-gradient(
        135deg,
        #0001c5 0%,
        #142c85 100%
    ) !important;

    color: #ffffff !important;
    border: 1px solid rgba(255, 255, 255, .18) !important;

    box-shadow: 0 5px 16px rgba(0, 1, 197, .25) !important;
}

/* Efecto suave al pasar el mouse */
.public .public-tabs button.active:hover {
    transform: translateY(-1px);
    box-shadow: 0 8px 20px rgba(0, 1, 197, .30) !important;
}

/* Mantener el estado activo al pasar el mouse */
.public .public-tabs button.active:hover {
    transform: translateY(-1px);
    box-shadow:
        0 8px 20px rgba(0, 1, 197, .30),
        inset 0 -3px 0 #ffe100;
}

/* Accesibilidad con teclado */
.public .public-tabs button:focus-visible {
    outline: 3px solid #ffe100 !important;
    outline-offset: 3px;
}

/* Teléfonos */
@media (max-width: 600px) {
    .public .public-tabs {
        flex-wrap: nowrap;
        overflow-x: auto;
        gap: 8px;
        padding: 4px 2px 12px;

        scrollbar-width: thin;
        -webkit-overflow-scrolling: touch;
    }

    .public .public-tabs button {
        flex: 0 0 auto;
        min-height: 42px;
        padding: 11px 16px;
        white-space: nowrap;
        font-size: 12px;
    }
}

/* Respetar usuarios que prefieren menos movimiento */
@media (prefers-reduced-motion: reduce) {
    .public .public-tabs button {
        transition: none;
    }

    .public .public-tabs button:hover {
        transform: none;
    }
}