    /* Enhanced Styles */
    html {
        background: #f8f9fa;
    }
            body {
                font-family: 'Poppins', sans-serif;
                background-color: #f8f9fa;
            }
            
            .ticket-container {
                max-width: 1200px;
                margin: 30px auto;
                background: #fff;
                border-radius: 15px;
                box-shadow: 0 5px 15px rgba(0,0,0,0.08);
                padding: 20px;
            }
            
            .event-header {
        background: linear-gradient(45deg, #002147, #073f7f);
        color: white;
        padding: 20px;
        border-radius: 12px;
        margin-bottom: 30px;
        text-align: center;
    }
            
            .event-header h2 {
                font-weight: 600;
                margin-bottom: 10px;
            }
            
            .event-header p {
                opacity: 0.9;
            }
            
            .ticket-card {
                border: 1px solid #e0e0e0;
                border-radius: 12px;
                padding: 30px;
                margin-bottom: 20px;
                transition: all 0.3s ease;
                position: relative;
                overflow: hidden;
            }
            
            .ticket-card:hover {
                transform: translateY(-5px);
                box-shadow: 0 10px 20px rgba(0,0,0,0.1);
                border-color: #31c0f0;
            }
            
            .ticket-card.selected {
                border: 2px solid #31c0f0;
                background-color: #f0f7ff;
            }
            
            .ticket-header {
                display: flex;
                justify-content: space-between;
                align-items: center;
                margin-bottom: 15px;
                border-bottom: 1px dashed #e0e0e0;
                padding-bottom: 15px;
            }
            
            .ticket-title {
                font-weight: 600;
                color: #333;
                font-size: 1.2rem;
            }
            
            .ticket-price {
                font-weight: 700;
                color: #31c0f0;
                font-size: 1.3rem;
            }
            
            .ticket-actions {
                display: flex;
                align-items: center;
                gap: 10px;
            }
            
            .quantity-selector {
                width: 120px;
                border-radius: 8px !important;
                border: 1px solid #ddd;
            }
            
            .add-btn {
                background-color: #31c0f0;
                color: white;
                border: none;
                padding: 8px 20px;
                border-radius: 8px;
                transition: all 0.3s ease;
            }
            
            .add-btn:hover {
                background-color: #3a0ca3;
            }
            
            .ticket-details {
                margin-top: 15px;
            }
            
            .detail-heading {
                font-weight: 600;
                margin-bottom: 12px;
                color: #333;
            }
            
            .detail-item {
                display: flex;
                align-items: flex-start;
                margin-bottom: 8px;
            }
            
            .detail-item .form-check {
                margin-right: 10px;
                margin-top: 3px;
            }
            
            .detail-item p {
                margin: 0;
                color: #555;
            }
            
            .popular-badge {
                position: absolute;
                top: 0;
                right: 0;
                background: #f72585;
                color: white;
                padding: 5px 15px;
                font-size: 0.8rem;
                border-radius: 0 12px 0 12px;
            }
            
            .best-value-badge {
                position: absolute;
                top: 0;
                right: 0;
                background: #26b774;
                color: white;
                padding: 5px 15px;
                font-size: 0.8rem;
                border-radius: 0 12px 0 12px;
            }
            
            .checkout-bar {
                position: sticky;
                bottom: 0;
                background: white;
                border-top: 1px solid #e0e0e0;
                padding: 15px 0;
                box-shadow: 0 -5px 15px rgba(0,0,0,0.05);
                z-index: 100;
            }
            
            .checkout-container {
                display: flex;
                justify-content: space-between;
                align-items: center;
            }
            
            .checkout-summary {
                display: flex;
                flex-direction: column;
            }
            
            .checkout-total {
                font-weight: 700;
                font-size: 1.5rem;
                color: #333;
            }
            
            .checkout-count {
                color: #666;
            }
            
            .proceed-btn {
                background: #31c0f0;
                color: white;
                border: none;
                padding: 12px 30px;
                border-radius: 8px;
                font-weight: 600;
                transition: all 0.3s ease;
                text-decoration: none;
                display: inline-block;
            }
            
            .proceed-btn:hover {
                background: linear-gradient(45deg, #2d0a7e, #3751d1);
                transform: translateY(-2px);
                color: white;
            }
            
            .form-check-input:checked {
                background-color: #31c0f0;
                border-color: #31c0f0;
            }
            
            #top_header {
                background-color: #1a1a1a;
                border-bottom: 1px solid rgba(255,255,255,0.1);
            }
            
            .navbar-brand img {
                max-height: 50px;
            }




/* Seat Selection  */

 .seat-selection-section {
        padding: 40px 0;
        background-color: #f8f9fa;
    }
    
    .seat-selection-container {
        font-family: 'Poppins', sans-serif;
        max-width: 1200px;
        margin: 0 auto;
        padding: 20px;
        background-color: #fff;
        border-radius: 15px;
        box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    }
    
    .seat-selection-header {
        margin-bottom: 20px;
    }
    
    .seat-selection-header h2 {
        margin-bottom: 15px;
        color: #333;
    }
    
    .event-details {
        display: flex;
        flex-wrap: wrap;
        gap: 20px;
        margin-bottom: 15px;
        font-size: 14px;
    }
    
    .seat-legend {
        display: flex;
        flex-wrap: wrap;
        gap: 20px;
        margin: 20px 0;
    }
    
    .legend-item {
        display: flex;
        align-items: center;
        gap: 5px;
        font-size: 14px;
    }
    
    .legend-color {
        width: 20px;
        height: 20px;
        border-radius: 4px;
    }
    
    .legend-color.available {
        background-color: #a5d6a7;
        border: 1px solid #81c784;
    }
    
    .legend-color.sold {
        background-color: #8d6e63;
        border: 1px solid #6d4c41;
    }
    
    .legend-color.my-seat {
        background-color: #64b5f6;
        border: 1px solid #42a5f5;
    }
    
    .legend-color.selected {
        background-color: #ffcc80;
        border: 1px solid #ffb74d;
    }
    
    .ticket-status {
        display: flex;
        flex-wrap: wrap;
        gap: 20px;
        margin-top: 15px;
        font-size: 14px;
    }
    
    .seating-chart {
        position: relative;
        overflow-x: auto;
        margin-top: 30px;
    }
    
    .stage {
        background-color: #e0e0e0;
        padding: 10px;
        text-align: center;
        font-weight: bold;
        margin-bottom: 20px;
        border-radius: 4px;
    }
    
    .rows {
        display: flex;
        flex-direction: column;
        gap: 5px;
    }
    
   .row>* {
    max-width: calc(100% - 30px);
}
    
    .row-label {
        width: 30px;
        font-weight: bold;
        text-align: center;
    }
    
    .row-seats {
        display: flex;
        gap: 5px;
    }
    
    .seat {
        width: 24px;
        height: 24px;
        display: flex;
        align-items: center;
        justify-content: center;
        font-size: 10px;
        cursor: pointer;
        border-radius: 4px;
        transition: all 0.2s;
    }
    
    .seat.available {
        background-color: #a5d6a7;
        border: 1px solid #81c784;
    }
    
    .seat.sold {
        background-color: #8d6e63;
        border: 1px solid #6d4c41;
        cursor: not-allowed;
        color: #fff;
    }
    
    .seat.my-seat {
        background-color: #64b5f6;
        border: 1px solid #42a5f5;
        color: #fff;
    }
    
    .seat.selected {
        background-color: #ffcc80;
        border: 1px solid #ffb74d;
    }
    
    .back-button {
        background-color: #e0e0e0;
        padding: 10px;
        text-align: center;
        font-weight: bold;
        margin-top: 20px;
        border-radius: 4px;
        cursor: pointer;
    }
    
    .action-buttons {
        display: flex;
        justify-content: flex-end;
        margin-top: 20px;
    }
    
    .request-seats {
        background-color: #31c0f0;
        color: white;
        border: none;
        padding: 8px 16px;
        border-radius: 4px;
        cursor: pointer;
        font-weight: 500;
    }
    
    .request-seats:hover {
        background-color: #31c0f0;
    }

    @media only screen and (max-width:540px) {
.ticket-header {
    display: block;
}
.row>* {
    max-width: calc(200% - 30px);
    width: auto;
}
 .add-btn {
    font-size: 14px;
    padding: 8px 5px;
   }
   .quantity-selector {
    width: 100px;
}
    }