/* Styles for the price input container */
.price-input-container {
    width: 100%;
}

.price-input .price-field {
    display: flex;
    margin-bottom: 22px;
}

.price-field span {
    margin-right: 10px;
    margin-top: 6px;
    font-size: 17px;
}

.price-field input {
    flex: 1;
    height: 35px;
    font-size: 15px;
    font-family: "DM Sans", sans-serif;
    border-radius: 9px;
    text-align: center;
    border: 0px;
    background: #e4e4e4;
}

.price-input {
    width: 100%;
    font-size: 19px;
    color: #555;
}

/* Remove Arrows/Spinners */
input::-webkit-outer-spin-button,
input::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

.slider-container {
    width: 100%;
}

.slider-container {
    height: 3px;
    position: relative;
    background: #e4e4e4;
    border-radius: 5px;
}

.slider-container .price-slider {
    height: 100%;
    left: 0%;
    right: 0%;
    position: absolute;
    border-radius: 5px;
    background: #000;
}

.range-input {
    position: relative;
}

.range-input input {
    position: absolute;
    width: 100%;
    height: 5px;
    background: none;
    top: -4px;
    pointer-events: none;
    cursor: pointer;
    -webkit-appearance: none;
}

/* Styles for the range thumb in WebKit browsers */
input[type="range"]::-webkit-slider-thumb {
    height: 14px;
    width: 14px;
    border-radius: 70%;
    background: #fff;
    pointer-events: auto;
    box-shadow: 0px 3px 6px 0px #00000026;
    border: 1px solid #AAAAAA;
    -webkit-appearance: none;
}

@media screen and (max-width: 768px) {
    .main {
        width: 80%;
        margin-right: 5px;
    }

    .custom-wrapper {
        width: 100%;
        left: 0;
        padding: 0 10px;
    }

    .projtitle {
        width: 100%;
        position: relative;
        right: 26px;
    }

    .price-input {
        flex-direction: column;
        align-items: center;
    }

    .price-field {
        margin-bottom: 10px;
    }
}

.price-field input {
    background: transparent;
    width: fit-content;
    height: auto;
    position: absolute;
    left: 0;
    flex: 0;
    font-family: 'Montserrat';
    max-width: 60px;
    text-align: left;
    pointer-events: none;
    top: 15px;
}

.price-input {
    position: relative;
}

.price-input .price-field {
    display: block;
    margin: 0;
}

.price-field.max input {
    right: 0;
    left: auto;
    text-align: right;
}

.custom-wrapper {
    padding-bottom: 20px;
}

.custom-wrapper .update {
    padding-top: 40px;
    display: none;
}


.custom-wrapper .update.active {
    display: block;
}