/* Music Player Styles - Aeron Fav Songs */

.music-player {
    display: flex;
    flex-direction: column;
    height: 100%;
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 50%, #0f3460 100%);
    color: #fff;
    font-family: 'Ubuntu', sans-serif;
    overflow: hidden;
}

/* Header */
.mp-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 20px;
    background: rgba(0, 0, 0, 0.3);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.mp-title {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 18px;
    font-weight: 600;
    color: #e94560;
}

.mp-title-icon {
    font-size: 24px;
    animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.1); }
}

.mp-controls-top {
    display: flex;
    gap: 8px;
}

.mp-btn-shuffle,
.mp-btn-repeat {
    background: rgba(255, 255, 255, 0.1);
    border: none;
    color: rgba(255, 255, 255, 0.7);
    padding: 8px 12px;
    border-radius: 20px;
    cursor: pointer;
    font-size: 14px;
    transition: all 0.2s;
}

.mp-btn-shuffle:hover,
.mp-btn-repeat:hover {
    background: rgba(255, 255, 255, 0.2);
    color: #fff;
}

.mp-btn-shuffle.active,
.mp-btn-repeat.active {
    background: #e94560;
    color: #fff;
}

/* Song List */
.mp-body {
    flex: 1;
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

.mp-playlist {
    flex: 1;
    overflow-y: auto;
    padding: 16px;
}

.mp-playlist::-webkit-scrollbar {
    width: 8px;
}

.mp-playlist::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, 0.05);
}

.mp-playlist::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.2);
    border-radius: 4px;
}

.mp-playlist::-webkit-scrollbar-thumb:hover {
    background: rgba(255, 255, 255, 0.3);
}

.mp-song-item {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 14px 16px;
    margin-bottom: 8px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.2s ease;
    border: 1px solid transparent;
}

.mp-song-item:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: translateX(4px);
}

.mp-song-item.playing {
    background: linear-gradient(135deg, rgba(233, 69, 96, 0.3) 0%, rgba(233, 69, 96, 0.1) 100%);
    border-color: #e94560;
}

.mp-song-item.playing .mp-song-icon {
    animation: musicPulse 0.8s ease-in-out infinite;
}

@keyframes musicPulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.2); }
}

.mp-song-number {
    width: 24px;
    text-align: center;
    font-size: 14px;
    color: rgba(255, 255, 255, 0.5);
    font-weight: 500;
}

.mp-song-item.playing .mp-song-number {
    color: #e94560;
}

.mp-song-icon {
    width: 48px;
    height: 48px;
    background: linear-gradient(135deg, #e94560 0%, #0f3460 100%);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    flex-shrink: 0;
}

.mp-song-info {
    flex: 1;
    min-width: 0;
}

.mp-song-name {
    font-size: 15px;
    font-weight: 500;
    color: #fff;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    margin-bottom: 4px;
}

.mp-song-artist {
    font-size: 13px;
    color: rgba(255, 255, 255, 0.5);
}

.mp-song-duration {
    font-size: 13px;
    color: rgba(255, 255, 255, 0.5);
    font-family: 'Ubuntu Mono', monospace;
}

/* Now Playing Bar */
.mp-now-playing {
    background: rgba(0, 0, 0, 0.5);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding: 20px;
    backdrop-filter: blur(10px);
}

.mp-now-playing-info {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 16px;
}

.mp-now-playing-cover {
    width: 64px;
    height: 64px;
    background: linear-gradient(135deg, #e94560 0%, #0f3460 100%);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    flex-shrink: 0;
    box-shadow: 0 4px 20px rgba(233, 69, 96, 0.3);
}

.mp-now-playing-cover.playing {
    animation: rotate 3s linear infinite;
}

@keyframes rotate {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

.mp-now-playing-details {
    flex: 1;
    min-width: 0;
}

.mp-now-playing-title {
    font-size: 16px;
    font-weight: 600;
    color: #fff;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    margin-bottom: 4px;
}

.mp-now-playing-artist {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.6);
}

/* Progress Bar */
.mp-progress-container {
    margin-bottom: 16px;
}

.mp-progress-bar {
    width: 100%;
    height: 6px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 3px;
    cursor: pointer;
    overflow: hidden;
    margin-bottom: 8px;
}

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

.mp-progress-bar:hover .mp-progress {
    background: linear-gradient(90deg, #ff6b8a 0%, #e94560 100%);
}

.mp-time {
    display: flex;
    justify-content: space-between;
    font-size: 12px;
    color: rgba(255, 255, 255, 0.5);
    font-family: 'Ubuntu Mono', monospace;
}

/* Player Controls */
.mp-controls {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 24px;
}

.mp-control-btn {
    background: none;
    border: none;
    color: rgba(255, 255, 255, 0.8);
    cursor: pointer;
    padding: 8px;
    border-radius: 50%;
    transition: all 0.2s;
    display: flex;
    align-items: center;
    justify-content: center;
}

.mp-control-btn:hover {
    color: #fff;
    background: rgba(255, 255, 255, 0.1);
    transform: scale(1.1);
}

.mp-control-btn svg {
    width: 24px;
    height: 24px;
}

.mp-play-btn {
    width: 56px;
    height: 56px;
    background: linear-gradient(135deg, #e94560 0%, #ff6b8a 100%);
    border-radius: 50%;
    color: #fff;
    box-shadow: 0 4px 20px rgba(233, 69, 96, 0.4);
}

.mp-play-btn:hover {
    background: linear-gradient(135deg, #ff6b8a 0%, #e94560 100%);
    transform: scale(1.1);
    box-shadow: 0 6px 25px rgba(233, 69, 96, 0.5);
}

.mp-play-btn svg {
    width: 28px;
    height: 28px;
}

/* Volume Control */
.mp-volume-container {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-top: 16px;
    padding-top: 16px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.mp-volume-icon {
    color: rgba(255, 255, 255, 0.7);
    font-size: 18px;
    cursor: pointer;
}

.mp-volume-slider {
    flex: 1;
    height: 4px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 2px;
    cursor: pointer;
    appearance: none;
    -webkit-appearance: none;
}

.mp-volume-slider::-webkit-slider-thumb {
    -webkit-appearance: none;
    width: 14px;
    height: 14px;
    background: #e94560;
    border-radius: 50%;
    cursor: pointer;
    transition: transform 0.2s;
}

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

.mp-volume-slider::-moz-range-thumb {
    width: 14px;
    height: 14px;
    background: #e94560;
    border-radius: 50%;
    cursor: pointer;
    border: none;
}

/* Visualizer */
.mp-visualizer {
    display: flex;
    align-items: flex-end;
    justify-content: center;
    gap: 3px;
    height: 32px;
    margin-left: auto;
}

.mp-visualizer-bar {
    width: 4px;
    background: linear-gradient(180deg, #e94560 0%, #ff6b8a 100%);
    border-radius: 2px;
    transition: height 0.1s ease;
}

.mp-visualizer.paused .mp-visualizer-bar {
    height: 4px !important;
}

/* Empty State */
.mp-empty {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 100%;
    color: rgba(255, 255, 255, 0.5);
    padding: 40px;
    text-align: center;
}

.mp-empty-icon {
    font-size: 64px;
    margin-bottom: 16px;
    opacity: 0.5;
}

.mp-empty-text {
    font-size: 16px;
}

/* Search Bar */
.mp-search {
    padding: 0 16px 16px;
}

.mp-search-input {
    width: 100%;
    padding: 12px 16px;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 24px;
    color: #fff;
    font-size: 14px;
    outline: none;
    transition: all 0.2s;
}

.mp-search-input::placeholder {
    color: rgba(255, 255, 255, 0.4);
}

.mp-search-input:focus {
    background: rgba(255, 255, 255, 0.15);
    border-color: #e94560;
}

/* Responsive */
@media (max-width: 600px) {
    .mp-song-item {
        padding: 12px;
    }
    
    .mp-song-icon {
        width: 40px;
        height: 40px;
        font-size: 18px;
    }
    
    .mp-now-playing-cover {
        width: 48px;
        height: 48px;
        font-size: 22px;
    }
    
    .mp-controls {
        gap: 16px;
    }
    
    .mp-play-btn {
        width: 48px;
        height: 48px;
    }
}
