body, html {
    margin: 0;
    padding: 0;
    height: 100%;
    width: 100%;
    overflow: hidden; /* Prevents scrollbars */
    background-color: #000; /* Black background by default */
}

#starfield {
    /* Position the canvas to fill the entire window */
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: block;
}

.upload-container {
    /* Style the uploader to sit on top */
    position: fixed;
    top: 20px;
    left: 20px;
    z-index: 10; /* Make sure it's above the canvas */
    background-color: rgba(0, 0, 0, 0.5);
    padding: 10px 15px;
    border-radius: 8px;
    font-family: Arial, sans-serif;
    color: white;
}

.upload-container label {
    margin-right: 10px;
}

/* Add styling for the new buttons */
#record-btn, #stop-btn {
    margin-left: 10px;
    padding: 5px 10px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    background-color: #4a4a4a;
    color: white;
}

#record-btn:hover, #stop-btn:hover {
    background-color: #6a6a6a;
}

/* Style for when buttons are disabled */
#record-btn:disabled, #stop-btn:disabled {
    background-color: #2a2a2a;
    color: #555;
    cursor: not-allowed;
}

/* Styles for the sliders */
.upload-container hr {
    border: 0;
    border-top: 1px solid #555;
    margin: 12px 0;
}

.slider-control {
    display: flex;
    align-items: center;
    margin-top: 8px;
}

.slider-control label {
    margin-right: 8px;
    min-width: 70px; /* This helps align the sliders */
}

.slider-control input[type="range"] {
    flex-grow: 1; /* Makes the slider fill the remaining space */
    cursor: pointer;
}

/* Styles for the toggle */
.toggle-control {
    display: flex;
    align-items: center;
    margin-top: 10px;
}

.toggle-control label {
    margin-left: 6px;
    margin-right: 0;
    min-width: 0;
    cursor: pointer;
}

.toggle-control input[type="checkbox"] {
    cursor: pointer;
}