/* Audio Player Window - Green Theme */
.audio-player-window {
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 10000;
    width: 320px;
    background-color: #c0c0c0;
    border: 2px solid #fff;
    border-right-color: #808080;
    border-bottom-color: #808080;
    padding: 2px;
    box-shadow: 4px 4px 10px rgba(0, 0, 0, 0.5);
    font-family: Tahoma, sans-serif;
    display: flex;
    flex-direction: column;
}

.audio-player-header {
    background: linear-gradient(to right, #00b050, #00d66f);
    color: white;
    padding: 4px 8px;
    font-weight: bold;
    font-size: 13px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2px;
    cursor: grab;
}

.audio-player-close {
    width: 16px;
    height: 16px;
    background-color: #c0c0c0;
    border: 1px solid #fff;
    border-right-color: #808080;
    border-bottom-color: #808080;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 10px;
    font-weight: bold;
    color: black;
}

.audio-player-close:active {
    border: 1px solid #808080;
    border-right-color: #fff;
    border-bottom-color: #fff;
}

.audio-player-body {
    display: flex;
    gap: 4px;
    padding: 4px;
}

.audio-main-area {
    flex: 1;
    display: flex;
    flex-direction: column;
}

.track-display {
    background-color: #000;
    color: #00ff00;
    padding: 6px;
    margin-bottom: 3px;
    font-family: "Courier New", monospace;
    font-size: 12px;
    font-weight: bold;
    text-align: center;
    border: 2px solid #808080;
    border-right-color: #fff;
    border-bottom-color: #fff;
    min-height: 25px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.audio-playlist {
    display: none;
}

.audio-playlist .playlist-item {
    padding: 4px;
    cursor: pointer;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    border-bottom: 1px dotted #ccc;
}

.audio-playlist .playlist-item:hover {
    background-color: #e0e0e0;
}

.audio-playlist .playlist-item.active {
    background-color: #00b050;
    color: white;
}

.audio-controls-area {
    margin-top: 3px;
    border: 1px solid #fff;
    border-right-color: #808080;
    border-bottom-color: #808080;
    padding: 3px;
    background-color: #c0c0c0;
}

.audio-controls-area .seek-bar-container {
    height: 15px;
    background-color: #000;
    margin-bottom: 4px;
    position: relative;
    cursor: pointer;
    border: 1px solid #808080;
    border-right-color: #fff;
    border-bottom-color: #fff;
}

.audio-controls-area .seek-bar-fill {
    height: 100%;
    background-color: #00ff00;
    width: 0%;
}

.audio-controls-area .control-buttons {
    display: flex;
    align-items: center;
    gap: 4px;
}

.audio-controls-area .retro-btn {
    width: 24px;
    height: 24px;
    background-color: #c0c0c0;
    border: 1px solid #fff;
    border-right-color: #808080;
    border-bottom-color: #808080;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 10px;
}

.audio-controls-area .retro-btn:active {
    border: 1px solid #808080;
    border-right-color: #fff;
    border-bottom-color: #fff;
    transform: translate(1px, 1px);
}

.audio-controls-area .time-display {
    font-family: Courier New, monospace;
    font-size: 11px;
    margin-left: auto;
    background: #000;
    color: #00ff00;
    padding: 2px 4px;
    border: 1px solid #808080;
    border-right-color: #fff;
    border-bottom-color: #fff;
}

.volume-control {
    display: flex;
    align-items: center;
    gap: 4px;
    margin-left: 6px;
}

.volume-icon {
    font-size: 14px;
}

.volume-slider {
    width: 60px;
    height: 8px;
    -webkit-appearance: none;
    background: #808080;
    outline: none;
    border: 1px solid #808080;
    border-right-color: #fff;
    border-bottom-color: #fff;
}

.volume-slider::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 12px;
    height: 16px;
    background: #c0c0c0;
    border: 1px solid #fff;
    border-right-color: #808080;
    border-bottom-color: #808080;
    cursor: pointer;
}

.volume-slider::-moz-range-thumb {
    width: 12px;
    height: 16px;
    background: #c0c0c0;
    border: 1px solid #fff;
    border-right-color: #808080;
    border-bottom-color: #808080;
    cursor: pointer;
}

.volume-slider::-webkit-slider-thumb:active {
    border: 1px solid #808080;
    border-right-color: #fff;
    border-bottom-color: #fff;
}