/* HOME SEARCH STYLE */
.slider-track {
    height: 8px;
    background: linear-gradient(90deg, #e9ecef 0%, #dee2e6 100%);
    border-radius: 4px;
    position: relative;
    overflow: visible;
    margin: 40px 0 30px;
}

/* نقاط شروع و پایان */
.slider-endpoint {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 12px;
    height: 12px;
    background: #adb5bd;
    border-radius: 50%;
    z-index: 1;
}

.endpoint-start {
    left: -6px;
    background: #28a745;
    box-shadow: 0 0 0 3px rgba(40, 167, 69, 0.2);
}

.endpoint-end {
    right: -6px;
    background: #dc3545;
    box-shadow: 0 0 0 3px rgba(220, 53, 69, 0.2);
}

.endpoint-label {
    position: absolute;
    top: -25px;
    font-size: 12px;
    font-weight: 600;
    white-space: nowrap;
}

.start-label {
    left: 0;
    color: #28a745;
}

.end-label {
    right: 0;
    color: #dc3545;
}

.slider-range {
    position: absolute;
    height: 100%;
    background-color: var(--bs-dark-primary-focus, #0d6efd);
    border-radius: 4px;
    z-index: 1;
}

.slider-thumb {
    width: 24px;
    height: 24px;
    background: white;
    border: 3px solid #0d6efd;
    border-radius: 50%;
    position: absolute;
    top: 50%;
    transform: translate(-50%, -50%);
    cursor: pointer;
    z-index: 3;
    transition: all 0.2s ease;
    box-shadow: 0 2px 6px rgba(0,0,0,0.2);
}

.slider-thumb:hover {
    transform: translate(-50%, -50%) scale(1.1);
}

.slider-thumb.min-thumb {
    border-color: #0d6efd;
}

.slider-thumb.max-thumb {
    border-color: #6f42c1;
}

.thumb-value {
    position: absolute;
    top: -35px;
    left: 50%;
    transform: translateX(-50%);
    background: #212529;
    color: white;
    padding: 4px 8px;
    border-radius: 4px;
    font-size: 12px;
    font-weight: 600;
    white-space: nowrap;
    opacity: 0;
    transition: opacity 0.2s;
    pointer-events: none;
    z-index: 4;
}

.thumb-value::after {
    content: '';
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    border-width: 5px;
    border-style: solid;
    border-color: #212529 transparent transparent transparent;
}

.slider-thumb:hover .thumb-value {
    opacity: 1;
}
