.body-container {
    display: none;
}

#pricing-mobile-tablet-resp {
    display: none;
}

.body-container.accordion-visible {
    display: block;
}

#pricing-mobile-tablet-resp.accordion-visible {
    display: block;
}

@media (min-width: 1025px) {
    #pricing-mobile-tablet-resp.accordion-visible {
        display: none !important;
    }
}

@media (max-width: 1024px) {
    .body-container.accordion-visible {
        display: none !important;
    }
}

#top #wrap_all .all_colors #pricing-mobile-tablet-resp h2 {
    color: var(--Main-Menu-icon-hover, #5D78FF);
    font-family: Mulish;
    font-size: var(--Website-Current-H6, 18px) !important;
    font-style: normal;
    font-weight: 700;
    line-height: 150%;    
}

#pricing-mobile-tablet-resp .feature-list,
#pricing-mobile-tablet-resp .feature-item,
#pricing-mobile-tablet-resp .feature-name,
#pricing-mobile-tablet-resp .feature-value {
    border-color: #E1E1EB;
}

#pricing-mobile-tablet-resp .feature-value {
    padding-top: 14px;
    padding-bottom: 14px;
}

#pricing-mobile-tablet-resp .feature-value span {
    max-height: 24px;
}

@media (max-width: 1024px) {

    * {
        margin: 0;
        padding: 0;
        box-sizing: border-box;
    }

    body {
        font-family: 'Mulish', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
        background-color: #f8f9fa;
        color: #333;
        line-height: 1.6;
    }    

    .plan-header {
        background: linear-gradient(135deg, #5d78ff, #4c63d2);
        color: white;
        border-radius: 12px;
        text-align: center;
        margin-bottom: 30px;
        box-shadow: 0 4px 20px rgba(93, 120, 255, 0.3);
    }

    .plan-title {
        font-size: 1.5rem;
        font-weight: 700;
        margin-bottom: 10px;
    }

    .section {
        width: 100%;
        margin-top: 1px;
        background: #ffffff;
        box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
        overflow: hidden;
    }

    .resp-container div.section:first-child {
        border-top-left-radius: 1.25rem;
        border-top-right-radius: 1.25rem;
    }

    .section-first {
        border-top-left-radius: 1.25rem;
        border-top-right-radius: 1.25rem;
    }

    .section:last-child {
        border-bottom-left-radius: 1.25rem;
        border-bottom-right-radius: 1.25rem;
    }

    .section-header {
        background: #ffffff;
        padding: 20px;
    }

    .section-title {
        font-size: 1.3rem;
        font-weight: 600;
        color: #5d78ff;
        margin: 0;
    }

    .feature-list {
        padding: 0;
    }

    .feature-item {
        display: flex;
        justify-content: space-between;
        align-items: center;
        padding: 18px 20px;
        border-bottom: 1px solid #f0f0f0;
        transition: background-color 0.2s ease;
    }

    .feature-item:last-child {
        border-bottom: none;
    }

    .feature-item:hover {
        background-color: #f8f9ff;
    }

    .feature-name {
        flex: 1;
        font-weight: 500;
        color: #333;
        padding-right: 15px;
    }

    .feature-value {
        font-weight: 600;
        color: #5d78ff;
        white-space: nowrap;
    }

    .feature-value.not-included {
        color: #E1E1EB;
    }

    .icon {
        margin-right: 8px;
        font-size: 1.1rem;
    }

}


@media (min-width: 769px) and (max-width: 1024px) {
    .resp-container {
        padding: 20px 0px;
    }

    .section {
        margin-top: 1px;
        width: 100%;
    }

    .section-header {
        padding: 12px 24px;
        height: 50px;
        display: flex;
        align-items: center;
        background: #FFFFFF;
    }

    .section-title {
        font-family: 'Mulish', sans-serif;
        font-weight: 700;
        font-size: 17px;
        line-height: 150%;
        color: #5D78FF;
        margin: 0;
        width: 912px;
    }

    .feature-list {
        background: #FFFFFF;
        border-radius: 0px 0px 4px 4px;
        border-top: 1px solid #E1E1EB;
    }

    .feature-item {
        display: flex;
        flex-direction: row;
        align-items: center;
        padding: 0;
        border-bottom: 1px solid #E1E1EB;
        height: 52px;
    }

    .feature-item:last-child {
        border-bottom: none;
    }

    .feature-item:hover {
        background-color: transparent;
    }

    .feature-name {
        flex: 1;
        padding: 16px 24px;
        font-family: 'Mulish', sans-serif;
        font-weight: 400;
        font-size: 14px;
        line-height: 150%;
        color: #565D85;
        border-right: 1px solid #E1E1EB;
        margin: 0;
        width: 860px;
        box-sizing: border-box;
    }

    .feature-value {
        width: 100px;
        padding: 16px;
        display: flex;
        justify-content: center;
        align-items: center;
        font-family: 'Mulish', sans-serif;
        font-weight: 400;
        font-size: 14px;
        line-height: 150%;
        text-align: center;
        color: #535980;
        box-sizing: border-box;
        height: 52px;
    }  

    .feature-value.not-included {
        color: #E1E1EB;
    }

    .feature-value.addon {
        color: #535980;
    }

    .icon {
        margin: 0;
        font-size: 24px;
        width: 1.25rem;
        height: 1.25rem;
    }

    .feature-item.multi-line {
        height: 52px;
    }

    .feature-item.multi-line .feature-value {
        height: 52px;
    }

    /* Tablet Select Box Styles */
    .mob-select-wrapper {
        margin: 0 auto;
        position: relative;
        width: 100%;        
        height: auto;        
    }

    .mob-select-button,
    .mob-custom-dropdown {
        display: none !important;
    }

    .tablet-content-switcher {
        display: flex !important;
        flex-direction: column;
        align-items: center;
        width: 100%;
        position: relative;
    }

    .tablet-switcher-item[data-value="basic"] .tablet-option-text {
        color: #5D78FF !important;        
    }

    .tablet-most-popular-badge {
        display: flex;
        flex-direction: row;
        justify-content: center;
        align-items: center;
        padding: 8px 0px;
        gap: 10px;
        width: 116px;
        height: 34px;
        background: #E7EBFF;
        border-radius: 8px 8px 0px 0px;
        position: absolute;
        top: -34px;        
        left: calc(20% + (20% / 2) - 58px); 
        transform: none;
        z-index: 10;
    }

    .tablet-most-popular-text {
        font-family: 'Mulish';
        font-style: normal;
        font-weight: 600;
        font-size: 14px;
        line-height: 18px;
        text-align: center;
        color: #5D78FF;
    }

    .tablet-switcher-resp-container {
        display: flex;
        flex-direction: row;
        align-items: center;
        padding: 2px;
        gap: 2px;
        width: 100%;
        height: 44px;
        background: #EEEEF2;
        border-radius: 12px;
    }

    .tablet-switcher-item {
        display: flex;
        height: 40px;
        padding: 0 12px;
        justify-content: center;
        align-items: center;
        flex: 1 0 0;
        border-radius: 8px;
        cursor: pointer;
        transition: all 0.2s ease;
        background: transparent;
        box-sizing: border-box;
    }

    .tablet-switcher-item.active {
        background: #FFFFFF;
        box-shadow: 1px 1px 8px rgba(0, 0, 0, 0.1);
    }

    .tablet-switcher-item:hover:not(.active) {
        background: rgba(255, 255, 255, 0.5);
    }

    .tablet-option-text {
        font-family: 'Mulish';
        font-style: normal;
        font-size: 16px;
        line-height: 150%;
        text-align: center;
        transition: all 0.2s ease;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
    }

    .tablet-switcher-item.active .tablet-option-text {
        font-weight: 400;
        color: #535980;
    }

    .tablet-switcher-item:not(.active) .tablet-option-text {
        font-weight: 400;
        color: #6D7293;
    }

    /* Fixed Plan Block Visibility for Tablet */
    .resp-container.free-plan-block,
    .resp-container.basic-plan-block,
    .resp-container.enterprise-plan-block,
    .resp-container.api-plan-block,
    .resp-container.mssp-plan-block {
        display: none !important;
    }

    .resp-container.free-plan-block.active,
    .resp-container.basic-plan-block.active,
    .resp-container.enterprise-plan-block.active,
    .resp-container.api-plan-block.active,
    .resp-container.mssp-plan-block.active {
        display: block !important;
    }
}


@media (max-width: 768px) {

    .plan-header {
        padding: 20px;
    }

    .section-header {
        padding: 15px;
    }

    .feature-item {
        padding: 15px;
    }

    .mob-select-wrapper {
        margin: 0 auto;
        position: relative;
        width: 100%;
        max-width: 358px;
        height: 40px;
        margin-bottom: 14px;
    }

    .mob-select-button {
        width: 100%;
        height: 100%;
        background: white;
        border: 1px solid #DDDEE6;
        border-radius: 8px;
        display: flex;
        padding: 4px 12px;
        align-items: center;
        justify-content: space-between;
        cursor: pointer;
        box-sizing: border-box;
        transition: all 0.2s ease;
    }

    .mob-select-text {
        overflow: hidden;
        color: #535980;
        text-overflow: ellipsis;
        white-space: nowrap;
        font-family: Mulish;
        font-size: 14px;
        font-style: normal;
        font-weight: 400;
        line-height: 150%;
        flex: 1;
    }

    .mob-select-arrow {
        width: 24px;
        height: 24px;
        transition: transform 0.2s ease;
        flex-shrink: 0;
        margin-left: 8px;
    }

    .mob-select-button.active .mob-select-arrow {
        transform: rotate(180deg);
    }

    .mob-custom-dropdown {
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        /* background: white;
        border: 1px solid #DDDEE6;
        border-radius: 8px; */
        margin-top: 1px;
        /* box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1); */
        opacity: 0;
        visibility: hidden;
        transform: translateY(-10px);
        transition: all 0.2s ease;
        z-index: 1000;
        overflow: hidden;
    }

    .mob-custom-dropdown.active {
        border-radius: var(--radius-xs, 8px);
        border: 1px solid var(--Neutral-neutral-100, #EAEDF2);
        background: var(--Neutral-neutral-0, #FFF);
        box-shadow: 1px 1px 8px 0 rgba(0, 0, 0, 0.10);
        opacity: 1;
        visibility: visible;
        transform: translateY(0);
    }

    .mob-custom-option {
        border-color: #E1E1EB !important;
        display: flex;
        height: 40px;
        min-height: 40px;
        padding: 8px 16px;
        justify-content: space-between;
        align-items: center;
        background: white;
        cursor: pointer;
        transition: background-color 0.2s ease;
        border-bottom: 1px solid #f0f1f5;
    }

    .mob-custom-option:last-child {
        border-bottom: none;
    }

    /* Desktop hover effects */
    @media (hover: hover) and (pointer: fine) {
        .mob-custom-option:hover {
            background-color: #F7F7F9;
        }

        .mob-custom-option:hover .checkmark {
            opacity: 1;
        }
    }

    .option-content {
        display: flex;
        align-items: center;
        flex: 1;
    }

    .option-text {
        color: #565D85;
        font-family: Mulish;
        font-size: 13px;
        font-style: normal;
        font-weight: 400;
        line-height: 150%;
    }

    .option-right {
        display: flex;
        align-items: center;
        gap: 8px;
    }

    .most-popular {
        color: #5D78FF;
        font-family: Mulish;
        font-size: 13px;
        font-style: normal;
        font-weight: 400;
        line-height: 150%;
        background: none;
    }

    .checkmark {
        width: 24px;
        height: 24px;
        opacity: 0;
        transition: opacity 0.2s ease;
        flex-shrink: 0;
    }

    /* Hidden input for form submission */
    .mob-select-input {
        position: absolute;
        opacity: 0;
        pointer-events: none;
    }

    /* Fixed Plan Block Visibility for Mobile */
    .resp-container.free-plan-block,
    .resp-container.basic-plan-block,
    .resp-container.enterprise-plan-block,
    .resp-container.api-plan-block,
    .resp-container.mssp-plan-block {
        display: none !important;
    }

    .resp-container.free-plan-block.active,
    .resp-container.basic-plan-block.active,
    .resp-container.enterprise-plan-block.active,
    .resp-container.api-plan-block.active,
    .resp-container.mssp-plan-block.active {
        display: block !important;
    }  

    .plan-price {
        font-size: 2.5rem;
    }

    .section {
        width: 100%;
        margin: 0 auto;
    }

    .section-header {
        padding: 12px 24px;
        height: 50px;
        display: flex;
        align-items: center;
        background: #FFFFFF;
    }

    .section-title {
        font-family: 'Mulish', sans-serif;
        font-weight: 700;
        font-size: 17px;
        line-height: 150%;
        color: #5D78FF;
        margin: 0;
    }

    .feature-list {
        background: #FFFFFF;
        border-top: 1px solid #E1E1EB;
    }

    .feature-item {
        display: flex;
        flex-direction: row;
        align-items: center;
        padding: 0;
        border-bottom: 1px solid #E1E1EB;
        height: auto;
        min-height: 52px;
    }

    .feature-item:last-child {
        border-bottom: none;
    }

    .feature-item:hover {
        background-color: transparent;
    }

    .feature-name {
        flex: 1;
        padding: 16px 24px;
        font-family: 'Mulish', sans-serif;
        font-weight: 400;
        font-size: 14px;
        line-height: 150%;
        color: #565D85;
        border-right: 1px solid #E1E1EB;
        margin: 0;
        width: 258px;
        box-sizing: border-box;
    }

    .feature-value {
        width: 100px;
        padding: 16px;
        display: flex;
        justify-content: center;
        align-items: center;
        font-family: 'Mulish', sans-serif;
        font-weight: 400;
        font-size: 14px;
        line-height: 150%;
        text-align: center;
        color: #535980;
        box-sizing: border-box;
        min-height: 52px;
    }

    .feature-value.included {
        color: #08A68B;
    }

    .feature-value.not-included {
        color: #E1E1EB;
    }

    .feature-value.addon {
        color: #535980;
    }

    .icon {
        margin: 0;
        font-size: 24px;
        width: 1.25rem;
        height: 1.25rem;
    }

    .feature-item.multi-line {
        min-height: 52px;
    }

    .feature-item.multi-line .feature-value {
        min-height: 52px;
    }
}