.calculator {
    padding: 50px 0;
}

.cost-calculator input[type="range"] {
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    border-radius: 16px;
    cursor: pointer;
    width: 100%;
    padding: 8px 0;
    --percFilled: 0%;
}

/* Range colors (slider-bana) */
.cost-calculator.range-white input[type=range] {
    background-color: #fff !important;
}

.cost-calculator.range-blue input[type=range] {
    background-color: #1658EA !important;
}

.cost-calculator.range-dark-blue input[type=range] {
    background-color: #1D243C !important;
}

.cost-calculator.range-marine-blue input[type=range] {
    background-color: #333C7F !important;
}

.cost-calculator.range-medium-blue input[type=range] {
    background-color: #D4F4F8 !important;
}

.cost-calculator.range-light-blue input[type=range] {
    background-color: #D9EAFA !important;
}

.cost-calculator.range-lightest-blue input[type=range] {
    background-color: #F0FBFD !important;
}

.cost-calculator.range-green input[type=range] {
    background-color: #347D6E !important;
}

.cost-calculator.range-turquoise input[type=range] {
    background-color: #2EC0D8 !important;
}

.cost-calculator.range-orange input[type=range] {
    background-color: #F89478 !important;
}

.cost-calculator.range-yellow input[type=range] {
    background-color: #FCD18F !important;
}

.cost-calculator.range-light-yellow input[type=range] {
    background-color: #FDF4CF !important;
}

.cost-calculator.range-light-pink input[type=range] {
    background-color: #FFE5DE !important;
}

.cost-calculator.range-grey input[type=range] {
    background-color: #EBEBEB !important;
}

.cost-calculator.range-black input[type=range] {
    background-color: #333 !important;
}

.cost-calculator.range-red input[type=range] {
    background-color: #990000 !important;
}

/* Controller colors (slider-handtag) */
.cost-calculator.controller-white input[type=range] {
    accent-color: #fff;
}

.cost-calculator.controller-blue input[type=range] {
    accent-color: #1658EA;
}

.cost-calculator.controller-dark-blue input[type=range] {
    accent-color: #1D243C;
}

.cost-calculator.controller-marine-blue input[type=range] {
    accent-color: #333C7F;
}

.cost-calculator.controller-medium-blue input[type=range] {
    accent-color: #D4F4F8;
}

.cost-calculator.controller-light-blue input[type=range] {
    accent-color: #D9EAFA;
}

.cost-calculator.controller-lightest-blue input[type=range] {
    accent-color: #F0FBFD;
}

.cost-calculator.controller-green input[type=range] {
    accent-color: #347D6E;
}

.cost-calculator.controller-turquoise input[type=range] {
    accent-color: #2EC0D8;
}

.cost-calculator.controller-orange input[type=range] {
    accent-color: #F89478;
}

.cost-calculator.controller-yellow input[type=range] {
    accent-color: #FCD18F;
}

.cost-calculator.controller-light-yellow input[type=range] {
    accent-color: #FDF4CF;
}

.cost-calculator.controller-light-pink input[type=range] {
    accent-color: #FFE5DE;
}

.cost-calculator.controller-grey input[type=range] {
    accent-color: #EBEBEB;
}

.cost-calculator.controller-black input[type=range] {
    accent-color: #333;
}

.cost-calculator.controller-red input[type=range] {
    accent-color: #990000;
}

/* Range colors (result) */
.result.range-white {
    color: #fff !important;
}

.result.range-blue {
    color: #1658EA !important;
}

.result.range-dark-blue {
    color: #1D243C !important;
}

.result.range-marine-blue {
    color: #333C7F !important;
}

.result.range-medium-blue {
    color: #D4F4F8 !important;
}

.result.range-light-blue {
    color: #D9EAFA !important;
}

.result.range-lightest-blue {
    color: #F0FBFD !important;
}

.result.range-green {
    color: #347D6E !important;
}

.result.range-turquoise {
    color: #2EC0D8 !important;
}

.result.range-orange {
    color: #F89478 !important;
}

.result.range-yellow {
    color: #FCD18F !important;
}

.result.range-light-yellow {
    color: #FDF4CF !important;
}

.result.range-light-pink {
    color: #FFE5DE !important;
}

.result.range-grey {
    color: #EBEBEB !important;
}

.result.range-black {
    color: #333 !important;
}

.result.range-red {
    color: #990000 !important;
}


/* Layout styles */
.cost-calculator__block {
    padding: 0;
    width: 100%;
}

.cost-calculator__block-top {
    display: flex;
    font-size: 14px;
    font-weight: 500;
    justify-content: space-between;
    letter-spacing: 0.01em;
    line-height: 114%;
    margin-bottom: 6px;
}

.cost-calculator__block-top .right {
    min-width: 140px;
    text-align: right;
}

.cost-calculator__inputs > * + * {
    margin-top: 24px;
}

.cost-calculator__title {
    font-weight: 600;
}

.cost-calculator .total-cost {
    font-size: 24px;
    font-style: normal;
    font-weight: 400;
    letter-spacing: -0.02em;
    line-height: 117%;
    margin-bottom: 50px;
}

.cost-calculator .total-cost .result {
    font-size: 84px;
    font-style: normal;
    font-weight: 400;
    letter-spacing: -0.02em;
    line-height: 100%;
}

.cost-calculator__disclaimer {
    margin-top: 20px;
}

.cost-calculator__disclaimer p {
    font-size: 12px;
}

@media (min-width: 1440px) {
    .cost-calculator .total-cost {
        font-size: clamp(24px, 1.666vw, 35px);
    }
    
    .cost-calculator .total-cost .result {
        font-size: 5.833vw;
    }
}