/* 기존 스타일 유지 */
body {
    font-family: sans-serif;
    margin: 0;
    overflow: hidden;
}

.color {
    background: linear-gradient(to right, #000000 2%,#050700 3%, #aab69e 30%, #ffffff 80%);
    height: 41.4vh;
    width: 100vw;
    position: fixed;
    bottom: 0;
    z-index: 999;
    opacity: 100%;
    mix-blend-mode: multiply;
}


.controls {
    position: absolute;
    top: 10px;
    left: 10px;
    background: white;
    padding: 10px;
    border-radius: 0px;
    z-index: 10; /* 다른 요소보다 위에 표시 */
}

label, input {
    display: block;
    margin-bottom: 10px;
    margin-top: 20px;
}
.color-sliders {
    margin-top: 20px;
    margin-bottom: 50px;
}
.slider-labels {
    display: flex;
    justify-content: space-between;
    margin-bottom: 10px;
}
.slider-labels span {
    font-size: 12px;
}

#randomPointBtn, #addPointBtn {
    background-color:#0a0a23;
    color: #fff;
    padding: 10px;
    border: none;
    cursor: pointer;
    margin-top: 10px;
    border-radius: 5px;
}

/* 공통 슬라이더 스타일 */
input[type="range"] {
    width: 100%;
    height: 2px;
    border-radius: 5px;
    background: black;
    outline: none;
    opacity: 1;
    transition: opacity .15s ease-in-out;
}

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

/* 트랙 스타일링 */
input[type="range"]::-webkit-slider-runnable-track {
    width: 100%;
    height: 3px;
    background: black;
    border-radius: 5px;
    border: none;
}

/* 핸들(썸) 스타일링 */
input[type="range"]::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 20px;
    height: 20px;
    background: black;
    border-radius: 50%;
    cursor: pointer;
    border: 2px solid #fff;
    box-shadow: 0 0 2px rgba(0, 0, 0, 0.2);
}

input[type="range"]:hover::-webkit-slider-thumb {
    background: gray;
}

/* 파이어폭스용 핸들 스타일 */
input[type="range"]::-moz-range-thumb {
    width: 20px;
    height: 20px;
    background: #4CAF50;
    border-radius: 50%;
    border: none;
    cursor: pointer;
}

/* 파이어폭스용 트랙 스타일 */
input[type="range"]::-moz-range-track {
    background: #ddd;
    height: 8px;
    border-radius: 5px;
}

/* 상태 메시지 스타일 */
#updateStatus {
    margin-top: 10px;
    font-size: 14px;
    color: #333;
}

#pointCount {
    background-color: white;
    color: black;
    position: fixed;
    bottom: 0;
}