/* === Estilos principales de selección de asientos === */
.seat-selection-container {
    min-height: 100vh;
    padding-top: 20px;
}

.mobile-event-header.show {
    transform: translateY(0) !important;
}

.seat {
    width: 25px;
    height: 25px;
    margin: 2px;
    border-radius: 4px;
    cursor: pointer;
    transition: all 0.3s ease;
    display: inline-block;
    text-align: center;
    line-height: 25px;
    font-size: 10px;
    font-weight: bold;
}

.seat.available {
    background-color: #ADB5BD;
    color: white;
}

.seat.selected {
    background-color: #B20D5D;
    color: white;
}

.seat.occupied {
    background-color: #6C757D;
    color: white;
    cursor: not-allowed;
}

.stage {
    background: linear-gradient(45deg, #6f42c1, #e83e8c);
    color: white;
    text-align: center;
    padding: 20px;
    border-radius: 10px;
    margin-bottom: 30px;
    font-weight: bold;
}

.venue-map {
    background: #f8f9fa;
    border-radius: 15px;
    padding: 20px;
    overflow-x: auto;
}

.venue-map-container {
    min-height: 600px;
}

.row-label {
    width: 30px;
    text-align: center;
    font-weight: bold;
    color: #6c757d;
}

.price-card {
    cursor: pointer;
    transition: all 0.3s ease;
    border: 2px solid #dee2e6;
    border-radius: 8px;
}

.price-card:hover {
    transform: translateY(-5px);
    border-color: var(--bs-primary);
    border-radius: 8px;
}

.price-card.active {
    border: 2px solid transparent;
    background: linear-gradient(white, white) padding-box, linear-gradient(90deg, var(--bs-primary) 0%, var(--bs-secondary) 100%) border-box;
   border-radius: 8px;
}

.price-card.active .card-body {
    color: inherit;
}

.price-card.active .text-muted {
    color: #6c757d !important;
}

.summary-card {
    position: static;
}

/* === Estilos para SVG venue === */
.zone-detail-view .seat.available.me-1,
.zone-detail-view .seat.selected.me-1,
.zone-detail-view .seat.occupied.me-1 {
    width: 16px;
    height: 16px;
    line-height: 16px;
    font-size: 8px;
}

.zone-detail-view h5[style*="color"] {
    margin-bottom: 0;
    font-weight: bold;
}

svg stop[style*="stop-color:#6f42c1"] {
    stop-color: #6f42c1;
    stop-opacity: 1;
}

svg stop[style*="stop-color:#e83e8c"] {
    stop-color: #e83e8c;
    stop-opacity: 1;
}

/* === Estilos de subcategorías === */
.subcategories {
    transition: all 0.3s ease;
}

.subcategory {
    background-color: #f8f9fa !important;
    cursor: pointer;
    transition: all 0.2s ease;
    border-radius: 4px;
}

.subcategory:hover {
    background-color: #e9ecef !important;
    transform: translateX(2px);
    border-radius: 4px;
}

.subcategory.active {
    background: linear-gradient(90deg, var(--bs-primary) 0%, var(--bs-secondary) 100%) !important;
    color: white !important;
    font-weight: bold !important;
    border-radius: 4px;
}

.subcategory.sold-out {
    background-color: #e9ecef !important;
    color: #6c757d !important;
    cursor: not-allowed !important;
    opacity: 0.6;
    font-size: 0.85rem;
    border-radius: 4px;
}

/* === Estilos del mapa del venue === */
.venue-overview {
    position: relative;
    background: #f8f9fa;
    border-radius: 15px;
    padding: 20px;
}

/* === Overlay de selección de asientos === */
.seat-selection-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(248, 249, 250, 0.7);
    backdrop-filter: blur(3px);
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10;
    transition: opacity 0.5s ease, visibility 0.5s ease;
}

.seat-selection-overlay.hidden {
    opacity: 0;
    visibility: hidden;
}

.overlay-content {
    text-align: center;
    color: #6c757d;
}

.zone-polygon {
    cursor: pointer;
    transition: all 0.3s ease; 
    stroke-width: 2;
    opacity: 0.8;
    transform-origin: center;
}

.zone-polygon:hover {
    opacity: 1;
    stroke-width: 3;
    filter: brightness(1.1);
}

.zone-label {
    font-weight: bold;
    font-size: 14px;
    text-anchor: middle;
    fill: white;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
    cursor: pointer;
    pointer-events: none;
}

.view-toggle {
    position: absolute;
    top: 10px;
    right: 10px;
    z-index: 10;
}

.zone-detail-view {
    display: none;
}

.zone-detail-view.active {
    display: block;
}

.summary-card .card {
    border: 2px solid transparent !important;
    background: linear-gradient(white, white) padding-box, linear-gradient(90deg, var(--bs-primary) 0%, var(--bs-secondary) 100%) border-box !important;
    border-radius: 30px !important;
}

.summary-card .card-header {
    border-radius: 28px 28px 0 0 !important;
    border-bottom: none;
    background: linear-gradient(90deg, var(--bs-primary) 0%, var(--bs-secondary) 100%) !important;
    text-align: center;
    padding: 1rem 1.25rem !important;
    margin: -2px -2px 0 -2px;
}

.summary-card .card-body {
    border-radius: 0 0 30px 30px !important;
}

/* === Animación ripple para el ícono del overlay === */
.overlay-icon {
    position: relative;
    display: inline-block;
}

.overlay-icon::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(108, 117, 125, 0.3);
    transform: translate(-50%, -50%);
    animation: ripple 2s infinite;
    pointer-events: none;
}

@keyframes ripple {
    0% {
        width: 0;
        height: 0;
        opacity: 1;
    }
    100% {
        width: 120px;
        height: 120px;
        opacity: 0;
    }
}

/* === Estilos del header === */
.header-padding {
    padding: 15px 0;
}

.header-logo {
    height: 50px;
}

/* === Header de evento móvil === */
.mobile-event-header {
    top: 0;
    z-index: 1050;
    padding: 8px 0;
    transform: translateY(-100%);
    transition: transform 0.3s ease;
}

.mobile-event-img {
    width: 40px;
    height: 40px;
    object-fit: cover;
}

.mobile-event-title {
    font-size: 0.9rem;
}

.mobile-event-details {
    font-size: 0.75rem;
}

/* === Imágenes de evento (desktop) === */
.desktop-event-img {
    width: 80px;
    height: 80px;
    object-fit: cover;
}

/* === Imágenes de información móvil === */
.mobile-info-img {
    width: 60px;
    height: 60px;
    object-fit: cover;
}

.mobile-info-title {
    font-size: 1.3rem;
}

.mobile-info-details {
    font-size: 0.85rem;
}

/* === Elementos de tarjetas de precio === */
.price-indicator {
    width: 12px;
    height: 12px;
    flex-shrink: 0;
}

/* === Estilos para elementos con estilos inline removidos === */
.overlay-icon {
    font-size: 4rem;
    margin-bottom: 1rem;
}

.footer-logo {
    height: 50px;
}

.price-title {
    font-size: 0.9rem;
    line-height: 1.1;
}

.price-subtitle {
    font-size: 0.7rem;
    line-height: 1;
    margin-top: -2px;
    display: block;
}

.price-amount {
    font-size: 0.9rem;
}

.price-chevron {
    font-size: 0.8rem;
    transition: transform 0.3s;
}

/* === Subcategorías === */
.subcategories {
    display: none;
    background-color: #f8f9fa; 
    border-radius: 4px; 
    cursor: pointer; 
    font-size: 0.85rem; 
    color: #495057;
}

/* === Barra de compra móvil === */
#mobile-purchase-bar {
    display: none;
}

.mobile-purchase-details {
    font-size: 0.8rem;
    cursor: pointer;
    color: inherit;
}

/* === Modal de compra móvil === */
#mobile-purchase-modal {
    bottom: -100%;
    left: 0;
    z-index: 1050;
    transition: bottom 0.3s ease;
}

.mobile-modal-header {
    background: linear-gradient(90deg, var(--bs-primary) 0%, var(--bs-secondary) 100%);
}

.mobile-close-btn {
    font-size: 1.2rem;
}

.mobile-modal-content {
    max-height: 60vh;
    overflow-y: auto;
}

/* === Elementos dinámicos del resumen === */
.seat-summary-item {
    font-size: 0.9rem;
    line-height: 1.1;
}

.seat-summary-category {
    font-size: 0.7rem;
    line-height: 1;
    margin-top: -2px;
    display: block;
}

.seat-summary-price {
    font-size: 0.9rem;
}

.remove-seat-btn {
    cursor: pointer;
    font-size: 1.1rem;
}

.seat-zone-indicator {
    width: 12px;
    height: 12px;
    flex-shrink: 0;
}

/* === Estilos responsivos === */
@media (max-width: 1024px) and (min-width: 769px) {
    .d-flex.align-items-center.justify-content-center.gap-3 img {
        width: 70px !important;
        height: 70px !important;
    }

    .d-flex.align-items-center.justify-content-center.gap-3 h2 {
        font-size: 2.5rem !important;
    }
}

@media (max-width: 768px) {
    .seat {
        width: 20px;
        height: 20px;
        line-height: 20px;
        font-size: 8px;
    }

    .summary-card {
        position: static;
    }

    .venue-map {
        padding: 10px;
    }

    .d-flex.align-items-center.justify-content-center.gap-3 img {
        width: 60px !important;
        height: 60px !important;
    }

    .d-flex.align-items-center.justify-content-center.gap-3 h2 {
        font-size: 1.5rem !important;
    }

    .venue-map-container {
        min-height: 400px;
    }
}

@media (max-width: 767px) {
    .summary-card {
        display: none !important;
    }
}

@media (max-width: 480px) {
    .d-flex.align-items-center.justify-content-center.gap-3 img {
        width: 50px !important;
        height: 50px !important;
    }

    .d-flex.align-items-center.justify-content-center.gap-3 h2 {
        font-size: 1.2rem !important;
    }

    .text-center .text-muted {
        font-size: 0.8rem !important;
    }

    .row.mb-4 {
        margin-bottom: 1rem !important;
    }

    .text-center.mb-4 {
        margin-bottom: 1rem !important;
    }

    .d-flex.align-items-center.justify-content-center.gap-3 {
        gap: 0.75rem !important;
        margin-bottom: 0.5rem !important;
    }

    .venue-map-container {
        min-height: 350px;
    }
}

/* === Tamaños de fuente para tarjetas de precio (desktop) === */
@media (min-width: 992px) {
    .price-card .fw-bold {
        font-size: 1.1rem !important;
    }

    .price-card small {
        font-size: 0.85rem !important;
    }

    .price-card .text-opacity {
        font-size: 1.1rem !important;
    }

    .price-card .card-body {
        padding: 1rem 1.25rem !important;
    }
}


/* === Colores disponibles para zonas de venue === */
.zone-color-1 {
    background-color: #845EF7;
}

.zone-color-2 {
    background-color: #F783AC;
}

.zone-color-3 {
    background-color: #D0BFFF;
}

.zone-color-4 {
    background-color: #3A506B;
}

.zone-color-5 {
    background-color: #C084FC;
}

.zone-color-6 {
    background-color: #FFD6E8;
}

.zone-color-7 {
    background-color: #7BDFF2;
}

.zone-color-8 {
    background-color: #8E9AAF;
}

.zone-color-9 {
    background-color: #DDD6FE;
}

.zone-color-10 {
    background-color: #FECACA;
}

.zone-color-11 {
    background-color: #A7F3D0;
}

.zone-color-12 {
    background-color: #FEF3C7;
}

.available-color {
    background-color: #ADB5BD;
}

.occupied-color {
    background-color: #6C757D;
}

.text-zone-color-1 {
    color: #845EF7;
}

.text-zone-color-2 {
    color: #F783AC;
}

.text-zone-color-3 {
    color: #D0BFFF;
}

.text-zone-color-4 {
    color: #3A506B;
}

.text-zone-color-5 {
    color: #C084FC;
}

.text-zone-color-6 {
    color: #FFD6E8;
}

.text-zone-color-7 {
    color: #7BDFF2;
}

.text-zone-color-8 {
    color: #8E9AAF;
}

.text-zone-color-9 {
    color: #DDD6FE;
}

.text-zone-color-10 {
    color: #FECACA;
}

.text-zone-color-11 {
    color: #A7F3D0;
}

.text-zone-color-12 {
    color: #FEF3C7;
}

.text-available-color {
    color: #ADB5BD;
}

.text-occupied-color {
    color: #6C757D;
}