.forms__content:has(#calc-order) {
    height: auto;
    min-height: 646px;
}

#calc-order {
    width: 100%;
    min-width: 0;
}

#calc-order .calc-order-status {
    margin: 16px 0;
    line-height: 1.5;
}

#calc-order .calc-order-status.is-error {
    padding: 12px;
    border: 1px solid #b3261e;
    border-radius: 6px;
    background: #fff4f2;
    color: #8b1c15;
}

#calc-order #form__sucess-mess {
    padding: 24px;
    border: 2px solid #2a6d3c;
    border-radius: 12px;
    background: #f0ffe9;
    color: #1e4f2c;
    line-height: 1.5;
}

#calc-order #form__sucess-mess h3 {
    margin: 0 0 16px;
    font-size: 24px;
    line-height: 1.25;
}

#calc-order #form__sucess-mess p {
    margin: 12px 0 0;
}

.forms__content:has(#calc-order .form__container[style*="display: none"]) {
    min-height: 0;
}

#calc-order button:disabled {
    cursor: wait;
    opacity: 0.75;
}

@media (max-width: 767px) {
    .forms__content:has(#calc-order) {
        min-height: 0;
    }
}
