
.calc-section {
    padding: 0px 0;
    background: #2B2B2B;
    color: #fff;
    overflow: hidden;
    border: 1px solid #3A3A3A;
    border-radius: 10px;
}

.calc-left{
    padding: 30px 0px 30px 30px;
}

.calc-container {
    max-width: 1700px;
    margin: 0 auto;
    padding: 0px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
}

.calc-title {
    font-family: "Roboto", sans-serif;
    font-weight: 700;
    font-size: 40px;
    line-height: 125%;
    color: #fff;
    margin-bottom: 20px;
}

.calc-subtitle {
    font-family: "Roboto", sans-serif;
    font-weight: 700;
    font-size: 16px;
    line-height: 23px;
    color: #fff;
    margin-bottom: 20px;
}

.calc-row {
    display: flex;
    gap: 20px;
    margin-bottom: 30px;
}

.calc-field {
    flex: 1;
}

.calc-field label {
    font-family: "Roboto", sans-serif;
    font-weight: 700;
    font-size: 16px;
    line-height: 23px;
    color: #fff;
    margin-bottom: 15px;
}

.calc-field input,
.select-wrap select {
    width: 100%;
    padding: 10px 20px;
    background: transparent;
    border: 1px solid #ffffffff;
    border-radius: 6px;
    color: #ffffff;
    font-size: 18px;
    min-height: 51px;
    font-weight: 600;
}

.select-wrap {
    position: relative;
}
.select-wrap select {
    appearance: none;
}

.select-arrow-custom {
    border: solid #ffffff;
    border-width: 0 2px 2px 0;
    width: 10px;
    height: 10px;
    transform: rotate(45deg);
    transition: transform .25s ease;
    position: relative;
    bottom: 1px;
}

.custom-select.active .select-arrow-custom {
    transform: rotate(225deg);
}

.custom-select {
    position: relative;
    width: 100%;
    font-size: 18px;
}

.custom-select .real-select {
    display: none;
}

.select-selected {
    background: transparent;
    border: 1px solid #ffffff;
    border-radius: 6px;
    padding: 12px 20px;
    min-height: 51px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    color: #fff;
}

.select-text {
    font-weight: 600;
}

.select-arrow {
    border: solid #ffffff;
    border-width: 0 2px 2px 0;
    width: 10px;
    height: 10px;
    transform: rotate(45deg);
    transition: transform .25s ease;
}

.custom-select.active .select-arrow {
    transform: rotate(225deg);
}

.select-dropdown {
    position: absolute;
    top: calc(100% + 6px);
    left: 0;
    right: 0;
    background: #3a3a3a;
    border: 1px solid #4a4a4a;
    border-radius: 8px;
    padding: 8px 0;
    opacity: 0;
    pointer-events: none;
    transform: scale(0.95);
    transform-origin: top;
    transition: 
        opacity .25s ease,
        transform .25s cubic-bezier(.2, .9, .35, 1.2);
    z-index: 10;

    box-shadow: 0 12px 25px rgba(0,0,0,.35);
}

.custom-select.active .select-dropdown {
    opacity: 1;
    transform: scale(1);
    pointer-events: auto;
    z-index: 15;
}

.select-option {
    padding: 12px 18px;
    color: #fff;
    cursor: pointer;
    transition: background .2s ease;
}

.select-option:hover {
    background: #505050;
}

.select-option.active {
    background: #F2722C33;
}

.range-line {
    display: flex;
    gap: 15px;
    margin-bottom: 15px;
}

.range-box {
    flex: 1;
    border: 1px solid #ffffff;
    border-radius: 6px;
    padding: 10px 20px;
    height: 50px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
}

.range-box input {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

.range-label-text {
    opacity: .6;
    font-size: 18px;
}

.range-value {
    font-size: 18px;
}

.range-track {
    position: relative;
    height: 2px;
    background: #ffffff;
    border-radius: 4px;
    margin-top: 0px;
}

.track-fill {
    position: absolute;
    height: 2px;
    background: #888888;
    border-radius: 4px;
    left: 0;
    width: 100%;
}

.range-track input[type="range"] {
    position: absolute;
    width: 100%;
    top: -24px;
    appearance: none;
    background: none;
    pointer-events: none;
    z-index: 10;
    border: 0px;
    left: 0;
    margin: 0;
    padding: 0;
}

.range-track input[type="range"]::-webkit-slider-thumb {
    appearance: none;
    width: 20px;
    height: 20px;
    background: #FFFFFF;
    border-radius: 50%;
    pointer-events: auto;
}

.range-labels {
    margin-top: 25px;
    font-size: 16px;
    display: flex;
    justify-content: space-between;
    font-weight: 700;
}

.calc-btn {
    background: #F2722C !important;
    padding: 17px 30px !important;
    border: none !important;
    border-radius: 10px !important;
    font-size: 16px !important;
    font-weight: 700 !important;
    cursor: pointer !important;
    color: #fff !important;
    overflow: clip !important;
}

.calc-btn:hover {
    color: #fff !important;
}

.calc-bottom {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-top: 30px;
}

.calc-policy {
    font-size: 13px;
    color: #CCCCCC;
    margin: 0px;
}

.calc-policy a{
    color: #CCCCCC;
    text-decoration: underline;
}

.calc-right {
    position: relative;
    overflow: hidden;
}

.calc-image-clip {
    overflow: hidden;
    border-radius: 12px;
    height: 100%;
    max-height: 736px;
}

.calc-img {
    width: 120%;
    right: -35px;
    position: relative;
    bottom: 30px;
    z-index: 2;
}

.calc-blur {
    width: 250px;
    height: 250px;
    background: rgb(255 255 255 / 23%);
    filter: blur(80px);
    border-radius: 50%;
    position: absolute;
    z-index: 1;
    left: 38rem;
}

.calc-checkbox-row {
    margin: 30px 0 0;
    display: flex;
    gap: 35px;
    align-items: center;
}

.calc-checkbox {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    cursor: pointer;
    font-size: 16px;
    font-family: "Roboto", sans-serif;
    line-height: 1;
}

.calc-checkbox input {
    display: none;
}

/* коробка чекбокса */
.calc-checkbox-box {
    width: 30px;
    height: 30px;
    border: 1px solid #fff;
    border-radius: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: border-color .25s ease, background-color .25s ease;
}

/* иконка галки */
.calc-checkbox-icon {
    width: 18px;
    height: 18px;
    opacity: 0;
    transform: scale(0.3);
    transition: opacity .25s ease, transform .3s cubic-bezier(.2, .9, .35, 1.5);
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Активное состояние */
.calc-checkbox input:checked + .calc-checkbox-box .calc-checkbox-icon {
    opacity: 1;
    transform: scale(1);
}

.custom-select.placeholder .select-text {
    color: #9e9e9e !important;
    opacity: 0.7;
}

.select-dropdown {
    max-height: 280px;        
    overflow-y: auto;
    overflow-x: hidden;
    scrollbar-width: thin;  
    scrollbar-color: #ffffff transparent;
}

.select-dropdown::-webkit-scrollbar {
    width: 6px;       
}

.select-dropdown::-webkit-scrollbar-track {
    background: transparent;
}

.select-dropdown::-webkit-scrollbar-thumb {
    background: #ffffff;
    border-radius: 10px;
}

.select-dropdown::-webkit-scrollbar-thumb:hover {
    background: rgba(255, 255, 255, 0.7);
}


@media (max-width: 1760px) {
    .calc-img {
        right: -20px;
        top: 0%;
    }

.calc-image-clip {
    max-height: 799px;
}

}

@media (max-width: 1600px) {
    .calc-img {
        right: -15px;
        top: 4%;
    }
}

@media (max-width: 1500px) {
    .calc-img {
        right: -15px;
        top: 7%;
    }
}

@media (max-width: 1350px) {
    .calc-img {
        right: -15px;
        top: 13%;
    }
}

@media (max-width: 1279px) {
    .calc-right {
        display: none !important;
    }

    .calc-container {
        grid-template-columns: 1fr !important;
    }

    .calc-left {
        padding-right: 15px;
    }
}

@media (max-width: 992px) {
    .calc-left {
        padding: 25px 15px;
    }
}

@media (max-width: 768px) {
    .calc-title {
        font-size: 26px;
    }

    .calc-row {
        flex-direction: column;
        gap: 15px;
    }

    .calc-field input {
        min-height: 46px;
        font-size: 16px;
    }

    .select-selected {
        min-height: 46px;
        font-size: 16px;
        padding: 10px 15px;
    }

    .calc-checkbox-row {
        flex-wrap: wrap;
        gap: 20px;
    }

    .calc-btn {
        width: 100% !important;
        padding: 15px !important;
        font-size: 16px !important;
        margin-bottom: 30px !important;
    }

    .calc-bottom {
    display: block;
}

}

@media (max-width: 480px) {
    .calc-title {
        font-size: 22px;
    }

    .calc-subtitle {
        font-size: 13px;
    }

    .calc-checkbox {
        font-size: 14px;
    }

    .calc-checkbox-box {
        width: 24px;
        height: 24px;
    }
    
}
