/* Base Styles */
body {
    margin: 0;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden;
    padding-bottom: 70px; /* Space for collapsed player */
}

/* Adjust padding when player is expanded */
body:has(.modern-player.expanded) {
    padding-bottom: 150px;
}

/* Content Section Transitions */
.content-section {
    opacity: 1;
    transform: translateY(0);
    transition: opacity 0.3s ease-in-out, transform 0.3s ease-in-out;
}

.content-section.hidden {
    opacity: 0;
    transform: translateY(20px);
}

/* Tab Navigation */
.nav-item {
    transition: all 0.3s ease;
}

.nav-item.active {
    background-color: rgba(29, 185, 84, 0.1);
    color: #1DB954;
}

/* Mobile Navigation */
.mobile-nav-button {
    transition: all 0.3s ease;
}

.mobile-nav-button.active {
    background-color: rgba(29, 185, 84, 0.1);
    color: #1DB954;
}

/* Filter chips */
.category-chip {
    transition: all 0.3s ease;
    opacity: 0.7;
}

.category-chip.active {
    opacity: 1;
    background-color: #1DB954;
    color: white;
}

/* Main Layout */
main {
    transition: margin 0.3s ease;
    padding: 20px;
}

/* Base layout structure */
.content-wrapper {
    min-height: 100vh;
    background: #000000;
}

/* Main Content Area */
.main-content {
    min-height: calc(100vh - 200px);
    padding: 20px;
    background: #000000;
}

.fit-content {
    width: fit-content;
    width: -moz-fit-content;
}

.modern-player {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, #000000, #1c1c1c);
    border-top: 1px solid rgba(255,255,255,0.1);
    font-family: 'JetBrains Mono', monospace;
    z-index: 1000;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.5);
}

/* Collapsed state - minimal player */
.modern-player.collapsed {
    padding: 0.5rem 1rem;
}

/* Expanded state - full player */
.modern-player.expanded {
    padding: 1rem;
}

/* Default collapsed state */
.modern-player:not(.expanded) .player-grid {
    grid-template-columns: 1fr auto;
    gap: 1rem;
}

.modern-player:not(.expanded) .player-controls-section,
.modern-player:not(.expanded) .player-actions-section {
    display: none;
}

.modern-player:not(.expanded) .now-playing-section {
    cursor: pointer;
}

/* Placeholder state when no song is playing */
.modern-player.no-song .now-playing-section {
    opacity: 0.6;
}

.modern-player.no-song .play-pause {
    opacity: 0.5;
    cursor: not-allowed;
}

/* Active player state - add subtle glow */
.modern-player:not(.no-song) {
    border-top: 1px solid rgba(29, 185, 84, 0.3);
    box-shadow: 0 -4px 30px rgba(29, 185, 84, 0.1);
}

/* Click indicator for collapsed player */
.modern-player.collapsed .now-playing-section::after {
    content: 'Click to expand';
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    font-size: 11px;
    color: rgba(255, 255, 255, 0.3);
    opacity: 0;
    transition: opacity 0.3s ease;
    pointer-events: none;
}

.modern-player.collapsed:not(.no-song) .now-playing-section:hover::after {
    opacity: 1;
}

.now-playing-section {
    position: relative;
}

.player-grid {
    display: grid;
    grid-template-columns: 1fr 2fr 1fr;
    gap: 1rem;
    align-items: center;
    max-width: 1400px;
    margin: 0 auto;
    transition: all 0.3s ease;
}

/* Expand/Collapse button */
.player-expand-btn {
    background: none;
    border: none;
    color: rgba(255,255,255,0.5);
    cursor: pointer;
    padding: 0.5rem;
    transition: all 0.2s ease;
    margin-left: auto;
}

.player-expand-btn:hover {
    color: #1DB954;
    transform: scale(1.1);
}

.modern-player.expanded .player-expand-btn {
    transform: rotate(180deg);
}

.modern-player.expanded .player-expand-btn:hover {
    transform: rotate(180deg) scale(1.1);
}

.now-playing-section {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.now-playing-image {
    width: 56px;
    height: 56px;
    border-radius: 4px;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.modern-player.expanded .now-playing-image {
    width: 64px;
    height: 64px;
}

/* Pulse animation when playing */
@keyframes pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.02); }
}

.modern-player:not(.no-song) .now-playing-image {
    animation: pulse 3s ease-in-out infinite;
}

.modern-player.no-song .now-playing-image {
    opacity: 0.5;
    filter: grayscale(50%);
}

.now-playing-info {
    overflow: hidden;
}

.now-playing-title {
    color: white;
    font-size: 0.9rem;
    font-weight: 500;
    margin: 0;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.now-playing-album {
    color: rgba(255,255,255,0.7);
    font-size: 0.8rem;
    margin: 0;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.player-controls-section {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
}

.player-controls {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.control-button {
    background: none;
    border: none;
    color: rgba(255,255,255,0.7);
    cursor: pointer;
    padding: 0.5rem;
    border-radius: 50%;
    transition: all 0.2s ease;
}

.control-button:hover {
    color: white;
    transform: scale(1.1);
    background: rgba(255, 255, 255, 0.1);
}

.control-button:active {
    transform: scale(0.95);
}

/* Active state for repeat and shuffle */
.control-button.active {
    color: #1DB954;
    opacity: 1;
}

.play-pause {
    background: #1DB954;
    padding: 1rem;
    color: white;
}

.play-pause:hover {
    transform: scale(1.1);
    background: #1ed760;
    box-shadow: 0 4px 12px rgba(29, 185, 84, 0.4);
}

.play-pause:active {
    transform: scale(1.05);
}

.progress-section {
    display: flex;
    align-items: center;
    gap: 1rem;
    width: 100%;
    color: rgba(255,255,255,0.7);
    font-size: 0.8rem;
}

.progress-bar {
    flex-grow: 1;
    height: 4px;
    background: rgba(255,255,255,0.1);
    border-radius: 2px;
    cursor: pointer;
    position: relative;
}

.progress-current {
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 30%;
    background: #1DB954;
    border-radius: 2px;
}

.progress-bar:hover .progress-current {
    background: #1ed760;
}

.player-actions-section {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 1rem;
}

.action-button {
    background: none;
    border: none;
    color: rgba(255,255,255,0.7);
    cursor: pointer;
    padding: 0.5rem;
    transition: all 0.2s ease;
}

.action-button:hover {
    color: white;
}

.volume-slider {
    width: 100px;
}

.volume-bar {
    height: 4px;
    background: rgba(255,255,255,0.1);
    border-radius: 2px;
    cursor: pointer;
    position: relative;
}

.volume-current {
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 70%;
    background: #1DB954;
    border-radius: 2px;
}

.like-button {
    background: none;
    border: none;
    color: rgba(255,255,255,0.7);
    cursor: pointer;
    padding: 0.5rem;
    transition: all 0.2s ease;
}

.like-button:hover {
    color: #1DB954;
    transform: scale(1.1);
}

@media (max-width: 768px) {
    .player-grid {
        grid-template-columns: 1fr;
        gap: 0.5rem;
    }
    
    .modern-player.expanded .player-grid {
        grid-template-columns: 1fr;
    }

    .player-actions-section {
        justify-content: center;
    }

    .volume-slider {
        display: none;
    }

    .now-playing-section {
        justify-content: center;
    }
    
    .modern-player:not(.expanded) .now-playing-section {
        grid-template-columns: auto 1fr auto;
    }
    
    /* Adjust mobile nav spacing */
    .mobile-nav {
        bottom: 60px;
    }
    
    .modern-player.expanded ~ .mobile-nav {
        bottom: 120px;
    }
}
.song-image {
  width: 110px;border-top-left-radius: 30px;height: 114px;
}
.song-text {
  margin: 0px;color: rgb(172,248,159);max-width: 100%;
}
.song-container {
  margin-bottom: 20px;border-bottom-right-radius: 30px;border: 2px solid var(--gray);border-bottom-style: solid;border-top-left-radius: 30px;
}
audio::-webkit-media-controls-panel {
  background-color: #ff9f44af;
}

a.nav-link,
button.nav-link {
  color: #fff;
  background: transparent;
  border: none;
}

.footer-basic {
  padding: 40px 0;
  background-color: #ffffff;
  color: #4b4c4d;
}

.header-dark {
  background-size: cover;
}

.header-dark h1 {
  color: #fff;
  font-family: 'JetBrains Mono', monospace;
  font-size: 40px;
  padding-top: 60px;
}

/* Highlight Clean */
.highlight-clean {
  color: #313437;
  background-color: #000; /* Changed from #fff to #000 for dark theme */
  padding: 50px 0;
  font-family: 'JetBrains Mono', monospace;
  min-height: 400px; /* Added min-height to prevent collapsing */
}

.highlight-clean p {
  color: #b8b8b8; /* Changed from #7d8285 for better visibility */
}

.highlight-clean h2 {
  font-weight: bold;
  margin-bottom: 25px;
  line-height: 1.5;
  padding-top: 0;
  margin-top: 0;
  color: #fff; /* Changed to white for visibility */
}

.highlight-clean h5 {
  color: #1DB954; /* Added for "Results" heading */
  margin-bottom: 20px;
}

.highlight-clean .intro {
  font-size: 16px;
  max-width: 500px;
  margin: 0 auto 25px;
}

.highlight-clean .buttons {
  text-align: center;
}

.highlight-clean .buttons .btn {
  padding: 16px 32px;
  margin: 6px;
  border: none;
  background: none;
  box-shadow: none;
  text-shadow: none;
  opacity: 0.9;
  text-transform: uppercase;
  font-weight: bold;
  font-size: 13px;
  letter-spacing: 0.4px;
  line-height: 1;
  outline: none;
  background-color: #ddd;
}

.highlight-clean .buttons .btn:hover {
  opacity: 1;
}

.highlight-clean .buttons .btn:active {
  transform: translateY(1px);
}

.highlight-clean .buttons .btn-primary {
  background-color: #055ada;
  color: #fff;
}

.text-center {
  margin: 10px 0 15px;
}

#saavn-bitrate {
  background-color: #1c1c1c;
  color: #fff;
  border: 0;
  border-radius: 5px;
  padding: 10px;
}

footer {
  color: rgba(255, 255, 255, 0.753);
  font-family: 'JetBrains Mono', monospace;
  font-size: 12px;
}
.error {
 margin : 20px;
}

/* Modern Header Styles */
.app-header {
    background: linear-gradient(to bottom, #000000, #1c1c1c);
    padding: 1rem 0;
    border-bottom: 1px solid rgba(255,255,255,0.1);
}

.navbar {
    padding: 0.5rem 2rem;
}

.nav-brand-section {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.app-logo {
    height: 50px;
    width: 50px;
    border-radius: 10px;
    object-fit: cover;
}

.brand-text {
    font-family: 'JetBrains Mono', monospace;
    font-size: 1.9rem;
    font-weight: bold;
    background: linear-gradient(45deg, #1DB954, #1ed760);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.nav-controls {
    display: flex;
    align-items: center;
    gap: 2rem;
    margin-left: auto;
}

.search-container {
    flex-grow: 1;
    max-width: 600px;
}

.search-box {
    position: relative;
    width: 100%;
}

.search-input {
    background: rgba(255,255,255,0.1);
    border: none;
    border-radius: 20px;
    padding: 0.5rem 2.5rem 0.5rem 1rem;
    color: white;
    width: 100%;
    transition: all 0.3s ease;
}

.search-input:focus {
    background: rgba(255,255,255,0.15);
    box-shadow: 0 0 0 2px rgba(29,185,84,0.5);
    outline: none;
}

.search-btn {
    position: absolute;
    right: 10px;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    color: #1DB954;
    cursor: pointer;
    padding: 5px;
}

.quality-selector select {
    background: rgba(255,255,255,0.1);
    border: none;
    border-radius: 15px;
    color: white;
    padding: 0.5rem 1rem;
    cursor: pointer;
    transition: all 0.3s ease;
}

.quality-selector select:hover {
    background: rgba(255,255,255,0.15);
}

.nav-links {
    display: flex;
    gap: 1rem;
}

.nav-link {
    color: #fff !important;
    opacity: 0.8;
    transition: all 0.3s ease;
    padding: 0.5rem 1rem;
    border-radius: 8px !important;
    background: transparent !important;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    border: none;
}

.nav-link:hover {
    opacity: 1;
    background: rgba(255,255,255,0.05) !important;
    color: #1DB954 !important;
}

.hero-section {
    text-align: center;
    padding: 3rem 1rem;
    background: linear-gradient(135deg, rgba(29, 185, 84, 0.05) 0%, rgba(0, 0, 0, 0.8) 100%);
    border-bottom: 1px solid rgba(29, 185, 84, 0.1);
}

.hero-content h1 {
    font-size: 3rem;
    font-weight: bold;
    margin-bottom: 1rem;
    background: linear-gradient(45deg, #1DB954, #1ed760);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-subtitle {
    font-size: 1.8rem;
    color: rgba(255,255,255,0.8);
    margin-bottom: 2rem;
}

.features-list {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

.feature-tag {
    background: rgba(29,185,84,0.1);
    color: #1DB954;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 1.2rem;
}

/* Mobile Responsiveness */
@media (max-width: 768px) {
    .navbar {
        padding: 0.5rem 1rem;
        flex-direction: column;
        align-items: center;
    }

    .nav-brand-section {
        margin-bottom: 1rem;
        justify-content: center;
    }

    .nav-controls {
        flex-direction: column;
        gap: 1rem;
        width: 100%;
        align-items: center;
    }

    .search-container {
        width: 90%;
        margin: 0 auto;
    }

    .search-box {
        display: flex;
        justify-content: center;
    }

    .quality-selector {
        width: 90%;
        margin: 0 auto;
    }

    .quality-selector select {
        width: 100%;
        text-align: center;
    }

    .nav-links {
        display: flex;
        justify-content: center;
        align-items: center;
        gap: 1rem;
        padding: 0.5rem;
    }

    .nav-link-item {
        display: flex;
        align-items: center;
    }

    .nav-link {
        display: flex;
        align-items: center;
        gap: 0.5rem;
        padding: 0.5rem 1rem;
        background: transparent !important;
        border-radius: 8px !important;
        color: #fff !important;
        text-decoration: none;
        transition: all 0.3s ease;
        border: none;
    }

    .nav-link:hover {
        background: rgba(255,255,255,0.05) !important;
        color: #1DB954 !important;
    }

    .nav-link span {
        color: #fff;
    }

    .nav-link svg {
        width: 20px;
        height: 20px;
    }

    .hero-content h1 {
        font-size: 2rem;
    }

    .hero-subtitle {
        font-size: 1rem;
    }

    .features-list {
        gap: 0.5rem;
    }

    .feature-tag {
        font-size: 0.8rem;
    }
}

/* New Button Styles */
.song-btn {
  padding: 8px 12px;
  border-radius: 4px;
  transition: all 0.2s ease;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.song-btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 2px 4px rgba(0,0,0,0.2);
}

.song-btn:active {
  transform: translateY(0);
}

.song-btn svg {
  margin: 0;
}

/* Tooltip styles */
[title] {
  position: relative;
  cursor: pointer;
}

/* ============================================
   HEADER LOGOUT & SETTINGS BUTTONS
   ============================================ */

.nav-link.logout-btn {
    background: transparent !important;
    border: none !important;
    transition: all 0.3s ease;
}

.nav-link.logout-btn:hover {
    background: rgba(220, 38, 38, 0.1) !important;
    color: #dc2626 !important;
}

/* ============================================
   USER PROFILE STYLES (Sidebar)
   ============================================ */

.sidebar-user-profile {
    margin-top: auto;
    padding: 15px;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    background: transparent;
}

.user-profile-card {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 12px;
    padding: 8px;
    border-radius: 8px;
    transition: background 0.3s ease;
}

.user-profile-card:hover {
    background: rgba(255, 255, 255, 0.03);
}

.user-avatar-container {
    position: relative;
    width: 42px;
    height: 42px;
    flex-shrink: 0;
}

.user-avatar {
    width: 42px;
    height: 42px;
    border-radius: 8px;
    border: none;
    object-fit: cover;
    background: rgba(29, 185, 84, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
}

.user-avatar img {
    width: 100%;
    height: 100%;
    border-radius: 8px;
    object-fit: cover;
}

.user-avatar .user-icon {
    color: #1DB954;
    opacity: 0.8;
}

.user-status-indicator {
    position: absolute;
    bottom: 0;
    right: 0;
    width: 10px;
    height: 10px;
    background: #1DB954;
    border: 2px solid #000;
    border-radius: 50%;
}

.user-info {
    flex: 1;
    overflow: hidden;
    min-width: 0;
}

.user-name {
    font-size: 13px;
    font-weight: 600;
    color: #fff;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    margin-bottom: 2px;
}

.user-email {
    font-size: 11px;
    color: rgba(255, 255, 255, 0.5);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.user-actions {
    display: flex;
    gap: 6px;
    justify-content: space-between;
}

.user-action-btn {
    flex: 1;
    background: transparent;
    border: none;
    color: rgba(255, 255, 255, 0.6);
    padding: 10px 8px;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.user-action-btn:hover {
    background: rgba(29, 185, 84, 0.1);
    color: #1DB954;
}

.user-action-btn.logout-btn:hover {
    background: rgba(220, 38, 38, 0.1);
    color: #dc2626;
}

.user-action-btn.admin-btn {
    background: rgba(255, 193, 7, 0.05);
    border: 1px solid rgba(255, 193, 7, 0.2);
}

.user-action-btn.admin-btn:hover {
    background: rgba(255, 193, 7, 0.1);
    color: #ffc107;
    border-color: #ffc107;
}

.user-action-btn.admin-btn svg {
    fill: #ffc107;
}

.notification-badge {
    position: absolute;
    top: 4px;
    right: 4px;
    background: #dc2626;
    color: #fff;
    font-size: 9px;
    font-weight: 700;
    padding: 2px 4px;
    border-radius: 8px;
    min-width: 14px;
    text-align: center;
    line-height: 1;
}

/* ============================================
   USER PROFILE STYLES (Header)
   ============================================ */

.notification-btn {
    position: relative;
    background: transparent !important;
    border: none !important;
    padding: 8px !important;
}

.notification-badge-header {
    position: absolute;
    top: 4px;
    right: 4px;
    background: #dc2626;
    color: #fff;
    font-size: 10px;
    font-weight: 700;
    padding: 2px 5px;
    border-radius: 10px;
    min-width: 16px;
    text-align: center;
}

.user-profile-dropdown {
    position: relative;
}

.user-profile-btn {
    display: flex !important;
    align-items: center;
    gap: 10px;
    background: rgba(255, 255, 255, 0.05) !important;
    border: 1px solid rgba(255, 255, 255, 0.1) !important;
    border-radius: 25px !important;
    padding: 6px 12px 6px 6px !important;
    transition: all 0.3s ease;
}

.user-profile-btn:hover {
    background: rgba(255, 255, 255, 0.1) !important;
    border-color: #1DB954 !important;
}

.header-user-avatar {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    border: 2px solid #1DB954;
    object-fit: cover;
}

.header-user-name {
    font-size: 14px;
    font-weight: 500;
    color: #fff;
    max-width: 100px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.dropdown-arrow {
    transition: transform 0.3s ease;
}

.user-profile-btn.active .dropdown-arrow {
    transform: rotate(180deg);
}

/* Dropdown Menu */
.user-dropdown-menu {
    position: absolute;
    top: calc(100% + 10px);
    right: 0;
    background: #181818;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    min-width: 280px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s ease;
    z-index: 1000;
    overflow: hidden;
}

.user-dropdown-menu.show {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown-header {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 20px;
    background: rgba(29, 185, 84, 0.05);
}

.dropdown-user-avatar {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    border: 2px solid #1DB954;
    object-fit: cover;
}

.dropdown-user-info {
    flex: 1;
    overflow: hidden;
}

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

.dropdown-user-email {
    font-size: 13px;
    color: rgba(255, 255, 255, 0.6);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.dropdown-divider {
    height: 1px;
    background: rgba(255, 255, 255, 0.1);
    margin: 8px 0;
}

.dropdown-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 20px;
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: all 0.2s ease;
    font-size: 14px;
}

.dropdown-item:hover {
    background: rgba(255, 255, 255, 0.05);
    color: #1DB954;
}

.dropdown-item svg {
    flex-shrink: 0;
}

.dropdown-item.logout-item:hover {
    background: rgba(220, 38, 38, 0.1);
    color: #dc2626;
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .sidebar-user-profile {
        display: none;
    }

    .user-dropdown-menu {
        right: 10px;
        min-width: 260px;
    }

    .header-user-name {
        display: none;
    }

    .user-profile-btn {
        padding: 6px !important;
        border-radius: 50% !important;
    }

    .dropdown-arrow {
        display: none;
    }
}

@media (max-width: 480px) {
    .notification-btn {
        padding: 6px !important;
    }
    
    .nav-link span {
        display: none;
    }
}

/* ============================================
   USER NOTIFICATION TOAST
   ============================================ */

.user-notification {
    position: fixed;
    top: 80px;
    right: 20px;
    background: #181818;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    padding: 16px 20px;
    min-width: 300px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    opacity: 0;
    transform: translateX(400px);
    transition: all 0.3s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    z-index: 10000;
}

.user-notification.show {
    opacity: 1;
    transform: translateX(0);
}

.notification-content {
    display: flex;
    align-items: center;
    gap: 12px;
    color: #fff;
}

.user-notification svg {
    flex-shrink: 0;
}

.user-notification.success {
    border-left: 4px solid #1DB954;
}

.user-notification.success svg {
    color: #1DB954;
}

.user-notification.error {
    border-left: 4px solid #dc2626;
}

.user-notification.error svg {
    color: #dc2626;
}

.user-notification.info {
    border-left: 4px solid #3b82f6;
}

.user-notification.info svg {
    color: #3b82f6;
}

@media (max-width: 480px) {
    .user-notification {
        right: 10px;
        left: 10px;
        min-width: auto;
    }
}

/* ============================================
   NOW PLAYING ANIMATION & STYLES
   ============================================ */

/* Song container playing state */
.song-container.now-playing {
    position: relative;
    overflow: hidden;
    box-shadow: 0 0 20px rgba(29, 185, 84, 0.3);
    border: 1px solid rgba(29, 185, 84, 0.3) !important;
}

/* Green song title when playing */
.song-container.now-playing p#song-name-playing {
    color: #1DB954 !important;
    font-weight: 600;
}

/* Blue play button when playing */
.song-container.now-playing .btn-primary.now-playing-btn {
    background: #1DB954 !important;
    border-color: #1DB954 !important;
    box-shadow: 0 0 10px rgba(29, 185, 84, 0.5);
}

/* Wave animation overlay */
.wave-animation {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 40px;
    pointer-events: none;
    z-index: 1;
    display: flex;
    align-items: flex-end;
    justify-content: center;
    gap: 2px;
    padding: 0 10px;
    opacity: 0.6;
}

.wave-bar {
    width: 3px;
    border-radius: 3px 3px 0 0;
    animation: wave 0.8s ease-in-out infinite;
}

/* Colorful wave bars - different color for each bar */
.wave-bar:nth-child(1) { 
    background: linear-gradient(to top, #ff006e, #ff4d8f);
    animation-delay: 0s; 
}
.wave-bar:nth-child(2) { 
    background: linear-gradient(to top, #fb5607, #ff8040);
    animation-delay: 0.1s; 
}
.wave-bar:nth-child(3) { 
    background: linear-gradient(to top, #ffbe0b, #ffd24d);
    animation-delay: 0.2s; 
}
.wave-bar:nth-child(4) { 
    background: linear-gradient(to top, #1DB954, #1ed760);
    animation-delay: 0.3s; 
}
.wave-bar:nth-child(5) { 
    background: linear-gradient(to top, #3a86ff, #5c9fff);
    animation-delay: 0.4s; 
}
.wave-bar:nth-child(6) { 
    background: linear-gradient(to top, #8338ec, #a066f5);
    animation-delay: 0.5s; 
}
.wave-bar:nth-child(7) { 
    background: linear-gradient(to top, #06ffa5, #40ffb8);
    animation-delay: 0.6s; 
}
.wave-bar:nth-child(8) { 
    background: linear-gradient(to top, #ff006e, #ff4d8f);
    animation-delay: 0.7s; 
}
.wave-bar:nth-child(9) { 
    background: linear-gradient(to top, #fb5607, #ff8040);
    animation-delay: 0.1s; 
}
.wave-bar:nth-child(10) { 
    background: linear-gradient(to top, #ffbe0b, #ffd24d);
    animation-delay: 0.2s; 
}
.wave-bar:nth-child(11) { 
    background: linear-gradient(to top, #1DB954, #1ed760);
    animation-delay: 0.3s; 
}
.wave-bar:nth-child(12) { 
    background: linear-gradient(to top, #3a86ff, #5c9fff);
    animation-delay: 0.4s; 
}

@keyframes wave {
    0%, 100% {
        height: 5px;
    }
    50% {
        height: 30px;
    }
}

/* Pulse effect on play button */
@keyframes pulse-play {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.05);
    }
}

.song-container.now-playing .btn-primary.now-playing-btn {
    animation: pulse-play 2s ease-in-out infinite;
}

/* Paused state - freeze the wave */
.song-container.now-playing.paused .wave-animation {
    opacity: 0.3;
}

.song-container.now-playing.paused .wave-bar {
    animation-play-state: paused;
}

/* ============================================
   PLAYER WAVE ANIMATION
   ============================================ */

.player-image-wrapper {
    position: relative;
    width: 50px;
    height: 50px;
    flex-shrink: 0;
}

.player-wave-animation {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 50px;
    display: flex !important;
    align-items: flex-end;
    justify-content: space-evenly;
    padding: 0 5px;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
}

/* Show waves when playing */
.modern-player:not(.no-song):not(.paused) .player-wave-animation,
.modern-player.playing .player-wave-animation {
    opacity: 0.8;
}

/* Hide waves when paused or no song */
.modern-player.no-song .player-wave-animation,
.modern-player.paused .player-wave-animation {
    opacity: 0;
}

.player-wave-bar {
    width: 2px;
    border-radius: 2px 2px 0 0;
    animation: player-wave 0.6s ease-in-out infinite;
}

/* Colorful wave bars for player */
.player-wave-bar:nth-child(1) { 
    background: linear-gradient(to top, #ff006e, #ff4d8f);
    animation-delay: 0s; 
}
.player-wave-bar:nth-child(2) { 
    background: linear-gradient(to top, #fb5607, #ff8040);
    animation-delay: 0.05s; 
}
.player-wave-bar:nth-child(3) { 
    background: linear-gradient(to top, #ffbe0b, #ffd24d);
    animation-delay: 0.1s; 
}
.player-wave-bar:nth-child(4) { 
    background: linear-gradient(to top, #1DB954, #1ed760);
    animation-delay: 0.15s; 
}
.player-wave-bar:nth-child(5) { 
    background: linear-gradient(to top, #3a86ff, #5c9fff);
    animation-delay: 0.2s; 
}
.player-wave-bar:nth-child(6) { 
    background: linear-gradient(to top, #8338ec, #a066f5);
    animation-delay: 0.25s; 
}
.player-wave-bar:nth-child(7) { 
    background: linear-gradient(to top, #06ffa5, #40ffb8);
    animation-delay: 0.3s; 
}
.player-wave-bar:nth-child(8) { 
    background: linear-gradient(to top, #ff006e, #ff4d8f);
    animation-delay: 0.35s; 
}
.player-wave-bar:nth-child(9) { 
    background: linear-gradient(to top, #fb5607, #ff8040);
    animation-delay: 0.05s; 
}
.player-wave-bar:nth-child(10) { 
    background: linear-gradient(to top, #ffbe0b, #ffd24d);
    animation-delay: 0.1s; 
}
.player-wave-bar:nth-child(11) { 
    background: linear-gradient(to top, #1DB954, #1ed760);
    animation-delay: 0.15s; 
}
.player-wave-bar:nth-child(12) { 
    background: linear-gradient(to top, #3a86ff, #5c9fff);
    animation-delay: 0.2s; 
}
.player-wave-bar:nth-child(13) { 
    background: linear-gradient(to top, #8338ec, #a066f5);
    animation-delay: 0.25s; 
}
.player-wave-bar:nth-child(14) { 
    background: linear-gradient(to top, #06ffa5, #40ffb8);
    animation-delay: 0.3s; 
}
.player-wave-bar:nth-child(15) { 
    background: linear-gradient(to top, #ff006e, #ff4d8f);
    animation-delay: 0.35s; 
}
.player-wave-bar:nth-child(16) { 
    background: linear-gradient(to top, #fb5607, #ff8040);
    animation-delay: 0.05s; 
}
.player-wave-bar:nth-child(17) { 
    background: linear-gradient(to top, #ffbe0b, #ffd24d);
    animation-delay: 0.1s; 
}
.player-wave-bar:nth-child(18) { 
    background: linear-gradient(to top, #1DB954, #1ed760);
    animation-delay: 0.15s; 
}
.player-wave-bar:nth-child(19) { 
    background: linear-gradient(to top, #3a86ff, #5c9fff);
    animation-delay: 0.2s; 
}
.player-wave-bar:nth-child(20) { 
    background: linear-gradient(to top, #8338ec, #a066f5);
    animation-delay: 0.25s; 
}

@keyframes player-wave {
    0%, 100% {
        height: 4px;
    }
    50% {
        height: 40px;
    }
}
