.calculator-form {
    background-color: var(--bg_2);
    padding: 155px 0;
}

.calc-black {
    background-color: var(--bg_1);
}

.room-type {
    background-color: #fff;
    border: 2px solid #fff;
    border-radius: var(--border-radius-20);
    overflow: hidden;
}

.room-type__head {
    padding: 36px 0 34px;
    background-color: #232323;
    color: #fff;
    text-align: center;
}

.room-type__sub-title {
    text-transform: uppercase;
    font-size: 18px;
    line-height: 18px;
    margin-bottom: 17px;
}

.room-type__title {
    font-weight: 700;
    font-size: 34px;
    line-height: 42px;
    text-transform: capitalize;
}

.hidden {
    display: none;
}

.disabled {
    display: none;
}

.radio-button-wrapper {
    display: flex;
    flex-wrap: wrap;
    width: 100%;
    padding: 0 40px;
    gap: 24px 32px;
}

.radio-button-wrapper .input-group {
    width: calc(100% / 2 - 20px);
}

.radio-button-wrapper label {
    display: flex;
    justify-content: space-between;
    background-color: var(--bg_3);
    -webkit-border-radius: 9px;
    -moz-border-radius: 9px;
    border-radius: 9px;
    width: 100%;
    padding: 33px 40px;
    color: var(--text_1);
    transition: var(--transition);
    cursor: pointer;
}

.custom-type[type="radio"]:checked,
.custom-type[type="radio"]:not(:checked),
.custom-type[type="checkbox"]:checked,
.custom-type[type="checkbox"]:not(:checked){
    position: absolute;
    pointer-events: none;
    opacity: 0;
}
.custom-type[type="radio"]:checked + label,
.custom-type[type="checkbox"]:checked + label {
    background-color: var(--bg_1);
    color: #fff;
}

.custom-type[type="radio"]:checked + label svg path {
    stroke: #fff;
}

.custom-type[type="checkbox"]:checked + label svg path {
    stroke: #ff2d21;
}

.input-group--fx {
    display: flex;
    justify-content: space-between;
    gap: 28px;
    padding: 18px 42px 18px 20px;
    background-color: var(--bg_3);
    -webkit-border-radius: 9px;
    -moz-border-radius: 9px;
    border-radius: 9px;
}

.counter-wrapper {
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 28px;
    padding: 0 66px;
}

.counter-wrapper label {
    font-weight: 700;
    font-size: 18px;
    line-height: 24px;
    user-select: none;
}

.button-group {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin: 48px 0 31px;
    padding: 0 40px;
    gap: 24px;
}

#previous {
    max-width: 253px;
    margin-left: 14px;
}

#next {
    max-width: 278px;
    margin-right: 14px;
    margin-left: auto;
}

/* Adaptive */

@media (max-width: 860px) {

    .radio-button-wrapper label {
        padding: 22px;
    }

    .radio-button-wrapper label span {
        font-size: 16px;
    }

}

@media (max-width: 768px) {

    .radio-button-wrapper label span {
        font-size: 14px;
    }

    .radio-button-wrapper label {
        padding: 15px;
    }

}

@media (max-width: 685px) {

    .radio-button-wrapper {
        flex-wrap: wrap;
    }

    .radio-button-wrapper .input-group {
        width: 100%;
    }

    .radio-button-wrapper label span {
        font-size: 16px;
    }

    .radio-button-wrapper label {
        padding: 15px 20px;
        align-items: center;
    }

    .input-group--fx {
        padding: 15px 14px;
        gap: 10px;
    }

    .counter-wrapper label {
        font-size: 16px;
        line-height: 24px;
        font-weight: 400;
    }

    .radio-button-wrapper, .counter-wrapper {
        padding: 0 14px;
        gap: 14px;
    }

    .progress-bar {
        margin: 30px 15px 52px;
    }

}

@media (max-width: 540px) {

    .calculator-form {
        padding: 50px 0 93px;
    }

    .room-type {
        -webkit-border-radius: 0;
        -moz-border-radius: 0;
        border-radius: 0;
    }

    .room-type__head {
        padding: 38px 10px 33px;
    }

    .room-type__sub-title {
        font-size: 14px;
        line-height: 24px;
        margin-bottom: 0;
        text-transform: initial;
    }

    .room-type__title {
        font-size: 24px;
        line-height: 40px;
    }

    .progress-bar__dot.full span, .progress-bar__dot span {
        font-size: 11px;
    }

    .button-group {
        flex-direction: column-reverse;
        align-items: center;
        margin: 40px 0 26px;
        padding: 0 12px;
    }

    #next, #validate {
        margin: 0 auto;
    }

    #previous {
        font-weight: 600;
        font-size: 16px;
        line-height: 18px;
        color: var(--text_1);
        border: none;
        -webkit-border-radius: 0;
        -moz-border-radius: 0;
        border-radius: 0;
        height: initial;
        margin: 0;
    }

    #previous::before {
        display: none;
    }

}

@media (max-width: 480px) {

    .progress-bar {
        justify-content: space-between;
        margin: 28px 19px 30px;
    }

    .progress-bar__dot:nth-child(1) {
        margin-left: 0;
    }

    .progress-bar__dot:nth-child(4) {
        margin-right: 0;
    }

    .progress-bar::before {
        width: calc(100% - 46px);
        left: 23px;
    }

    #next, #validate {
        max-width: 256px;
    }

}

@media (max-width: 350px) {

    .counter-wrapper label {
        font-size: 14px;
    }

    #next, #validate {
        max-width: 222px;
    }

}

/* \Adaptive */
