/*
    Style for Controls

    description: Contains the variables, button types, and keyframes. - Updated to match Belmont style
    author: Ben Jordan, Kritan Duwal
 */

/* Controls Container */
#controls-container {
    background-color: var(--maincolor);
    padding: 20px 32px;
    box-shadow: var(--card-shadow);
    display: flex;
    flex-wrap: wrap;
    column-gap: clamp(24px, 6vw, 72px);
    row-gap: 20px;
    align-items: flex-start;
    justify-content: space-evenly;
}

.control-section {
    display: flex;
    flex-direction: column;
    gap: 12px;
    flex: 1 1 200px;
    max-width: 300px;
    min-width: 180px;
}

.control-label {
    color: var(--text-color);
    font-size: 14px;
    font-weight: 500;
    margin-bottom: -10px;
}

/* Room Dropdown */
#roomDropdown {
    padding: 10px 12px;
    border-radius: 4px;
    border: 1px solid var(--buttoncolor1);
    color: var(--text-color);
    font-size: 14px;
    font-family: var(--font);
    background-color: white;
    cursor: pointer;
}

#roomDropdown:focus {
    outline: none;
    border-color: var(--maincolor2);
}

/* Convolution Mix Slider */
.slider-container {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.slider-row {
    display: flex;
    align-items: center;
    gap: 10px;
}

.slider-value {
    font-weight: 600;
    color: var(--belmont-blue);
    min-width: 42px;
    text-align: right;
    white-space: nowrap;
}

#convmix {
    flex: 1;
    height: 8px;
    border-radius: 4px;
    outline: none;
    -webkit-appearance: none;
    appearance: none;
}

#convmix::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: var(--maincolor);
    box-shadow: var(--card-shadow);
    cursor: pointer;
}

#convmix::-moz-range-thumb {
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: var(--maincolor);
    box-shadow: var(--card-shadow);
    cursor: pointer;
    border: none;
}

.slider-endpoints {
    display: flex;
    justify-content: space-between;
    font-size: 12px;
    color: #666;
    margin-top: 0px;
    padding-right: calc(42px + 10px);
}

/* File Selection */
.fileselect {
    background-color: var(--belmont-blue);
    color: var(--text-color-white);
    border-radius: 4px;
    box-shadow: var(--card-shadow);
    outline: none;
    border: none;
    padding: 10px 16px;
    font-family: var(--font);
    cursor: pointer;
    font-size: 14px;
    transition: background-color 0.25s ease;
}

.fileselect:hover {
    background-color: #003d82;
}

#srcselectlabel {
    color: #666;
    font-size: 12px;
    margin-top: -5px;
}
