/* Estilos comunes para botones */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 10px 15px;
    border-radius: 5px;
    font-weight: 500;
    text-decoration: none;
    transition: all 0.3s;
    margin: 5px;
}

.btn-primary {
    background-color: #3498db;
    color: white;
    border: 1px solid #2980b9;
}

.btn-primary:hover {
    background-color: #2980b9;
}

.btn-success {
    background-color: #2ecc71;
    color: white;
    border: 1px solid #27ae60;
}

.btn-success:hover {
    background-color: #27ae60;
}

.btn i {
    margin-right: 8px;
}

.header-buttons {
    display: flex;
    justify-content: space-between;
    margin-bottom: 20px;
}

/* Estilos para la matriz de números */
.numbers-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(50px, 1fr));
    gap: 8px;
    padding: 10px;
    background-color: white;
    border-radius: 5px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.number {
    aspect-ratio: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 5px;
    font-weight: bold;
    font-size: 14px;
    transition: all 0.3s;
    box-shadow: 0 1px 3px rgba(0,0,0,0.1);
}

.available { background-color: #2ecc71; color: white; }
.reserved { background-color: #f39c12; color: white; }
.sold { background-color: #e74c3c; color: white; }

@media (max-width: 768px) {
    .numbers-grid {
        grid-template-columns: repeat(auto-fill, minmax(40px, 1fr));
    }
    .number {
        font-size: 12px;
    }
}
