.toggle-skip-container {
    display: flex;
    justify-content: center; /* Space between toggle buttons and skip button */
    align-items: center;
    width: 100%; /* Ensure it takes full width */
    margin-bottom: 30px;
    background-color: var(--toggle-skip-container-background-color);
    border-bottom-left-radius: var(--toggle-skip-container-border-bottom-left-radius);
    padding: var(--toggle-skip-container-padding);
    /*padding-left: 38%;*/
}

.toggle {
    /*display: flex;*/
    /*justify-content: flex-end;*/ /* Align toggle buttons to the left */
    margin-bottom: 0;
    /*margin-left: 25%;*/
    padding: 0px;
    border-radius: 25px;
    border: 2px solid var(--toggle-border-color);
}

.toggle-button {
    padding: var(--toggle-button-padding);
    border: var(--toggle-buttons-border);
    cursor: pointer;
    background-color: var(--background-color);
    color: var(--toggle-font-color);
    font-size: var(--toggle-button-font-size);
    transition: background-color 0.3s, color 0.3s;
    border-radius: var(--toggle-buttons-border-radius);
    font-weight: 600;
}

    .toggle-button.active {
        background-color: var(--primary-color);
        color: var(--toggle-selected-font-color);
    }

    .toggle-button:not(.active):hover {
        background-color: var(--primary-color);
        color: var(--toggle-font-color);
        background: var(--toggle-background-color);
    }


/* Container Styles */
.container {
    background-color: var(--background-color);
    max-width: var(--product-container-max-width);
    margin: 0 auto;
    padding-top: var(--product-container-padding-top, 20px);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    position: relative;
    padding-left: var(--product-container-padding-left, 10px);
    padding-right: var(--product-container-padding-right, 10px);
}

.container, .add-on-step {
    /*max-height: 95vh;*/
    overflow-y: auto;
}

.mr-40 {
    margin-right: 20%
}


/* Product List Styles */
.product-list {
    display: flex;
    flex-wrap: wrap;
    gap: var(--card-gap);
    justify-content: center;
    margin-bottom: 30px;
}

.justify-space-between {
    justify-content: space-between;
}

/* Product Card Styles - Reduced Card Movement, Intense Glow */
.product {
    background: var(--card-bg-color);
    padding: var(--card-padding);
    border-radius: var(--card-border-radius);
    width: calc(var(--product-width) - 20px);
    max-width: var(--card-max-width);
    border: var(--card-border);
    box-shadow: var(--card-shadow);
    position: relative;
    display: flex;
    flex-direction: column;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    margin: 10px 0;
    padding-top: 0px;
}

    .product .title {
        color: var(--card-title-color);
        font-size: 24px;
        font-weight: 600;
        line-height: 2;
        display: grid;
        width: 100%;
        text-align: center;
    }

    /* Intense Glow but Minimal Pop on Hover */
    .product:hover, .product.selected {
        transform: translateY(-2px) scale(1.02);
        box-shadow: var(--card-selected-box-shadow);
        border: var(--card-selected-border);
        animation: var(--card-selected-animation);
    }

@keyframes intense-glow {
    from {
        box-shadow: 0 0 30px rgba(255, 69, 0, 1), 0 0 50px rgba(255, 99, 71, 0.9), 0 0 70px rgba(255, 165, 0, 0.8);
    }

    to {
        box-shadow: 0 0 40px rgba(255, 69, 0, 1), 0 0 60px rgba(255, 99, 71, 0.9), 0 0 80px rgba(255, 165, 0, 0.8);
    }
}

.button-link {
    background: none !important;
    border: none;
    padding: 0 !important;
    color: var(--button-link-color, #069);
    text-decoration: underline;
    cursor: pointer;
    float: right;
    margin-bottom: 15px;
    z-index: 9999999;
}

.button-left {
    position: absolute;
    left: 5%;
}

.button-float-left {
    float: left;
    margin-left: -10%;
}

.button-right {
    position: absolute;
    right: 5%;
}

/* Button Hover Effect */
.product-action {
    background-color: var(--secondary-color);
    color: var(--cta-text-color);
    border: none;
    padding: 15px 30px;
    margin-top: 20px;
    border-radius: 12px;
    font-size: 22px;
    cursor: pointer;
    transition: background-color 0.3s ease, transform 0.3s ease;
    width: 100%;
    display: block;
    text-align: center;
    box-shadow: var(--button-product-action-box-shadow);
}

    .product-action:hover {
        background-color: var(--button-hover-bg-color);
        color: var(--button-hover-text-color);
        border: 2px solid var(--button-hover-border-color);
        transform: scale(1.02);
    }

.product h2 {
    color: var(--header-text-color);
    background-color: var(--header-bg-color);
    font-size: 32px;
    margin-bottom: 20px;
    /*text-transform: uppercase;*/
    letter-spacing: 0px;
    line-height: 1.1;
    text-align: center;
    border: var(--header-border);
    padding: var(--header-padding);
    margin-top: var(--header-margin-top);
    min-height: var(--header-min-height);
    font-weight: var(--font-weight-h2);
}

.subcaption {
    margin-top: 8px;
    margin-bottom: 8px;
}

.product .subcaption {
    font-size: var(--card-subcaption-font-size);
    font-weight: var(--card-subcaption-font-weight);
    color: var(--card-subcaption-font-color);
    display: block;
    text-transform: var(--card-subcaption-text-transform);
    margin-bottom: 20px;
    /*height: 100px;*/
    line-height: 2;
    text-align: center;
    width: var(--card-subcaption-font-width);
}

.product .price {
    font-size: 36px;
    color: var(--text-color);
    text-align: center;
    display: grid;
}

    .product .price h3 {
        font-size: var(--font-size-h3);
        font-weight: var(--font-weight-h3);
        margin: 0;
        letter-spacing: var(--font-letter-spacing-h3);
    }

    .product .price span {
        font-size: var(--font-size-span);
        font-weight: var(--font-weight-span);
        letter-spacing: var(--font-letter-spacing-span);
        text-transform: var(--text-transform-span);
        color: var(--font-color-span);
    }

.product ul {
    list-style: none;
    padding: 0;
    margin-top: 20px;
    flex-grow: 1;
}

    .product ul li {
        margin-bottom: 15px;
        font-size: var(--font-size-li);
        color: var(--text-color);
        position: relative;
        padding-left: 25px;
        line-height: var(--product-ul-li-line-height);
        letter-spacing: 0.5px;
    }

        .product ul li::before {
            content: var(--card-bullet);
            color: var(--secondary-color);
            position: absolute;
            left: 0;
            top: var(--product-li-icon-top-position, 5px);
            font-size: 20px;
        }

        .product ul li:has(strong)::before {
            content: unset;
        }

        .product ul li span {
            margin-left: 8px;
        }
/* Product Button Alignment */
.product .cta-wrapper {
    margin-top: auto;
}

.product .caption {
    background-color: var(--card-caption-bg-color);
    padding: 10px 15px;
    position: var(--text-caption-position);
    top: var(--text-caption-top);
    left: 50%;
    transform: var(--product-caption-transform);
    border-radius: var(--card-caption-border-radius);
    font-size: var(--font-size-caption);
    color: var(--font-colot-product-caption, white);
    text-align: center;
    text-transform: var(--card-caption-text-transform);
    font-weight: var(--product-caption-font-weight);
    border-top-left-radius: var(--card-caption-border-radius-top);
    border-top-right-radius: var(--card-caption-border-radius-top);
    height: var(--caption-height);
    width: var(--card-caption-regular-width);
    border: var(--card-caption-border-radius-all);
}

.mango-orange-text {
    color: var(--primary-color);
}

.blocked-message {
    background-color: var(--cta-bg-color);
    color: var(--cta-text-color);
    border: none;
    padding: 15px 40px;
    font-size: 18px;
    font-weight: 500;
    letter-spacing: 1px;
    display: flex;
    align-items: center;
    justify-content: space-evenly;
    width: 100%;
    align-self: flex-end;
    height: 8%;
}

    .blocked-message span {
        width: 85%;
    }

    .blocked-message button {
        width: 10%;
        background-color: var(--secondary-color);
        color: var(--cta-text-color);
        border: none;
        padding: 15px 30px;
        border-radius: 12px;
        font-size: 16px;
        cursor: pointer;
        display: block;
        text-align: center;
        font-weight: 500;
    }

        .blocked-message button:hover {
            background-color: var(--button-hover-bg-color);
            color: var(--button-hover-text-color);
            border: 2px solid var(--button-hover-border-color);
        }

/* Common Button Styles */
.continue-button, .skip-button {
    background-color: var(--cta-bg-color);
    color: var(--cta-text-color);
    border: none;
    padding: 15px 40px;
    font-size: 18px;
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: 1px;
    border-radius: var(--border-radius);
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

    .continue-button:hover {
        background-color: var(--button-hover-bg-color);
        transform: translateY(-2px);
        box-shadow: 0 6px 8px rgba(0, 0, 0, 0.15);
    }

    .continue-button:active {
        transform: translateY(1px);
        box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    }

/* Continue Button Specific Styles */
.continue-container {
    display: flex;
    justify-content: center;
    margin-top: 30px;
    margin-bottom: 30px;
}

.continue-button::after {
    content: ' →';
    margin-left: 5px;
    font-size: 20px;
    vertical-align: middle;
}

/* Skip Button Specific Styles */
.skip-container-top, .skip-container-bot {
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 30px 0;
}

.skip-container-top {
    margin-top: 50px; /* Increased top margin */
}

.skip-button::after {
    content: ' →';
    margin-left: 5px;
    font-size: 20px;
    vertical-align: middle;
}

.skip {
    margin-left: auto; /* Push skip button to the right */
}

.skip-button {
    background-color: var(--cta-bg-color);
    color: var(--cta-text-color);
    border: none;
    padding: 10px 20px;
    font-size: 18px;
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: 1px;
    border-radius: var(--border-radius);
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

    .skip-button:hover {
        background-color: var(--button-hover-bg-color-secondary);
        transform: translateY(-2px);
        box-shadow: 0 6px 8px rgba(0, 0, 0, 0.15);
    }

    .skip-button:active {
        transform: translateY(1px);
        box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    }

/* Media Queries */
@media (max-width: 1024px) {
    .product {
        width: calc(50% - 20px);
    }
}

@media (max-width: 768px) {
    .product {
        width: 100%;
    }
}


/* Update the add-on step container to have a relative position */
.add-on-step {
    position: relative;
    padding-bottom: 70px;
}


/* Styling for Continue Button */
.continue-button {
    background-color: var(--cta-bg-color);
    color: var(--cta-text-color);
    border: none;
    padding: 15px 40px;
    font-size: 18px;
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: 1px;
    border-radius: var(--border-radius);
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

    .continue-button:hover {
        background-color: var(--button-hover-bg-color-secondary);
        transform: translateY(-2px);
        box-shadow: 0 6px 8px rgba(0, 0, 0, 0.15);
    }

    .continue-button:active {
        transform: translateY(1px);
        box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    }

.continue-container {
    display: flex;
    justify-content: center;
    margin-top: 30px;
    margin-bottom: 30px;
}

.continue-button::after {
    content: ' →';
    margin-left: 5px;
    font-size: 20px;
    vertical-align: middle;
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateY(0);
    }

    40% {
        transform: translateY(-20px);
    }

    60% {
        transform: translateY(-10px);
    }

    from {
        box-shadow: 0 0 30px rgba(255, 69, 0, 1), 0 0 50px rgba(255, 99, 71, 0.9), 0 0 70px rgba(255, 165, 0, 0.8);
    }

    to {
        box-shadow: 0 0 40px rgba(255, 69, 0, 1), 0 0 60px rgba(255, 99, 71, 0.9), 0 0 80px rgba(255, 165, 0, 0.8);
    }
}

/* Add the bounce animation to the button */
.bounce {
    animation: bounce 1s ease infinite;
}

/* Optionally, keep the glowing effect */
.glow {
    box-shadow: 0 0 10px rgba(255, 255, 0, 0.8);
}

.pd-30 {
    padding: 30px;
}

.bg-transparent {
    background: transparent !important;
}

.card-price-min-height {
    min-height: var(--card-price-min-height);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    height: 100%;
    box-sizing: border-box;
    margin-bottom: 3%;
}

.card-price-flex-column {
    display: flex;
    flex-direction: column;
}

.product-selection-step .centered-container p {
    color: var(--header-text-color);
    font-size: 18px;
    font-weight: 600;
    line-height: 1.4em;
}

.product-selection-step {
    background: transparent;
}
/*cosmolex new styles*/
.toggle-container {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 10px 20px;
    border-radius: 30px;
}

.toggle-span-container {
   display: flex;
   flex-direction: column;
   align-items: center;
}

.toggle-label {
    color: var(--white-background);
    font-size: 18px;
    font-weight: 500;
}

.toggle-label-callout {
    color: var(--saving-background-color) !important;
    font-size: 12px;
    font-weight: 500;
    margin-top: 2px;
}

.toggle-switch {
    position: relative;
    display: inline-block;
    width: 50px;
    height: 25px;
}

    .toggle-switch input {
        opacity: 0;
        width: 0;
        height: 0;
    }

.slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #fff;
    transition: 0.3s;
    border-radius: 25px;
}

    .slider:before {
        content: "";
        position: absolute;
        height: 18px;
        width: 18px;
        left: 4px;
        bottom: 3.5px;
        background-color: #1c274c;
        transition: 0.3s;
        border-radius: 50%;
    }

input:checked + .slider {
    background-color: white;
}

    input:checked + .slider:before {
        transform: translateX(24px);
        background-color: #1c274c;
    }

.custom-product-card-normal-size {
    min-height: var(--product-height);
}

ul > li > a {
    color: var(--primary-color);
    font-weight: 600;
}

/* Overall Card Styling */
.custom-product-card {
    background: var(--white-background);
    border-radius: 16px; /* More rounded */
    padding: 0;
    box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.1);
    width: var(--product-width);
    overflow: auto;
    margin: 0px;
    overflow: hidden; /* Ensures rounded border applies to children */
}

@media screen and (max-width: 431px) {
    .custom-product-card {
        width: var(--product-width-mobile);
    }

    .bubble-timesolv {
        background: rgba(17, 24, 39, 0.85) !important;
    }

        .bubble-timesolv::after {
            border-color: rgba(17, 24, 39, 0.85) transparent transparent transparent !important;
        }
}

@media screen and (max-width: 575.98px) {
    .custom-product-card {
        width: var(--product-width-mobile) !important;
    }

    .bubble-timesolv {
        background: rgba(17, 24, 39, 0.85) !important;
    }

        .bubble-timesolv::after {
            border-color: rgba(17, 24, 39, 0.85) transparent transparent transparent !important;
        }
}

/* Small devices (phones landscape & small tablets, 576px to 767.98px) */
@media screen and (min-width: 576px) and (max-width: 767.98px) {
    .custom-product-card {
        width: 400px;
    }

    .bubble-timesolv {
        background: rgba(17, 24, 39, 0.85) !important;
    }

        .bubble-timesolv::after {
            border-color: rgba(17, 24, 39, 0.85) transparent transparent transparent !important;
        }
}

@media (max-width: 820px) {
    .card-price-min-height {
        min-height: unset !important;
    }

    .bubble-timesolv {
        background: rgba(17, 24, 39, 0.85) !important;
    }

        .bubble-timesolv::after {
            border-color: rgba(17, 24, 39, 0.85) transparent transparent transparent !important;
        }
}


/* Medium devices (tablets, 768px to 991.98px) */
@media screen and (min-width: 768px) and (max-width: 991.98px) {
    .custom-product-card {
        width: 620px;
    }

    .bubble-timesolv {
        background: rgba(17, 24, 39, 0.85) !important;
    }

        .bubble-timesolv::after {
            border-color: rgba(17, 24, 39, 0.85) transparent transparent transparent !important;
        }
}

/* Large devices (desktops, 992px to 1199.98px) */
@media screen and (min-width: 995px) and (max-width: 1199.98px) {
    .custom-product-card {
        width: var(--product-width)
    }


    .bubble-timesolv {
        background: rgba(17, 24, 39, 0.85) !important;
    }

        .bubble-timesolv::after {
            border-color: rgba(17, 24, 39, 0.85) transparent transparent transparent !important;
        }
}

/* Extra large devices (large desktops, 1200px and up) */
@media screen and (min-width: 1200px) {
    .custom-product-card {
        width: var(--product-width)
    }
}



/* Green Header Section */
.custom-card-header {
    padding: 0px 16px 16px;
    border-radius: var(--custom-card-header-border-radius); /* Only top corners rounded */
    text-align: left;
    margin-bottom: 5px;
}

.custom-standard {
    background: var(--green-background-product);
}

.custom-elite {
    background: var(--orange-background-product);
}

.custom-product {
    background: var(--custom-background-product);
}

/* Title */
.custom-title {
    margin: 30px 10px 10px 10px;
    font-weight: bold;
    font-size: var(--font-size-title-products);
    color: var(--text-color-title-price-card);
}

.custom-title-crm-width {
    width: 100%;
    text-align: center;
}

.custom-container-title-badge {
    display: flex !important;
    justify-content: space-between !important;
    align-items: center !important;
}
/* Price Section */
.custom-price-section {
    display: flex;
    align-items: center;
    gap: 5px;
}

    .custom-price-section h3 {
        font-size: var(--font-size-price-products);
        font-weight: bold;
        margin: 0;
    }

.font-size-header-subtitle-products {
    font-size: var(--font-size-header-subtitle-products);
    margin-left: 8px !important
}

.custom-price-caption {
    font-size: var(--font-size-subtitle-products);
    color: var(--subcaption-price-color);
    margin: 12px 0px 0px 4px;
}

.pricing-page-link {
    font-size: var(--font-size-pricing-page-link);
    font-weight: var(--font-weight-pricing-page-link);
    color: var(--text-color);
    text-decoration: underline;
    display: flex;
    align-items: center;
}

.arrow-icon {
    font-size: 16px;
    line-height: 1;
    margin-right: 18px;
}

.custom-badge-button {
    background-color: var(--badge-background-color);
    border-radius: var(--badge-border-radius) !important;
    font-size: var(--badge-font-size);
    color: var(--primary-color) !important;
    border: none;
    padding: 8px 20px 8px 20px;
}
/* Button Inside Green Section */
.custom-cta-button {
    background-color: var(--primary-color);
    color: white;
    padding: 14px;
    width: 100%;
    border: none;
    border-radius: 24px;
    font-size: 16px;
    cursor: pointer;
    margin: 10px 5px 6px 0px;
}

    .custom-cta-button:hover {
        background-color: var(--hover-button-color);
    }

.custom-cta-button-new-product {
    border-color: black;
    background-color: rgba(239, 245, 239, 1);
    color: var(--primary-color) !important;
    padding: 14px;
    width: 100%;
    border-radius: 24px;
    font-size: 16px;
    cursor: pointer;
    margin: 10px 5px 6px 0px;
}

.custom-cta-button:hover {
    background-color: var(--hover-button-color);
}


/* Feature List */
.custom-feature-heading {
    font-size: var(--font-size-custom-feature-heading);
    color: var(--primary-color);
    margin-top: var(--custom-feature-heading-margin-top);
    padding: 0 20px;
}
/* Feature List Styling */
.custom-feature-list {
    list-style: none;
    padding: 0;
    margin-top: 10px;
    padding: 0 20px;
}

    .custom-feature-list li {
        display: flex;
        align-items: center;
        font-size: var(--font-size-custom-feature-list);
        color: var(--text-color);
        margin-bottom: 24px;
        font-weight: var(--font-weight-list-item);
    }

/* Checkmark Icon */
.custom-check-icon {
    display: inline-block;
    width: var(--custom-check-icon-width-heigh);
    height: var(--custom-check-icon-width-heigh);
    padding: var(--custom-check-icon-padding);
    margin-right: 8px;
    background-image: var(--custom-check-icon-image) !important;
    background: var(--degraded-blue-background);
    background-repeat: no-repeat;
    background-position: center;
    border-radius: 16px;
}

.bubble {
    display: inline-block;
    position: relative;
    color: white;
    padding: 10px 10px;
    border-radius: 16px;
    font-size: 16px;
}

.product-with-bubble {
    position: relative;
    display: inline-block; /* so wrapper hugs the card width (works in grids too) */
    overflow: visible; /* just in case a parent sets overflow:hidden */
    padding-top: 8px; /* gives room above for the bubble so it’s not clipped */
    margin-top: 32px;
}

    /* Bubble ABOVE the card, centered */
    .product-with-bubble .bubble-timesolv {
        position: absolute;
        left: 50%;
        bottom: 100%; /* sit above the card (outside of it) */
        transform: translate(-50%, -8px);
        background: rgba(255, 255, 255, 0.1); /* pick your color; example dark */
        color: #fff;
        padding: 8px 12px;
        border-radius: 8px;
        font-size: 14px;
        line-height: 1;
        white-space: nowrap;
        z-index: 3;
    }

        /* Downward triangle under the bubble (points to the card) */
        .product-with-bubble .bubble-timesolv::after {
            content: "";
            position: absolute;
            top: 100%;
            left: 50%;
            transform: translateX(-50%);
            width: 0;
            height: 0;
            border-style: solid;
            border-width: 8px 8px 0 8px; /* triangle pointing DOWN */
            border-color: rgba(255, 255, 255, 0.1) transparent transparent transparent;
        }

/* If you previously had a left-pointing triangle, remove/override it */
.bubble-timesolv::before {
    content: none !important;
}

.caption-footer-wrapper {
    margin-top: auto; /* pushes footer to bottom */
    display: flex;
    align-items: center;
}

.caption-footer-pricing-card {
    font-size: 12px;
    color: var(--text-color-title-price-card);
    padding: 0;
}

/* Card Content */
.custom-card-content {
    display: flex;
    flex-direction: column;
    padding: 20px;
    height: var(--custom-card-content-heigh);
}

.subcaption-header {
    font-size: 14px;
    margin: 8px, 0px, 8px, 0px;
    padding: 6px;
}

/* Card Content */
.custom-card-content-timesolv {
    padding: 20px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    height: 73%;
}

/*Usages CRM TimeSolv*/
.usage-fees-block {
    margin-top: 2rem;
    background: inherit;
    border-radius: 8px;
}

    .usage-fees-block h3 {
        margin-bottom: 1rem;
    }

.usage-fees-list {
    list-style: none;
    padding: 0;
    text-align: center;
}

    .usage-fees-list li {
        margin-bottom: 0.5rem;
    }

.saving-caption {
    color: var(--saving-background-color)
}

.hr-border {
    border-top: var(--hr-boder, 1px solid white) !important;
}

.card-price-alignment {
    flex-direction: var(--card-price-alignment-flex-direction);
    align-items: var(--card-price-alignment-align-items) !important;
}
