/*Clases para el SVG*/
#asientos_circulos circle.yaVendido{
    fill:#c4c4c4 !important;
}

#asientos_circulos circle.general{
    fill:#c4c4c4 !important;
}

#asientos_circulos circle.active.noVendido{
    fill:#bad455 !important;
}

#section-to-print, #section-to-print * {
    visibility: hidden;
    display: none;
  }

@media print {
    body * {
      visibility: hidden;
      display: none;
    }
    #section-to-print, #section-to-print * {
      visibility: visible;
      display: block;
      padding: 0px;
      margin: 0px;
    }
    .page-break {
        page-break-after: always;
        page-break-inside: avoid;
        page-break-before: avoid;
        break-after: always;
        break-inside: avoid;
        break-before: avoid;
        color: red !important;
    }
  }


/*Clases para la vista*/
html, body {
    height: 100%;
    margin: 0;
}
.full-height {
    height: 100%;
}
.header {
    height: 120px;
    background-color: #f8f9fa;
    border-bottom: 1px solid #ccc;
}
.content {
    display: flex;
    height: calc(100% - 120px);
}
.left-panel {
    flex: 0 0 80%;
    background-color: #e9ecef;
    padding: 15px;
    display: flex; /* Añadido para centrar el SVG */
    align-items: center; /* Centrar verticalmente */
    justify-content: center; /* Centrar horizontalmente */
    transition: all 0.3s ease-in-out; /* Para una animación suave */
}
.left-panel svg {
    max-width: 100%; /* Asegura que el SVG no se salga del contenedor */
    max-height: 100%; /* Asegura que el SVG no se salga del contenedor */
}
.right-panel {
        right: 0;
    background-color: #dee2e6;
    padding:6px 15px;
    box-shadow: -5px 0 10px rgba(0, 0, 0, 0.1); /* Sombras para mejor diseño */
    transition: transform 0.4s ease-in-out; /* Animación suave */
    z-index: 1000;
}

/* Cuando el panel está abierto */
.right-panel.open {
    transform: translateX(0); /* Lo desplaza a la vista */
}

/* Botón para mostrar/ocultar el panel en móviles */
.toggle-button {
    display: none;
    position: fixed;
    top: 20%;
    right: 0;
    transform: translateY(-50%) rotate(-90deg);
    transform-origin: right bottom;
    background-color: #198754; /* Color verde Bootstrap */
    color: white;
    padding: 10px 15px;
    border-radius: 10px 10px 0 0;
    cursor: pointer;
    transition: right 0.4s ease-in-out; /* Misma duración y tipo de transición */
    z-index: 1100;
    min-width: 150px;
}
/* Cuando el right-panel está abierto, el botón se mueve con él */

.logo-equipo{
    max-height: 100px;
    min-height: 60px;    
    min-width: 60px;
}

#asientosSeleccionados{
    max-height: 700px;
    margin: 8px 0px;
    overflow-y: auto;
    overflow-x: hidden; 
}
/*clases para dispitivos mayores a mobile*/
@media (min-width: 991px) {
    h1,h2,h3,h4,h5,h6{
            line-height: 1.5;
    }
    .right-panel{
        flex: 0 0 20%;
        font-size: 1vw;
    }
    #asientos_circulos circle.noVendido:hover{
        fill:#bad455 !important;
    }
}

/*Clases para mobile*/
@media (max-width: 991px) {
    .grecaptcha-badge{
        display: none !important;
    }
    .right-panel{
        position: fixed;
        top: 0px;
        transform: translateX(100%);
        height: 100%;
    }
    .left-panel {
        flex: 0 0 100%;
        transition: right 0.4s ease-in-out;
    }
    .toggle-button {
        display: block;
    }
    /* Cuando el right-panel está abierto, el botón se mueve */
    .toggle-button.moved {
        right: 290.4px !important; /* Ajusta el ancho del right-panel */
    }
    .header{
        line-height: 1 !important;
    }
    .header h4 {
        font-size: 1.2rem; 
    }

    .header h5 {
        font-size: 1rem; 
    }

    .header h6 {
        font-size: 0.9rem;
    }

    .header .ps-4, 
    .header .pe-4 {
        padding-left: 1rem !important;
        padding-right: 1rem !important;
    }
    
}