/* ===========================================
   PLAYER.CSS - Music Player Styles
   =========================================== */

/* --- PLAYER CONTROLS --- */
.player-controls {
    display: flex;
    justify-content: space-between;
    gap: 4px;
    margin-bottom: 8px;
}

.player-btn {
    background: transparent;
    border: 1px solid var(--wired-cyan);
    color: var(--wired-cyan);
    font-family: var(--f-pixel);
    font-size: 10px;
    padding: 4px 6px;
    cursor: pointer;
    flex: 1;
    text-align: center;
    transition: all 0.2s;
}

.player-btn:hover {
    background: var(--wired-cyan);
    color: #000;
}

.player-btn.active {
    background: var(--wired-pink);
    border-color: var(--wired-pink);
    color: #000;
}

/* --- PROGRESS BAR --- */
.progress-container {
    width: 100%;
    height: 4px;
    background: #111;
    border: 1px solid #333;
    position: relative;
}

.progress-bar {
    height: 100%;
    background: var(--wired-green);
    width: 0%;
    transition: width 0.2s linear;
}

/* --- VOLUME SLIDER --- */
.volume-container {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-top: 12px;
    padding-top: 8px;
    border-top: 1px solid #222;
}

.volume-label {
    font-family: var(--f-pixel);
    font-size: 0.6rem;
    color: var(--wired-dim);
    width: 24px;
}

.volume-slider {
    flex: 1;
    height: 6px;
    -webkit-appearance: none;
    appearance: none;
    background: #000;
    border: 1px solid #333;
    cursor: pointer;
    outline: none;
}

/* Webkit (Chrome, Safari, Edge) Thumb */
.volume-slider::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 10px;
    height: 14px;
    background: var(--wired-cyan);
    border: 1px solid #000;
    cursor: pointer;
    box-shadow: 0 0 4px var(--wired-cyan);
    transition: background 0.2s, box-shadow 0.2s;
}

.volume-slider:hover::-webkit-slider-thumb {
    background: #fff;
    box-shadow: 0 0 8px var(--wired-cyan), 0 0 15px var(--wired-cyan);
}

/* Firefox Thumb */
.volume-slider::-moz-range-thumb {
    width: 10px;
    height: 14px;
    background: var(--wired-cyan);
    border: 1px solid #000;
    cursor: pointer;
    box-shadow: 0 0 4px var(--wired-cyan);
    border-radius: 0;
    transition: background 0.2s, box-shadow 0.2s;
}

.volume-slider:hover::-moz-range-thumb {
    background: #fff;
    box-shadow: 0 0 8px var(--wired-cyan), 0 0 15px var(--wired-cyan);
}

/* Track focus state */
.volume-slider:focus {
    border-color: var(--wired-cyan-dim);
}