body {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 20px;
    background-color: #f5f5f5;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    background-color: #fff;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.main-content {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    margin-top: 20px;
}

.sala {
    flex: 1;
    min-width: 300px;
    margin: 20px 0;
    text-align: center;
}

.sidebar {
    flex: 0 0 350px;
}

h1, h2 {
    color: #333;
}

.mensaje {
    background-color: #f8d7da;
    color: #721c24;
    padding: 10px;
    margin-bottom: 20px;
    border-radius: 4px;
    display: none;
}

.escenario {
    background-color: #ddd;
    padding: 10px;
    margin-bottom: 30px;
    border-radius: 4px;
    text-align: center;
    font-weight: bold;
}

.filas {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
}

.fila {
    display: flex;
    gap: 10px;
    align-items: center;
}

.numero-fila {
    width: 30px;
    text-align: center;
    font-weight: bold;
}

.asientos {
    display: flex;
    gap: 5px;
}

.asiento {
    width: 35px;
    height: 35px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 5px;
    cursor: pointer;
    user-select: none;
    font-size: 12px;
}

.disponible {
    background-color: #28a745;
    color: white;
}

.vendido {
    background-color: #dc3545;
    color: white;
    cursor: not-allowed;
}

.seleccionado {
    background-color: #007bff;
    color: white;
}

.form-group {
    margin-bottom: 15px;
}

label {
    display: block;
    margin-bottom: 5px;
    font-weight: bold;
}

input[type="text"] {
    width: 100%;
    padding: 8px;
    border: 1px solid #ddd;
    border-radius: 4px;
    box-sizing: border-box;
}

.btn {
    background-color: #007bff;
    color: white;
    border: none;
    padding: 10px 20px;
    border-radius: 4px;
    cursor: pointer;
}

.btn:hover {
    background-color: #0069d9;
}

.resumen, .concierto-detalles, #formularioVenta {
    background-color: #f8f9fa;
    border-radius: 4px;
}

.resumen {
    margin-top: 20px;
    padding: 15px;
}

.concierto-detalles {
    border-left: 4px solid #6c757d;
}

#formularioVenta {
    padding: 20px;
    border: 1px solid #ddd;
    height: fit-content;
}

.concierto-detalles i {
    color: #6c757d;
    margin-right: 5px;
    width: 20px;
    text-align: center;
}

#formularioVenta i {
    color: #495057;
    margin-right: 5px;
}

.leyenda {
    display: flex;
    gap: 15px;
    margin-top: 20px;
    justify-content: center;
}

.leyenda-item {
    display: flex;
    align-items: center;
    gap: 5px;
}

.leyenda-color {
    width: 20px;
    height: 20px;
    border-radius: 3px;
}

@media (max-width: 992px) {
    .main-content {
        flex-direction: column;
    }
    
    .sidebar {
        width: 100%;
    }
}