:root {

    --tick-check-icon-color: #fff;

    --white: #ffffff;
    --subs-border-active: var(--main-bg-color);


    --option-border: #ddd;

    --circle-border-color: #707070;

}
.pack-left-side .imgprofile {
    aspect-ratio: 1/1;
}
.price-title {
    gap: 5px;
    display: flex;
    align-items: center;
}

    /* Desktop: Sticky Left Side, Scrollable Right Side */
    @media (min-width: 992px) {
        .pack-left-side {
            position: sticky;
            top: 20px;
            align-self: flex-start;
            display: flex;
            flex-direction: column;
        }
        
        /* Left side should not scroll - let content flow naturally */
        .pack-left-side {
            overflow: visible !important;
        }
        
        .pack-right-side {
            /* max-height: calc(100vh - 40px);
            overflow-y: auto; */
            padding-right: 8px;
            margin-right: -8px;
        }
        
        /* Custom scrollbar for right side - thinner */
        .pack-right-side::-webkit-scrollbar {
            width: 4px;
        }
        
        .pack-right-side::-webkit-scrollbar-track {
            background: transparent;
        }
        
        .pack-right-side::-webkit-scrollbar-thumb {
            background: #ccc;
            border-radius: 10px;
        }
        
        .pack-right-side::-webkit-scrollbar-thumb:hover {
            background: #999;
        }
        
        /* Ensure confirm button is visible on desktop */
        .confirm-btn-desktop {
            position: relative !important;
        }
    }
    
    /* Modern Date and Slot Display Styles */
    .date-display-modern > div:hover,
    .slot-display-modern > div:hover {
        border-color: var(--main-bg-color, #4A90E2) !important;
    }
    
    .date-display-modern > div:active,
    .slot-display-modern > div:active {
        border-color: var(--main-bg-color, #4A90E2) !important;
        box-shadow: 0 0 0 3px rgba(74, 144, 226, 0.1);
    }
    
    /* Prepaid Card Radio Button Styling */
    .prepaid-card input[type="radio"] {
        position: absolute;
        opacity: 0;
        width: 20px;
        height: 20px;
        margin: 0;
        cursor: pointer;
    }
    
    .prepaid-card {
        position: relative;
    }
    
    /* Prepaid Card Selected State - Green */
    .prepaid-card input[type="radio"]:checked ~ .input-radio {
        border-color: #4CAF50 !important;
        background: #f1f8f4 !important;
    }
    
    .prepaid-card input[type="radio"]:checked ~ .input-radio .radio-indicator {
        border-color: #4CAF50 !important;
    }
    
    .prepaid-card input[type="radio"]:checked ~ .input-radio .radio-dot {
        background: #4CAF50 !important;
        width: 10px;
        height: 10px;
    }
    
    .prepaid-card input[type="radio"]:checked ~ .input-radio .radio-dot::after {
        content: "";
        position: absolute;
        width: 6px;
        height: 6px;
        background: #fff;
        border-radius: 50%;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
    }
    
    .prepaid-card .radio-dot {
        position: relative;
    }
    
    /* Slot Options Styling */
    .slot-option-modern {
        padding: 12px 16px;
        cursor: pointer;
        border-radius: 8px;
        margin-bottom: 4px;
        transition: all 0.2s;
        font-size: 15px;
        color: #1a1a1a;
    }
    
    .slot-option-modern:hover {
        background: #f5f5f5;
    }
    
    .slot-option-modern.selected {
        background: #e3f2fd;
        color: var(--main-bg-color, #4A90E2);
        font-weight: 600;
    }
    
    /* Desktop Cart Section */
    .desktop-cart-section {
        box-shadow: 0 -2px 10px rgba(0,0,0,0.1);
    }
    
    .add-to-cart-btn-desktop {
        cursor: pointer;
        transition: all 0.3s ease;
    }
    
    .add-to-cart-btn-desktop:hover {
        transform: translateY(-2px);
        box-shadow: 0 4px 12px rgba(0,0,0,0.25) !important;
        background: #f8f9fa !important;
    }
    
    .add-to-cart-btn-desktop:active {
        transform: translateY(0);
        box-shadow: 0 2px 6px rgba(0,0,0,0.2) !important;
    }
    
    @keyframes pulse {
        0% { transform: scale(1); }
        50% { transform: scale(1.05); }
        100% { transform: scale(1); }
    }
    
    .footer-price-value {
        transition: all 0.3s ease;
    }
    
    /* Sticky Footer - Mobile Only */
    .sticky-cart-footer-mobile {
        position: fixed;
        bottom: 0;
        left: 0;
        right: 0;
        background: var(--main-bg-color, #4A90E2);
        padding: 16px 0;
        box-shadow: 0 -2px 10px rgba(0,0,0,0.2);
        z-index: 1000;
    }
    
    .sticky-cart-footer-mobile .footer-pricing {
        display: flex;
        align-items: flex-start;
        justify-content: flex-start;
        gap: 8px;
    }
    

    .add-to-cart-btn-mobile {
        cursor: pointer;
    }
    
    .add-to-cart-btn-mobile:active {
        transform: scale(0.98);
        box-shadow: 0 1px 4px rgba(0,0,0,0.2) !important;
    }
    
    /* Mobile spacing */
    @media only screen and (max-width: 991px) {
        section.common-sec {
            padding-bottom: 90px !important;
        }
        
        .col-lg-7, .col-lg-5 {
            margin-bottom: 24px;
        }
        
        /* Hide scrollbars on mobile for cleaner look */
        .pack-left-side, .pack-right-side {
            overflow-y: visible !important;
            max-height: none !important;
        }
        
    }
    
    /* Prevent body scroll on desktop when right side scrolls */
    @media (min-width: 992px) {
        body {
            overflow-x: hidden;
        }
        
        section.common-sec {
            padding-bottom: 90px !important;
        }
    }


@media only screen and (max-width: 991px) {
    .sticky-db-new {
    
        z-index: 3;
    
    }
    .full-text {
  
    z-index: 333 !important;
}
}
.prepaid-cards-wrapper {
  overflow-y: auto;
  -webkit-overflow-scrolling: touch; /* required for iOS */
  transition: max-height 0.25s ease;
}

#prepaid-pack-scroll {
  -webkit-overflow-scrolling: touch;
}
.input-radio {
    padding: 10px 25px 10px 0;
}

.hidden-radio {
    display: none;
}

/* Main card container */
.prepaid-card {
    display: block;
    position: relative;
    cursor: pointer;
}


/* Tick mark circle */
.tick-mark {
    position: absolute;
    top: 6px;
    right: 6px;
    width: 18px;
    height: 18px;
    border: 2px solid #999;
    border-radius: 50%;
    display: inline-block;
    transition: 0.3s;
}


.sticky-footer-btn {
    /* position: sticky; */
    bottom: 0;
    background: #fff;
    padding: 12px 0;
    z-index: 999;
    height: 66px;
    line-height: 1.3;
}

div#slot-dropdown {
    padding-top: 15px !important;
}

.new-type.customisable-item-modal .modal-lower-discription {
    margin: 0;
}

div#slot-dropdownd label {
    margin-bottom: 0;
    margin-top: .5em;
}

@media only screen and (max-width: 991px) {
    .new-type.customisable-item-modal .modal-lower-discription {

        left: 0;
        right: 0;
        margin: auto;

    }
}

/* Create the tick (hidden at first) */
.tick-mark::after {
    content: "";
    position: absolute;
    width: 6px;
    height: 11px;
    border-right: 2px solid var(--tick-check-icon-color);
    border-bottom: 2px solid var(--tick-check-icon-color);
    transform: rotate(45deg);
    top: 0px;
    left: 4px;
    opacity: 0;
    transition: 0.3s;
}

/* Dropdown button */
/* Container */
.slot-section {
    position: relative;
    width: 100%;
}

/* Top row */
.slot-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

/* Dropdown button */
.subssec-display {
    display: inline-flex;
    align-items: center;
    padding: 6px 12px;
    background: #f8f8f8;
    border: 1px solid #ccc;
    border-radius: 18px;
    cursor: pointer;
    font-size: 14px;
}

.subssec-display i {
    margin-left: 6px;
    font-size: 14px;
}

/* Dropdown panel */
.subscription-dropdown {
    z-index: 10 !important;
    flex-wrap: wrap;
    display: none;
    position: absolute;
    margin-top: 6px;
    width: 130px;
    border: 1px solid #ddd;
    border-radius: 6px;
    padding: 10px 12px 10px 5px;
    box-sizing: border-box;
}

.prepaidViewMore .viewBtn {
    font-size: 12px;
    padding: 0;
    color: #777777;
}

.prepaidViewMore .viewBtn:hover {

    color: var(--main-bg-color);
}

.prepaidViewMore {
    text-align: center;
}

.slot-dropdown {
    margin-top: 0px !important;
}

/* Visible state */
.subscription-dropdown.show {
    display: block;
}

/* Option row */
.subs-option {
    display: flex;
    align-items: center;
    cursor: pointer;
    font-size: 14px;
    user-select: none;
    position: relative;
}

.subs-option:last-child {
    margin-bottom: 0;
}

/* Hide original radio */
.subs-option input[type="radio"] {
    display: none;
}

/* Custom radio circle */
.subs-circle {
    width: 14px;
    height: 14px;
    border: 1px solid #666;
    border-radius: 50%;
    display: inline-block;
    margin-right: 8px;
    position: relative;
}

/* Checked style (compatible with all browsers) */
.subs-option input[type="radio"]:checked+.subs-circle {
    border-color: var(--main-bg-color);
    
}

.subs-option input[type="radio"]:checked+.subs-circle::after {
    content: "";
    width: 7px;
    height: 7px;
    background: var(--main-bg-color);
    border-radius: 50%;
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    margin: auto;
}

/* Error label */
.error-text {
    color: #dc3545;
    display: none;
    font-size: 13px;
}

/* When radio is checked → show tick */
.hidden-radio:checked+.input-radio .tick-mark {
    background: var(--main-bg-color);
    border-color: var(--main-bg-color);
    z-index: 1000;
}

.hidden-radio:checked+.input-radio .tick-mark::after {
    opacity: 1;
}


/* Container */
.slot-section,
.daily-section {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-direction: column;
    position: relative;
}

/* Label */
.subssec-label {
    font-weight: 600;
    color: #222222;
    margin-bottom: 0;
}

/* Display box */
.subssec-display {
    display: flex;
    align-items: center;
    border: 1px solid #e1e1e1;
    border-radius: 50px;
    padding: 2px 14px;
    font-size: 13px;
    background: var(--white);
    cursor: pointer;
    transition: 0.2s ease;
    color: #222222;
}

.subssec-display i {
    margin-left: 6px;
    font-size: 15px;
    color: var(--main-bg-color);
}

.date-section {
    position: relative;
}

.new-type.customisable-item-modal .right-side-modal {
    padding-bottom: 0 !important;

}

small#error-date {
    width: 100%;
    display: block;
    position: absolute;
    text-align: right;
    right: 30px;
    bottom: -19px;
}

/* Dropdown */
.subscription-dropdown {
    display: none;
    margin-top: 30px;
    background: var(--white);
    z-index: 1000 !important;
    right: 25px;
}

/* Option label */
.subs-option {
    /* border: 1px solid #ddd;
    border-radius: 25px;
    
    text-align: center;
    margin-right: 5px;
   
    cursor: pointer;
    font-size: 13px;
    transition: all 0.2s ease;
    background: var(--white);
    position: relative;
    font-weight: 500; */
    display: block;
    line-height: 1.3;
    padding: 0px 10px 5px 25px;
}

/* Circle before text */
.subs-circle {
    width: 13px;
    height: 13px;
    display: inline-block;
    border: 1px solid var(--circle-border-color);
    border-radius: 100px;
    position: absolute;
    left: 6px;
    top: 3px;
}

/* Hide actual radio */
.subs-option input[type="radio"],
.slot-option input[type="checkbox"] {
    display: none;
}

/* Active state */
.subs-option.active,
.subs-option:has(input[type="radio"]:checked),
.slot-option.active,
.slot-option:has(input[type="checkbox"]:checked) {
    border-color: var(--main-bg-color);
    font-weight: 600;
}

.subs-option input[type="radio"]:checked+span,
.subs-option input[type="radio"]:checked {
    border-color: var(--main-bg-color);
    color: var(--main-bg-color);
    font-weight: 500;
}

/* Error message */
#error-type {
    color: #dc3545;
    display: none;
}
.full-text {
    bottom: 94px;
}
@media (max-width: 480px) {
    .subs-circle {
        width: 10px;
        height: 10px;

        top: 4px;

    }
}

@media screen and (min-width: 991px) {
    .new-type.customisable-item-modal .right-side-modal {

        height: auto !important;

    }

    .right-side--title {
        max-height: calc(100vh - 560px);
        overflow-y: auto;
        min-height: 440px;
        padding-bottom: 90px;
        /* prevent content from hiding behind button */
    }

    .wrappacks {
        margin-bottom: 40px;
    }

    .sticky-footer-btn {
        position: sticky;
    }
}