/* Main container */
.zm-audio-player-container {
    font-family: 'Helvetica Neue', Arial, sans-serif;
    max-width: 400px;
    margin: 0 auto;
    background: linear-gradient(135deg, #f5f7fa 0%, #e4e8eb 100%);
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    color: #4a5568;
}

/* Header */
.zm-player-header {
    padding: 20px;
    background: rgba(255, 255, 255, 0.7);
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    text-align: center;
}

.zm-player-header h3 {
    margin: 0 0 15px 0;
    color: #2d3748;
    font-weight: 300;
    font-size: 1.5em;
}

.zm-player-controls {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 20px;
}

.zm-player-controls button {
    background: none;
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    color: #4a5568;
}

.zm-player-controls button:hover {
    background: rgba(74, 85, 104, 0.1);
}

.zm-player-controls .zm-play-pause {
    background: #48bb78;
    color: white;
}

.zm-player-controls .zm-play-pause:hover {
    background: #38a169;
}

/* Playlist */
.zm-playlist-container {
    max-height: 300px;
    overflow-y: auto;
    padding: 10px 0;
}

.zm-playlist {
    list-style: none;
    padding: 0;
    margin: 0;
}

.zm-playlist li {
    padding: 12px 20px;
    cursor: pointer;
    transition: all 0.2s ease;
    border-left: 3px solid transparent;
}

.zm-playlist li:hover {
    background: rgba(255, 255, 255, 0.5);
}

.zm-playlist li.playing {
    background: rgba(72, 187, 120, 0.1);
    border-left: 3px solid #48bb78;
    color: #2d3748;
}

/* Footer */
.zm-player-footer {
    padding: 15px 20px;
    background: rgba(255, 255, 255, 0.7);
    border-top: 1px solid rgba(0, 0, 0, 0.05);
}

/* Progress bar */
.zm-progress-container {
    margin-bottom: 15px;
}

.zm-progress-bar {
    height: 4px;
    background: rgba(74, 85, 104, 0.2);
    border-radius: 2px;
    margin-bottom: 5px;
    position: relative;
    cursor: pointer;
}

.zm-progress-bar::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 0;
    background: #48bb78;
    border-radius: 2px;
}

.zm-time-display {
    display: flex;
    justify-content: space-between;
    font-size: 0.8em;
    color: #718096;
}

/* Extra controls */
.zm-extra-controls {
    display: flex;
    align-items: center;
    gap: 10px;
}

.zm-extra-controls button {
    background: none;
    border: none;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    color: #4a5568;
}

.zm-extra-controls button:hover {
    background: rgba(74, 85, 104, 0.1);
}

.zm-volume-slider {
    width: 80px;
    height: 4px;
    -webkit-appearance: none;
    background: rgba(74, 85, 104, 0.2);
    border-radius: 2px;
    outline: none;
}

.zm-volume-slider::-webkit-slider-thumb {
    -webkit-appearance: none;
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: #48bb78;
    cursor: pointer;
}

/* Background play indicator */
.zm-background-toggle.active {
    color: #48bb78;
}

/* Sleep timer dropdown */
.zm-sleep-timer-menu {
    display: none;
    position: absolute;
    background: white;
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    padding: 10px;
    z-index: 100;
}

.zm-sleep-timer-menu.active {
    display: block;
}

.zm-sleep-timer-menu button {
    display: block;
    width: 100%;
    padding: 8px 12px;
    text-align: left;
    background: none;
    border: none;
    cursor: pointer;
    border-radius: 4px;
}

.zm-sleep-timer-menu button:hover {
    background: #f7fafc;
}

/* Responsive */
@media (max-width: 480px) {
    .zm-audio-player-container {
        border-radius: 0;
        max-width: 100%;
    }
}