body {
    margin: 0;
    overflow: hidden;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    color: #eee;
    background-color: #1a1a1a;
}

#renderCanvas {
    display: block;
    width: 100vw;
    height: 100vh;
}

#ui-controls {
    position: absolute;
    top: 15px;
    left: 15px;
    background: rgba(0, 0, 0, 0.75);
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.5);
    max-width: 300px;
    z-index: 1000; /* Ensure controls are on top */
}

#ui-controls h1 {
    font-size: 1.8em;
    margin-top: 0;
    margin-bottom: 20px;
    color: #00bcd4; /* A nice highlight color */
    border-bottom: 1px solid rgba(0, 188, 212, 0.3);
    padding-bottom: 10px;
}

.control-group {
    margin-bottom: 20px;
}

.control-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: bold;
    color: #bbb;
}

input[type="file"] {
    width: 100%;
    padding: 8px;
    background-color: #333;
    border: 1px solid #555;
    border-radius: 4px;
    color: #eee;
    box-sizing: border-box; /* Include padding and border in the element's total width and height */
    cursor: pointer;
}

input[type="file"]::-webkit-file-upload-button {
    background-color: #00796b; /* Darker teal */
    color: white;
    padding: 8px 12px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    margin-right: 10px;
    transition: background-color 0.2s ease;
}

input[type="file"]::-webkit-file-upload-button:hover {
    background-color: #004d40; /* Even darker teal on hover */
}

input[type="range"] {
    width: 100%;
    -webkit-appearance: none; /* Override default look */
    height: 8px;
    background: #555;
    outline: none;
    border-radius: 4px;
    margin-top: 5px;
}

input[type="range"]::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: #00bcd4;
    cursor: pointer;
    border: 2px solid #fff;
}

input[type="range"]::-moz-range-thumb {
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: #00bcd4;
    cursor: pointer;
    border: 2px solid #fff;
}

.hint {
    font-size: 0.9em;
    color: #aaa;
    margin-top: 25px;
    padding-top: 15px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

small {
    display: block;
    margin-top: 5px;
    font-size: 0.8em;
    color: #999;
}