.teatro-final-container {
    max-width: 800px;
    margin: 40px auto;
    font-family: 'Arial', sans-serif;
}

.teatro-escenario {
    position: relative;
    margin-bottom: 40px;
    text-align: center;
}

.escenario-titulo {
    display: inline-block;
    background: #8e44ad;
    color: white;
    padding: 12px 30px;
    font-size: 18px;
    font-weight: bold;
    border-radius: 4px 4px 0 0;
    position: relative;
    z-index: 2;
}

.escenario-curva {
    width: 100%;
    height: 30px;
    background: #8e44ad;
    border-radius: 50% 50% 0 0 / 30px;
    margin-top: -15px;
    box-shadow: 0 10px 20px rgba(0,0,0,0.1);
}

.teatro-asientos {
    display: flex;
    flex-direction: column;
    gap: 15px;
    align-items: center;
    padding: 0 20px;
}

.teatro-fila {
    display: flex;
    align-items: center;
    gap: 10px;
    width: 100%;
}

.fila-letra {
    font-weight: bold;
    width: 30px;
    text-align: center;
    color: #555;
    font-size: 14px;
}

.fila-asientos {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

/* ESTILOS MODIFICADOS PARA BOTONES REDONDOS */
.teatro-asiento {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    border: none;
    box-shadow: 0 2px 5px rgba(0,0,0,0.2);
}

.numero-asiento {
    color: white;
    font-weight: bold;
    font-size: 14px;
    z-index: 2;
    text-shadow: 0 1px 1px rgba(0,0,0,0.3);
}

/* Colores para los estados */
.teatro-asiento.disponible {
    background: #2ecc71; /* Verde */
    background: radial-gradient(circle at center, #2ecc71 0%, #27ae60 100%);
}

.teatro-asiento.reservado {
    background: #3498db; /* Azul */
    background: radial-gradient(circle at center, #3498db 0%, #2980b9 100%);
    cursor: not-allowed;
    opacity: 0.9;
}

.teatro-asiento.seleccionado {
    background: #e74c3c; /* Rojo */
    background: radial-gradient(circle at center, #e74c3c 0%, #c0392b 100%);
    transform: scale(1.1);
    box-shadow: 0 0 10px rgba(231, 76, 60, 0.5);
}

.teatro-asiento:hover:not(.reservado) {
    transform: scale(1.05);
    box-shadow: 0 4px 8px rgba(0,0,0,0.3);
}

.teatro-controles {
    margin-top: 30px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
}

.teatro-leyenda {
    display: flex;
    gap: 20px;
    font-size: 14px;
}

.asiento-demo {
    display: inline-block;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    margin-right: 5px;
    vertical-align: middle;
}

.asiento-demo.disponible {
    background: #2ecc71;
}

.asiento-demo.reservado {
    background: #3498db;
}

.asiento-demo.seleccionado {
    background: #e74c3c;
}

.teatro-acciones {
    display: flex;
    align-items: center;
    gap: 15px;
}

.asientos-seleccionados {
    font-size: 14px;
    color: #555;
}

#contador-asientos {
    font-weight: bold;
    color: #2c3e50;
}

/* Responsivo */
@media (max-width: 600px) {
    .teatro-asiento {
        width: 36px;
        height: 36px;
    }
    
    .numero-asiento {
        font-size: 13px;
    }
    
    .teatro-controles {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .fila-asientos {
        gap: 6px;
    }
    
    .fila-letra {
        width: 25px;
        font-size: 13px;
    }
}

/* Estilos para errores */
.error-teatro {
    padding: 15px;
    background: #ffebee;
    color: #c62828;
    border-left: 4px solid #c62828;
    border-radius: 4px;
    margin: 20px 0;
}

/* ================== */
/* NUEVOS ESTILOS AGREGADOS */
/* ================== */

/* Efectos de animación */
.pulse-effect {
    animation: pulse 1.5s infinite;
}

.animate-pop {
    animation: pop 0.3s ease;
}

@keyframes pulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.05); }
    100% { transform: scale(1); }
}

@keyframes pop {
    0% { transform: scale(1); }
    50% { transform: scale(1.15); }
    100% { transform: scale(1.1); }
}

/* Colores del contador */
#contador-asientos.low {
    color: #7f8c8d;
}

#contador-asientos.medium {
    color: #f39c12;
}

#contador-asientos.high {
    color: #e74c3c;
}