/* 範囲スライダー */
.c-range-slider {
    padding: 10px 15px 15px;
    width: 100%;
}

.c-range-slider__header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
}

.c-range-slider__label {
    font-weight: bold;
    color: #666;
    font-size: 13px;
}

.c-range-slider__inputs {
    display: flex;
    align-items: center;
    gap: 5px;
}

.c-range-slider__input {
    width: 70px;
    padding: 4px 8px;
    border: 1px solid #ccc;
    border-radius: 4px;
    text-align: right;
    font-size: 13px;
}

.c-range-slider__input:focus {
    outline: none;
    border-color: #ffa726;
}

.c-range-slider__separator {
    color: #666;
}

.c-range-slider__unit {
    color: #666;
    font-size: 13px;
}

.c-range-slider__track-container {
    position: relative;
    padding: 0 10px;
}

.c-range-slider__track {
    position: relative;
    height: 10px;
    background: #ddd;
    border-radius: 4px;
    cursor: pointer;
}

.c-range-slider__range {
    position: absolute;
    height: 100%;
    background: #ffa726;
    border-radius: 4px;
    pointer-events: none;
    left: 0%;
    width: 100%;
}

.c-range-slider__handle {
    position: absolute;
    top: 50%;
    width: 18px;
    height: 22px;
    background: #ffa726;
    border: none;
    border-radius: 3px;
    transform: translate(-50%, -50%);
    cursor: grab;
    z-index: 2;
    transition: box-shadow 0.2s;
}

.c-range-slider__handle::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 6px;
    height: 10px;
    border-left: 2px solid rgba(255, 255, 255, 0.8);
    border-right: 2px solid rgba(255, 255, 255, 0.8);
}

.c-range-slider__handle.-min {
    left: 0%;
}

.c-range-slider__handle.-max {
    left: 100%;
}

.c-range-slider__handle:hover,
.c-range-slider__handle:focus {
    box-shadow: 0 0 0 3px rgba(255, 167, 38, 0.3);
    outline: none;
}

.c-range-slider__handle:active {
    cursor: grabbing;
}

.c-range-slider__pips {
    position: relative;
    margin-top: 12px;
    height: 30px;
}

.c-range-slider__pip {
    position: absolute;
    transform: translateX(-50%);
    text-align: center;
}

.c-range-slider__pip-line {
    width: 1px;
    height: 8px;
    background: #ccc;
    margin: 0 auto 4px;
}

.c-range-slider__pip-label {
    font-size: 10px;
    color: #666;
    white-space: nowrap;
}
