/* 價格範圍篩選器樣式 */
.price-range-container {
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
    border: 1px solid #e0e0e0;
}

.price-range-container h6 {
    font-weight: 600;
    color: #333;
    padding-bottom: 0.5rem;
}

.price-input {
    border: 1px solid #ced4da;
    padding: 0.5rem;
    font-size: 0.9rem;
}

.price-input:focus {
    border-color: #80bdff;
    box-shadow: 0 0 0 0.2rem rgba(0, 123, 255, 0.25);
}

.input-group-text {
    background-color: #f8f9fa;
    border: 1px solid #ced4da;
    color: #495057;
}

/* 滑塊樣式 */
.price-slider-wrapper {
    position: relative;
    height: 6px;
    margin-bottom: 1rem;
    background: #e9ecef;
    border-radius: 3px;
}

.price-slider {
    position: absolute;
    width: 100%;
    height: 6px;
    top: 50%;
    transform: translateY(-50%);
    background: transparent;
    pointer-events: none;
    -webkit-appearance: none;
    appearance: none;
    z-index: 5;
}

.price-slider::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: #007bff;
    cursor: pointer;
    pointer-events: all;
    border: 2px solid white;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.price-slider::-moz-range-thumb {
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: #007bff;
    cursor: pointer;
    pointer-events: all;
    border: 2px solid white;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.price-slider::-webkit-slider-thumb:hover {
    background: #0056b3;
}

.price-slider::-moz-range-thumb:hover {
    background: #0056b3;
}

.price-slider-track {
    position: absolute;
    height: 100%;
    top: 50%;
    transform: translateY(-50%);
    background: #007bff;
    z-index: 4;
    border-radius: 3px;
}

.price-display {
    font-size: 1.1rem;
    font-weight: 500;
    color: #007bff;
    letter-spacing: 0.5px;
}

/* 按鈕樣式 */
.btn-sm {
    font-weight: 500;
    padding: 0.4rem 0.8rem;
}

#applyPriceFilter,
#resetPriceFilter {
    border-radius: 50rem;
}

#applyPriceFilter {
    border-width: 1px;
    transition: background-color 0.15s ease, border-color 0.15s ease;
}

#applyPriceFilter:hover {
    background: var(--Isc360-primary-orange) !important;
    border-color: var(--Isc360-primary-orange);
}

/* 響應式設計 */
@media (max-width: 576px) {
    .price-range-container {
        padding: 1rem !important;
    }

    .price-input {
        font-size: 0.85rem;
        padding: 0.4rem;
    }

    .price-display {
        font-size: 0.95rem;
    }
}