.main-content {
    padding: 20px;
    overflow: auto;
    /* height: 100%; */
    min-height: 759px;
    
    /* Ticket Selection Container */
    .ticket-selection-container {
        height: 100%;
        display: flex;
        flex-direction: column;

        border-radius: 24px;
        padding: 30px;
        /* background-color: var(--purple-50); */
        margin: auto;
        box-shadow: 0 10px 30px rgba(111, 68, 255, 0.1);
        border: 1px solid var(--purple-100);
        position: relative;
        width: 100%;
        max-width: 1410px;
        
        /* Header Styles */
        .ticket-selection-header {
            display: flex;
            align-items: center;
            margin-bottom: 15px;
            
            .ticket-selection-title-container {
                display: flex;
                align-items: center;
                gap: 10px;
                
                .ticket-selection-icon {
                    color: var(--primary);
                    font-size: 30px;
                    transform: rotate(-15deg);
                }
                
                .ticket-selection-title {
                    font-size: 28px;
                    font-weight: 800;
                    color: var(--neutral-800);
                    font-family: var(--font-heading);
                    letter-spacing: -0.01em;
                    margin: 0;
                }
            }
        }
        
        .ticket-selection-description {
            color: var(--neutral-600);
            margin-bottom: 15px;
            font-size: 15px;
            max-width: 80%;
        }
        
        /* Layout Container */
        .ticket-selection-layout {
            display: flex;
            justify-content: center;
            align-items: flex-start;
            gap: 25px;
            position: relative;
            height: 100%;
            
            /* Ticket Table Styles */
            .ticket-table-container {
                border-radius: 16px;
                overflow: hidden;
                box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
                background: white;
                border: 1px solid var(--purple-100);
                width: 60%;
                /* height: 552px; */
                height: 100%;
                display: flex;
                flex-direction: column;

        
                .ticket-table-header {
                    display: flex;
                    justify-content: space-between;
                    padding: 15px 20px;
                    border-bottom: 2px solid var(--purple-100);
                    background-color: var(--purple-50);
                    
                    .ticket-type-header,
                    .ticket-price-header,
                    .ticket-action-header {
                        font-weight: 700;
                        color: #ff5757;
                        font-size: 14px;
                    }
                    
                    .ticket-type-header {
                        flex: 2;
                    }
                    
                    .ticket-price-header {
                        flex: 1;
                        text-align: center;
                    }
                    
                    .ticket-action-header {
                        flex: 1;
                        text-align: right;
                    }
                }
        
                .ticket-table-body {
                    flex: 0 1 auto;
                    /* max-height: 450px; */
                    overflow: auto;
                    padding: 0 20px;
                    /* height: 497px; */
        
                    /* Ticket Type Styles */
                    .ticket-type-row {
                        display: flex;
                        gap: 10px;
                        justify-content: space-between;
                        align-items: center;
                        padding: 15px 0;
                        border-bottom: 1px solid var(--purple-100);
                        
                        .ticket-info {
                            flex: 2;
                            
                            .ticket-name {
                                font-size: 15px;
                                font-weight: 600;
                                color: var(--neutral-800);
                            }
                            
                            .ticket-description {
                                font-size: 13px;
                                color: var(--neutral-600);
                                margin-top: 3px;

                                .desc-text-mobile, .more-link-mobile {
                                    display: none;
                                }
                            }
                        }

                        .ticket-price {
                            flex: 1;
                            text-align: center;
                            font-size: 15px;
                            font-weight: 600;
                            color: var(--neutral-800);
                        }
                        
                        .ticket-action {
                            flex: 1;
                            display: flex;
                            justify-content: flex-end;
                            
                            .quantity-control {
                                display: flex;
                                align-items: center;
                                gap: 10px;
                                
                                .quantity-button {
                                    width: 24px;
                                    height: 24px;
                                    border-radius: 50%;
                                    background-color: var(--purple-100);
                                    border: none;
                                    color: var(--primary);
                                    font-weight: 700;
                                    display: flex;
                                    align-items: center;
                                    justify-content: center;
                                    cursor: pointer;
                                    font-size: 18px;
                                    transition: all 0.2s ease;
                                    
                                    &:hover {
                                        background-color: var(--purple-200);
                                    }
                                }
                                
                                .quantity-value {
                                    font-weight: 600;
                                    color: var(--primary);
                                }
                            }
                        }
                    }
                }
            }
        
            /* Cart Container */
            .ticket-cart-container {
                position: relative;
                width: 35%;
        
                .mobile-cart-header {
                    display: none;
                }
        
                /* Cart styles */
                .cart-container {
                    border-radius: 0 0 16px 16px;
                    overflow: hidden;
                    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
                    background: white;
                    border: 1px solid var(--purple-100);
                    padding: 20px;
                    
                    .cart-details-container {
                        height: 340px;
                        display: flex;
                        flex-direction: column;
                        
                        .cart-items {
                            max-height: 243px;
                            overflow-y: auto;
                            margin-bottom: 20px;
                            flex: 1;
                            
                            .cart-item {
                                display: flex;
                                justify-content: space-between;
                                align-items: center;
                                padding: 15px 0;
                                border-bottom: 1px solid var(--purple-100);
                                
                                .cart-item-info {
                                    flex: 1;
                                    
                                    .cart-item-name {
                                        font-size: 14px;
                                        font-weight: 600;
                                        color: var(--neutral-800);
                                    }
                                    
                                    .cart-item-price-container {
                                        display: flex;
                                        align-items: center;
                                        gap: 5px;
                                        margin-top: 4px;
                                        
                                        .cart-item-price {
                                            font-size: 14px;
                                            color: var(--neutral-600);
                                        }
                                        
                                        .cart-item-quantity {
                                            color: var(--primary);
                                            font-weight: 600;
                                        }
                                    }
                                }
                                
                                .remove-button {
                                    background-color: transparent;
                                    border: none;
                                    color: var(--neutral-400);
                                    font-size: 18px;
                                    cursor: pointer;
                                    display: flex;
                                    align-items: center;
                                    justify-content: center;
                                    width: 30px;
                                    height: 30px;
                                    border-radius: 50%;
                                    transition: all 0.2s ease;
                                    
                                    &:hover {
                                        background-color: var(--purple-100);
                                        color: var(--primary);
                                    }
                                }
                            }
                        }
                        
                        .cart-summary-row {
                            display: flex;
                            justify-content: space-between;
                            margin-bottom: 10px;
                            font-size: 14px;
                            color: var(--neutral-600);
                        }
                        
                        .cart-total-row {
                            display: flex;
                            justify-content: space-between;
                            margin-bottom: 10px;
                            padding-top: 10px;
                            border-top: 1px solid var(--purple-100);
                            
                            .cart-total-label,
                            .cart-total-amount {
                                font-weight: 700;
                                font-size: 16px;
                                color: var(--neutral-800);
                            }
                        }
                    }
                    
                    /* Promo Code Section */
                    .promo-code-container {
                        margin-top: 15px;
                        
                        .promo-code-form {
                            display: flex;
                            align-items: center;
                            gap: 10px;
                            margin-bottom: 5px;
                            
                            .promo-code-input {
                                flex: 1;
                                padding: 10px 15px;
                                border-radius: 8px;
                                border: 1px solid var(--purple-100);
                                font-size: 14px;
                                outline: none;
                                transition: all 0.2s ease;
                                
                                &:focus {
                                    border-color: var(--primary);
                                    box-shadow: 0 0 0 2px var(--purple-100);
                                }
                            }
                        }
                        
                        .promo-message {
                            display: none;
                            font-size: 12px;
                            margin-top: 5px;
                            text-align: center;
                        
                            &.show {
                                display: block !important;
                            }
                            
                            &.error-message {
                                color:  #FF0056;
                                font-size: 12px;
                                margin-top: 5px;
                            }
                            
                            &.success-message {
                                color: #22c55e;
                                font-size: 12px;
                                margin-top: 5px;
                            }
                        }
                    }
                    
                    .checkout-button {
                        width: 100%;
                        padding: 14px;
                        background-color: #ff5757;
                        color: white;
                        border: none;
                        border-radius: 10px;
                        font-size: 16px;
                        font-weight: 600;
                        cursor: pointer;
                        margin-top: 20px;
                        display: flex;
                        align-items: center;
                        justify-content: center;
                        gap: 10px;
                        transition: all 0.2s ease;
                        
                        &:hover {
                            background-color: #e04949;
                            transform: translateY(-2px);
                        }
                    }
                    
                    .cart-empty {
                        flex: 1;
                        display: flex;
                        flex-direction: column;
                        align-items: center;
                        justify-content: center;
                        padding: 30px 0;
                        color: var(--neutral-500);
                        
                        .cart-empty-icon {
                            color: var(--neutral-300);
                            margin-bottom: 15px;
                            font-size: 125px;
                        }
                        
                        .cart-empty-title {
                            font-size: 16px;
                            font-weight: 600;
                            margin-bottom: 5px;
                        }
                        
                        .cart-empty-text {
                            font-size: 14px;
                            text-align: center;
                            max-width: 200px;
                        }
                    }
                }
            }
            
            /* Timer Styles */
            .timer-banner {
                position: relative;
                width: 100%;
                z-index: 5;
                background: linear-gradient(135deg, var(--purple-100), var(--purple-200));
                border-radius: 10px 10px 0 0;
                padding: 10px 15px;
                display: flex;
                align-items: center;
                justify-content: space-between;
                box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.05);
            
                &.timer-cart {
                    display: flex;
                }
                
                &.timer-table {
                    display: none;
                }
                
                .timer-label {
                    display: flex;
                    align-items: center;
                    gap: 8px;
                    
                    .timer-label-text {
                        font-size: 16px;
                        font-weight: 700;
                        color: var(--purple-800);
                    }
                }
                
                .timer-display {
                    display: flex;
                    align-items: center;
                    gap: 5px;
                    font-family: var(--font-heading);
                    animation: pulse 1s infinite;
                    
                    .timer-digit {
                        background: var(--purple-600);
                        color: white;
                        border-radius: 6px;
                        padding: 5px 8px;
                        font-size: 18px;
                        font-weight: 700;
                        min-width: 36px;
                        text-align: center;
                        box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
                    }
                    
                    .timer-colon {
                        color: var(--purple-900);
                        font-weight: 700;
                        font-size: 18px;
                    }
                }
            }
        }
        
        .cart-toggle-button {
            position: fixed;
            bottom: 20px;
            right: 20px;
            width: 60px;
            height: 60px;
            border-radius: 30px;
            background-color: var(--purple-600);
            color: #fff;
            border: none;
            box-shadow: 0 4px 15px #6f44ff4d;
            display: none;
            align-items: center;
            justify-content: center;
            cursor: pointer;
            z-index: 100;
            transition: all .3s ease;
            
            &:hover {
                background-color: var(--purple-700);
                transform: translateY(-3px);
                box-shadow: 0 6px 20px #6f44ff66
            }
            
            .cart-item-count {
                font-family: var(--font-primary);
                position: absolute;
                top: -5px;
                right: -5px;
                background-color: #ff5757;
                color: #fff;
                width: 24px;
                height: 24px;
                border-radius: 50%;
                display: flex;
                align-items: center;
                justify-content: center;
                font-size: 12px;
                /* font-weight: 700; */
                border: 2px solid white
            }
        }
    }
}


/* Animation for timer */
@keyframes pulse {
    0% {
        opacity: 1;
        transform: scale(1);
    }

    50% {
        opacity: 0.9;
        transform: scale(1.02);
    }

    100% {
        opacity: 1;
        transform: scale(1);
    }
}

/* Responsive styles */
@media (max-width: 768px) {
    .main-content {
        min-height: 530px;

        .ticket-selection-container {
            padding: 20px 15px;
            /* margin: 20px 12px; */
            border-radius: 16px;
            /* margin-top: 135px;
            margin-bottom: 5px; */
        
            .ticket-selection-header {
                justify-content: center;
            }
        
            .ticket-selection-description {
                max-width: 100%;
                display: none;
            }
        
            .ticket-selection-layout {
                display: block;
                /* flex-direction: column;
                gap: 15px; */
            
                .ticket-table-container {
                    width: 100%;
                    /* border-radius: 0 0 16px 16px; */
                    /* height: 502px; */
    
                    .ticket-table-body {
                        /* height: 400px; */
    
                        .ticket-type-row .ticket-info .ticket-description {
                            .desc-text {
                                display: none;
                            }
    
                            .desc-text-mobile {
                                display: inline;
                        
                                .long {
                                    display: none;
                                }
                        
                                &.full {
                                    .long {
                                        display: inline;
                                    }
                        
                                    .short {
                                        display: none;
                                    }
                                }
                            }
    
                            .more-link-mobile {
                                display: inline;
                                color: #007BB3;
                                text-decoration: none;
                                cursor: pointer;
                                font-size: 14px;
                            }
                        }
                    }
                }
            
                .ticket-cart-container {
                    width: 100%;
                    /* display: none; */
            
                    &.visible {
                        /* display: block !important; */

                        .mobile-cart-overlay {
                            opacity: 1;
                            pointer-events: all;

                            .mobile-cart-popup {
                                translate: 0 0;
                                /* opacity: 1; */
                                pointer-events: all;
                            }
                        }
                    }
                
                    .mobile-cart-overlay {
                        display: flex;
                        position: fixed;
                        top: 0;
                        left: 0;
                        right: 0;
                        bottom: 0;
                        background-color: #0009;
                        z-index: 1000;
                        align-items: center;
                        justify-content: center;
                        -webkit-backdrop-filter: blur(2px);
                        backdrop-filter: blur(2px);
                        cursor: pointer;
                        opacity: 0;
                        pointer-events: none;
                        transition: all 150ms ease;
                    
                        .mobile-cart-popup {
                            position: fixed;
                            bottom: 0;
                            left: 0;
                            right: 0;
                            background-color: #fff;
                            border-radius: 20px 20px 0 0;
                            box-shadow: 0 -4px 20px #00000026;
                            max-height: 80dvh;
                            overflow-y: auto;
                            z-index: 1001;
                            padding: 20px;
                            cursor: initial;
                            transition: all 300ms ease-out;

                            translate: 0 100%;
                            /* opacity: 0.8; */
                            pointer-events: none;
                        
                            .mobile-cart-header {
                                display: flex;
                                align-items: center;
                                justify-content: center;
                                position: relative;
                                margin-bottom: 15px;
                                padding-bottom: 10px;
                                border-bottom: 1px solid var(--purple-100);
                            
                                .cart-title {
                                    font-size: 18px;
                                    font-weight: 700;
                                    color: var(--neutral-800);
                                    margin: 0
                                }
                                
                                .cart-item-count-badge {
                                    margin-left: 8px;
                                    background-color: #ff5757;
                                    color: white;
                                    border-radius: 50%;
                                    width: 24px;
                                    height: 24px;
                                    display: inline-flex;
                                    align-items: center;
                                    justify-content: center;
                                    font-size: 14px;
                                    font-weight: 700;
                                }
                        
                                .cart-overlay-close-button {
                                    position: absolute;
                                    right: -10px;
                                    background: transparent;
                                    border: none;
                                    font-size: 24px;
                                    color: var(--neutral-700);
                                    cursor: pointer;
                                    z-index: 1010;
                                    width: 40px;
                                    height: 40px;
                                    display: flex;
                                    align-items: center;
                                    justify-content: center;
                                    border-radius: 50%;
                                    
                                    &:hover {
                                        background-color: var(--purple-50)
                                    }
                                }
                            }
                        }
                    
                        .cart-container .cart-details-container {
                            height: initial;
                            max-height: 340px;
                        }
                    }
                }
            
                .timer-banner {
                    &.timer-cart {
                        display: none;
                    }
                
                    &.timer-table {
                        display: flex;
                    }
                
                    .timer-label .timer-label-text {
                        font-size: 14px;
                    }
    
                    .timer-display {
                        .timer-digit {
                            font-size: 16px;
                            padding: 4px 6px;
                            min-width: 28px;
                        }
                    
                        .timer-colon {
                            font-size: 16px;
                        }
                    }
                }
            }
            
            .cart-toggle-button {
                display: flex;
            }
        }
    }
}