/* ===== Banner ===== */
.lista-ganadores__banner {
    width: 100%;
    display: flex;
    justify-content: center;
    padding: 1.875rem 2.5rem;
    box-sizing: border-box;
}

.lista-ganadores__banner img {
    width: 100%;
    max-width: 75rem;
    height: auto;
    display: block;
    border-radius: 0.75rem;
}

@media (max-width: 768px) {
    .lista-ganadores__banner {
        padding: 1rem;
    }

    .lista-ganadores__banner img {
        border-radius: 0.5rem;
    }
}

/* ===== Encabezado ===== */
.lista-ganadores__head {
    text-align: center;
    padding: 2.5rem 1.25rem 0.625rem;
}

.lista-ganadores__title {
    color: var(--azul);
    font-weight: 700;
    font-size: 2.8rem;
    line-height: 1.1;
}

.lista-ganadores__title--sub {
    font-size: 2.2rem;
    margin-top: 0.375rem;
}

.lista-ganadores__permiso {
    color: var(--gris);
    font-size: 1.1rem;
    margin-top: 0.75rem;
}

/* ===== Tabla ===== */
.lista-ganadores__tabla {
    max-width: 75rem;
    margin: 1.25rem auto 3.75rem;
    padding: 0 1.25rem;
}

.lista-ganadores__buscador {
    display: flex;
    justify-content: flex-end;
    margin-bottom: 1rem;
}

.lista-ganadores__buscador input {
    width: 100%;
    max-width: 22.5rem;
    padding: 0.625rem 1rem;
    font-size: 1rem;
    border: 2px solid var(--dorado);
    border-radius: 0.5rem;
    outline: none;
    font-family: inherit;
}

.lista-ganadores__buscador input:focus {
    border-color: var(--azul);
}

.lista-ganadores__scroll {
    overflow-x: auto;
    border-radius: 0.625rem;
    box-shadow: 0 0.25rem 1.125rem rgba(0, 0, 0, 0.08);
}

#lista-ganadores-table {
    width: 100%;
    border-collapse: collapse;
    background: var(--blanco);
    font-size: 0.95rem;
}

#lista-ganadores-table thead th {
    background: var(--azul);
    color: var(--blanco);
    font-weight: 600;
    text-align: left;
    padding: 0.875rem 1rem;
    position: sticky;
    top: 0;
    z-index: 1;
}

#lista-ganadores-table tbody td {
    padding: 0.75rem 1rem;
    border-bottom: 1px solid #ececec;
    color: var(--gris);
    vertical-align: top;
}

#lista-ganadores-table tbody tr:nth-child(even) {
    background: #f7f9fc;
}

#lista-ganadores-table tbody tr:hover {
    background: #fdf6e3;
}

#lista-ganadores-table tbody td:first-child {
    font-weight: 700;
    color: var(--azul);
    text-align: center;
}

/* ===== Responsive ===== */
@media (max-width: 768px) {
    .lista-ganadores__title {
        font-size: 2rem;
    }

    .lista-ganadores__title--sub {
        font-size: 1.6rem;
    }

    .lista-ganadores__buscador {
        justify-content: center;
    }

    .lista-ganadores__buscador input {
        max-width: 100%;
    }

    #lista-ganadores-table {
        font-size: 0.85rem;
    }
}
