/* Estilos generales */
body {
    font-family: 'Arial', sans-serif;
    margin: 0;
    padding: 0;
    background-color: #f4f4f4;
    text-align: center;
}

/* Contenedor principal */
.container {
    width: 90%;
    max-width: 800px;
    margin: 20px auto;
    background: white;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 2px 2px 10px rgba(0, 0, 0, 0.2);
}

/* Título */
h1 {
    color: #4d4d4d;
}

/* Select de conciertos */
select {
    padding: 10px;
    margin: 10px 0;
    border-radius: 5px;
    border: 1px solid #ccc;
    font-size: 16px;
}

/* Contenedor de zonas */
.zona-container {
    margin-top: 20px;
}

/* Nombre de la zona */
.zona-titulo {
    font-size: 20px;
    font-weight: bold;
    color: #333;
    margin-bottom: 10px;
    text-align: center;
}

/* Contenedor de asientos */
#asientosContainer {
    display: flex;
    flex-direction: column;
    gap: 20px;
    align-items: center;
}

/* Fila de asientos */
.fila-asientos {
    display: flex;
    gap: 10px;
    justify-content: center;
    flex-wrap: wrap;
}

/* VIP: en una sola fila */
#asientosVIP {
    display: flex;
    gap: 10px;
    justify-content: center;
}

/* General: en 2 filas de 5 */
#asientosGeneral {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 10px;
    justify-content: center;
}

/* Estilos de los asientos */
.asiento {
    width: 50px;
    height: 50px;
    line-height: 50px;
    text-align: center;
    border-radius: 5px;
    font-weight: bold;
    cursor: pointer;
}

/* Asientos disponibles */
.asiento.disponible {
    background-color: #4CAF50;
    color: white;
    border: 2px solid #3e8e41;
}

/* Asientos vendidos */
.asiento.vendido {
    background-color: #d9534f;
    color: white;
    border: 2px solid #a94442;
    cursor: not-allowed;
}

/* Asientos seleccionados */
.asiento.seleccionado {
    background-color: #FFD700;
    color: black;
    border: 2px solid #DAA520;
}

/* Botón de compra */
button {
    background-color: #008cba;
    color: white;
    padding: 12px 20px;
    border: none;
    border-radius: 5px;
    font-size: 16px;
    cursor: pointer;
    margin-top: 20px;
}

button:hover {
    background-color: #005f7f;
}

/* Botón de volver */
.boton-volver {
    display: inline-block;
    margin-top: 20px;
    padding: 10px 15px;
    background-color: #008cba;
    color: white;
    text-decoration: none;
    font-weight: bold;
    border-radius: 5px;
}

.boton-volver:hover {
    background-color: #005f7f;
}