a{
    text-decoration: none;
}


/*стили для онлайн-калькулятора*/
.calculator-wrapper{
    padding:16px;
    border: 1px solid #dfdfdf;
    border-radius: 16px;
    overflow: hidden;
    min-height: 720px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}
.calculator-inner.slide-out{
    display: flex;
    flex-direction: column;
    justify-content: end;
}

.questions-wrapper{
    display:flex;
    flex-direction: column;
    gap: 16px;
    flex-wrap: nowrap;
    max-height: 467px;
    overflow-y: auto;
}
.checkbox-item{
    padding: 8px;
    border:1px solid #dfdfdf;
    border-radius: 8px;
    width:100%;
    display: flex;
    gap: 16px;
    align-items: center;
}
.back-btn{
    display: inline-flex;
    flex: none;
    padding: 10.5px;
    justify-content: center;
    border-radius: 3px;
    cursor: pointer;
    border: 1px solid #F08839;
}
.new-btn:hover svg path{
    stroke:#F08839;
}
.new-btn svg path{
    stroke: white;
}

.progress-container {
    width: 100%;
    margin-right: 30px;
}

.progress-header {
    margin-bottom: 8px;
    font-size: 14px;
    font-weight: 500;
    color: #747474;
}

.progress-label {
    font-weight: bold;
    color: #333;

}

.progress-percent {
    font-weight: bold;
    color: #e28036;
    font-size:12px;
    position: absolute;
    top: 23px;
    right: -30px;
}

.progress-bar {
    width: 100%;
    height: 20px;
    background-color: #f0f0f0;
    border-radius: 10px;
    overflow: visible;
}

.progress-fill {
    height: 100%;
    background: linear-gradient(90deg, #bd6e35, #f8841b);
    border-radius: 10px;
    transition: width 0.3s ease;
    position: relative;
}
.error-message.show {
    display: block;
    opacity: 1;
}
.error-message {
    position: relative;
    color: #ff4444;
    font-size: 14px;
    margin-top: 10px;
    height: 20px;
    opacity: 0;
}
.new-btn.disabled {
    background: #cccccc;
    cursor: not-allowed;
    opacity: 0.6;
}
.calculator-inner {
    position: absolute;
    /*top: 0; */
    /* left: 0; */
    /* width: 100%; */
    max-width: 1026px;
    opacity: 0;
    transform: translateX(50px);
    transition: all 0.4s ease;
    pointer-events: none;
}

.calculator-inner.active {
    opacity: 1;
    transform: translateX(0);
    pointer-events: all;
    position: relative;
}

.calculator-inner.slide-out {
    opacity: 0;
    transform: translateX(-50px);
}

@media(min-width: 768px){
    .checkbox-item{
        width:calc((100% - 26px) / 2);
    }
    .questions-wrapper{
        display:flex;
        flex-direction: row;
        gap: 26px;
        flex-wrap: wrap;
    }
}


@media(min-width: 992px){

    .checkbox-item{
        padding: 16px 20px;
        border-radius: 12px;
    }


}

@media(min-width: 1200px){
    .calculator-wrapper{
        padding: 24px;
    }
}






/*конец стилей для онлайн-калькулятора*/