body {
    font-family: Arial, sans-serif;
    text-align: center;
    padding: 10px;
    color: white;
    background: linear-gradient(to bottom, black, #B30410);
    min-height: 100vh;
    margin: 0;
    overflow-x: hidden;
    overflow-y: auto;
}

#softwareName {
    position: absolute;
    top: 5px;
    right: 15px;
    font-size: 0.8rem;
    color: #fff;
    opacity: 0.7;
    font-weight: bold;
}

h1 {
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    color: #fff;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin: 10px 0;
}

h1 img {
    height: 60px;
    margin-right: 10px;
}

.botones {
    margin-bottom: 12px;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.opciones {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    font-size: 0.9rem;
    margin: 0 4px;
}

.opciones input[type="checkbox"] {
    width: 16px;
    height: 16px;
    cursor: pointer;
}

button {
    padding: 6px 14px;
    cursor: pointer;
    font-size: 13px;
    font-weight: 600;
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, 0.4);
    background: rgba(255, 255, 255, 0.15);
    color: #fff;
    transition: background 140ms ease, transform 140ms ease, box-shadow 140ms ease;
}

button:hover {
    background: rgba(255, 255, 255, 0.25);
    border-color: #d6a23a;
    transform: translateY(-1px);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.4);
}

#botonReiniciar {
    background: rgba(120, 24, 32, 0.6);
    border-color: rgba(214, 162, 58, 0.6);
}

#botonReiniciar:hover {
    background: rgba(120, 24, 32, 0.9);
}

input[type="file"] {
    margin-bottom: 5px;
    font-size: 14px;
}

.container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 15px;
    margin-top: 10px;
    max-height: calc(100vh - 180px);
    overflow-y: auto;
    padding-bottom: 10px;
}

.tabla {
    width: 260px;
    background: white;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.5);
    overflow: hidden;
}

table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 5px;
}

th,
td {
    padding: 4px 8px;
    text-align: center;
    border: 1px solid #ddd;
    color: black;
    font-size: 13px;
}

th {
    background-color: #f2f2f2;
    font-weight: bold;
}

#categoriasContainer {
    margin-top: 10px;
}

#categoriasContainer h3 {
    margin-bottom: 3px;
    font-size: 1.1rem;
}

#categoriasContainer ul {
    list-style-type: none;
    padding: 0;
    font-size: 0.9rem;
}

#bolaSorteo {
    width: 120px;
    height: 120px;
    background: #ee7319;
    color: black;
    font-size: 18px;
    font-weight: bold;
    display: flex;
    justify-content: center;
    align-items: center;
    border: 3px solid black;
    border-radius: 50%;
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(0);
    opacity: 0;
    z-index: 1000;
}

@keyframes abrirBola {
    0% {
        transform: translate(-50%, -50%) scale(0);
        opacity: 0;
    }

    50% {
        transform: translate(-50%, -50%) scale(1.1);
        opacity: 1;
    }

    100% {
        transform: translate(-50%, -50%) scale(1);
        opacity: 1;
    }
}

@keyframes desaparecer {
    0% {
        opacity: 1;
    }

    100% {
        opacity: 0;
    }
}