/* Custom Audio Player Styles */
.custom-audio-player {
    background: linear-gradient(135deg, #667150 0%, #8b9365 100%);
    border-radius: 15px;
    padding: 20px;
    color: white;
    box-shadow: 0 10px 30px rgba(0,0,0,0.3);
}

.song-info {
    text-align: center;
    margin-bottom: 20px;
}

.song-info h4 {
    margin: 0 0 5px 0;
    font-size: 18px;
    font-weight: 600;
    color: #fff;
}

.song-info p {
    margin: 0;
    font-size: 14px;
    opacity: 0.8;
    color: #fff;
}

.player-controls {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.control-btn {
    background: rgba(255,255,255,0.2);
    border: none;
    border-radius: 50%;
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 18px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.control-btn:hover {
    background: rgba(255,255,255,0.3);
    transform: scale(1.1);
}

.progress-container {
    flex: 1;
}

.progress-bar {
    width: 100%;
    height: 6px;
    background: rgba(255,255,255,0.3);
    border-radius: 3px;
    margin-bottom: 10px;
    cursor: pointer;
    position: relative;
}

.progress {
    height: 100%;
    background: linear-gradient(90deg, #fff 0%, #f0f0f0 100%);
    border-radius: 3px;
    width: 0%;
    transition: width 0.1s ease;
}

.time-info {
    display: flex;
    justify-content: space-between;
    font-size: 12px;
    opacity: 0.8;
}

.volume-container {
    display: flex;
    align-items: center;
    gap: 10px;
}

.volume-container .control-btn {
    width: 35px;
    height: 35px;
    font-size: 14px;
}

#volume-slider {
    width: 80px;
    height: 4px;
    background: rgba(255,255,255,0.3);
    border-radius: 2px;
    outline: none;
    cursor: pointer;
}

#volume-slider::-webkit-slider-thumb {
    appearance: none;
    width: 16px;
    height: 16px;
    border-radius: 50%;
    background: #fff;
    cursor: pointer;
    box-shadow: 0 2px 6px rgba(0,0,0,0.2);
}

#volume-slider::-moz-range-thumb {
    width: 16px;
    height: 16px;
    border-radius: 50%;
    background: #fff;
    cursor: pointer;
    border: none;
    box-shadow: 0 2px 6px rgba(0,0,0,0.2);
}

/* Main controls layout */
.player-controls {
    display: flex;
    align-items: center;
    gap: 15px;
}

.player-controls .control-btn {
    flex-shrink: 0;
}

/* Responsive design */
@media (max-width: 480px) {
    .custom-audio-player {
        padding: 15px;
    }
    
    .song-info h4 {
        font-size: 16px;
    }
    
    .control-btn {
        width: 45px;
        height: 45px;
    }
    
    .volume-container {
        flex-direction: column;
        gap: 5px;
    }
    
    #volume-slider {
        width: 100px;
    }
}
