.filling-information {
    position: absolute;
    right: 0;
    background: #F5F6F8;
    border: 1px solid #2467B4;
    box-sizing: border-box;
    border-radius: 4px;
    width: 372px;
    padding: 25px 38px;
    display: flex;
    color: #2467B4;
    top: -42px;
    padding-left: 83px;
    font-weight: normal;
    font-size: 15px;
    line-height: 22px;
}
.filling-information:before, .warning-information:before{
    content: '';
    background-image: url(/i/warning.png);
    background-size: cover;
    width: 28px;
    height: 28px;

    position: absolute;
    left:35px;
    top: 25px;
}

.warning-information {
    position: relative;
    background: #F5F6F8;
    border: 1px solid #2467B4;
    box-sizing: border-box;
    border-radius: 4px;
    padding: 25px 38px;
    padding-left: 83px;
    margin-top: 15px;
    display: flex;
    color: #2467B4;
    font-weight: normal;
    font-size: 15px;
    line-height: 22px;
}

#testimony-form{
    position: relative;
    margin-bottom: 168px;
    padding-bottom: 55px;
}
.form-info{
    font-family: Open Sans;
    font-style: normal;
    font-weight: normal;
    font-size: 16px;
    color: #262626;
    margin-bottom: 10px;
}
.step{
    padding: 55px 0;
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: space-between;
}
/*.step:nth-child(3){
    padding-top: 100px;
}*/

.step:first-child{
    padding-top: 100px;
}
div#water {
    padding-top: 40px;
    padding-bottom: 105px;
}
#energo{
    padding-bottom: 0;
}

#energo .input-block, #water .input-block {
    width: 100%;
}
#water .input-block {
    margin-bottom: 15px;
}
#energo .step-title{
    margin-bottom: 48px;
}
#heat .step-title{
    margin-bottom: 40px;
}
#heat .input-block.select select{
    margin-bottom: 23px;
}
button:disabled,input:disabled,select:disabled,#testimony-form.dis-form{
    opacity: 0.6;
}
.step-title{
    display: flex;
    align-items: flex-end;
    margin-bottom: 25px;
    width: 100%;
}
.title-num{
    background: #2467B4;
    border-radius: 120px;
    color: #fff;
    height: 36px;
    margin-right: 22px;
    width: 80px;
    display: flex;
    justify-content: center;
    align-items: center;
}
.title-text{
    font-size: 24px;
    color: #333333;
    padding: 7px 0;
    border-bottom: 1px solid #CDCDCD;
    display: block;
    width: calc(100% - 102px);
}
.testimony-row{
    display: flex;
    justify-content: space-between;
    margin-bottom: 30px;
    width: 100%;
    flex-wrap: wrap;
    height: fit-content;
}
.testimony-row:last-child{
    margin: 0;
}
.input-block{
    display: flex;
    flex-direction: column;
    width: 47%;
}
.input-block label, #heat label{
    font-size: 15px;
    color: #333333;
    margin-bottom: 2px;
    font-weight: normal;
}
.input-block input{
    background: #FFFFFF;
    border: 1px solid #CDCDCD;
    box-sizing: border-box;
    border-radius: 5px;
    padding: 16px 23px;
    font-size: 16px;
    color: #A8A8A8;
    transition: .3s all;

}

.testimony-row__wrapper {
    width: 100%;
}

.meter-error label, #heat .meter-error label {
    color: red;
}
.meter-error input {
    border-color: red;
}
.meter-warning label, #heat .meter-warning label {
    color: green;
}
.meter-warning input {
    border-color: green;
}

.input-block input:hover,.input-block input:focus,.testimony-row>input:hover,.testimony-row>input:last-child:hover,.testimony-row>input:focus{
    border-color: #2467b4;    
}
.testimony-row>select{
    background: #F5F6F8;
    border: 1px solid #2467B4;
    box-sizing: border-box;
    border-radius: 5px 0 0 5px;
    color: #2467B4;
    padding: 17px 0 17px 17px;;
    font-size: 16px;

    flex: 1;

}
.testimony-row>input{
    background: #FFFFFF;
    border: 1px solid #CDCDCD;
    box-sizing: border-box;
    padding: 17px 23px;
    border-left: none;
    font-size: 16px;
    color: #A8A8A8;

    flex: 1;
}
.testimony-row>input:last-child{
    background: #FFFFFF;
    border: 1px solid #CDCDCD;
    box-sizing: border-box;
    border-radius: 0 5px 5px 0;
    padding: 17px 23px;
    font-size: 16px;
    color: #A8A8A8;

    flex: 1;
}
.testimony-coll{
    width: 47%;
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    height: fit-content;
}
.coll-title{
    width: 100%;
    font-size: 20px;
    color: #2467B4;
    margin-bottom: 18px;
    font-weight: 400;
}
.coll-title:first-child{
    margin-top: 15px;
    
}
.testimony-coll .testimony-row{
    margin-bottom: 35px;
}
.select-home-info {
    width: 100%;
    font-family: Open Sans;
font-weight: normal;
font-size: 15px;
margin-bottom: 2px;

color: #333333;
}
.instruction-text{
    font-size: 15px;
    color: #333333;
    margin-bottom: 66px;
}
.instruction-img{
    width: 100%;
    height: 0;
    padding-bottom: 44%;
    background-size: cover;
    background-repeat: no-repeat;
    cursor: zoom-in;
}
/*.step:nth-child(3) .input-block{
    width: 100%;
}*/
.input-block.select{
    width: 100%;
}
.input-block.select select{
    background: #fff;
    border: 1px solid #CDCDCD;
    box-sizing: border-box;
    border-radius: 5px;
    color: #333333;
    padding: 17px 0 17px 41px;;
    font-size: 16px;
    margin-bottom: 45px;
}
.input-block.select select:focus,.input-block.select select:hover{

}
.step:nth-child(4) .testimony-row{
    position: relative;
}
.step:nth-child(4) .testimony-row .comma{
    position: absolute;
    bottom: 10%;
    left: 50%;
    font-size: 40px;
    color: #2467B4;
}

#page_top{
    margin-bottom: 0px;
}

.captcha_wrap{
    display: flex;
}

.captcha_wrap img{
    position: relative;
    left: -4px;
    border-top-right-radius: 5px;
    border-bottom-right-radius: 5px;
}

.agreement{
    margin-top: 30px;
    margin-bottom: 50px;
}

#testimony-form button{
    background: #2467B4;
    box-shadow: 1px 5px 11px rgba(36, 103, 180, 0.25);
    border-radius: 5px;
    margin: 0 auto;
    font-weight: 600;
    font-size: 22px;
    color: #FFFFFF;
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    padding: 17px 45px;
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;

    font-family: 'Open Sans', sans-serif; 
        
}
#testimony-form button:before{
    content: '';
    background-image: url(/i/success.png);
    background-size: cover;
    width: 30px;
    height: 30px;
    margin-right: 15px;
}

#testimony-form button:not(.dis-btn):hover {
    cursor: pointer;
    transform: translateX(-50%) scale(1.1);
    transition: transform 0.3s ease-in-out;
}


/*стили для модалки*/
.modal {
    display: flex;
    justify-content: center;
    align-items: center;
}

/* Контейнер */
.modal__container {
    position: relative;
    max-width: 591px;
    width: 100%;
    padding: 40px;
    background-color: #ffffff;
    border-radius: 12px;
    box-shadow:
            0 12px 30px rgba(0, 0, 0, 0.08),
            0 4px 12px rgba(0, 0, 0, 0.06);
    display: flex;
    flex-direction: column;
    gap: 24px;
}

/* Крестик */
.modal__close {
    position: absolute;
    top: 15px;
    right: 15px;

    background: none;
    border: none;
    font-size: 16px;
    cursor: pointer;
    color: #999;
    transition: 0.2s ease;
}

.modal__close:hover {
    color: #000;
}

.modal__header {
    background-color: #F5F6F8;
    padding: 24px 32px;
    border-radius: 4px;
    border: 1px solid #2467B4;
}

.modal__header-content {
    display: flex;
    align-items: flex-start;
    gap: 16px;
}

.modal__icon {
    width: 28px;
    height: 28px;
    background-image: url(/i/warning.png);
    background-size: cover;
    flex-shrink: 0;
    position: relative;
    top: 5px;
}

.modal__title {
    color: #2467B4;
    font-size: 20px;
    font-weight: 400;
}

.modal__body {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 24px;
}

.modal__values {
    gap: 4px;
    display: flex;
    flex-direction: column;
}

.modal__values p {
    font-size: 20px;
    line-height: 33px;
    margin: 0;
    color: #333333;
    font-family: 'Rubik', sans-serif;
}
.modal__question {
    font-size: 20px;
    text-align: center;
    font-family: 'Rubik', sans-serif;
}

.modal__phone-hint {
    font-size: 14px;
    text-align: center;
    color: #666;
    font-family: 'Rubik', sans-serif;
    margin-top: -12px;
}

.modal__actions {
    display: flex;
    gap: 24px;
    flex-wrap: wrap;
    justify-content: center;
}

.modal__button {
    padding: 16px 56px;
    border-radius: 6px;
    border: 2px solid #2467B4;
    font-size: 18px;
    cursor: pointer;
    transition: 0.2s ease;
}

.modal__button--primary {
    background-color: #2467B4;
    color: white;
    font-family: Open Sans;
}

.modal__button--primary:hover {
    background-color: #1f5aa0;
}

.modal__button--secondary {
    background-color: white;
    color: #2467B4;
}

.modal__button--secondary:hover {
    background-color: #f3f7fc;
}

.filling-information2 {
    position: absolute;
    right: 0;
    background: #F5F6F8;
    border: 1px solid #2467B4;
    box-sizing: border-box;
    border-radius: 4px;
    width: 372px;
    padding: 25px 38px;
    display: flex;
    color: #2467B4;
    top: -42px;
    padding-left: 83px;
    font-weight: normal;
    font-size: 15px;
    line-height: 22px;
}/*конец стилей для модалки*/


/* Ручной режим формы: список приборов учёта неизвестен, поля показываются все.
   Оформление нейтральное — это обычная подсказка, а не сообщение об ошибке.
   Ставится из ShowManualFieldsHint() в global.js */
.manual-mode-hint {
    background: #F5F6F8;
    border-radius: 4px;
    box-sizing: border-box;
    color: #4A4A4A;
    font-weight: normal;
    font-size: 15px;
    line-height: 22px;
    padding: 16px 20px;
    margin-bottom: 25px;
}

/* Прошлое показание в подписи поля. Дописывается из FillLastValueLabels() */
.last-value-hint {
    display: block;
    margin-top: 3px;
    font-size: 13px;
    line-height: 18px;
    color: #7A7A7A;
    font-weight: normal;
}

@media (max-width: 767px) {
    .manual-mode-hint {
        padding: 14px 15px;
        font-size: 14px;
        line-height: 20px;
    }
}
