.calculation__wrap {
    width: 100%;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: horizontal;
    -webkit-box-direction: normal;
    -ms-flex-flow: row nowrap;
    flex-flow: row nowrap;
    gap: 88px;
}

.calculation__form {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    gap: 24px;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -ms-flex-flow: column;
    flex-flow: column;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    width: 400px;
    min-width: 400px;
    height: 248px;
    padding: 32px;
    border-radius: 16px;
    background: #f6f6f6;
}

.form__fields {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    gap: 16px;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -ms-flex-flow: column;
    flex-flow: column;
}

.form__btn {
    max-width: 336px;
    height: 48px;
    padding: 12px 16px;
    text-transform: unset;
    line-height: 1;
    font-weight: 400;
}

.btn--transparent {
    background: transparent;
    border: 1px solid #0080C9;
    color: #0080C9;
}

.btn--transparent:hover {
    background: #0080C9;
    color: #fff;
}

.btn--disabled {
    pointer-events: none;
    background: #dadada;
    color: #fff;
}

.form__row {
    position: relative;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: horizontal;
    -webkit-box-direction: normal;
    -ms-flex-flow: row nowrap;
    flex-flow: row nowrap;
    -webkit-box-pack: start;
    -ms-flex-pack: start;
    justify-content: flex-start;
    gap: 32px;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
}

.form__text {
    width: 92px;
    white-space: nowrap;
    font-size: 18px;
    font-weight: 600;
    line-height: 28px;
}

.form__input {
    width: 156px;
    height: 48px;
    padding: 10px 16px;
    border-radius: 4px;
    border: 1px solid #AAA;
}

.form__input-wrap {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: horizontal;
    -webkit-box-direction: normal;
    -ms-flex-flow: row nowrap;
    flex-flow: row nowrap;
    gap: 12px;
    -webkit-box-pack: end;
    -ms-flex-pack: end;
    justify-content: flex-end;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
}

.calculation__text {
    max-width: 60%;
}

.calculation__title {
    margin-bottom: 40px;
}

.calculation__subtitle {
    margin-bottom: 28px;
}

.form__measure {
    font-size: 18px;
    font-weight: 400;
    line-height: 28px;
}

.form__result {
    display: none;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -ms-flex-flow: column;
    flex-flow: column;
    gap: 8px;
}

.form__result-text {
    text-align: center;
    font-size: 18px;
    line-height: 28px;
}

.form__result-value {
    color: #002E6D;
    text-align: center;
    font-weight: 600;
    font-size: 32px;
    line-height: 56px;
}

.form__result-number {
    font-size: 56px;
}

.form__alert {
    visibility:hidden;
    position: absolute;
    bottom: -16px;
    font-size: 11px;
    color: red;
    left: 50%;
    -webkit-transform: translateX(-50%);
    -ms-transform: translateX(-50%);
    transform: translateX(-50%);
}

.alert--active {
    visibility: visible;
}

.form--mobile {
    display: none;
}


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

}

@media screen and (max-width: 1032px){
    .calculation__title {
        margin-bottom: 26px;
    }

    .calculation__wrap {
        -webkit-box-orient: vertical;
        -webkit-box-direction: normal;
        -ms-flex-flow: column;
        flex-flow: column;
        gap: 48px;
        -webkit-box-align: center;
        -ms-flex-align: center;
        align-items: center;
    }

    .calculation__text {
        max-width: 100%;
    }
}

@media screen and (max-width: 767px){
    .form__input {
        width: 164px;
    }
}

@media screen and (max-width: 400px){
    .form--desktop{
        display: none;
    }

    .form--mobile {
        display: -webkit-box;
        display: -ms-flexbox;
        display: flex;
    }

    .calculation__form {
        width: 100%;
        min-width: 100%;
        margin-top: 32px;
        padding: 32px 16px;
        border-radius: 0;
    }
}
