/* --- Redesigned Volume Slider --- */
.volume-slider {
    -webkit-appearance: none;
    appearance: none;
    width: 100%;
    height: 4px; /* Thinner track */
    border-radius: 2px;
    background: var(--panel-border); /* Default track color */
    outline: none;
    transition: opacity 0.2s, background 0.2s;
    cursor: pointer;
}

.volume-slider::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: var(--text-light);
    border: 3px solid var(--bg-color); /* Creates a "hollow" effect */
    cursor: pointer;
    box-shadow: 0 0 10px var(--accent-glow);
    transition: transform 0.2s ease-out;
}

.volume-slider:hover::-webkit-slider-thumb {
    transform: scale(1.1);
}

.volume-slider:active::-webkit-slider-thumb {
    transform: scale(0.95);
}

.volume-slider::-moz-range-thumb {
    width: 14px; /* (20px - 3px*2) */
    height: 14px;
    border-radius: 50%;
    background: var(--text-light);
    border: 3px solid var(--bg-color);
    cursor: pointer;
    box-shadow: 0 0 10px var(--accent-glow);
}

.volume-slider:disabled {
    cursor: not-allowed;
}

.volume-slider:disabled::-webkit-slider-thumb {
    background: var(--text-dark);
    box-shadow: none;
    cursor: not-allowed;
    transform: scale(1);
}

.volume-slider:disabled::-moz-range-thumb {
    background: var(--text-dark);
    box-shadow: none;
    cursor: not-allowed;
}

/* --- Leverage Selection Slider --- */
#leverage-slider {
    -webkit-appearance: none;
    appearance: none;
    width: 100%;
    height: 8px;
    background: rgba(1, 4, 9, 0.7);
    border: 1px solid var(--panel-border);
    border-radius: 4px;
    outline: none;
    transition: opacity .2s;
}
#leverage-slider::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 24px;
    height: 24px;
    background: var(--accent-cyan);
    cursor: pointer;
    border-radius: 50%;
    border: 3px solid var(--bg-color);
    box-shadow: 0 0 10px var(--accent-glow);
    transition: transform 0.2s ease-out;
}
#leverage-slider::-moz-range-thumb {
    width: 18px; height: 18px; background: var(--accent-cyan); cursor: pointer; border-radius: 50%; border: 3px solid var(--bg-color); box-shadow: 0 0 10px var(--accent-glow);
}
