.container {
    display: flex;
    flex-direction: row;
    padding: 20px;
    justify-content: center;
}

/* Auditorio */
#auditorium {
    display: grid;
    grid-template-columns: repeat(10, 1fr);
    grid-gap: 10px;
    justify-content:right;
    margin-right: 20px;
}

@media (max-width: 650px) {
    .auditorium {
        grid-template-columns: repeat(5, 40px);
    }
}

.seat {
    width: 30px;
    height: 30px;
    background-color: #90ee90;
    border: 1px solid #ddd;
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.3s ease, transform 0.2s ease;
}

.seat.occupied {
    background-color: #ff4d4d;
    cursor: not-allowed;
}

.seat:hover {
    background-color: #ffa500;
}

/* Contador de asientos */
#seat-count {
    margin-top: 20px;
    justify-content: center;
}

#seat-count span {
    justify-content: center;
    font-weight: bold;
    align-content: center;
}

/* Estilos para los botones de control */
.tool-panel button {
    padding: 10px 15px;
    margin: 5px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    background-color: #4caf50;
    color: white;
    font-size: 14px;
    transition: background 0.3s ease;
}

/* Estilo cuando el botón está deshabilitado */
.controls button:disabled {
    background-color: #cccccc;
    cursor: not-allowed;
}

/* Estilo para el texto debajo de los controles */
.controls p {
    margin-top: 10px;
    font-size: 14px;
}

/* Estilos para la gestión de usuarios */
.user-management {
    margin-top: 20px;
    padding: 15px;
    border: 1px solid #ccc;
    border-radius: 5px;
    background-color: #f9f9f9;
}

/* Panel de Personalización */
#customization-panel {
    position: fixed;
    top: 0;
    right: 0;
    width: 320px;
    height: 100%;
    background-color: #fff;
    box-shadow: -4px 0 10px rgba(0, 0, 0, 0.2);
    padding: 20px;
    overflow-y: auto;
    z-index: 1000;
    transition: transform 0.3s ease;
    transform: translateX(100%);
    border-radius: 50px;
}

#customization-panel.open {
    transform: translateX(0);
}

#customization-panel h4 {
    margin-top: 20px;
    margin-bottom: 15px;
    color: #333;
    font-size: 1.2rem;
}

#customization-panel label {
    font-size: 0.9rem;
    color: #555;
}

#customization-panel input[type="color"],
#customization-panel input[type="range"] {
    margin-top: 10px;
    width: 100%;
    padding: 5px;
    border: 1px solid #ccc;
    border-radius: 5px;
}

#customization-panel button {
    background-color: #007bff;
    color: white;
    padding: 10px 15px;
    border-radius: 50px;
    cursor: pointer;
    width: 100%;
    transition: background-color 0.3s ease;
}

#customization-panel button:hover {
    background-color: #0056b3;
}

.customization-button {
    position: fixed;
    top: 20px;
    right: 20px;
    background-color: #007bff;
    color: white;
    border: none;
    padding: 12px 16px;
    border-radius: 100%;
    font-size: 16px;
    cursor: pointer;
    z-index: 2000;
    transition: background-color 0.3s ease;
}

.customization-button:hover {
    background-color: #0056b3;
}

/* Panel de herramientas */
#tool-panel {
    width: 200px;
    background-color: #333;
    color: white;
    padding: 15px;
    border-radius: 20px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.8);
    position: grid;
    top: 140px;
    right: 20px;
    display: none;
}

#tool-panel.open {
    display: block;
}

#tool-panel button {
    background-color: #555;
    color: white;
    border: none;
    padding: 10px;
    margin: 5px 0;
    width: 100%;
    cursor: pointer;
    border-radius: 100px;
}

#tool-panel button:hover {
    background-color: #555;
}

/* Estilo para barra lateral fija */
#sidebar {
    position: static;
    width: 20%;
    height: 100%;
    background-color: #f8f9fa;
    border-right: 1px solid #ccc;
    padding: 20px 10px;
    overflow-y: auto;
    z-index: 1000;
    transition: width 0.3s ease;
}

#sidebar h5,
#sidebar h6 {
    font-weight: bold;
    margin-bottom: 10px;
    margin-top: 20px;
    display: flex;
    align-items: center;
    gap: 10px;
}

#sidebar button {
    display: flex;
    align-items: center;
    gap: 10px;
    width: 100%;
    background-color: #e9ecef;
    border: none;
    padding: 10px;
    margin: 4px 0;
    border-radius: 5px;
    text-align: left;
    transition: background-color 0.2s ease;
}

#sidebar button:hover {
    background-color: #dee2e6;
    cursor: pointer;
}

/* Estilo para ocultar etiquetas (colapsado) */
#sidebar.collapsed {
    width: 60px;
}

#sidebar.collapsed .label {
    display: none;
}

#sidebar.collapsed h5,
#sidebar.collapsed h6 {
    justify-content: center;
}

#sidebar.collapsed button {
    justify-content: center;
    padding: 10px;
}