﻿/* Estilos base para el contenedor principal */
.main-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 20px;
    font-family: Arial, sans-serif;
    text-align: center;
}

.titulo-evento {
    margin-bottom: 20px;
}

/* Contenedor de leyendas para Flexbox */
.legend-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 15px;
    margin-bottom: 20px;
}

.legend-item {
    display: flex;
    align-items: center;
    gap: 5px;
}

.legend-color {
    width: 25px !important;
    height: 25px;
    border: 1px solid black !important;
}

/* Estilos para el escenario */
.stage-container {
    width: 90%;
    max-width: 600px;
    margin-bottom: 30px;
}

    .stage-container button {
        width: 100%;
        height: 50px;
        border: 2px solid orange !important;
        border-radius: 8px;
        font-size: 1.2em;
    }

/* Contenedor principal de las mesas, usando Flexbox */
.seating-chart {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
    width: 100%;
    max-width: 1200px;
}

/* Estilos para cada fila de mesas (asientos + etiqueta) */
.mesa-row {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 15px;
    border: 1px solid #ddd;
    border-radius: 10px;
    background-color: #f9f9f9;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    min-width: 120px;
}

.seat-button {
    width: 40px !important;
    height: 40px !important;
    margin: 5px 0;
    border-radius: 5px;
    background-color: #fff;
    border: 1px solid #ccc;
    font-weight: bold;
}

.table-label {
    width: 80px !important;
    height: 30px;
    margin: 5px 0;
    font-weight: bold;
    color: black;
    border-radius: 5px;
    text-align: center;
}

/* Colores para las mesas, usando las clases del HTML */
.mesa-row.super-fan .table-label {
    background-color: #CCA9DD;
}

.mesa-row.fan .table-label {
    background-color: #FF0080;
}

.mesa-row.seguidor .table-label {
    background-color: blue;
    color: white; /* Para que el texto sea visible */
}

/* MEDIA QUERIES para hacer el diseño responsive */
@media (max-width: 768px) {
    .legend-container.precios-legend {
        flex-direction: column;
    }

    .legend-item {
        justify-content: center;
    }

    .seating-chart {
        gap: 15px;
    }

    .mesa-row {
        width: 45%;
    }
}

@media (max-width: 480px) {
    .mesa-row {
        width: 100%;
    }
}

/*body {
    background-color: #292929;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    justify-content: center;
    height: 100vh;
    margin: 0;
    color: #fff;
}*/
body {
    background-color: #292929;
    margin: 0;
    padding: 0;
    color: #fff;
    min-height: 100vh; /* ✅ min-height en vez de height */
   /* overflow-x: hidden;  ✅ evita scroll horizontal */
    /* ❌ Quita: display: flex, justify-content: center, align-items: stretch, height: 100vh */
}



.alineacentro {
    text-align: center;
}

.square {
    width: 800px; /* Ancho de 150 píxeles */
    height: 150px; /* Alto de 150 píxeles */
    background: yellow; /* Fondo de color rojo */
    border: 1px solid #000; /* Borde color negro y de 1 píxel de grosor */
}

.prueba1 {
    width: 150px; /* Ancho de 150 píxeles */
    height: 150px; /* Alto de 150 píxeles */
    background: red; /* Fondo de color rojo */
    border: 1px solid #000; /* Borde color negro y de 1 píxel de grosor */
}

.prueba2 {
    width: 150px; /* Ancho de 150 píxeles */
    height: 150px; /* Alto de 150 píxeles */
    background: red; /* Fondo de color rojo */
    border: 1px solid #000; /* Borde color negro y de 1 píxel de grosor */
}
/*.seat {
    background-color: #444451;
    width: 40px;
    margin: 3px;
    border-radius: 1px;
    transition: all ease 300ms;
}

/*.seat {
    width: 40px;
    margin: 3px;
    transition: all ease 300ms;
}*/

.seat.selected {
    background-color: #faeb47;
}

.seat.reserved {
    background-color: #fff;
}




.seat:not(.reserved):hover {
    cursor: pointer;
    transform: scale(1.3);
}

/*.seat:nth-of-type(2) {
        margin-right: 24px;
    }*/

/*.seat:nth-last-of-type(3) {
        margin-right: 24px;
    }*/

.row {
    display: flex;
}

.screen {
    height: 10px;
    width: 10%;
    margin: 24px 0;
    box-shadow: 0 2px 20px rgba(255, 255, 255, 0.7);
    border-radius: 8px;
}

    .screen img {
        border-radius: 8px;
    }

.movie-list {
    margin: 20px 0;
}

.info {
    background-color: rgba(0, 0, 0, 0.2);
    padding: 5px 10px;
    color: #777;
    display: flex;
    list-style: none;
}

    .info li {
        display: flex;
        align-items: center;
        justify-content: center;
        margin: 0 10px;
    }

p.text span {
    color: #faeb47;
}
