.slider-container {
    max-width: 500px;
    font-family: system-ui, -apple-system, sans-serif;
}

.slider-wrapper {
    position: relative;
    height: 50px;
    display: flex;
    align-items: center;
    gap: 20px;
    width: 100%;
}

input[type="range"] {
    -webkit-appearance: none;
    width: 100%;
    height: 12px;
    background: #DADDFF;
    border-radius: 999px;
    outline: none;
    opacity: 0.9;
    transition: opacity .2s;
}

input[type="range"]:hover {
    opacity: 1;
}

input[type="range"]::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: white;
    cursor: pointer;
    border: 3px solid #051284;
    box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.1);
    transition: all 0.15s ease;
}

input[type="range"]::-webkit-slider-thumb:hover {
    transform: scale(1.15);
    box-shadow: 0 0 0 4px rgba(59, 130, 246, 0.3);
}

/* Firefox */
input[type="range"]::-moz-range-thumb {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: white;
    cursor: pointer;
    border: 3px solid #3b82f6;
    box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.1);
}

/* Track fill effect */
.slider-wrapper::before {
    content: "";
    position: absolute;
    top: 19px;
    left: 0;
    margin-right: 10px;
    height: 12px;
    width: 0%;
    background: #05117E;
    border-radius: 999px;
    z-index: 1;
    pointer-events: none;
    transition: width 0s ease;
}

.value-display {
    font-size: 1.8rem;
    font-weight: 600;
    color: #051284;
    /* min-width: 60px;
    text-align: right; */
    border: 1px solid #E6E6E6;
    border-radius: 10px;
    margin-left: 10px;
    padding: 0px 10px;
}

.slider-wrapper::before {
    width: var(--progress, 0%);
}
