.body-form {
    background: linear-gradient(
            168deg,
            hsl(196, 34%, 85%) 0%,
            hsl(195, 33%, 95%) 100%
    );
    border-radius: 30px;
    margin-bottom: 20px;
    padding: 40px;
}

.body-form{
    display:none;
}

.body-form.active{
    display: block;
    padding-bottom:0;
}

.backTostart, .backToComment{
    cursor:pointer;
}

.form-field{
    position: relative;
}

.errorbox {
    display: none;
    color: red;
    position: absolute;
    bottom: -30px;
}

.mb50{
    margin-bottom: 50px !important;
}

#customSumm{
    position: relative;
}

.with_ruble:after{
    content:"₽";
    display: block;
    position: absolute;
    top: 50%;
    right: 15px;
    transform: translateY(-50%);
}

.btn_container {
    padding: 10px 10px 0 10px;
    background: #ebf3F5;
    border-radius: 40px 40px 0 0;
    border: 1px solid #c1d6df;
    border-bottom: 1px solid #ebf3F5;
    position: relative;
    bottom: -1px;
}

.body-form {
    border: 1px solid #c1d6df;
    padding-bottom: 0;
}

.error input, .error .custom-select{
    border:1px solid red !important;
}

.field.menu{
    margin-top: 30px;
}

.form-field .field.menu{
    margin-bottom: 15px !important;
}

#customSelect{
    position: relative;
}

#customSelect:after {
    content: "";
    display: block;
    border-left: 2px solid #4D8DB2;
    border-bottom: 2px solid #4D8DB2;
    position: absolute;
    top: 42%;
    right: 15px;
    width: 12px;
    height: 12px;
    transform: rotate(315deg) translateY(-50%);
}

.field.menu.open #customSelect:after {
    right: 27px;
    transform: rotate(135deg) translateY(-50%);
}

#soglasie{
    opacity: 0;
    height: 1px;
    width: 1px;
}

.soglasieLabel{
    position: relative;

}

#soglasieLabel:before {
    content: "";
    display: block;
    border-radius: 4px;
    background: #f3f6f8;
    border: 1px solid #4d8db2;
    width: 24px;
    height: 24px;
    position: absolute;
    left: 0;
}

.error #soglasieLabel:before{
    border: 1px solid red;
}

#soglasieLabel:after {
    content: "";
    display: none;
    width: 9px;
    height: 13px;
    border-right: 3px solid #4d8db2;
    border-bottom: 3px solid #4d8db2;
    position: absolute;
    left: 7px;
    top: 4px;
    transform: rotate(24deg);
}

#soglasie:checked~#soglasieLabel:after{
    display: block;
}

label#soglasieLabel {
    padding-left: 35px;
    position: relative;
}

label#soglasieLabel a{
    color:#3e4656;
    font-weight: bold;
}

.mt40{
    margin-top: 40px;
}

.pay-summ-container{
    margin-top: 50px;
}

.QrcodeBox {
    display: flex;
    flex-flow: column;
    gap: 30px;
}

.QrcodeBox img{
    max-width: 70%;
    margin: 0 auto;
}

.qr_wrapper {
    display: flex;
    align-items: center;
}

.payform {
    position: -webkit-sticky;   /* для старых Safari */
    position: sticky;
    top: 20px;                  /* ОБЯЗАТЕЛЬНО, иначе sticky = static */
    align-self: flex-start;     /* если форма — прямой ребёнок flex-контейнера */
    height: fit-content;        /* не тянуться на всю высоту родителя */
    z-index: 5;
}

/* если есть фиксированная шапка — учтите её высоту */
.payform {
    top: 120px; 
}

/* на мобильных обычно лучше отключить */
@media (max-width: 991px) {
    .payform {
        position: static;
    }
}

/* Для Chrome, Safari, Edge, Opera */
input::-webkit-outer-spin-button,
input::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

/* Для Firefox */
input[type=number] {
    -moz-appearance: textfield;
}