
.volume-container {
    display: flex;
    align-items: center;
    gap: 12px;
    background: #151821; /* Slightly darker backing frame */
    padding: 6px 12px;
    border: 1px solid #2a2f3a;
    border-radius: 2px;
    height: 28px; /* Matches normal button heights */
}

.volume-container span {
    font-size: 11px;
    color: #d0d0d0;
    user-select: none;
}

/* The core slider body input container */
#volumeSlider {
    -webkit-appearance: none;
    appearance: none;
    width: 100px;
    background: transparent;
    cursor: pointer;
    margin: 0;
}

#volumeSlider:focus {
    outline: none;
}

#volumeSlider::-webkit-slider-runnable-track {
    width: 100%;
    height: 4px; /* Thin, elegant DAW slot */
    background: #1a1d25;
    border: 1px solid #2a2f3a;
    border-radius: 1px;
}

#volumeSlider::-moz-range-track {
    width: 100%;
    height: 4px;
    background: #1a1d25;
    border: 1px solid #2a2f3a;
    border-radius: 1px;
}

#volumeSlider::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    margin-top: -7px; /* Centers the fader block over the 4px track slot */
    height: 18px;     /* Distinct vertical rectangular fader cap */
    width: 8px;       /* Narrow console style width profile */
    background: #2a2f3a;
    border: 1px solid #434b5c;
    border-radius: 1px;
    transition: background 0.12s ease, border-color 0.12s ease;
}

#volumeSlider::-moz-range-thumb {
    height: 18px;
    width: 8px;
    background: #2a2f3a;
    border: 1px solid #434b5c;
    border-radius: 1px;
    transition: background 0.12s ease, border-color 0.12s ease;
}

#volumeSlider:hover::-webkit-slider-thumb {
    background: #222836;
    border-color: #00ffcc; /* Cyan highlight ring on mouse hover */
}

#volumeSlider:hover::-moz-range-thumb {
    background: #222836;
    border-color: #00ffcc;
}

/* When the user is actively holding and sliding the volume control fader */
#volumeSlider:active::-webkit-slider-thumb {
    background: #00ffcc; /* Full glowing cyan activation fader cap */
    border-color: #00ffcc;
}

#volumeSlider:active::-moz-range-thumb {
    background: #00ffcc;
    border-color: #00ffcc;
}

#volumeMeter {
    -webkit-appearance: none;
    appearance: none;
    width: 80px;
    height: 6px; /* Sleek indicator wire strip */
    border: 1px solid #2a2f3a;
    background: #1a1d25;
    border-radius: 1px;
}

/* Styling the active filling level inside the meter */
#volumeMeter::-webkit-progress-value {
    background: #00ffcc;
}

#volumeMeter::-moz-progress-bar {
    background: #00ffcc;
}