
label {
    display: block;
}

.calc__wrapper-2-column {
	display: flex;
	justify-content: center;
}

.calc__wrapper-3-column {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 20px;
    flex-wrap: wrap;
    margin-bottom: 20px;
}

.calc__input0-wrapper {
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
    padding: 15px;
    border: 1px solid #e6e4e4;
    border-radius: 5px;
}

.calc__input0-wrapper label {
    margin: 0;
    padding: 0;
    margin-right: 10px;
}

.calc__input0-wrapper select {
    font-size: 18px;
    padding: 8px 12px;
    border: 1px solid #bebebe;
    border-radius: 5px;
    background-color: #fff;
    cursor: pointer;
    min-width: 200px;
}

.calc__input0-wrapper select:hover {
    border-color: #0f0fff;
}

.calc__input0-wrapper select:focus {
    outline: none;
    border-color: #0f0fff;
    box-shadow: 0 0 0 2px rgba(15, 15, 255, 0.1);
}

.calc__input0-wrapper input[type="number"] {
    font-size: 20px;
    width: 100px;
    text-align: center;
    padding: 5px;
    border: 1px solid #bebebe;
    margin: 0 5px;
}

.calc__input1-wrapper,
.calc__input2-wrapper {
    border: 1px solid #e6e4e4;
    border-radius: 5px;
    padding: 30px 50px;
}


.calc__input1-wrapper {
    margin-right: 40px;
}

@media (max-width: 765px) {
    .calc__input1-wrapper {
        margin-right: 20px;
    }

    .calc__input1-wrapper,
    .calc__input2-wrapper {
        padding: 30px 30px;
    }
}

@media (max-width: 655px) {
    .calc__input1-wrapper {
        margin-bottom: 20px;
        margin-right: 0;
    }

    .calc__input1-wrapper,
    .calc__input2-wrapper {
        width: 100%;
        text-align: center;
    }

    .sub-btn-zone {
        justify-content: center;
    }
    
    .calc__wrapper-3-column {
        flex-direction: column;
    }
    
    .calc__input0-wrapper {
        width: 100%;
        flex-direction: column;
    }
    
    .calc__input0-wrapper select {
        width: 100%;
        min-width: auto;
    }
}

@media (max-width: 365px) {
    .section {
        padding: 0 20px;
    }

    .calc__input1-wrapper,
    .calc__input2-wrapper {
        padding: 10px 10px;
    }
}

.sub-text {
    color: gray;
    font-size: 14px;
    text-align: center;
}

.calc__result-main-text {
    font-size: 28px;
    margin: 60px 0;
    color: #0608d8;
    font-weight: bold;
    text-align: center;
}


@media (max-width: 655px) {
    .calc__wrapper-2-column {
        flex-wrap: wrap;
    }
}

/* Стили для слайдеров ссылок */
.steps-to-km__links-slider-wrapper {
    margin: 20px 0;
    overflow-x: auto;
    overflow-y: hidden;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: thin;
    scrollbar-color: #ccc transparent;
}

.steps-to-km__links-slider-wrapper::-webkit-scrollbar {
    height: 8px;
}

.steps-to-km__links-slider-wrapper::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 10px;
}

.steps-to-km__links-slider-wrapper::-webkit-scrollbar-thumb {
    background: #888;
    border-radius: 10px;
}

.steps-to-km__links-slider-wrapper::-webkit-scrollbar-thumb:hover {
    background: #555;
}

.steps-to-km__links-slider {
    display: flex;
    gap: 10px;
    padding: 10px 0;
    min-width: max-content;
}

.steps-to-km__link {
    display: inline-block;
    padding: 10px 20px;
    text-decoration: none;
    color: #333;
    background-color: #e7f3ff;
    border: 1px solid #0056b3;
    border-radius: 8px;
    white-space: nowrap;
    transition: all 0.3s ease;
    font-size: 16px;
    font-weight: 500;
}

.steps-to-km__link:hover {
    background-color: #b3d9ff;
    border-color: #004085;
    color: #002752;
    transform: translateY(-2px);
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

@media (max-width: 600px) {
    .steps-to-km__link {
        padding: 8px 15px;
        font-size: 14px;
    }
    
    .steps-to-km__links-slider {
        gap: 8px;
    }
}
