*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
:root {
    --transition: all 0.2s ease;
    --bg-gradient: linear-gradient(90deg, #9cf 0%, #99acff 100%);
}

.operator-cost {
    font-family: 'Roboto Flex', sans-serif;
    font-optical-sizing: auto;
    font-weight: 500;
    font-size: 14px;
    line-height: 120%;
    color: #666;

    user-select: none;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: inherit;
    font-style: inherit;
    font-weight: inherit;
    font-size: inherit;
    line-height: inherit;
}
p {
    font-family: inherit;
    font-style: inherit;
    font-weight: inherit;
    font-size: inherit;
    line-height: inherit;
}

html,
body {
    scroll-behavior: smooth;
}

html {
    height: 100%;
}

/* ? general style */

.container {
    max-width: 1440px;
    margin: 0 auto;
    padding: 0 20px;
}

@media screen and (max-width: 576px) {
    .container{
        padding: 0;
    }
}

.border-grd {
    position: relative;
}
.border-grd::before {
    content: '';
    position: absolute;
    top: -1px;
    left: -1px;
    right: -1px;
    bottom: -1px;
    background: linear-gradient(90deg, #9cf 0%, #99acff 100%);
    border-radius: 10px;
    z-index: -1;
}

.calc-data {
    all: unset;
    background: #fff;
    border-radius: 10px;
    width: 80px;
    height: 40px;
    text-align: center;
    padding: 0 4px;
    box-sizing: border-box;
}

.calc-data.error-value {
    border: 1px solid #dc3545;
    box-shadow: 0px 0px 10px 0px #dc3545;
}

.calc-operator-user__error {
    position: absolute;
    bottom: 3px;
    left: 3px;
    font-family: 'Roboto Flex', sans-serif;
    font-weight: 500;
    font-size: 14px;
    line-height: 100%;
    color: #ec0016;
    display: none;
}
.calc-operator-user__data.error-value .calc-operator-user__error {
    display: block;
}
@media (max-width: 1440px) {
    /* .container {
        padding-left: calc(10px + 10 * (100vw - 360px) / 1080);
        padding-right: calc(10px + 10 * (100vw - 360px) / 1080);
    } 
    .operator-cost .container {
        padding-left: calc(0px + 20 * (100vw - 360px) / 1080);
        padding-right: calc(0px + 20 * (100vw - 360px) / 1080);
    }*/
}

/* ? operator-cost */
.operator-cost {
    padding: 20px 0;
}

@media screen and (min-width: 992px) {
    .operator-cost{
        padding: 45px 0;
    }
}

.operator-cost__items {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
    border-radius: 10px;
    background: linear-gradient(90deg, #9cf 0%, #99acff 100%);

    padding: 20px 50px;
    height: 450px;

    position: relative;
    margin-bottom: 30px;
}
.operator-cost__title {
    font-family: 'Roboto Flex', sans-serif;
    font-weight: 700;
    font-size: 54px;
    line-height: 120%;
    color: #000e42;

    max-width: 800px;

    margin-bottom: 30px;
}
.operator-cost__description {
    font-family: 'Roboto Flex', sans-serif;
    font-weight: 500;
    font-size: 18px;
    line-height: 140%;
    color: #212121;

    max-width: 550px;
}

.operator-cost__image {
    position: absolute;
    right: 50px;
    top: -30px;
    width: 375px;
    height: 466px;
}

@media (max-width: 1440px) {
    /*
    .operator-cost {
        padding-top: calc(40px + 40 * (100vw - 360px) / 1080);
        padding-bottom: calc(40px + 40 * (100vw - 360px) / 1080);
    }
    */
    .operator-cost__items {
        padding-left: calc(15px + 35 * (100vw - 360px) / 1080);
        padding-right: calc(15px + 35 * (100vw - 360px) / 1080);
    }

    .operator-cost__title {
        font-size: 54px;
        font-size: calc(34px + 16 * (100vw - 360px) / 1080);
        line-height: calc(110% + 10 * (100vw - 360px) / 1080);
        max-width: calc(340px + 460 * (100vw - 360px) / 1080);

        margin-bottom: calc(20px + 10 * (100vw - 360px) / 1080);
    }

    .operator-cost__image {
        right: calc(15px + 35 * (100vw - 360px) / 1080);
        width: calc(241px + 134 * (100vw - 360px) / 1080);
        height: calc(300px + 166 * (100vw - 360px) / 1080);
    }
}
@media (max-width: 1050px) {
    .operator-cost__image {
        position: static;
    }
}
@media (max-width: 768px) {
    .operator-cost__items {
        flex-direction: column;
        align-items: flex-start;
        height: auto;
    }
    .operator-cost__item-image {
        order: -1;
        align-self: center;
    }

    .operator-cost__title {
        max-width: 100%;
    }

    .operator-cost__description {
        max-width: 100%;
    }
}

@media (max-width: 500px) {
    .operator-cost__title {
        text-align: center;
    }
    .operator-cost__description {
        text-align: center;
    }
}

/* ? calc-operator */

.calc-operator {
    padding: 50px;
    background: #eff3ff;
    border-radius: 10px;
}
.calc-operator__title {
    font-family: 'Roboto Flex', sans-serif;
    font-weight: 700;
    font-size: 36px;
    line-height: 120%;
    color: #000e42;

    max-width: 800px;
    margin-bottom: 50px;
}
@media (max-width: 1440px) {
    .calc-operator {
        padding-top: calc(30px + 20 * (100vw - 360px) / 1080);
        padding-bottom: calc(30px + 20 * (100vw - 360px) / 1080);

        padding-left: calc(12px + 38 * (100vw - 360px) / 1080);
        padding-right: calc(12px + 38 * (100vw - 360px) / 1080);
    }
    .calc-operator__title {
        font-size: calc(20px + 16 * (100vw - 360px) / 1080);
        max-width: calc(340px + 460 * (100vw - 360px) / 1080);
        margin-bottom: calc(30px + 20 * (100vw - 360px) / 1080);
    }
}
@media (max-width: 768px) {
    .calc-operator__title {
        max-width: 100%;
    }
}
@media (max-width: 500px) {
    .calc-operator__title {
        text-align: center;
    }
}

.calc-operator {
    position: relative;
    z-index: 1;
}
/* ? tabs */

.calc-operator-user {
    display: flex;
    flex-direction: column;
    margin-bottom: 30px;
}
.calc-operator-user__tabs {
    display: flex;
    gap: 15px;
    position: relative;
}
.calc-operator-user__tab {
    font-family: 'Roboto Flex', sans-serif;
    width: 400px;

    background: linear-gradient(90deg, #9cf 0%, #99acff 100%);

    font-weight: 500;
    font-size: 16px;
    line-height: 140%;
    color: #212121;

    text-align: left;

    padding: 20px 30px;
    position: relative;
    border: none;
    border-radius: 10px 10px 0 0;

    cursor: pointer;

    opacity: 0.6;
}

.calc-operator-user__tab::before {
    content: '';

    position: absolute;
    top: -1px;
    left: -1px;
    right: -1px;
    bottom: 0px;
    background: linear-gradient(90deg, #9cf 0%, #99acff 100%);

    border-radius: 10px 10px 0 0;
    z-index: -1;
}

.calc-operator-user__tab.active {
    font-weight: 600;
    display: block;
    background: #fff;
    opacity: 1;
}
.calc-operator-user__tab:hover {
    opacity: 0.9;
}
.calc-operator-user__tab.active:hover {
    opacity: 1;
}
.calc-operator-user__content {
    background: #fff;
    box-shadow: 1px 1px 15px 0 rgba(0, 0, 0, 0.15);
    border-radius: 0 10px 10px 10px;
    padding: 40px 60px 60px;
}
.calc-operator-user__panel-top {
    display: flex;
    gap: 15px;
    margin-bottom: 40px;
}
.calc-operator-user__info {
    border-radius: 10px;
    background: #eff3ff;
    padding: 10px 20px;
    display: flex;
    align-items: center;
    gap: 20px;
    position: relative;
    z-index: 1;

    width: 100%;
}
.calc-operator-user__info-wrap {
    display: flex;
    align-items: center;
    gap: 10px;
}
.calc-operator-user__info-text {
    font-weight: 500;
    font-size: 14px;
    line-height: 100%;
    color: #666;
    display: block;
}
.calc-operator-user__info-block {
    background: #fff;
    border-radius: 10px;
    width: 80px;
    height: 40px;
    display: block;
    flex-shrink: 0;
}

.calc-operator-user__panel-data {
    background: var(--bg-gradient);
    border-radius: 10px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-shrink: 0;

    width: 300px;
    padding: 10px 20px;
}
.calc-operator-user__panel-data-label {
    font-weight: 500;
    font-size: 14px;
    line-height: 100%;
    color: #212121;
}

.calc-operator-user__panel-data-input {
    background: #fff;
    border-radius: 10px;
    color: #212121;
}
.calc-operator-user__panel {
    display: none;
    margin-bottom: 50px;
    position: relative;
}

.calc-operator-user__panel.active {
    display: block;
}

.calc-operator-user__items {
    display: flex;
    justify-content: space-between;
    gap: 30px;
}
.calc-operator-user__item {
    max-width: 530px;
    width: 100%;
    display: flex;
    flex-direction: column;
}
.calc-operator-user__box:not(:last-child) {
    margin-bottom: 30px;
}
.calc-operator-user__item-title {
    font-family: 'Roboto Flex', sans-serif;
    font-weight: 700;
    font-size: 36px;
    line-height: 120%;
    color: #000e42;
    min-height: 80px;
}
@media (max-width: 1440px) {
    .calc-operator-user__tab {
        padding-top: calc(15px + 5 * (100vw - 360px) / 1080);
        padding-bottom: calc(15px + 5 * (100vw - 360px) / 1080);

        padding-left: calc(10px + 20 * (100vw - 360px) / 1080);
        padding-right: calc(10px + 20 * (100vw - 360px) / 1080);

        font-size: calc(14px + 2 * (100vw - 360px) / 1080);
    }
    .calc-operator-user__content {
        padding-top: calc(30px + 10 * (100vw - 360px) / 1080);
        padding-bottom: calc(50px + 10 * (100vw - 360px) / 1080);

        padding-left: calc(10px + 50 * (100vw - 360px) / 1080);
        padding-right: calc(10px + 50 * (100vw - 360px) / 1080);
    }
    .calc-operator-user__item-title {
        font-size: calc(24px + 12 * (100vw - 360px) / 1080);
    }
    .calc-operator-user__info {
        padding-left: calc(15px + 5 * (100vw - 360px) / 1080);
        padding-right: calc(15px + 5 * (100vw - 360px) / 1080);
    }
}
@media (max-width: 950px) {
    .calc-operator-user__content {
        border-radius: 0px 0px 10px 10px;
    }
    .calc-operator-user__tabs {
        justify-content: space-between;
    }

    .calc-operator-user__items {
        flex-direction: column;
        gap: 40px;
    }
    .calc-operator-user__item {
        max-width: 100%;
    }
    .calc-operator-user__box:not(:last-child) {
        margin-bottom: 20px;
    }
    .calc-operator-user__item-title {
        min-height: auto;
    }

    .calc-operator-user__info {
        flex-direction: column;
        align-items: flex-start;
    }
    .calc-operator-user__panel-top {
        flex-direction: column;
    }
}
@media (max-width: 400px) {
    .calc-operator-user__panel-data {
        width: 100%;
    }
}

/* ? calc-operator-user__data */
.calc-operator-user__wrap-input {
    border-radius: 10px;
    max-width: 80px;
    height: 40px;
}
.calc-operator-user__data {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 10px;
    position: relative;
    z-index: 1;

    padding: 12px 3px;
    border-bottom: 1px solid #c7cee3;

    position: relative;
}

.calc-operator-user__data-title {
    font-family: 'Roboto Flex', sans-serif;
    font-weight: 500;
    font-size: 14px;
    line-height: 120%;
    color: #666;
}
.calc-operator-user__data-title-right {
    width: 80px;
    text-align: center;
}

.calc-operator-user__data-label {
    font-family: 'Roboto Flex', sans-serif;
    font-weight: 500;
    font-size: 14px;
    line-height: 100%;
    color: #212121;
}
.calc-operator-user__data-input {
    font-family: 'Roboto Flex', sans-serif;
    font-weight: 500;
    font-size: 14px;
    line-height: 100%;
    text-align: center;
    color: #212121;
}

.calc-operator-user__panel-data-input:focus {
    -webkit-box-shadow: 0px 0px 10px 0px #005fc6;
    -moz-box-shadow: 0px 0px 10px 0px #005fc6;
    box-shadow: 0px 0px 10px 0px #005fc6;
}
.calc-operator-user__data-input:focus {
    -webkit-box-shadow: 0px 0px 10px 0px #99adff;
    -moz-box-shadow: 0px 0px 10px 0px #99adff;
    box-shadow: 0px 0px 10px 0px #99adff;
}

/* ? calc-operator-user__buttons */

.calc-operator-user__buttons {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
}
.calc-operator__btn {
    padding: 14px 20px;
    font-family: 'Roboto Flex', sans-serif;
    font-weight: 700;
    font-size: 16px;
    line-height: 120%;
    color: #000e42;
    border-radius: 5px;
    cursor: pointer;
    transition: var(--transition);
}
.calc-operator__btn:hover {
    -webkit-box-shadow: 0px 0px 10px 0px #99adff;
    -moz-box-shadow: 0px 0px 10px 0px #99adff;
    box-shadow: 0px 0px 10px 0px #99adff;
}
.calc-operator__btn:active {
    transform: scale(0.95);
}
.calc-operator__btn-reset {
    border: 1px solid #000e42;
    background: #fff;
}

.calc-operator__btn-calculate {
    color: #fff;
    background: #ec0016;
    border: 1px solid transparent;
}

@media (max-width: 1440px) {
    .calc-operator__btn {
        padding-left: calc(18px + 2 * (100vw - 360px) / 1080);
        padding-right: calc(18px + 2 * (100vw - 360px) / 1080);
    }
}

/* ? calc-operator-result */
.calc-operator-result { 
    background: #fff;
    border-radius: 10px;
    padding: 60px;
    display: none;
    margin-bottom: 25px; 
}
.calc-operator-result.open {
    display: block;
}
.calc-operator-result__title {
    font-family: 'Roboto Flex', sans-serif;
    font-weight: 700;
    font-size: 36px;
    line-height: 120%;
    text-align: center;
    color: #000e42;
    margin-bottom: 60px;
}
.calc-operator-result__button {
    display: flex;
    justify-content: center;
    align-items: center;
}
.calc-operator__btn-new {
    color: #fff;
    background: #ec0016;
    border: 1px solid transparent;
}
@media (max-width: 1440px) {
    .calc-operator-result__title {
        font-size: calc(24px + 12 * (100vw - 360px) / 1080);
    }
    .calc-operator-result {
        padding-top: calc(30px + 10 * (100vw - 360px) / 1080);
        padding-bottom: calc(50px + 10 * (100vw - 360px) / 1080);

        padding-left: calc(10px + 50 * (100vw - 360px) / 1080);
        padding-right: calc(10px + 50 * (100vw - 360px) / 1080);
    }
}
/* ? calc-operator-result__items */
.calc-operator-result__items {
    display: flex;
    flex-direction: column;

    gap: 50px;
    margin-bottom: 50px;
}

.calc-operator-result__items-bottom {
    display: flex;
    justify-content: space-between;
    gap: 30px;
}
.calc-result-employees {
    max-width: 530px;
    width: 100%;
}
.calc-result-comparison {
    max-width: 530px;
    width: 100%;
}

/* ? calc-operator-result__item */
.calc-operator-result__item-title {
    font-family: 'Roboto Flex', sans-serif;
    font-weight: 700;
    font-size: 24px;
    line-height: 120%;
    color: #000e42;

    min-height: 80px;
}
.calc-operator-result__data {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 10px;
    padding: 10px 3px;

    border-bottom: 1px solid #c7cee3;
}

.calc-operator-result__data-title {
    font-family: 'Roboto Flex', sans-serif;
    font-weight: 500;
    font-size: 14px;
    line-height: 120%;
    text-align: center;
    color: #666;
}
.calc-operator-result__data-title-right {
    width: 90px;
    height: 40px;
    text-align: center;
}
.calc-operator-result__data-label {
    font-family: 'Roboto Flex', sans-serif;
    font-weight: 700;
    font-size: 16px;
    line-height: 100%;
    color: #212121;
    text-align: left;
}
.calc-operator-result__data-value {
    font-family: 'Roboto Flex', sans-serif;
    font-weight: 500;
    font-size: 14px;
    line-height: 100%;
    color: #212121;
    border-radius: 10px;
    width: 90px;
    height: 40px;
    background: linear-gradient(90deg, #9cf 0%, #99acff 100%);

    display: flex;
    justify-content: center;
    align-items: center;
    flex-shrink: 0;
}
.calc-result-comparison-delta .calc-operator-result__data-label {
    color: #ec0016;
}
.calc-result-comparison-delta .calc-operator-result__data-value {
    background: #ff9f99;
}

.calc-operator-svg {
    margin-right: auto;
}

@media (max-width: 1440px) {
    .calc-operator-result__item-title {
        font-size: calc(20px + 4 * (100vw - 360px) / 1080);
    }
    .calc-operator-result__data-label {
        font-size: calc(14px + 2 * (100vw - 360px) / 1080);
    }
    .calc-operator-result__data-value {
        font-size: calc(14px + 2 * (100vw - 360px) / 1080);
    }
}
@media (max-width: 950px) {
    .calc-operator-result__item-title {
        min-height: auto;
    }
    .calc-operator-result__items-bottom {
        flex-direction: column;
    }
    .calc-result-employees {
        max-width: 100%;
    }
    .calc-result-comparison {
        max-width: 100%;
    }
}

/* ? calc-operator-accordion */

.calc-operator-accordion__control {
    width: 100%;
}

.calc-operator-accordion__control,
.calc-operator-accordion__control-link {
    background: none;
    border: none;
    cursor: pointer;
}
.calc-operator-accordion__control-link {
    font-family: 'Roboto Flex', sans-serif;
    font-weight: 500;
    font-size: 14px;
    line-height: 100%;
    color: #e80d24;
    padding: 4px 0;
    border-bottom: 1px solid #e80d24;
    margin: 20px 0;
}

.calc-operator-accordion__wrap-label {
    display: flex;
    gap: 20px;
    align-items: center;
}
.calc-operator-svg {
    flex-shrink: 0;
}

.calc-operator-accordion__content {
    display: none;
}
.calc-operator-accordion__content.open {
    display: block;
}
/* ? calc-operator-accordion__data */
.calc-operator-accordion__data {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 10px;
    padding: 10px 0;
    border-bottom: 1px solid #c7cee3;
    min-height: 60px;
}
.calc-operator-accordion__data-box {
    display: flex;
    justify-content: space-between;
    align-items: center;

    width: 320px;
    flex-shrink: 0;
}
.calc-operator-accordion__data-value {
    display: flex;
    justify-content: center;
    align-items: center;
}

.calc-operator-accordion__data-box-title,
.calc-operator-accordion__data-value {
    text-align: center;
    width: 90px;
    height: 40px;
}
.calc-operator-accordion__data-title,
.calc-operator-accordion__data-box-title {
    font-family: 'Roboto Flex', sans-serif;
    font-weight: 500;
    font-size: 14px;
    line-height: 120%;
    color: #666;
}

.calc-operator-accordion__data-label {
    color: #212121;
    font-weight: 400;
}
.calc-operator-accordion__data-value {
    color: #212121;
    font-weight: 500;
    flex-shrink: 0;
}
.calc-operator-accordion__data-label--bold {
    font-weight: 700;
}

.calc-operator-accordion__control:hover {
    -webkit-box-shadow: 0px 0px 5px 0px #99adff;
    -moz-box-shadow: 0px 0px 5px 0px #99adff;
    box-shadow: 0px 0px 5px 0px #99adff;
}
.calc-operator-accordion__control-link:hover {
    opacity: 0.7;
}
.сalc-operator-result__currency {
    text-transform: uppercase;
}
.сalc-operator-result__currency {
    text-transform: uppercase;
}
@media (max-width: 1440px) {
    .calc-operator-result__item-title {
        font-size: calc(20px + 4 * (100vw - 360px) / 1080);
    }
    .calc-operator-accordion__data-box {
        width: calc(280px + 40 * (100vw - 600px) / 840);
    }
}

/* ? mobile title */
.calc-operator-accordion__data-title--mobile {
    display: none;
}

@media (max-width: 600px) {
    .calc-operator-accordion__data-box.mobile-hidden {
        display: none;
    }

    .calc-operator-accordion__data-title--mobile {
        display: block;
    }
    .calc-operator__one-time-expenses .calc-operator-accordion__data {
        flex-direction: column;
        justify-content: center;
        align-items: flex-start;
    }
    .calc-operator-accordion__data-box {
        flex-direction: column;
        align-items: flex-start;
        width: 100%;
    }
    .calc-operator-accordion__wrap-value {
        display: flex;
        justify-content: space-between;
        align-items: center;
        width: 100%;
    }
    .calc-operator-result__data-label {
        width: 55%;
    }
    .calc-operator-accordion__wrap-label {
        width: 50%;
    }
}

.copyright-wrapper{
    position: relative;
    z-index: 1;
    margin-top: -41px;
}

.copyright{
    display: flex;
    justify-content: center;
    align-items: center;
    color: #000;
    font-size: 13px;
    line-height: 0;
}

.copyright span{
    display: inline-block;
    margin-right: 5px;
}

@media screen and (min-width: 992px) {
    .copyright-wrapper{
        position: relative;
        z-index: 1;
        padding: 0 80px;
        margin-top: -50px;
    }

    .copyright{
        font-size: 14px;
        justify-content: flex-start;
    }
}
