h1, h2 {
    color: #333;
    text-align: center;
     width: 100%;
}

.acciones {
    text-align: center;
    margin-bottom: 20px;
}

.acciones button {
    padding: 10px 15px;
    font-size: 1em;
    margin: 5px;
    cursor: pointer;
    background-color: #0DE888;
    color: black;
    border: none;
    border-radius: 5px;
}

.acciones button:disabled {
    background-color: #cccccc;
    cursor: not-allowed;
}

.acciones2 {
    text-align: center;
    margin-bottom: 20px;
}

.acciones2 button {
    padding: 10px 15px;
    font-size: 1em;
    margin: 5px;
    cursor: pointer;
    background-color: #DAE30E;
    color: black;
    border: none;
    border-radius: 5px;
}

.acciones2 button:disabled {
    background-color: #cccccc;
    cursor: not-allowed;
}

.grid-boletos {
    display: grid;
    width: 100%;
    height: 400px;
    overflow: auto;
    grid-template-columns: repeat(auto-fill, minmax(50px, 1fr));
    gap: 3px;
    padding: 3px;
    background-color: #fff;
    border-radius: 3px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    font-size: 10px;
}

.boleto {
    padding: 7px;
    border: 1px solid #0D7C7E;
    border-radius: 2px;
    text-align: center;
    font-size: 10px;
    cursor: pointer;
    background-color: #e9ecef;
    transition: background-color 0.2s, transform 0.1s;
    font-weight: bold;
}

.boleto:hover {
    background-color: #ced4da;
}

.boleto.seleccionado {
    background-color: #28a745;
    color: white;
    border-color: #1e7e34;
    transform: scale(1.05);
}

.mensaje {
    padding: 10px;
    margin: 15px 0;
    border-radius: 5px;
    text-align: center;
    font-weight: bold;
    display: none; 
}
.mensaje.error {
    background-color: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}
.mensaje.exito {
     background-color: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}
.mensaje.info {
     background-color: #cce5ff;
    color: #004085;
    border: 1px solid #b8daff;
}

.modal {
    display: none;
    position: fixed; 
    z-index: 1000; 
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto; 
    background-color: rgba(0,0,0,0.6); 
}

.modal-contenido {
    background-color: #fefefe;
    margin: 10% auto;
    padding: 30px;
    border: 1px solid #888;
    width: 80%;
    max-width: 500px; 
    border-radius: 10px;
    position: relative; 
}

.cerrar-modal {
    color: #aaa;
    position: absolute;
    top: 10px;
    right: 20px;
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
}

.btn-abrir-modal-aleatorio{
    background-color: #19bec7;
}

.cerrar-modal:hover,
.cerrar-modal:focus {
    color: black;
    text-decoration: none;
}

#form-datos-cliente div {
    margin-bottom: 15px;
}
#form-datos-cliente label {
    display: block;
    margin-bottom: 5px;
    font-weight: bold;
}

#form-datos-cliente input[type="text"],
#form-datos-cliente input[type="tel"],
#form-datos-cliente input[type="number"] {
    width: calc(100% - 22px); 
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 4px;
}
 #modal-aleatorio input[type="number"] {
    width: 60px;
    padding: 10px;
    margin-right: 10px;
 }

#form-datos-cliente button[type="submit"],
#modal-aleatorio button {
    background-color: #28a745;
    color: white;
    padding: 12px 20px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-size: 1em;
    width: 100%;
    margin-top: 10px;
}
#modal-aleatorio button {
    width: auto; 
    display: inline-block;
}

#form-datos-cliente button[type="submit"]:hover,
#modal-aleatorio button:hover {
    background-color: #218838;
}

