@use "../base";

.m-pricing {
    h1 {
        font-weight: 300;
        font-size: 72px;
        line-height: 90px;
        letter-spacing: 0;

    }
    // header
    .container.pricing-header {
        max-width: 100vw;
        position: relative;
        background-color: var(--pricing-bg-color);
        color: var(--pricing-text-color);
        .m-pricing-row-header {
            max-width: 1472px;
            margin-right: auto;
            margin-left: auto;
            [class*=col-] {
                padding-left: 0;
                padding-right: 0;
            }
            img {
                // position: absolute;
                // bottom: 0;
                // object-fit: contain;
                max-height: 428px;
                @include base.tablet {
                    width: -webkit-fill-available;
                }
                @include base.mobile {
                    display: none;
                }
            }
        }
        .dollars-credits-ratio {
            margin-top: 32px;
            display: inline-flex;
            height: 64px;
            padding: 16px;
            align-items: center;
            gap: 1;
            flex-shrink: 0;
            border-image: linear-gradient(to bottom left, rgba(255, 246, 246, 0.15) 15%, rgba(57, 57, 55, 0.15) 100%) 1;
            background: #19202b;
            color: #fec351;
            border-width: 1px;
            border-style: solid;
            position: relative;
            sup {
                position: absolute;
                top: 12px;
                font-size: 20px;
                font-style: normal;
                font-weight: 400;
                line-height: 100%; /* 20px */
                letter-spacing: -0.2px;

            }
            .dollar-price {
                padding-left: 15px;
                font-size: 48px;
                font-style: normal;
                font-weight: 400;
                line-height: 100%; /* 48px */
                letter-spacing: -0.48px;
            }
            .equal-credits {
                font-size: 20px;
                font-style: normal;
                font-weight: 400;
                line-height: 100%; /* 20px */
                letter-spacing: -0.2px;
            }
        }
        .pricing-tabs {
            background-color: transparent;
            display: flex;
            flex-direction: row;
            flex-wrap: wrap;
            gap: 12px;
            max-width: 1472px;
            margin-right: auto;
            margin-left: auto;
            position: relative;
            z-index: 1;
            @include base.mobile {
                gap: 0;
                margin-left: -24px;
            }
            .pricing-tab {
                background-color: base.$gray-300;
                font-weight: 400;
                outline: none;
                cursor: pointer;
                display: flex;
                flex-direction: row;
                justify-content: center;
                align-items: center;
                padding: 0px;
                gap: 15.97px;
                transition: 0.3s;
                height: 46px;
                width: 207.65px;
                color: base.$pure-black;
                
                &.active {
                    font-weight: 500;
                    background-color: base.$gray-light-2;
                    border-top: 1px solid base.$black;
                    font-weight: 600;
                }
            }
        }
    }
    &-row-header {
        padding-top: 96px;
        padding-bottom: 96px;
       
        @include base.mobile {
            font-size: 64px;
            padding-top: 64px;
            padding-bottom: 64px;
        }

        .text-large {
            margin-top: 24px;
        }

        .switcher {
            display: flex;
            flex-wrap: nowrap;
            justify-content: center;

            @include base.mobile {
                justify-content: flex-start;
                margin-top: 24px;
            }
            
            button {
                text-align: center;
                font-weight: 400;
                font-size: 14px;
                line-height: 20px;
                color: base.$gray;
                padding: 12px 49px;

                &.is-active {
                    font-weight: 500;
                    color: base.$black;
                    background: rgba(base.$pure-black, 0.09);
                }
            }

        }
    }

    // breakline
    // .breakline {
    //     display: block;
    //     margin: 0 auto;
    //     width: 100%;
    //     height: 1px;
    //     background: #{rgba(base.$pure-black, .1)};
    // }
    
    // .individuals-plans-content {
    //     display: none;
    // }

    // plans
    .business-plans-content {
        padding-bottom: 44px;
        padding-top: 44px;
        .m-pricing-plans {
            height: auto;

            .plan-row {
                gap: 16px;

                .column:nth-child(3) {
                    li:nth-child(3):before {
                        top:35%;
                    }
                }
            }

            .plan-cta {
                margin-top: auto;
            }
        }

        .intro-text {
            //padding-top: calc(240px - 64px);
            padding-bottom: 64px;
            &.intro-pricelist div {
                padding-left: 0;
            }
            h2 {
                font-size: 40px;
                font-style: normal;
                font-weight: 300;
                line-height: 44px; /* 110% */
            }
            p {
                padding-top: 12px;
                font-weight: 300;
                font-size: 24px;
                line-height: 32px;
                letter-spacing: 0;
            }
        }
    }
    // .individuals-plans-content {
    //     .m-pricing-plans {
    //         height: auto;
    //         .plan-cta {
    //             margin-top: auto;
    //         }
    //     }
    // }

    @import "solutions";
    .m-solutions {
        padding-top: 1px;
    }
    .m-solutions-list-item .icon {
        border: 1px solid rgba(255, 255, 255, 0.12);
    }

    &-plans {
        position: relative;
        //height: 425px;
        margin: 44px 0 0;

        @include base.desktop-tablet {
            margin: 32px 0 0;
        }

        @include base.desktop {
            margin: 64px 0 0;
        }

        @include base.mobile {
            height: auto;
        }

        .container {
            height: 100%;
            .row {
                height: 100%;
                margin: 0;
            }
        }

        .column {
            padding: 0;
            position: relative;

            @include base.desktop {
                width: calc(33.3333333333% - 16px);
                flex-basis: calc(33.3333333333% - 11px);
            }
            // width: calc(33.3333333333% - 16px);
            // flex-basis: calc(33.3333333333% - 11px);
            // @include base.mobile {
            //     display: none;
            // }
            // &.swiper-slide {
            //     @include base.mobile {
            //         display: block;
            //     }
            // }

            // &:nth-child(1) .plan-card {
            //     border-top: 2px solid #C294FD;
            // }
            // &:nth-child(2) .plan-card {
            //     border-bottom: 2px solid #FD6030;
            // }
            // &:nth-child(3) .plan-card {
            //     border-top: 2px solid #000;
            // }

            .plan-badge {
                position: absolute;
                top: -29px; // adjust as needed for overlap
                left: 23%;
                transform: translateX(-50%);
                z-index: 2;
                display: flex;
                align-items: center;
                justify-content: center;
                background: #fec351;
                color: #222;
                font-weight: 500;
                font-size: 1rem;
                border-radius: 6px;
                border-bottom-right-radius: 0;
                border-bottom-left-radius: 0;
                padding: 0.25em 1.25em;
              
                .star {
                  margin-right: 0.5em;
                  font-size: 1.1em;
                  width: 20px;
                  height: 22px;
                }
              }

            &.plan-desc {
                padding: 0 48px 0 0;
                // @include base.desktop-tablet {
                //     --card-border-color: rgba(0,0,0,.09);
                //     --card-border-size: calc(100% - 32px);
                //     background-image: linear-gradient(to bottom,var(--card-border-color),var(--card-border-color)),linear-gradient(to bottom,var(--card-border-color),var(--card-border-color)),linear-gradient(to bottom,var(--card-border-color),var(--card-border-color)),linear-gradient(to bottom,var(--card-border-color),var(--card-border-color));
                //     background-repeat: no-repeat;
                //     background-size: 0 var(--card-border-size),var(--card-border-size) 0 ,1px var(--card-border-size),var(--card-border-size) 0;
                //     background-position: 0 50%,50% 0,100% 50%,50% 100%;
                // }

                @include base.mobile {
                    display: block;
                }
                span.plan-desc-eyebrow {
                    font-weight: 300;
                    font-size: 24px;
                    line-height: 32px;
                    @include base.tablet {
                        font-size: 18px;
                        line-height: 24px;
                    }
                    @include base.mobile {
                        font-weight: 300;
                        font-size: 36px;
                        line-height: 45px;
                    }
                }
                h2.plan-desc-title {
                    font-weight: 300;
                    font-size: 56px;
                    line-height: 70px;
                    @include base.tablet {
                        font-size: 28px;
                        line-height: 35px;
                    }
                    @include base.mobile {
                        display: none;
                    }
                }
                p.plan-desc-description {
                    font-weight: 300;
                    font-size: 20px;
                    line-height: 30px;
                    @include base.tablet {
                        font-weight: 400;
                        font-size: 16px;
                        line-height: 24px;
                    }
                    @include base.mobile {
                        font-weight: 400;
                        font-size: 16px;
                        line-height: 24px;
                    }
                }
            }

            @include base.mobile {
                &:not(:last-child) {
                    margin-bottom: 24px;
                }
            }

            // card
            .plan-card {
                // color: rgba(0, 0, 0, 0.09);
                // position: relative;
                // --card-border-color: currentColor;
                // --card-border-size: calc(100% - 32px);
                // background-image: linear-gradient(to bottom,var(--card-border-color),var(--card-border-color)),linear-gradient(to bottom,var(--card-border-color),var(--card-border-color)),linear-gradient(to bottom,var(--card-border-color),var(--card-border-color)),linear-gradient(to bottom,var(--card-border-color),var(--card-border-color));
                // background-repeat: no-repeat;
                // background-size: 0px var(--card-border-size),var(--card-border-size) 1px,1px var(--card-border-size),var(--card-border-size) 0px;
                // background-position: 0 50%,50% 0,100% 50%,50% 100%;
                // --card-meta-margin-top: 0;
                // --card-meta-margin-bottom: 24px;
                // --card-feature-border-color: rgba(1, 9, 22, 0.1);
                
                //box-shadow: 0px 2px 12px 0px rgba(0, 0, 0, 0.10); 
                border: 1px solid base.$gray-300;
                display: flex;
                flex-direction: column;
                //padding: 24px;
                height: 100%;
                //transition: color .3s;

                position: relative;
                background: #fff;
                border: 1px solid #e5e6e9;
                box-shadow: 0 2px 8px 0 rgba(16, 24, 40, 0.04);

                // Adjust this value for the size of the cut
                $cut: 32px;

                // All four corners cut
                clip-path: polygon(
                    #{$cut} 0,                // top-left cut
                    calc(100% - #{$cut}) 0,   // top-right cut
                    100% #{$cut},             // right-top cut
                    100% calc(100% - #{$cut}),// right-bottom cut
                    calc(100% - #{$cut}) 100%,// bottom-right cut
                    #{$cut} 100%,             // bottom-left cut
                    0 calc(100% - #{$cut}),   // left-bottom cut
                    0 #{$cut}                 // left-top cut
                );

                @include base.mobile {
                    padding: 0;
                }

                .top-card {
                    padding: 24px;
                    min-height: 324px;
                    // @include base.desktop-tablet {
                    //     padding: 48px 48px 0;
                    // }
                    //border-bottom: 1px solid base.$gray-2;
                    //background-color: #f8f8f8;
                    .plan-cta {
                        // margin-top: auto;
                        // margin-bottom: 0;

                        a {
                            width: 100%;
                        }
                    }
                }
                .bottom-card {
                    padding: 44px 24px 24px 24px;
                    display: flex;
                    flex-direction: column;
                    height: 100%;

                    

                    // @include base.desktop-tablet {
                    //     padding: 48px;
                    // }
                }

                @include base.desktop-tablet {
                    //padding: 48px;
                    // --card-border-size-connect: calc(100% - 16px);
                    // background-size: 1px var(--card-border-size-connect),var(--card-border-size) 1px,0px var(--card-border-size),var(--card-border-size) 0px;
                    // background-position: 0 100%,50% 0,100% 100%,50% 100%;
                }

                .plan-header,
                .plan-footer {
                    color: base.$black;
                }

                .plan-header {
                    display: flex;
                    flex-direction: column;
                    justify-content: flex-start;
                    height: 100%;

                    @include base.mobile {
                        min-height: 0 !important;
                    }

                    .plan-name {
                        margin-bottom: 8px;

                        // @include base.desktop {
                            font-weight: 300;
                            font-size: 24px;
                            line-height: 32px;
                            letter-spacing: 0;

                            margin-bottom: 12px;
                        // }

                        // @include base.mobile {
                        //     font-weight: 300;
                        //     font-size: 40.3745px;
                        //     line-height: 47px;
                        //     margin-bottom: 12px;
                        // }
                    }

                    .plan-price {
                        font-weight: 300;
                        
                        strong {
                            font-weight: 300;
                        }

                        .price {
                            font-size: 44px;
                            line-height: 51px;
        
                            @include base.desktop {
                                font-size: 56px;
                                line-height: 70px;
                            }
                        }

                        .price-text {
                            font-size: 24px;
                            line-height: 32px;
        
                            @include base.desktop {
                                font-size: 44px;
                                line-height: 51px;
                            }
                        }

                        .price-user {
                            display: block;
                            font-weight: 400;

                            @include base.desktop {
                                font-size: 24px;
                                line-height: 32px;
                            }
                        }
                    }
                    .credits-container {
                        display: flex;
                        flex-direction: row;
                        justify-content: space-between;
                        align-items: center;
                        margin-bottom: 36px;
                    }
                    .credits-icon {
                        display: block;
                        height: 100%;
                        img {
                            width: 32px;
                            height: 32px;
                        }
                    }
                    .credits {
                        font-size: 24px;
                        padding-left: 8px;
                        .projects-text {
                            font-size: 14px;
                            color: base.$gray;
                        }
                    }
                    .credits-text {
                        font-size: 24px;
                        display: flex;
                        align-items: flex-start;

                    }
                    .custom-text {
                        padding-left: 8px;
                        .projects-text {
                            font-size: 14px;
                            color: base.$gray;
                        }
                    }
                    .credits-conversion {
                        background-color: base.$gray-light;
                        color: base.$gray;
                        padding: 10px;
                        font-size: 12px;
                    }
                    .plan-cta {
                        //margin-top: auto;

                        @include base.mobile {
                            margin-top: 24px;
                        }

                        .u-button {
                            display: block;
                            text-align: center;
                        }
                    }

                    .price-label {
                        display: flex;
                        align-items: center;
                        margin-top: 12px;
                        //margin-bottom: 72px;
                        color:  base.$gray;
                        font-size: 14px;
                        line-height: 20px;
                        position: relative;

                        @include base.mobile {
                            margin-bottom: 0;
                        }
    
                        @include base.desktop {
                            font-size: 16px;
                            line-height: 24px;
                        }
                        
                        .info-icon {
                            position: relative;
                            display: flex;
                            margin-left: 16px;
                            
                            &:hover .tooltiptext {
                                visibility: visible;
                                opacity: 1; 
                            }
                        }

                        .tooltiptext {
                            visibility: hidden;
                            opacity: 0;
                            width: 182px;
                            background-color: #4C5562;
                            color: #fff;
                            font-style: normal;
                            font-weight: 400;
                            font-size: 12px;
                            line-height: 16px;
                            padding: 6px 12px;
                            transition: opacity 230ms cubic-bezier(0.17, 0.17, 0.35, 1);
                            
                            position: absolute;
                            top: 175%;
                            left: calc(50%);
                            transform: translateX(-50%);
                            z-index: 1;

                            &::after { 
                                content: "";
                                position: absolute;
                                bottom: 100%;
                                left: 50%;
                                margin-left: -6px;
                                border-width: 6px;
                                border-style: solid;
                                border-color: transparent transparent #4C5562 transparent;
                            } 
                        }
                    }
                }

                .plan-description {
                    color: base.$black;
                    margin-bottom: 20px;
                    margin-top: 20px;

                    @include base.mobile {
                        //display: none;
                    }
                }

                .plan-footer {
                    @include base.desktop-tablet {
                        //display: none;
                    }

                    .features-title {
                        display: flex;
                        flex-direction: row;
                        position: relative;
                        justify-content: flex-start;

                        font-size: 20px;
                        font-style: normal;
                        font-weight: 400;
                        line-height: 100%; /* 20px */
                        padding-bottom: 32px;

                        &:before {
                            display: block;
                            width: 20px;
                            height: 20px;
                            background-image: url(../../img/icons/check-circle-icon.svg);
                            background-size: 100% 100%;
                            overflow: hidden;
                            white-space: nowrap;
                            text-indent: -9999px;
                            content: "";
                            left: 0;
                            margin-right: 7px;
                        }
                        

                        @include base.desktop {
                            font-size: 20px;
                            line-height: 100%; /* 20px */
                        }
                    }

                    .features-subtitle {
                        display: block;
                        color: base.$gray;
                        font-size: 12px;
                        font-style: normal;
                        text-transform: uppercase;
                        font-weight: 400;
                        line-height: 100%; /* 12px */
                        letter-spacing: 0.84px;
                        margin-bottom: 16px;
                    }

                    .features-list {
                        //margin-top: 24px;
                        font-size: 20px;
                        margin-bottom: 32px;
                        li {
                            display: flex;
                            flex-direction: column;
                            position: relative;
                            padding-left: 27px;
                            //height: 27px;
                            justify-content: flex-start;
                            
                            &:not(:last-child) {
                                margin-bottom: 6px;
                            }

                            strong {
                                font-weight: 400;
                                text-decoration: underline;
                            }

                            &::before {
                                @include base.image('../../img/icons/check-circle-icon.svg', 20, 20);
                                @extend %absolute-center-vertical;
                                left: 0;
                            }

                            .small-text {
                                color: base.$gray;
                                font-size: 14px;
                                font-style: normal;
                                font-weight: 400;
                                line-height: 100%; /* 14px */
                            }
                        }
                    }
                }
            }
        }

        // .swiper-container {
        //     display: none;

        //     @include base.mobile {
        //         display: flex;
        //         --swiper-pagination-bullet-size: 10px !important;
        //         --swiper-pagination-color: #010916;
        //         --swiper-pagination-bullet-inactive-color: #d9d9d9;
        //     }

        //     margin-bottom: 96px;
        //     padding-bottom: 58px;

        //     .plan-card {
        //         background-size: 1px var(--card-border-size),var(--card-border-size) 1px,1px var(--card-border-size),var(--card-border-size) 1px;
        //     }
        // }
    }
    .business-plans-content {
        .column {
            &:nth-child(4) {
                .plan-card {
                    background-size: 0px var(--card-border-size), var(--card-border-size) 1px, 1px var(--card-border-size), var(--card-border-size) 0px;
                }
            }
        }
    }
    // .individuals-plans-content {
    //     .plan-name {
    //         font-size: 16px !important;
    //         line-height: 24px !important;
    //     }
    //     .column {
    //         &:nth-child(3) {
    //             .plan-card {
    //                 background-size: 0px var(--card-border-size), var(--card-border-size) 1px, 1px var(--card-border-size), var(--card-border-size) 0px;
    //             }
    //         }
    //     }
    // }
    // comparision
    &-comparision {
        margin-top: -16px;
        margin-bottom: 96px;
       
        @include base.mobile {
            display: none;
            margin-top: 96px;
        }

        .group-content {
            display: none;
            &:first-child {
                display: block;
            }
            &.open {
                display: block;
            }

            &:not(:first-child) {
                tr {
                    &:first-child {
                        border-top: none;
                    }
                }
            }
        }

        table {
            width: 100%;
            border-bottom: 1px solid #{rgba(base.$pure-black, .1)};

            &.first {
                tr {
                    border-top: unset;
                }

                th { 
                    .plan-container {
                        display: flex;
                        flex-direction: column;
                        justify-content: center;

                        .name {
                            font-size: 14px;
                            font-style: normal;
                            font-weight: 750;
                            line-height: 20px;
                            padding-bottom: 8px;
                        }
                    }
                    // &:nth-child(2) {
                    //     border-top: 2px solid #C294FD;
                    // }
                    &:nth-child(3) {
                        border-bottom: 2px solid #FEC351;
                    }
                    // &:nth-child(4) {
                    //     border-top: 2px solid #000;
                    // }
                }
            }

            tr {
                border-top: 1px solid #{rgba(base.$pure-black, .1)};
                // &:first-child {
                //     border-top: none;
                // }
                &.feature-header {
                    border-bottom: none;
                    td {
                        width: 100% !important;
                    }
                }
            }

            th, td {
                position: relative;
                width: 25%;
                text-align: center;
                padding: 12px 16px;
                font-size: 14px;
                line-height: 20px;
                background-color: base.$white;

                @include base.mobile {
                    width: 23.333%;
                }

                &:first-child {
                    //width: 40%;
                    text-align: left;

                    @include base.mobile {
                        width: 30%;
                    }
                }

                &:not(:last-child) {
                    border-right: 1px solid #{rgba(base.$pure-black, .1)};
                }
            }

        }

    }
    
    // .individuals-plans-content {
    //     .group-header {
    //         td {
    //             width: 33%;
    //         }
    //     }
    // }

    .group {
        .group-header {
            &.group-section {
                border-bottom: 1px solid #{rgba(base.$pure-black, .1)};
                &:hover {
                    cursor: pointer;
                }
                td {
                    display: inline-flex;
                    align-items: center;
                    .chevron {
                        margin-left: 14px;
                        width: 20px;
                        height: 10px;
                        transform-origin: center center;
                        transform: rotate(180deg);
                        transition: all ease-in-out 400ms;
                        &.open {
                            transform: rotate(0deg);
                        }
                    }
                }
                
            }
            &.group-all-features {
                padding-top: 64px;
                .feature-header td {
                    font-weight: 300;
                    font-size: 44px;
                    line-height: 51.04px;
                    letter-spacing: 0;
                    vertical-align: middle;

                }
            }
            &.first {
                transition: all 400ms ease-in-out;
                
                table {
                    tr, td {
                        font-size: 16px;
                        line-height: 24px;
                        padding: 12px 16px;
                    }

                    th {
                        border-bottom: 1px solid #{rgba(base.$pure-black, .1)};
                        background-color: base.$white;

                        &:empty {
                            border: none;

                            &:not(:last-child) {
                                border-right: 1px solid #{rgba(base.$pure-black, .1)};
                                background-color: transparent;
                            }
                        }

                        .name {
                            display: block;
                            font-size: 14px;
                            line-height: 20px;
                            font-weight: 700;
                        }

                        .cta {
                            display: block;
                            font-size: 14px;
                            line-height: 20px;
                            font-weight: 700;
                            color: base.$blue;
                        }
                    }

                }
            }

            table {
                border: unset;

                tr {
                    border-top: unset;
                }
             
                tr, td {
                    font-size: 24px;
                    line-height: 32px;
                    font-weight: 300;
                    padding: 24px 16px;
                    border-right: unset;
    
                    @include base.tablet {
                        font-size: 16px;
                        line-height: 24px;
                    }
                    @include base.mobile {
                        font-size: 16px;
                        line-height: 24px;
                    }
                }     
                &.first {
                    td {
                        border-right: 1px solid rgba(0,0,0,.1);
                        //padding-top: 48px;

                    }
                }       
            }    
        }

        .group-content {
            table {
                tr {
                    td {
                        .description {
                            display: flex;
                            align-items: center;
                            position: relative;
                        }

                        position: relative;

                        .info-icon {
                            position: relative;
                            display: flex;
                            margin-left: 16px;
                            
                            &:hover .tooltiptext {
                                visibility: visible;
                                opacity: 1;
                            }
                        }

                        .tooltiptext {
                            visibility: hidden;
                            opacity: 0;
                            width: 182px;
                            background-color: #4C5562;
                            color: #fff;
                            font-style: normal;
                            font-weight: 400;
                            font-size: 12px;
                            line-height: 16px;
                            padding: 6px 12px;
                            transition: opacity 230ms cubic-bezier(0.17, 0.17, 0.35, 1);
                            
                            position: absolute;
                            top: 175%;
                            left: calc(50%);
                            transform: translateX(-50%);
                            z-index: 1;

                            &::after { 
                                content: "";
                                position: absolute;
                                bottom: 100%;
                                left: 50%;
                                margin-left: -6px;
                                border-width: 6px;
                                border-style: solid;
                                border-color: transparent transparent #4C5562 transparent;
                            } 
                        }

                        .checkmark {
                            @include base.image('../../img/icons/check.svg', 14, 11);
                            @extend %absolute-center;
                        }

                        .checkmark-x {
                            @include base.image('../../img/icons/x.svg', 12, 12);
                            @extend %absolute-center;
                        }

                        &.available {
                            //  background-color: #f8f8f8;
                        }
                    }

                    &.is-highlighted {
                        td {
                            &:first-of-type {
                                font-weight: 700;
                            }
                        }
                    }
                }
            }
        }
    }

    .calculator-content {
        margin-bottom: 48px;
    }

    .calculator {
        display: flex;
        @include base.tablet-mobile {
            flex-direction: column;
        }
        .heading {
            display: flex;
            .credit-icon {
                display: flex;
                align-items: center;
                justify-content: center;
                margin-right: 16px;
                img {
                    width: 20px;
                    height: 20px;
                }
            }
        }

        .calculator-left {
            background-color: base.$black;
            color: base.$white;
            display: flex;
            flex-direction: column;
            justify-content: flex-start;
            padding: 0;
            @include base.tablet-mobile {
                display: none;
                width: 100%;
                max-width: 100%;
                flex-basis: 100%;
            }
            h4 {
                padding: 32px 32px 0 32px;
                @include base.tablet-mobile {
                    justify-content: space-between;
                }
                .credit-calc-title {
                    display: flex;
                }
            }

            p {
                padding: 32px;
            }
            p.calc-enterprise-msg {
                display: none;
            }
        }
        .calculator-right {
            padding: 52px 32px;
            background-color: base.$gray-light;

            @include base.tablet-mobile {
                width: 100%;
                max-width: 100%;
                flex-basis: 100%;
            }
        }
        @include base.tablet-mobile {
            .calc-mobile-title,
            .calc-mobile-submit,
            .calc-mobile-back {
                display: block;
            }
        }

        .calc-mobile-title {
            h4 {
                font-size: 24px;
                font-style: normal;
                font-weight: 300;
                line-height: 100%; /* 24px */
                padding-bottom: 12px;
            }
        }
        .calc-mobile-desc {
            padding-bottom: 24px;
        }

        .calc-mobile-submit {
            width: 100%;
            a {
                width: 100%;
            }
        }

        .calc-mobile-back {
            background-color: #fff;
            color: base.$black;
            padding: 4px;
            &:hover {
                cursor: pointer;
                background-color: base.$gray-light;
            }
            .back-icon {
                padding-right: 8px;
                img {
                    transform: rotate(180deg);
                }
            }
        }

        .credits-value-container {
            margin-bottom: 0;
            margin-top: auto;
            border-top: solid 1px base.$gray;
            padding: 16px 32px 32px 32px;
            .monthly-credits,
            .credits-value {
                display: flex;
                justify-content: space-between;
                align-items: baseline;
            }
            .monthly-credits {
                font-size: 21px;
            }
            .credits-value {
                color: base.$gray;
                font-size: 14px !important;
            }
        }

        .projects-credits,
        .expert-site-modeling,
        .ai-assisted-site-models,
        .plan-set-services,
        .proposal-contracts,
        .advanced-permissioning,
        .crm-sync {
            display: flex;
            justify-content: space-between;
            align-items: baseline;
            padding: 16px 32px 32px 32px;
            .projects-text,
            .expert-site-modeling-text,
            .ai-assisted-site-models-text,
            .plan-set-services-text,
            .proposal-contracts-text,
            .advanced-permissioning-text,
            .crm-sync-text {
                font-size: 21px;
                flex-basis: 100%;
            }

            .separator {
                width: 100%;
                margin: 0 8px 0 8px;
                border-bottom: solid 1px base.$gray;
            }
        }

        .calculator-settings-container {
            display: flex;
            flex-direction: column;
            align-items: flex-start;
            gap: 16px;

            .label {
                font-size: 16px;
                font-style: normal;
                font-weight: 400;
                line-height: 140%; /* 22.4px */
                font-weight: 600;
                padding-bottom: 26px;
            }

            .calculator-settings-input {
                display: flex;
                flex-direction: row;
                justify-content: space-between;
                align-items: baseline;
                width: 100%;
                .label-container {
                    display: flex;
                    flex-direction: column;
                    .label-credits {
                        font-size: 12px;
                        font-style: normal;
                        font-weight: 400;
                        line-height: 16px; /* 133.333% */
                        color: #4C5562;
                    }
                }
                .slide-container {
                    width: 50%;
                    padding-bottom: 16px;
                    input[type=range] {
                        -webkit-appearance: none;
                        appearance: none;
                        width: 100%;
                        height: 1px;
                        background: #C2C6C8;
                        outline: none;
                        opacity: 0.7;
                        -webkit-transition: .2s;
                        transition: opacity .2s;
                        border-radius: 0px;
                        &:hover {
                            opacity: 1;
                        
                        }
                        &::-webkit-slider-thumb {
                            -webkit-appearance: none;
                            appearance: none;
                            width: 12px;
                            height: 12px;
                            background: base.$black;
                            cursor: pointer;
                        }
                        
                        &::-moz-range-thumb {
                            width: 12px;
                            height: 12px;
                            background: base.$black;
                            cursor: pointer;
                        }
                    }
                    .range-labels {
                        width: 100%;
                        display: flex;
                        justify-content: space-between;
                        font-size: 12px;
                        color: base.$gray;
                    }
                }
                .input-container {
                    width: 50%;
                    padding-bottom: 26px;
                    input {
                        padding: 12px;
                        color: #010916;
                        background-color: #EFEFEF;
                        border-radius: 0px;
                        max-width: 100%;
                        font-size: 14px;
                        line-height: 20px;
                        
                        width: 100% !important;
                        &::placeholder { color: #707681; }
                        &:-ms-input-placeholder { color: #707681; }
                        &::-ms-input-placeholder { color: #707681; }

                        &:focus {
                            outline: 0;
                            background-color: #DBDCDD;
                            box-shadow: inset 0 -1px 0 0 #010916, inset 0 0 0 100px transparent;
                            color: #010916;
                        }

                        &.error {
                            background-color: #FFE7E7;
                            &:hover {
                                background-color: #FFCDD0;
                            }
            
                            &:focus {
                                box-shadow: inset 0 -1px 0 0 #B20625, inset 0 0 0 100px transparent;
                            }
                        }
                    }
                    .error-msg { 
                        color: #B20625;
                        font-size: 14px;
                        font-weight: 400;
                        line-height: 20px;
                        margin-bottom: 16px;
                    }
                }
                .checkbox-container {
                    padding-bottom: 16px;
                    input, label {
                        &:hover {
                            cursor: pointer;
                        }
                    }
                    input[type=checkbox] {
                        width: 16px;
                        height: 16px;
                        position: absolute;
                        top: 0;
                        left: 0;
                        visibility: hidden
                    }
                    
                    input[type=checkbox]+span {
                        margin-left: 0;
                        display: flex;
                        align-items: center;
                        position: relative
                    }
                    
                    input[type=checkbox]+span::before {
                        content: "";
                        width: 16px;
                        height: 16px;
                        display: inline-block;
                        margin-right: 8px;
                        border: 1px solid #707681
                    }
                    
                    input[type=checkbox]:checked+span::before {
                        background-image: url(/wp-content/themes/aurora-solar/assets/img/icons/check.svg);
                        background-repeat: no-repeat;
                        background-size: 70% auto;
                        background-position: 50% 50%
                    }
                }
                .select-container {
                    padding-bottom: 26px;
                    width: 50%;
                    select {
                        padding: 12px;
                        color: #010916;
                        background-color: #EFEFEF;
                        border-radius: 0px;
                        max-width: 100%;
                        font-size: 14px;
                        line-height: 20px;
                        
                        width: 100% !important;
                    }
                    .error-msg { 
                        color: #B20625;
                        font-size: 14px;
                        font-weight: 400;
                        line-height: 20px;
                        margin-bottom: 16px;
                    }
                }
            }
        }

        .results {
            padding: 24px;
            height: auto;
            min-height: 227px;

            .we-recommend {
                font-size: 16px;
                font-style: normal;
                font-weight: 400;
                line-height: 140%; /* 22.4px */
                letter-spacing: 1.12px;
            }

            .plan-name {
                font-size: 48px;
                font-style: normal;
                font-weight: 300;
                line-height: 44px; /* 91.667% */
                p {
                    font-size: 16px;
                    font-style: normal;
                    font-weight: 400;
                    line-height: 140%; /* 22.4px */
                }
            }
            
            .plan-cta-foundation,
            .plan-cta-build,
            .plan-cta-enterprise {
                width: 100%;
                margin-top: 24px;
                .u-button {
                    width: 100%;
                }
            }
        }
    }
}

.toggle-prices {
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    margin: 2rem 0;
    .toggle-text {
        margin-top: 8px;
        color: #4C5562;
        font-weight: 400;
        font-size: 14px;
        line-height: 20px;
        letter-spacing: 0;
    }
    .toggle-prices-container {
        display: flex;
        align-items: center;
        background: #e5e6e9;
        border-radius: 999px;
        padding: 2px;
        width: fit-content;
        gap: 0;

        .toggle-label {
            cursor: pointer;
            padding: 0.25rem 1.5rem;
            font-size: 1rem;
            font-weight: 500;
            border-radius: 999px;
            color: #19202b;
            background: transparent;
            transition: background 0.2s, color 0.2s;
            user-select: none;

            &.active {
                background: #0a0f19;
                color: #fff;
            }
        }
    }
}

.price-old {
  color: #c2c6c8;
  text-decoration: line-through;
  font-size: 44px;
  line-height: 51px;
  margin-right: 0.5rem;
  vertical-align: middle;
}

.price-annual-total {
  display: block;
  color: #6b6f76;
  font-size: 1rem;
  margin-top: 0.25rem;
  font-weight: 400;
}
