.price-slider-container {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.slider-wrapper {
    padding: 10px 0;
}

.slider-submit {
    align-self: flex-end; /* Align button to the right */
}

/* Rest of your existing slider styles */


.flat-slider {
    padding: 0;
    position: relative;
    width: 100%;
    padding-top: 12px;
    padding-bottom: 17px;
}

.flat-slider .ui-corner-all {
    border-radius: 0px;
}

.flat-slider .ui-widget-content a {
    color: #222222;
}

.flat-slider .ui-widget-content {
    color: #2584f8;
    background: #e0f0ff;
    background-image: none;
    border-width: 0;
}

.flat-slider .ui-widget-header {
    background-color: #2584f8;
    border-color: #2584f8;
    background-image: none;
}

.flat-slider .ui-state-hover,
.flat-slider .ui-widget-content .ui-state-hover,
.flat-slider .ui-widget-header .ui-state-hover,
.flat-slider .ui-state-focus,
.flat-slider .ui-widget-content .ui-state-focus,
.flat-slider .ui-widget-header .ui-state-focus {
    background-image: none;
}

.flat-slider .ui-slider {
    position: relative;
    text-align: left;
}

.flat-slider .ui-slider-horizontal {
    height: 4px;
    width: 96%;
}

.flat-slider .ui-slider-handle {
    cursor: pointer;
    position: absolute;
    z-index: 2;
    background-color: #2584f8;
    border: 2px solid #fff;
    border-radius: 50%;
    height: 18px;
    width: 18px;
    top: -8px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.min_value{
    margin-top: 15px;
    transform: translateX(-50%); /* Center the labels relative to their position */
    pointer-events: none; /* Prevent labels from interfering with slider interaction */
    z-index: 1; /* Ensure labels appear above the slider track */
    font-size: 12px;
    white-space: nowrap;
    transition: all 0.35s ease;
    font-weight: 600;
    color: #353535;
}

.flat-slider .max_value,
.flat-slider .min,
.flat-slider .max,
.flat-slider .value {
    margin-top: 15px;
    font-size: 12px;
    white-space: nowrap;
    transition: all 0.35s ease;
    font-weight: 600;
    color: #353535;
}

.flat-slider .min::before,
.flat-slider .max::before,
.flat-slider .min_value::before,
.flat-slider .max_value::before {
    content: "Rp";
}

.flat-slider .min,
.flat-slider .max {
    font-size: 0.7rem;
    color: #666;
}

.flat-slider .min {
    float: left;
}

.flat-slider .max {
    float: right;
}

.flat-slider .min_value,
.flat-slider .max_value,
.flat-slider .value {
    position: absolute;
}

.flat-slider::after {
    clear: both;
}

.price_ranger button {
    padding: 7px 15px;
    text-transform: capitalize;
    border: none;
    margin-bottom: 3px;
    background-color: #2584f8;
    color: white;
    border-radius: 4px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.price_ranger button:hover {
    background-color: #1a6bc7;
}
