body {
    font-family: sans-serif;
    display: flex;
    flex-direction: column;
    align-items: center;
    background-color: #f0f0f0;
    margin-top: 20px;
}
h1 {
    color: #333;
}
.controls, .buttons {
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 10px;
}
.controls label {
    font-weight: bold;
}
.controls select {
    padding: 8px;
    border: 1px solid #ccc;
    border-radius: 4px;
    text-align: center;
}
/* ÃÊ±â ¹Ý°æ ½½¶óÀÌ´õ ½ºÅ¸ÀÏ */
input[type="range"] {
    -webkit-appearance: none;
    width: 150px;
    height: 8px;
    background: #d3d3d3;
    outline: none;
    opacity: 0.7;
    transition: opacity .2s;
    border-radius: 5px;
}
input[type="range"]::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 20px;
    height: 20px;
    background: #007bff;
    cursor: pointer;
    border-radius: 50%;
}
input[type="range"]::-moz-range-thumb {
    width: 20px;
    height: 20px;
    background: #007bff;
    cursor: pointer;
    border-radius: 50%;
}
#radiusValueDisplay {
    font-weight: bold;
    color: #555;
    width: 30px;
    text-align: center;
}
button {
    padding: 10px 20px;
    font-size: 16px;
    cursor: pointer;
    background-color: #007bff;
    color: white;
    border: none;
    border-radius: 5px;
    transition: background-color 0.3s ease;
}
#stopButton {
    background-color: #dc3545;
}
#stepButton {
    background-color: #28a745;
}
#resetButton {
    background-color: #6c757d;
}
button:hover:not(:disabled) {
    background-color: #0056b3;
}
#stopButton:hover:not(:disabled) {
    background-color: #c82333;
}
#stepButton:hover:not(:disabled) {
    background-color: #218838;
}
#resetButton:hover:not(:disabled) {
    background-color: #5a6268;
}
button:disabled {
    background-color: #cccccc;
    cursor: not-allowed;
}
.status {
    margin-bottom: 20px;
    font-size: 1.2em;
    font-weight: bold;
    color: #555;
}
.visualization-area {
    display: flex;
    gap: 30px;
    align-items: flex-start;
}
.input-color-display {
    text-align: center;
    margin-top: 20px;
}
.input-color-display h2 {
    font-size: 1.2em;
    color: #555;
    margin-bottom: 10px;
}
.color-box {
    width: 100px;
    height: 100px;
    border: 2px solid #555;
    background-color: #ccc;
    margin: 0 auto;
}
canvas {
    border: 1px solid #333;
    background-color: #fff;
}
