   .timeslot-wrapper { overflow-x: auto; width: 100%; position: relative;} .timeslot-table { border-collapse: collapse; table-layout: fixed; } .timeslot-table td { padding: 0.5rem; } .timeslot-table .court-cell { position: sticky; left: 0; background: #f7f7f7; font-weight: bold; white-space: nowrap; border-right: 1px solid #ddd; line-height: initial; z-index: 100;} .timeslot-scroll { display: flex; gap: 1px; overflow-x: auto; -webkit-overflow-scrolling: touch; scrollbar-width: none; flex-wrap: wrap; justify-content: space-between;}
         .timeslot-scroll::-webkit-scrollbar { display: none; } .court-rate-mini {font-size: small; font-weight: 500;}
      :root {
            --accent-color: #16952e;
            --dark-color: #2d3436;
            --light-color: #f9f9f9;
            --card-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
        }
        
        #addOnsBtn {
            background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
            border: none;
            border-radius: 50px;
            padding: 12px 30px;
            font-weight: 600;
            color: white;
            box-shadow: 0 4px 15px rgba(108, 92, 231, 0.4);
            transition: all 0.3s ease;
        }
        
        #addOnsBtn:hover {
            transform: translateY(-3px);
            box-shadow: 0 8px 20px rgba(108, 92, 231, 0.6);
        }
        
        #addOnsBtn i {
            margin-right: 8px;
        }
        
        /*.modal-content {
            border-radius: 15px;
            border: none;
            box-shadow: var(--card-shadow);
            overflow: hidden;
        }
        
        .modal-header {
            background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
            color: white;
            border-bottom: none;
            padding: 20px 30px;
        }
        
        .modal-title {
            font-weight: 700;
            display: flex;
            align-items: center;
        }
        
        .modal-title i {
            margin-right: 10px;
            font-size: 1.5rem;
        }
        
        .modal-body {
            padding: 30px;
        }*/
        
        .addon-card {
            background-color: white;
            border-radius: 12px;
            box-shadow: var(--card-shadow);
            transition: all 0.3s ease;
            overflow: hidden;
            border: 1px solid rgba(0, 0, 0, 0.05);
            margin-bottom: 10px;
            padding: 6px;
        }
        
        .addon-card:hover {
            transform: translateY(-5px);
            box-shadow: 0 12px 25px rgba(0, 0, 0, 0.15);
        }
        
        .addon-card-body {
            padding: 20px;
            display: flex;
            align-items: center;
            justify-content: space-between;
        }
        
        .addon-info {
            flex-grow: 1;
            text-align: left;
        }
        
        .addon-name {
            font-weight: 600;
            color: var(--dark-color);
            margin-bottom: 5px;
        }
        
        .addon-rate {
            color: var(--accent-color);
            font-weight: 700;
            margin-bottom: 5px;
        }
        
        .addon-max {
            font-size: 0.85rem;
            color: #888;
        }
        
        .quantity-control {
            display: flex;
            align-items: center;
            border-radius: 50px;
            overflow: hidden;
            background-color: #f1f1f1;
            padding: 5px;
        }
        
        .qty-btn {
            width: 35px;
            height: 35px;
            display: flex;
            align-items: center;
            justify-content: center;
            background-color: white;
            border: none;
            border-radius: 50%;
            cursor: pointer;
            font-weight: bold;
            color: var(--primary-color);
            transition: all 0.2s ease;
            box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
        }
        
        .qty-btn:hover {
            background-color: var(--primary-color);
            color: white;
            transform: scale(1.05);
        }
        
        .qty-btn:disabled {
            opacity: 0.5;
            cursor: not-allowed;
            background-color: #e5e5e5;
            color: #999;
            transform: none;
        }
        
        .qty-input {
            width: 46px;
            text-align: center;
            font-weight: bold;
            border: none;
            background-color: transparent;
            color: var(--dark-color);
            padding: 0 10px;
        }
        
        .qty-input:focus {
            outline: none;
        }
        
        .modal-footer {
            border-top: none;
            padding: 0px 30px 25px;
        }
        
        .btn-apply {
            background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
            border: none;
            border-radius: 50px;
            padding: 12px 30px;
            font-weight: 600;
            color: white;
            min-width: 150px;
            box-shadow: 0 4px 15px rgba(108, 92, 231, 0.4);
            transition: all 0.3s ease;
        }
        
        .btn-apply:hover {
            transform: translateY(-3px);
            box-shadow: 0 8px 20px rgba(108, 92, 231, 0.6);
            color: rgb(216, 215, 215);
        }
        
        .btn-cancel {
            border-radius: 50px;
            padding: 12px 30px;
            font-weight: 600;
            min-width: 150px;
        }
        
        /* Badge for highlighting popular items */
        .badge-popular {
            position: absolute;
            top: 15px;
            right: 15px;
            background-color: var(--accent-color);
            color: white;
            padding: 5px 10px;
            border-radius: 20px;
            font-size: 0.75rem;
            font-weight: 600;
            box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
        }
        
        .addon-icon {
            font-size: 2rem;
            margin-right: 15px;
            color: var(--primary-color);
            background-color: rgba(108, 92, 231, 0.1);
            width: 50px;
            height: 50px;
            display: flex;
            align-items: center;
            justify-content: center;
            border-radius: 12px;
        }
        
        /* Responsive adjustments */
        @media (max-width: 767px) {
            .addon-card-body {
                flex-direction: column;
                text-align: center;
            }
            
            .addon-info {
                text-align: center;
                margin-bottom: 15px;
            }
            
            .addon-icon {
                margin-right: 0;
                margin-bottom: 15px;
            }
            
            .quantity-control {
                margin: 0 auto;
            }
        }

        .court-section {
            border: 2px solid #e9ecef;
            border-radius: 12px;
            margin-bottom: 15px;
            background: #fff;
            transition: all 0.3s ease;
        }
        
        .court-section:hover {
            border-color: var(--primary-color);
        }
        
        .court-header {
            background: var(--primary-color);
            color: white;
            padding: 12px 15px;
            display: flex;
            justify-content: space-between;
            align-items: center;
            margin: -2px -2px 0 -2px;
            border-radius: 10px 10px 0 0;
        }
        
        .court-info h6 {
            margin: 0;
            font-weight: 600;
        }
        
        .court-rate {
            font-size: 0.85em;
            opacity: 0.9;
        }
        
        .timeslot-grid {
            display: grid;
            grid-template-columns: repeat(auto-fill, minmax(90px, 1fr));
            gap: 8px;
            padding: 15px;
        }
        
        .timeslot-item {
            position: relative;
        }
        
        .timeslot-checkbox-mo {
            display: none;
        }
        
        .timeslot-label {
            display: block;
            padding: 8px 6px;
            background: #f8f9fa;
            border: 2px solid #e9ecef;
            border-radius: 8px;
            text-align: center;
            font-size: 0.8em;
            font-weight: 500;
            cursor: pointer;
            transition: all 0.3s ease;
            user-select: none;
            width: max-content;
        }
        
        .timeslot-label:hover {
            background: #e9ecef;
            transform: translateY(-2px);
        }
        
        .timeslot-checkbox-mo:checked + .timeslot-label {
            background: linear-gradient(135deg, #28a745, #20c997);
            color: white;
            border-color: #28a745;
            transform: scale(1.05);
        }
        
        .timeslot-label.unavailable {
            background: #f8d7da;
            color: #721c24;
            border-color: #f1aeb5;
            cursor: not-allowed;
            opacity: 0.6;
        }
        
        .global-select-all {         
            background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
            border: none;
            border-radius: 25px;
            padding: 10px 20px;
            color: white;
            font-weight: 600;
            margin-bottom: 20px;
        }
        
        .addon-section {
            background: #f8f9fa;
            border-radius: 12px;
            padding: 20px;
            margin-top: 20px;
            opacity: 0.5;
            transition: opacity 0.3s ease;
        }
        
        .addon-section.enabled {
            opacity: 1;
        }
        
        .addon-card {
            background: white;
            border-radius: 12px;
            padding: 15px;
            margin-bottom: 15px;
            box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
            transition: all 0.3s ease;
            position: relative;
            padding: 5px;
        }
        
        .addon-card:hover {
            transform: translateY(-2px);
            box-shadow: 0 8px 15px rgba(0, 0, 0, 0.1);
        }
        
        .badge-popular {
            position: absolute;
            top: -5px;
            right: -5px;
            background: #ff6b6b;
            color: white;
            padding: 4px 8px;
            border-radius: 12px;
            font-size: 0.7em;
            font-weight: 600;
        }
        
        .addon-content {
            display: flex;
            align-items: center;
            /* gap: 15px; */
            justify-content: center;
        }
        .addon-info {
            flex: 1;
        }
        
        .addon-name {
            font-weight: 600;
            margin-bottom: 4px;
        }
        
        .addon-rate {
            color: #28a745;
            font-weight: 600;
        }
        
        .addon-max {
            font-size: 0.8em;
            color: #6c757d;
        }
        
        .quantity-control {
            display: flex;
            align-items: center;
            gap: 10px;
            height: fit-content;
        }
        
        .qty-btn {
            width: 35px;
            height: 35px;
            border: 2px solid var(--primary-color);
            background: white;
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            cursor: pointer;
            transition: all 0.3s ease;
            font-weight: 600;
            color: #667eea;
        }
        
        .qty-btn:hover:not(:disabled) {
            background: var(--primary-color);
            color: white;
        }
        
        .qty-btn:disabled {
            opacity: 0.3;
            cursor: not-allowed;
        }
        
        .qty-input {
            width: 50px;
            text-align: center;
            /* border: 2px solid #e9ecef; */
            border-radius: 8px;
            padding: 8px;
            font-weight: 600;
            text-align: end;
        }
        
        .summary-card {
            background: linear-gradient(135deg, #28a745, #20c997);
            color: white;
            border-radius: 12px;
            padding: 20px;
            margin-top: 20px;
        }
        
        .btn-apply {
            background: linear-gradient(135deg, #28a745, #20c997);
            border: none;
            border-radius: 25px;
            padding: 12px 30px;
            color: white;
            font-weight: 600;
        }
        
        .btn-cancel {
            border: 2px solid #6c757d;
            border-radius: 25px;
            padding: 10px 25px;
        }
        .court-selection-head{
            background: #f8f9fa;
            border-radius: 12px;
            padding: 20px;
        }
        #addonsContainer{
         display: flex;
         justify-content: center;
         align-items: center;
         gap: 10px;
        }
        .addon-flex-2{
            display: flex;
            justify-content: center;
            align-items: center;
        }
         @media (max-width: 991px) {
            #addonsContainer{
                flex-direction: column;
            }
         }
        .complementary {
            background: linear-gradient(45deg, #00c851, #007e33);
            color: white;
            padding: 4px 10px;
            border-radius: 20px;
            font-weight: 600;
            letter-spacing: 0.5px;
            font-size: 0.75rem;
            box-shadow: 0 1px 4px rgba(0, 0, 0, 0.1);
            text-transform: uppercase;
        }
        .theshwoingdiv{
            display: flex;
             padding: 12px 10px;
             gap:18px;
            align-items: center;
            padding:10px;
            color: #070707;
            border-radius: 6px;
            margin-bottom: 20px;
            background: transparent;
            border: none;
            outline: none;
            border: 1px solid rgba(87, 87, 87, 0.54);
            text-shadow: 0 0 0 #c1c1c1;
            width: 100%;
            justify-content: center;
        }
        .squrestime{
            border: 1px solid rgb(89 157 193 / 62%);
            padding: .30rem ;
            flex: 1;
            display: flex;
            justify-content: center;
            align-items: center;
            border-radius: 10px;
            background: #e6f5f7;
        }
        .squrestime p {
            display: flex;
            flex-direction: column;
            justify-content: center;
            align-items: center;
        }

        #addonsContainer{
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
            gap: 20px;
            width: 100%;
            max-width: 1200px;
            margin: 0 auto;
        }
        @media (max-width: 768px) {
            #addonsContainer {
                grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
            }
        }

        @media (max-width: 480px) {
            #addonsContainer {
                grid-template-columns: 1fr; /* Stack items in one column */
            }
        }
        .addon-flex-2{
            display: flex;
            justify-content: center;
            align-items: center;
        }
        .thslcttagradio{
            display: flex;
            align-items: center;
            gap:20px;
            font-weight: 500;
        }
        .thslcttagradio label{
            font-size: 1.25rem;
        }

        .thslcttagradio input{
            border-color: #070707;
        }
        