/**
 * UM Range Slider Styles
 */

/* Wrapper */
.um-range-slider-wrap {
    padding: 8px 0 4px;
}

/* The range input */
.um-range-slider {
    --range-progress: 50%;
    -webkit-appearance: none;
    appearance: none;
    width: 100%;
    height: 8px;
    border-radius: 4px;
    background: linear-gradient(to right,
            #e41b36 var(--range-progress),
            #e0e0e0 var(--range-progress));
    outline: none;
    cursor: pointer;
    margin: 10px 0;
    transition: background 0.15s ease;
}

/* Thumb - WebKit */
.um-range-slider::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: #e41b36;
    border: 3px solid #fff;
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.2);
    cursor: pointer;
    transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.um-range-slider::-webkit-slider-thumb:hover {
    transform: scale(1.15);
    box-shadow: 0 2px 8px rgba(218, 59, 107, 0.4);
}

.um-range-slider::-webkit-slider-thumb:active {
    transform: scale(1.1);
    box-shadow: 0 2px 10px rgba(218, 59, 107, 0.4);
}

/* Thumb - Firefox */
.um-range-slider::-moz-range-thumb {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: #e41b36;
    border: 3px solid #fff;
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.2);
    cursor: pointer;
    transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.um-range-slider::-moz-range-thumb:hover {
    transform: scale(1.15);
    box-shadow: 0 2px 8px rgba(218, 59, 107, 0.4);
}

/* Firefox track */
.um-range-slider::-moz-range-track {
    height: 8px;
    border-radius: 4px;
    background: #e0e0e0;
}

.um-range-slider::-moz-range-progress {
    height: 8px;
    border-radius: 4px;
    background: #e41b36;
}

/* Value display */
.um-range-slider-info {
    text-align: center;
    margin-top: 4px;
}

.um-range-slider-value {
    font-size: 28px;
    font-weight: 700;
    color: #e41b36;
    line-height: 1.2;
}

.um-range-slider-unit {
    font-size: 16px;
    font-weight: 500;
    color: #666;
}

/* Min/Max labels */
.um-range-slider-labels {
    display: flex;
    justify-content: space-between;
    margin-top: 2px;
}

.um-range-slider-min,
.um-range-slider-max {
    font-size: 12px;
    color: #999;
}

/* Focus styling */
.um-range-slider:focus {
    outline: none;
}

.um-range-slider:focus::-webkit-slider-thumb {
    box-shadow: 0 0 0 4px rgba(218, 59, 107, 0.2);
}

.um-range-slider:focus::-moz-range-thumb {
    box-shadow: 0 0 0 4px rgba(218, 59, 107, 0.2);
}