body {
    font-family: Arial, sans-serif;
    text-align: center;
    padding: 20px;
    color: white;
    background: linear-gradient(to bottom, black, #B30410);
    min-height: 100vh;
    margin: 0;
    overflow: hidden;
}

#softwareName {
    position: absolute;
    top: 10px;
    right: 20px;
    font-size: 0.9rem;
    color: #fff;
    opacity: 0.7;
    font-weight: bold;
}

h1 {
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.5rem;
    color: #fff;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 20px;
}

h1 img {
    height: 100px;
    margin-right: 15px;
}

.container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
    margin-top: 20px;
    max-height: calc(100vh - 250px);
    overflow-y: auto;
}

.tabla {
    width: 300px;
    background: white;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
    overflow: hidden;
}

table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 10px;
}

th, td {
    padding: 8px;
    text-align: center;
    border: 1px solid #ddd;
    color: black;
}

th {
    background-color: #f2f2f2;
}

.botones {
    margin-bottom: 20px;
}

button {
    padding: 10px 20px;
    margin: 0 10px;
    cursor: pointer;
    font-size: 16px;
}

input[type="file"] {
    margin-bottom: 10px;
}

#categoriasContainer {
    margin-top: 20px;
}

#categoriasContainer h3 {
    margin-bottom: 5px;
}

#categoriasContainer ul {
    list-style-type: none;
    padding: 0;
}

#bolaSorteo {
    width: 150px;
    height: 150px;
    background: #ee7319;
    color: black;
    font-size: 20px;
    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;
}

@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;
    }
}
