.calculator {
    background: radial-gradient(#E7EBF7, #FFF);
    background-repeat: no-repeat;
    background-size: cover;
    position: relative;
    --calc-max-width: 1348px;
    --calc-sidebar-width: 350px;
    --calc-column-gap: 40px;
    --calc-form-width: calc(var(--calc-max-width) - var(--calc-sidebar-width) - var(--calc-column-gap));
    padding: 60px 20px 80px;
}

@media screen and (max-width: 768px) {
    .calculator {
        padding: 40px 15px 60px;
    }
}

@media screen and (max-width: 576px) {
    .calculator {
        padding: 30px 10px 50px;
    }
}

.calculator .calculator-shell {
    width: 100%;
    max-width: var(--calc-max-width);
    margin-left: auto;
    margin-right: auto;
}

.calculator .calculator-lead {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
    transition: margin 0.6s ease-in-out;
}

@media screen and (min-width: 1201px) {
    .calculator .calculator-lead {
        margin-left: 0;
        margin-right: 0;
    }
    
    .calculator .switcher.switched ~ .container .calculator-lead,
    .calculator.customized-active .calculator-lead {
        margin-left: -200px;
        margin-right: auto;
    }

    .rtl .calculator .switcher.switched ~ .container .calculator-lead,
    .rtl .calculator.customized-active .calculator-lead {
        margin-left: auto;
        margin-right: -200px;
    }
}

.calculator .container .bg-element {
    position: absolute;
    top: 0;
    left: 0;
    width: auto;
    height: auto;
    z-index: 0;
}

.calculator .container .switcher_content {
    position: relative;
    z-index: 10;
    margin-top: 20px;
}

.calculator h2 {
    text-align: center;
    color: #18327B;
    margin: 0 0 30px 0;
}

.calculator .industry-selector {
    max-width: 600px;
    width: 100%;
    margin-bottom: 30px;
    text-align: center;
}

.calculator .industry-selector .industry-select {
    background-color: #E8EEFD;
    border: 1px solid rgba(23, 48, 122, 1);
    border-radius: 50px;
    max-width: 600px;
    width: 100%;
    padding: 12px 24px;
    font-size: 16px;
    color: #182A51;
    font-weight: 500;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    background-image: url('data:image/svg+xml;charset=UTF-8,%3csvg width="12" height="8" viewBox="0 0 12 8" fill="none" xmlns="http://www.w3.org/2000/svg"%3e%3cpath d="M1 1.5L6 6.5L11 1.5" stroke="%23182A51" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"/%3e%3c/svg%3e');
    background-repeat: no-repeat;
    background-position: right 20px center;
    padding-right: 50px;
}

.rtl .calculator .industry-selector .industry-select {
    background-position: left 20px center;
    padding-right: 24px;
    padding-left: 50px;
}

@media screen and (max-width: 768px) {
    .calculator .industry-selector .industry-select {
        width: 100%;
        max-width: 100%;
    }
}

@media screen and (max-width: 576px) {
    .calculator .industry-selector .industry-select {
        max-width: 350px;
        padding: 10px 16px;
        padding-right: 40px;
        font-size: 14px;
    }
}

@media screen and (max-width: 768px) {
    .calculator h2 {
        margin-bottom: 25px;
    }
    
    .calculator .industry-selector {
        margin-bottom: 0;
    }
}

.calculator .container {
    width: 100%;
    max-width: 100%;
    margin: 0;
    padding: 0;
}

@media screen and (max-width: 576px) {

    .calculator .container {
        padding-inline: 0;
    }

    .calculator h2 {
        font-size: 21px;
        line-height: 1.45;
    }

    .calculator h2 br {
        display: none;
    }

    .calculator .container .bg-element {
        top: 50%;
    }
}

@media screen and (max-width: 1200px) {
    .calculator .calculator-lead {
        max-width: 100%;
        padding-inline: 20px;
    }

    .calculator h2 {
        text-align: center;
    }

    .calculator .calculator-lead .switcher {
        margin-left: auto;
        margin-right: auto;
    }
}

@media screen and (min-width: 1348px) {
    .calculator {
        --calc-base-gap: calc((100vw - var(--calc-max-width)) / 2);
        --calc-shift: clamp(0px, calc(var(--calc-base-gap) - 136px), 150px);
    }

    .calculator .calculator-shell {
        width: var(--calc-max-width);
        margin-left: auto;
        margin-right: auto;
    }
}

.calculator .switcher {
    background-color: #E8EEFD;
    border-radius: 50px;
    max-width: 600px;
    width: 100%;
    text-align: center;
    display: flex;
    margin-left: auto;
    margin-right: auto;
    position: relative;
    cursor: pointer;
    z-index: 5;
}

.calculator .calculator-lead .switcher {
    margin-left: 0;
    margin-right: 0;
}

@media screen and (max-width: 768px) {
    .calculator .switcher {
        width: 500px;
        margin-bottom: 40px;
    }
}

@media screen and (max-width: 576px) {
    .calculator .switcher {
        max-width: 350px;
        width: inherit;
    }
}

.calculator .switcher::before {
    content: "";
    position: absolute;
    width: 50%;
    height: 100%;
    z-index: 5;
    background-color: #2C5CED;
    top: 0;
    left: 0;
    border-radius: 50px;
    transition: all 0.4s ease-in-out;
}

.rtl .calculator .switcher::before {
    left: unset;
    right: 0;
}

.calculator .switcher.switched::before {
    left: 50%;
}

.rtl .calculator .switcher.switched::before {
    left: unset;
    right: 50%;
}

.calculator .switcher .tab {
    width: 50%;
    position: relative;
    font-size: 16px; 
    color: #182A51;
    transition: all 0.4s ease-in-out;
    line-height: 1.5;
    padding: 12px;
    z-index: 10;
}

.calculator .switcher .tab.active {
    color: #fff;
}

.calculator .simple .swiper-slide {
    position: relative;
    background-color: #FFFFFF;
    border-radius: 15px;
    padding: 45px 15px 20px;
    box-shadow: 0px 4px 34px 0px rgba(24, 42, 81, 0.12);
    max-width: 380px;
}

.calculator .simple .rounded-badge {
    background-color: var(--badge-bg, #2C5CED);
    color: var(--badge-text, #ffffff);
    padding: 9px 20px;
    border-radius: 30px;
    font-size: 14px;
    font-weight: 700;
    line-height: 1;
    display: inline-flex;
    justify-content: center;
    align-items: center;
    min-width: 120px;
}

.calculator .simple .swiper-slide a {
    width: 100%;
    background-color: rgba(44, 92, 237, 1);;
    box-shadow: none;
}

.calculator .simple .swiper-slide a:hover {
    background-color: rgba(44, 92, 237, 0.8);
}

.calculator .simple h6 {
    text-transform: uppercase;
    color: #142a6e;
    letter-spacing: 0.025em;
    font-size: 12px;
    line-height: 1.33;
    font-weight: 500;
    margin-bottom: 24px;
}

.calculator .simple ul {
    list-style: none;
    margin-bottom: 8px;
}

.rtl .calculator .simple ul li {
    padding-left: unset;
    padding-right: 29px;
}

.calculator .simple ul li::before {
    content: "";
    width: 12px;
    height: 6px;
    border-bottom: 2px solid var(--check-icon-color, #10B981);
    border-left: 2px solid var(--check-icon-color, #10B981);
    position: absolute;
    top: 50%;
    left: 0;
    transform: translateY(-50%) rotate(-42deg);
}

.rtl .calculator .simple ul li::before {
    border-left: unset;
    border-right: 2px solid var(--check-icon-color, #10B981);
    left: unset;
    right: 0;
    transform: rotateZ(-45deg) rotateY(180deg);
}

.calculator .simple select {
    width: 100%;
    padding: 6px 12px;
    box-shadow: none;
    border-radius: 6px;
    border: none;
    background: var(--select-bg, rgba(248, 250, 255, 0.75));
    font-size: 16px;
    font-weight: 500;
    line-height: 1.5;
    color: inherit;
    cursor: pointer;
}

.calculator .simple .price {
    border-top: 1px solid rgba(24, 50, 123, 0.8);
    padding-top: 24px;
    padding-bottom: 24px;
}

.calculator .simple .price span {
    color: #6B7280;
    line-height: 1.5;
    font-weight: 500;
}

.calculator .simple .price span:nth-child(1) {
    color: #18327B;
    font-size: 36px;
    font-weight: 500;
    line-height: 1;
    display: inline-block;
}

.calculator .simple .swiper-wrapper {
    margin-bottom: 45px;
    padding: 25px 10px;
}

.calculator .simple .swiper-pagination {
    bottom: 0;
}

.calculator .simple .swiper-pagination-bullet {
    background: #CBD9E9;
    transition: all 0.4s ease-in-out;
    opacity: 1;
}

.calculator .simple .swiper-pagination-bullet.swiper-pagination-bullet-active {
    transform: scale(1.3);
    background: #2B5CED;
}

/* Card badge */
.calculator .simple .card-badge {
    position: absolute;
    top: -19px;
    left: 0;
    height: 39px;
    width: auto;
    z-index: 10;
}

/* Card content */
.calculator .simple .card-content {
    text-align: center;
    padding-bottom: 28px;
    margin-bottom: 28px;
    border-bottom: 1px solid #E8EEFD;
}

.calculator .simple .card-title,
.calculator .simple .card-price-amount {
    font-size: 30px;
    font-weight: 500;
    margin: 0 0 8px;
}

.calculator .simple .card-subtitle {
    font-size: 14px;
    margin: 0 0 12px 0;
}

.calculator .simple .swiper-slide.dark-card .card-subtitle {
    color: var(--card-text, rgba(255,255,255,0.8));
    opacity: 0.8;
}

.calculator .simple .card-price-display {
    border: none;
    margin: 0;
}

.calculator .simple .card-price-unit {
    font-size: 16px;
}

.calculator .simple .swiper-slide.dark-card .card-price-unit {
    color: var(--card-text, rgba(255,255,255,0.8));
    opacity: 0.8;
}

/* Card list */
.calculator .simple .card-specs-list {
    list-style: none;
    padding: 0;
    margin: 18px 0;
    text-align: left;
}

.rtl .calculator .simple .card-specs-list {
    text-align: right;
}

.calculator .simple .card-specs-list li {
    padding: 10px 0;
    padding-left: 30px;
    position: relative;
    font-size: 16px;
    font-weight: 500;
    line-height: 1.5;
}

.calculator .simple .swiper-button-disabled {
    opacity: 0;
}

/* Fallback simple (no industries) styles – match old simple calculator */
.calculator .tab_content.simple.simple-fallback .swiper-slide {
    box-shadow: 0px 4px 34px 0px #182A511F;
    border-radius: 15px;
    padding: 24px 20px 32px;
}

.calculator .tab_content.simple.simple-fallback h6 {
    text-transform: uppercase;
    color: #142a6e;
    letter-spacing: 0.025em;
    font-size: 12px;
    line-height: 1.33;
    font-weight: 500;
    margin-bottom: 24px;
}

.calculator .tab_content.simple.simple-fallback ul {
    list-style: none;
    margin-bottom: 8px;
}

.calculator .tab_content.simple.simple-fallback ul li {
    margin-bottom: 16px;
    font-size: 14px;
    line-height: 1.4;
    color: #6B7280;
    position: relative;
    padding-left: 29px;
}

.rtl .calculator .tab_content.simple.simple-fallback ul li {
    padding-left: unset;
    padding-right: 29px;
}

.calculator .tab_content.simple.simple-fallback ul li::before {
    content: "";
    width: 12px;
    height: 6px;
    border-bottom: 2px solid #10B981;
    border-left: 2px solid #10B981;
    position: absolute;
    bottom: 8px;
    left: 0;
    transform: rotate(-42deg);
}

.rtl .calculator .tab_content.simple.simple-fallback ul li::before {
    border-left: unset;
    border-right: 2px solid #10B981;
    left: unset;
    right: 0;
    transform: rotateZ(-45deg) rotateY(180deg);
}

.calculator .tab_content.simple.simple-fallback select {
    width: 100%;
    padding: 23px 13px;
    box-shadow: 0px 1px 2px rgba(0, 0, 0, 0.05);
    border-radius: 6px;
    margin-bottom: 24px;
    border: 1px solid #17307A99;
    background: #fff;
    font-size: 14px;
    line-height: 20px;
    color: #142a6e;
}

.calculator .tab_content.simple.simple-fallback .price {
    border-top: 1px solid rgba(24, 50, 123, 0.8);
    padding-top: 24px;
    padding-bottom: 24px;
}

.calculator .tab_content.simple.simple-fallback .swiper-wrapper {
    margin-bottom: 45px;
}

.calculator .tab_content.simple.simple-fallback .swiper-pagination {
    bottom: 0;
}

.calculator .tab_content.simple.simple-fallback .swiper-pagination-bullet {
    background: #CBD9E9;
    transition: all 0.4s ease-in-out;
    opacity: 1;
}

.calculator .tab_content.simple.simple-fallback .swiper-pagination-bullet.swiper-pagination-bullet-active {
    transform: scale(1.3);
    background: #2B5CED;
}

.calculator .tab_content.simple.simple-fallback .swiper-button-disabled {
    opacity: 0;
}

.calculator .tab_content.simple.simple-fallback .info {
    padding-top: 34px;
}

@media screen and (max-width: 768px) {
    .calculator .tab_content.simple.simple-fallback .info {
        padding-top: 30px;
        margin-bottom: 15px;
    }
}

.calculator .tab_content.simple.simple-fallback .info p {
    margin-bottom: 12px;
    text-align: center;
    font-size: 13px;
    color: #6C7EB0;
}

.calculator .tab_content.simple.simple-fallback .info a {
    color: #18327B;
    text-decoration: underline;
    cursor: pointer;
}

.calculator .simple .info {
    padding-top: 40px;
    margin-bottom: 20px;
}

.calculator .tab_content {
    display: none;
    opacity: 0;
    transition: opacity 0.4s ease-in-out;
}

.calculator .tab_content.active {
    display: block;
    opacity: 1;
}

.calculator .tab_content.simple {
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
}

/* Return to left-aligned when in customized mode */
@media screen and (min-width: 1201px) {
    .calculator.customized-active .tab_content.simple {
        max-width: var(--calc-form-width);
        margin-left: 0;
        margin-right: auto;
    }
}

@media screen and (max-width: 1200px) {
    .calculator .tab_content.simple {
        max-width: 100%;
    }

    .calculator .simple .swiper-wrapper {
        padding-inline: 0;
    }
}

.calculator .customized .own_fields {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(285px, 1fr));
    gap: 30px 30px;
    margin-bottom: 30px;
    margin-top: 30px;
}

@media screen and (max-width: 768px) {
    .calculator .customized .own_fields {
        margin-bottom: 25px;
        margin-top: 25px;
        gap: 25px 20px;
    }
}

.calculator .customized .own_fields > div {
    margin-bottom: 0;
    position: relative;
}

.calculator .customized .own_fields .span-2 {
    grid-column: span 2;
}

@media screen and (max-width: 576px) {
    .calculator .customized .own_fields {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    .calculator .customized .own_fields .span-2 {
        grid-column: auto;
    }
}

.calculator .customized .own_fields label {
    display: block;
    font-weight: 500;
    line-height: 1.25;
    position: relative;
    margin-bottom: 10px;
}

.calculator .customized .own_fields label.optional_label {
    display: none;
    position: relative;
    width: 100%;
}

.calculator .customized .own_fields label.optional_label select {
    width: calc(100% - 35px);
    margin-right: 35px;
}

.rtl .calculator .customized .own_fields label.optional_label select {
    margin-right: unset;
    margin-left: 35px;
}

.calculator .customized .own_fields label.optional_label svg {
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    transition: all 0.4s ease-in-out;
    cursor: pointer;
}

.rtl .calculator .customized .own_fields label.optional_label svg {
    right: unset;
    left: 0;
}

.calculator .customized .own_fields label.optional_label svg:hover {
    transform: translateY(-50%) scale(1.2);
}

.calculator .customized .add_os,
.calculator .customized .add_storage {
    color: #2C5CED;
    display: block;
    width: -webkit-fit-content;
    width: -moz-fit-content;
    width: fit-content;
    margin-left: auto;
    font-weight: 500;
    font-size: 14px;
    line-height: 1.71;
    margin-top: -5px;
    text-decoration: none;
}

.rtl .calculator .customized .add_os {
    margin-left: unset;
    margin-right: auto;
}

.calculator .customized p {
    position: relative;
}

.calculator .customized select {
    width: 100%;
    display: block;
    padding: 21px 9px;
    background: transparent;
    border: 1px solid #17307A99;
    font-weight: 400;
    line-height: 1.25;
    font-size: 16px;
    border-radius: 5px;
}

.calculator .customized select:not(:last-child) {
    margin-bottom: 5px;
}

.calculator .customized select .hidden {
    display: none !important;
}

.calculator .customized select .visible {
    display: block !important;
}

.calculator .customized #DedicatedStorage option {
    color: #000 !important;
}

.calculator .customized .column {
    width: 25%;
    padding-right: 30px;
}

.rtl .calculator .customized .column {
    padding-right: unset;
    padding-left: 30px;
}

@media screen and (max-width: 768px) {
    .calculator .customized .column {
        width: 50%;
    }

    .calculator .customized .column:nth-child(2) {
        padding-right: 0;
    }

    .rtl .calculator .customized .column:nth-child(2) {
        padding-right: unset;
        padding-left: 0;
    }
}

@media screen and (max-width: 576px) {
    .calculator .customized .column {
        padding-right: 0;
        width: 100%;
    }

    .rtl .calculator .customized .column {
        padding-right: unset;
        padding-left: 0;
    }
}

.calculator .customized .column:nth-child(3) {
    width: 50%;
    padding-right: 0;
}

.rtl .calculator .customized .column:nth-child(3) {
    padding-right: unset;
    padding-left: 0;
}

@media screen and (max-width: 768px) {
    .calculator .customized .column:nth-child(3) {
        width: 100%;
    }
}

.calculator .customized .optional_fields {
    display: flex;
    flex-wrap: wrap;
    margin-bottom: 12px;
}

.calculator .customized .optional_fields p {
    display: flex;
    align-items: center;
    margin-bottom: 17px;
}

.calculator .customized .optional_fields label {
    font-weight: 500;
    font-size: 14px;
    color: #17307A;
    position: relative;
    width: calc(100% - 28px);
}

.calculator .customized .optional_fields label .tooltip span {
    bottom: 100%;
    right: 0;
    top: unset;
}

.rtl .calculator .customized .optional_fields label .tooltip span {
    right: unset;
    left: 0;
}

.calculator .customized .optional_fields input {
    margin-right: 12px;
    width: 16px;
    height: 16px;
}

.rtl .calculator .customized .optional_fields input {
    margin-right: unset;
    margin-left: 12px;
}


.calculator .customized .own_fields {
    display: grid;
    grid-template-columns: 285px 285px 630px;
    gap: 30px;
    margin-bottom: 12px;
}

.calculator .customized .own_fields > div {
    margin-bottom: 0;
    position: relative;
}

.calculator .customized .own_fields .span-2 {
    grid-column: span 2;
}

.calculator .customized .price {
    text-align: right;
}

.rtl .calculator .customized .price {
    text-align: left;
}

@media screen and (max-width: 1279px) {
    .calculator .customized .own_fields {
        grid-template-columns: 285px 1fr;
        gap: 24px;
    }

    .calculator .customized .own_fields .span-2 {
        grid-column: span 2;
    }
}

@media screen and (max-width: 576px) {
    .calculator .customized .price {
        text-align: right;
        width: 100%;
        margin-bottom: 17px;
    }

    .rtl .calculator .customized .price {
        text-align: left;
    }

    .calculator .customized .own_fields {
        grid-template-columns: 1fr;
        gap: 25px;
    }
    .calculator .customized .own_fields .span-2 {
        grid-column: auto;
    }

    .calculator .customized .own_fields > div:nth-of-type(1) {order: 1;}

    .calculator .customized .own_fields > div:nth-of-type(2) {order: 2;}

    .calculator .customized .own_fields > div:nth-of-type(4) {order: 3;}

    .calculator .customized .own_fields > div:nth-of-type(5) {order: 4;}

    .calculator .customized .own_fields > div:nth-of-type(7) {order: 5;}

    .calculator .customized .own_fields > div:nth-of-type(8) {order: 6;}

    .calculator .customized .own_fields > div:nth-of-type(3) {order: 7;}

    .calculator .customized .own_fields > div:nth-of-type(6) {order: 8;}

    .calculator .customized .own_fields > div:nth-of-type(9) {order: 9;}
}

.calculator .customized .price span {
    color: #6B7280;
    line-height: 1.5;
    font-weight: 500;
}

.calculator .customized .price span:nth-child(1) {
    color: #18327B;
    font-size: 36px;
    font-weight: 500;
    line-height: 1;
    display: inline-block;
}

.calculator .customized .month_price {
    text-align: right;
    position: absolute;
    top: 100%;
    right: 0;
    transform: translateY(-8px);
}

.rtl .calculator .customized .month_price {
    text-align: left;
    right: unset;
    left: 0;
}

@media screen and (max-width: 576px) {
    .calculator .customized .month_price {
        text-align: right;
        width: 100%;
        margin-bottom: 17px;
        transform: translateY(-87px);
    }

    .rtl .calculator .customized .month_price {
        text-align: left;
    }
}

.calculator .customized .month_price span {
    color: #6B7280;
    line-height: 1.5;
    font-weight: 500;
    font-size: 16px;
}

.calculator .customized .month_price span:nth-child(1) {
    color: #18327B;
    font-size: 18px;
    font-weight: 500;
    line-height: 1;
    display: inline-block;
    position: relative;
}

.calculator .customized .month_price span:nth-child(1)::before {
    /*content: 'Plus ';*/
	color: #6B7280;
    line-height: 1.5;
    font-weight: 500;
    font-size: 16px;
}

.calculator .customized #DedicatedCPU option[disabled] {
    display: none !important;
}

.calculator .customized #BandwidthTraffic option[disabled] {
    display: none !important;
}

.calculator .customized #DedicatedRAM option[disabled] {
    display: none !important;
}

.calculator .customized .info {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    position: relative;
}

@media screen and (max-width: 576px) {
    .calculator .customized .info {
        text-align: center;
        flex-direction: column-reverse;
        align-items: flex-start;
    }
}

.calculator .customized .info p {
    max-width: 320px;
    color: #6C7EB0;
    font-size: 12px;
    line-height: 1.6;
    margin-bottom: 0;
}

@media screen and (max-width: 576px) {
    .calculator .customized .info p {
        max-width: 100%;
        text-align: left;
        padding-top: 15px;
    }

    .rtl .calculator .customized .info p {
        text-align: right;
    }
}

.calculator .customized .info a {
    background-color: #18327B;
    min-width: 221px;
}

.calculator .customized .info a:hover {
    background-color: rgba(24, 50, 123, 0.7803921569);
}

.calculator .customized .tooltip {
    display: flex;
    position: relative;
    z-index: 100;
}

.rtl .calculator .customized .tooltip {
    right: unset;
    left: 0;
}

.calculator .customized .tooltip path {
    transition: all 0.4s ease-in-out;
}

.calculator .customized .tooltip span {
    position: absolute;
    top: 100%;
    left: 100%;
    background-color: #fff;
    box-shadow: 0px 0px 0px 1px rgba(0, 0, 0, 0.05), 0px 10px 15px -3px rgba(0, 0, 0, 0.1), 0px 4px 6px -2px rgba(0, 0, 0, 0.05);
    border-radius: 6px;
    width: 224px;
    padding: 12px 16px;
    opacity: 0;
    visibility: hidden;
    transition: all 0.4s ease-in-out;
    transform: translateY(-7px);
    font-size: 14px;
    line-height: 1.43;
    color: #142a6e;
}

.calculator .customized .advanced-checkboxes .tooltip span {
    bottom: 0;
    top: unset;
}

.rtl .calculator .customized .tooltip span {
    left: unset;
    right: 100%;
}

@media screen and (max-width: 768px) {

    .calculator .customized .optional_fields label .tooltip span,
    .calculator .customized .tooltip span {
        bottom: 100%;
        right: 0;
        top: unset;
        left: unset;
    }

    .rtl .calculator .customized .optional_fields label .tooltip span,
    .rtl .calculator .customized .tooltip span {
        right: unset;
        left: 0;
    }
}

.calculator .customized .tooltip:hover path {
    fill: #18327B;
}

.calculator .customized .tooltip:hover span {
    opacity: 1;
    visibility: visible;
}

.calculator .customized p.row_label {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
}

.calculator .customized p.row_label>label:first-child {
    width: 100%;
}

.calculator .customized p.row_label>span {
    position: absolute;
    top: 0;
    left: calc(100% - 130px);
    font-weight: 500;
    line-height: 1.25;
    color: #0f151f;
    display: none;
}

.rtl .calculator .customized p.row_label>span {
    left: unset;
    right: calc(100% - 130px);
}

.calculator .customized p.row_label>span.visible {
    display: block;
}

.calculator .customized p.row_label>select {
    width: 100%;
}

.calculator .customized p.row_label>select.short_select {
    width: calc(100% - 150px);
}

.calculator .customized p.row_label>select:nth-child(4) {
    width: 130px;
    position: relative;
}

.calculator .customized p.row_label>select:nth-child(4) option[disabled] {
    display: none;
}

.calculator .customized .optional_label.row_label.flex_row {
    display: flex !important;
    padding-top: 23px;
}

.calculator .customized .optional_label.row_label>span {
    position: absolute;
    top: 0;
    left: calc(100% - 130px);
    font-weight: 500;
    line-height: 1.25;
    color: #0f151f;
    display: none;
}

.rtl .calculator .customized .optional_label.row_label>span {
    left: unset;
    right: calc(100% - 130px);
}

.calculator .customized .optional_label.row_label>span.visible {
    display: block;
}

.calculator .customized .optional_label.row_label select.short_select {
    width: calc(100% - 150px);
    margin-right: 0;
}

.rtl .calculator .customized .optional_label.row_label select.short_select {
    margin-left: 0;
    margin-right: unset;
}

.calculator .customized .optional_label.row_label select:nth-child(3) {
    width: 110px;
    position: relative;
    margin-right: 20px;
}

.rtl .calculator .customized .optional_label.row_label select:nth-child(3) {
    margin-left: 20px;
    margin-right: unset;
}

.calculator .customized .optional_label.row_label select .option_hidden {
    display: none !important;
}

#ControlPanelNum {
    display: none !important;
}

#ControlPanelNum.visible {
    display: block !important;
}

#ControlPanelNum1 {
    display: none !important;
}

#ControlPanelNum1.visible {
    display: block !important;
}

#ControlPanelNum2 {
    display: none !important;
}

#ControlPanelNum2.visible {
    display: block !important;
}

#ControlPanelNum3 {
    display: none !important;
}

#ControlPanelNum3.visible {
    display: block !important;
}

.calculator .customized .own_fields label,
.calculator .customized .optional_fields label,
.calculator .customized .info p {
    color: #35436E;
}

.calculator .customized select {
    color: #17307A;
}

.calculator .simple .price {
    text-align: right;
    flex-shrink: 0;
}

.rtl .calculator .simple .price {
    text-align: left;
}

.calculator .customized .column:last-child .tooltip span{
	left: unset;
    right: 100%;
}

.rtl .calculator .customized .column:last-child .tooltip span{
    left: 100%;
    right: unset;
}

/* Two-column layout */
.calculator .customized .calculator-layout {
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    gap: 40px;
    align-items: flex-start;
}

@media screen and (max-width: 1200px) {
    .calculator .customized .calculator-layout {
        flex-direction: column;
        gap: 24px;
        align-items: stretch;
    }
}

/* Left column - Form */
.calculator .customized .calculator-form {
    flex: 1 1 60%;
    min-width: 0;
}

/* Right column - Price Estimate */
.calculator .customized .price-estimate-sidebar {
    flex: 0 0 350px;
    border-radius: 20px;
    padding: 22px 16px;
    position: sticky;
    top: 20px;
    box-shadow: 0 0 10px 2px #00000010;
    background: #fff;
}

@media screen and (max-width: 1200px) {
    .calculator .customized .price-estimate-sidebar {
        flex: 1 1 100%;
        max-width: 100%;
        min-width: 0;
        position: static;
    }
}

.calculator .customized .type-info-container {
    padding: 16px;
    background: #f8faff;
    border: 1px solid #e0e7f6;
    display: flex;
    flex-direction: column;
    gap: 16px;
    margin-block: 24px;
}

@media screen and (max-width: 576px) {
    .calculator .customized .type-info-container {
        margin-block: 0;
    }

    .calculator .customized .type-info-container,
    .calculator .customized .config-section,
    .calculator .customized .advanced-config-section,
    .calculator .customized .type-tabs {
        padding-inline: 16px;
    }

    .calculator .customized .price-estimate-sidebar {
        margin-inline: 16px;
    }
}

.calculator .customized .type-info-header {
    display: flex;
    justify-content: flex-start;
    align-items: center; 
    gap: 21px;
}

@media screen and (max-width: 576px) {
    .calculator .customized .type-info-header {
        flex-wrap: wrap;
        gap: 8px;
    }
}

.calculator .customized .type-title {
    font-size: 20px;
    font-weight: 500;
    color: #18327b;
    margin: 0;
}

@media screen and (max-width: 576px) {
    .calculator .customized .type-title {
        font-size: 18px;
        line-height: 1.15;
    }
}

/* Unified badge styles */
.calculator .customized .badge {
    display: inline-flex;
    padding: 6px 14px;
    border-radius: 8px;
    border: 1px solid #2C5CED;
    font-size: 12px;
    font-weight: 500;
    line-height: 1;
    background: #E8EEFD;
    color: #2C5CED;
    transition: all 0.3s ease;
}

.calculator .customized .type-tab.active .badge,
.calculator .customized .type-tab:hover .badge {
    background: #FFFFFF30;
    border: 1px solid #FFFFFF;
    color: #FFFFFF;
}

/* Two-column layout for Description and Use Cases */
.calculator .customized .type-info-columns {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 25px;
}

@media screen and (max-width: 768px) {
    .calculator .customized .type-info-columns {
        grid-template-columns: 1fr;
        gap: 16px;
    }
}

.calculator .customized .type-info-column .column-label {
    font-size: 14px;
    font-weight: 500;
    line-height: 1.5;
    color: #000;
    margin: 0;
}

.calculator .customized .type-description-text,
.calculator .customized .use-case-text {
    font-size: 14px;
    line-height: 150%;
    color: #6b7280;
    margin: 0;
}

.calculator .customized .type-tabs {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 12px;
    --type-tabs-mobile-offset: 6px;
}

@media screen and (max-width: 768px) {
    .calculator .customized .type-tabs {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media screen and (max-width: 576px) {
    .calculator .customized .type-tabs {
        display: flex;
        overflow-x: auto;
        overflow-y: hidden;
        scroll-snap-type: x mandatory;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
        gap: 12px;
        padding-bottom: 8px;
        padding-inline: 0;
    }

    .calculator .customized .type-tabs::before,
    .calculator .customized .type-tabs::after {
        content: "";
        flex: 0 0 var(--type-tabs-mobile-offset);
        min-width: var(--type-tabs-mobile-offset);
        pointer-events: none;
    }

    .calculator .customized .type-tabs::before {
        /* Acts as a scrollable spacer instead of padding so tabs hide at the viewport edge */
        scroll-snap-align: start;
    }
    
    .calculator .customized .type-tabs::-webkit-scrollbar {
        display: none;
    }
    
    .calculator .customized .type-tab {
        flex: 0 0 calc(40% - 5px);
        scroll-snap-align: start;
        min-width: calc(40% - 5px);
    }
}

.calculator .customized .type-tab {
    background: #fff;
    border: none;
    border-radius: 16px;
    padding: 15px;
    cursor: pointer;
    transition: all .3s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
    position: relative;
    text-align: center;
}

.calculator .customized .type-tab:hover {
    background: #4169E1;
}

.calculator .customized .type-tab.active {
    background: #4169E1;
    box-shadow: 0 10px 20px 0 #00000025;
}

.calculator .customized .type-tab .type-label {
    font-size: 18px;
    font-weight: 700;
    line-height: 24px;
    color: #18327B;
}

.calculator .customized .type-tab.active .type-label,
.calculator .customized .type-tab:hover .type-label {
    color: #FFFFFF;
}

.calculator .customized .type-tab .type-name {
    font-size: 14px;
    font-weight: 500;
    line-height: 20px;
    color: #6C7EB0;
}

.calculator .customized .type-tab.active .type-name,
.calculator .customized .type-tab:hover .type-name {
    color: #E8EEFD;
}

.calculator .customized .accordion-toggle {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0;
    margin-bottom: 0;
}

.calculator .customized .accordion-toggle .section-title {
    margin: 0;
    font-size: 20px;
    font-weight: 700;
    color: #18327B;
}

.calculator .customized .accordion-toggle .accordion-icon {
    transition: transform 0.3s ease;
    color: #4169E1;
}

.calculator .customized .accordion-toggle.active .accordion-icon {
    transform: rotate(180deg);
}

.calculator .customized .accordion-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
}

.calculator .customized .config-row {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(0, 1fr));
    gap: 12px;
    margin-bottom: 8px;
}

.calculator .customized .config-row:last-child {
    margin-bottom: 0;
}

@media screen and (max-width: 768px) {
    .calculator .customized .config-row {
        grid-template-columns: 1fr;
        gap: 16px;
    }
}

.calculator .customized .config-field {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.calculator .customized label {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 16px;
    font-weight: 500;
    line-height: 1.5;
    color: #17307A;
    position: relative;
}

.calculator .customized select {
    width: 100%;
    padding: 10px 20px;
    border: 1px solid #323232;
    border-radius: 4px;
    font-size: 14px;
    line-height: 140%;
    color: #17307a;
    background: #fff;
    cursor: pointer;
    transition: border-color .3s ease;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg width='12' height='8' viewBox='0 0 12 8' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1 1.5L6 6.5L11 1.5' stroke='%2317307A' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 16px center;
}

.rtl .calculator .customized select {
    background-position: left 16px center;
}

.calculator .customized .accordion-toggle {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0;
    margin-bottom: 0;
    gap: 8px;
}

.calculator .customized .accordion-toggle .section-title {
    font-size: 16px;
    font-weight: 500;
    line-height: 140%;
    color: #18327B;
    margin: 0;
}

.calculator .customized .accordion-toggle .accordion-icon {
    transition: transform 0.3s ease;
    color: #4169E1;
    flex-shrink: 0;
}

.calculator .customized .accordion-toggle.active .accordion-icon {
    transform: rotate(180deg);
}

.calculator .customized .accordion-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
    margin-top: 20px;
}

.calculator .customized .accordion-content.active {
    max-height: 3000px;
}

.calculator .customized .advanced-config-section .section-title {
    font-size: 16px;
    font-weight: 500;
    line-height: 140%;
    color: #17307A;
}

.calculator .customized .subsection-title {
    font-size: 18px;
    font-weight: 600;
    line-height: 140%;
    color: #17307A;
}

.calculator .customized .subsection-label {
    font-size: 16px;
    font-weight: 500;
    line-height: 140%;
    color: #18327B;
}

.calculator .customized .extra-storage-section {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.calculator .customized .extra-storage-section .extra-storage-fields,
.calculator .customized .addons-fields .addons_row_label {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.calculator .customized .extra-storage-section .optional_label {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-direction: row;
}

/* First storage drive has no close icon */
.calculator .customized .extra-storage-section .optional_label.first-storage svg {
    display: none;
}

.calculator .customized .extra-storage-section .optional_label svg {
    cursor: pointer;
    flex-shrink: 0;
}

.calculator .customized .add_storage:hover,
.calculator .customized .add_os:hover {
    text-decoration: underline;
}

.calculator .customized .addon-inline {
    width: 100%;
    display: flex;
    gap: 1rem;
    align-items: flex-start;
    justify-content: space-between;
}

.calculator .customized .advanced-checkboxes {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin-top: 22px;
    border-radius: 8px;
}

.calculator .customized .advanced-checkboxes p {
    margin: 0;
    display: flex;
    align-items: center;
    gap: 20px;
    font-size: 16px;
    line-height: 1.5;
}

.calculator .customized .advanced-checkboxes input[type="checkbox"] {
    width: 20px;
    height: 20px;
    cursor: pointer;
}

.calculator .customized .advanced-checkboxes label {
    font-size: 16px;
    font-weight: 500;
    line-height: 140%;
    color: #35436E;
    cursor: pointer;
    margin: 0;
}

.calculator .customized .pricing-mode {
    display: flex;
    gap: 24px;
}

@media screen and (max-width: 576px) {
    .calculator .customized .pricing-mode {
        flex-direction: column;
        gap: 12px;
    }
}

.calculator .customized .pricing-mode p {
    margin: 0;
    display: flex;
    align-items: center;
    gap: 8px;
}

.calculator .customized .pricing-mode input[type="radio"] {
    width: 18px;
    height: 18px;
    cursor: pointer;
}

.calculator .customized .pricing-mode label {
    font-size: 16px;
    font-weight: 500;
    line-height: 140%;
    color: #35436E;
    cursor: pointer;
}

.calculator .customized .price-estimate-sidebar .sidebar-title {
    font-size: 24px;
    font-weight: 500;
    line-height: 140%;
    color: #18327B;
    margin: 0 0 20px 0;
    text-align: left;
}

.calculator .customized .estimate-summary {
    list-style: none;
    padding: 0;
    margin: 0 0 24px 0;
}

.calculator .customized .estimate-summary li {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    padding: 25px 0 8px;
    border-bottom: 1px solid #17307A10;
    gap: 16px;
}

.calculator .customized .estimate-summary li:first-child {
    border-top: 1px solid #17307A10;
}

.calculator .customized .summary-label {
    font-size: 14px;
    font-weight: 500;
    line-height: 140%;
    color: #6C7EB0;
    flex: 0 0 auto;
}

.calculator .customized .summary-value {
    font-size: 14px;
    font-weight: 600;
    line-height: 140%;
    color: #18327B;
    text-align: right;
    flex: 1 1 auto;
    margin-left: 8px;
}

.calculator .customized .price-display {
    background: #F5F8FF;
    border-radius: 12px;
    padding: 16px;
    margin-bottom: 20px;
    text-align: center;
}

.calculator .customized .price-display.hourly-only-mode .price-monthly {
    margin-block: 16px;
}

.calculator .customized .price-monthly {
    margin-bottom: 16px;
}

.calculator .customized .price-monthly.hidden {
    display: none;
}

.calculator .customized .main-price {
    margin-bottom: 4px;
}

.calculator .customized .price-amount {
    font-size: 40px;
    font-weight: 500;
    line-height: 1;
    color: #17307A;
}

.calculator .customized .price-unit {
    font-size: 16px;
    font-weight: 500;
    line-height: 150%;
    color: #6B7280;
}

.calculator .customized .price-hourly {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
}

.calculator .customized .blue_btn {
    width: 100%;
    margin-bottom: 20px;
    box-shadow: none;
}

.calculator .customized .hourly-label {
    font-size: 14px;
    font-weight: 500;
    line-height: 140%;
    color: #6C7EB0;
}

.calculator .customized .hourly-amount {
    font-size: 16px;
    font-weight: 700;
    line-height: 140%;
    color: #18327B;
}

.rtl .calculator .customized .hourly-amount {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    gap: 0.3rem;
}

@media screen and (max-width: 576px) {
    .calculator .customized .main-price .price-amount {
        font-size: 48px;
    }
}

.calculator .customized .price-unit {
    font-size: 18px;
    font-weight: 500;
    line-height: 140%;
    color: #6C7EB0;
    margin-bottom: 8px;
}

.calculator .customized .hourly-rate-display {
    font-size: 14px;
    font-weight: 500;
    line-height: 140%;
    color: #6C7EB0;
}

.calculator .customized .estimate-includes {
    color: #6B7280;
    font-size: 13px;
    line-height: 1.5;
}

.calculator .customized .includes-list {
    list-style: none;
    padding: 0;
}

.calculator .customized .includes-list li {
    font-size: 14px;
    font-weight: 400;
    line-height: 140%;
    color: #35436E;
    padding: 6px 0 6px 24px;
    position: relative;
}

.calculator .customized .includes-list li::before {
    content: "✓";
    position: absolute;
    left: 0;
    color: #4169E1;
    font-weight: 700;
}

.calculator .customized .terms-text {
    font-size: 12px;
    font-weight: 400;
    line-height: 140%;
    color: #6C7EB0;
    margin: 0;
}

.calculator .customized .estimate-cta {
    display: block;
    width: 100%;
    padding: 14px 24px;
    background: #4169E1;
    color: #FFFFFF;
    font-size: 16px;
    font-weight: 600;
    line-height: 140%;
    text-align: center;
    border-radius: 8px;
    text-decoration: none;
    transition: background 0.3s ease;
}

.calculator .customized .estimate-cta:hover {
    background: #2C5CED;
}

.calculator .customized .advanced-config-section {
    margin-top: 24px;
}
