* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: sans-serif;
  }
  

:root {
    --bg-dark: #111827;
    --card-dark: #111827;
    --text-light: #E0E0E0;
    --text-secondary: #B3B3B3;
    --text-tertiary: #7F7F7F;
    --accent-blue: #007BFF;
    --accent-blue-hover: #0056b3;
    --accent-green: #28A745;
    --accent-green-hover: #218838;
    --border-color: rgba(255, 255, 255, 0.1);
    --player-bg: #1F1F1F;
    --accent-purple: #8A2BE2;
    --accent-purple-hover: #6A1FB3;
}


.ankolo_dashboard-container {
    display: flex;
    max-width: 1400px;
    width: 100%;
    gap: 40px;
    flex-grow: 1;
}

.ankolo_dashboard-main-content {
    flex-grow: 1;
    padding: 0;
}

.ankolo_top-bar {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    gap: 2px;
    padding-bottom: 0px;
    border-bottom: 1px solid var(--border-color);
    margin-bottom: 30px;
}

.ankolo_top-bar .ankolo_nav-links {
    display: flex;
    gap: 25px;
    font-weight: 600;
}

.ankolo_top-bar .ankolo_nav-links a {
    color: var(--text-secondary);
    text-decoration: none;
    transition: color 0.2s ease;
}

.ankolo_top-bar .ankolo_nav-links a:hover {
    color: var(--text-light);
}

.ankolo_user-profile {
    display: flex;
    align-items: center;
    gap: 10px;
}

.ankolo_user-profile img {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid var(--accent-purple);
}

.ankolo_user-profile span {
    font-weight: 600;
}

.ankolo_user-profile .ankolo_status {
    font-size: 0.8em;
    color: var(--accent-green);
}

.ankolo_section-header {
    font-size: 1.5em;
    font-weight: 700;
    color: var(--text-light);
    margin-bottom: 20px;
}

.ankolo_featured-artist-section {
    margin-bottom: 40px;
}

.ankolo_featured-artist-card {
    background-color: var(--card-dark);
    border-radius: 12px;
    display: flex;
    align-items: center;
    gap: 3px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
    position: relative;
    overflow: hidden;
    width: 100%;
}

.ankolo_featured-artist-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100" opacity="0.1"><circle cx="20" cy="20" r="15" fill="%238A2BE2"/><circle cx="80" cy="50" r="25" fill="%238A2BE2"/><circle cx="30" cy="80" r="20" fill="%238A2BE2"/></svg>');
    background-size: 150px;
    background-repeat: repeat;
    opacity: 0.08;
    z-index: 0;
}

.ankolo_artist-image {
    width: 180px;
    height: 180px;
    border-radius: 50%;
    object-fit: cover;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
    z-index: 1;
    border: 3px solid var(--accent-purple);
}

.ankolo_artist-details {
    flex-grow: 1;
    z-index: 1;
}

.ankolo_artist-details h2 {
    font-size: 2.5em;
    margin: 0 0 5px 0;
    font-weight: 700;
    line-height: 1.2;
    color: var(--text-light);
}

.ankolo_artist-details .ankolo_genre {
    font-size: 1.2em;
    color: var(--accent-green);
    margin-bottom: 15px;
    font-weight: 500;
}

.ankolo_artist-stats {
    display: flex;
    gap: 25px;
    margin-bottom: 20px;
    color: var(--text-secondary);
    font-size: 0.95em;
}

.ankolo_artist-stats span {
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: 500;
}

.ankolo_artist-actions {
    display: flex;
    gap: 15px;
}

.ankolo_artist-actions .ankolo_play-btn,
.ankolo_artist-actions .ankolo_follow-btn {
    padding: 12px 25px;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    transition: background-color 0.2s ease, transform 0.2s ease;
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.95em;
    background-color: #007bff;
    color: white;
    border: none;
}

@media (max-width: 991px) {
    .ankolo_artist-actions .ankolo_play-btn,
    .ankolo_artist-actions .ankolo_follow-btn {
        padding: 10px 20px;
        font-size: 0.9em;
        gap: 6px;
    }
}

@media (max-width: 767px) {
    .ankolo_artist-actions .ankolo_play-btn,
    .ankolo_artist-actions .ankolo_follow-btn {
        padding: 8px 15px;
        font-size: 0.85em;
        gap: 5px;
    }
}

@media (max-width: 575px) {
    .ankolo_artist-actions .ankolo_play-btn,
    .ankolo_artist-actions .ankolo_follow-btn {
        padding: 8px 12px;
        font-size: 0.8em;
        gap: 4px;
    }
}

.ankolo_artist-actions .ankolo_play-btn {
    background-color: var(--accent-purple);
    color: var(--text-light);
    border: none;
}

.ankolo_artist-actions .ankolo_play-btn:hover {
    background-color: var(--accent-purple-hover);
    transform: translateY(-2px);
}

.ankolo_artist-actions .ankolo_follow-btn {
    background-color: transparent;
    color: var(--accent-blue);
    border: 2px solid var(--accent-blue);
}

.ankolo_artist-actions .ankolo_follow-btn:hover {
    border-color: var(--text-light);
    color: var(--text-light);
    transform: translateY(-2px);
}

.ankolo_artist-pagination {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-top: 25px;
}

.ankolo_pagination-dot {
    width: 10px;
    height: 10px;
    background-color: var(--text-tertiary);
    border-radius: 50%;
    cursor: pointer;
    transition: background-color 0.2s ease, transform 0.2s ease;
}

.ankolo_pagination-dot.active {
    background-color: var(--accent-purple);
    transform: scale(1.2);
}

.ankolo_music-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 25px;
    margin-bottom: 40px;
}

.ankolo_music-card {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
    text-align: center;
    padding: 15px;
    background-color: var(--card-dark);
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    text-decoration: none;
    color: inherit;
    transition: transform 0.2s ease-in-out;
    height: 100%;
}

.ankolo_music-card:hover {
    transform: translateY(-5px);
}

.ankolo_music-card img {
    width: 100%;
    max-width: 150px;
    height: auto;
    border-radius: 8px;
    margin-bottom: 10px;
}

.ankolo_music-card h3 {
    font-size: 1.1em;
    margin-bottom: 5px;
    color: var(--text-light);
}

.ankolo_music-card p {
    font-size: 0.85em;
    color: var(--text-secondary);
    margin: 0 0 10px 0;
}

.ankolo_add-to-playlist-container,
.ankolo_listen-btn-container {
    position: relative;
    display: flex;
    justify-content: flex-end;
    width: 100%;
    margin-top: auto;
    padding-top: 10px;
}

.ankolo_music-card .ankolo_add-to-playlist-btn,
.ankolo_music-card .ankolo_listen-btn {
    background-color: transparent;
    color: var(--accent-green);
    border: 1px solid var(--accent-green);
    padding: 6px 15px;
    border-radius: 20px;
    font-size: 0.8em;
    font-weight: 500;
    cursor: pointer;
    transition: background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease, transform 0.1s ease;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    text-decoration: none;
    white-space: nowrap;
}

.ankolo_music-card .ankolo_add-to-playlist-btn:hover,
.ankolo_music-card .ankolo_listen-btn:hover {
    background-color: var(--accent-green);
    color: var(--text-light);
    transform: translateY(-2px);
}

.ankolo_song-list-section {
    margin-bottom: 40px;
}

.ankolo_song-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.ankolo_song-item {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 12px 0;
    border-bottom: 1px solid var(--border-color);
    cursor: pointer;
    transition: background-color 0.2s ease;
}

.ankolo_song-item:last-child {
    border-bottom: none;
}

.ankolo_song-item:hover {
    background-color: rgba(255, 255, 255, 0.05);
    border-radius: 5px;
    padding-left: 5px;
}

.ankolo_song-cover {
    width: 60px;
    height: 60px;
    border-radius: 6px;
    object-fit: cover;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
}

.ankolo_song-info {
    flex-grow: 1;
}

.ankolo_song-info .ankolo_title {
    font-weight: 600;
    color: var(--text-light);
    display: block;
    margin-bottom: 3px;
}

.ankolo_song-info .ankolo_artist-name,
.ankolo_song-info .ankolo_album-name {
    font-size: 0.85em;
    color: var(--text-secondary);
}

.ankolo_song-duration {
    font-size: 0.8em;
    color: var(--text-tertiary);
    flex-shrink: 0;
}

.ankolo_song-actions {
    display: flex;
    gap: 10px;
    flex-shrink: 0;
}

.ankolo_song-actions i {
    font-size: 1.1em;
    color: var(--text-secondary);
    cursor: pointer;
    transition: color 0.2s ease;
}

.ankolo_song-actions i:hover {
    color: var(--accent-blue);
}

.ankolo_right-sidebar-section {
    width: 300px;
    flex-shrink: 0;
}

.ankolo_search-box {
    margin-bottom: 30px;
    background-color: var(--card-dark);
    border-radius: 10px;
    padding: 15px;
    display: flex;
    align-items: center;
    gap: 10px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

.ankolo_search-box input {
    flex-grow: 1;
    background: none;
    border: none;
    outline: none;
    color: var(--text-light);
    font-size: 1em;
    padding: 5px 0;
}

.ankolo_search-box input::placeholder {
    color: var(--text-tertiary);
}

.ankolo_search-box .ankolo_search-btn {
    background-color: var(--accent-purple);
    border: none;
    border-radius: 8px;
    color: var(--text-light);
    padding: 10px 15px;
    cursor: pointer;
    transition: background-color 0.2s ease;
}

.ankolo_search-box .ankolo_search-btn:hover {
    background-color: var(--accent-purple-hover);
}

.ankolo_top-artists-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.ankolo_top-artists-list li {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 10px 0;
    border-bottom: 1px solid var(--border-color);
    cursor: pointer;
    transition: background-color 0.2s ease;
}

.ankolo_artist-link {
    display: flex;
    align-items: center;
    gap: 15px;
    text-decoration: none;
    color: inherit;
    flex-grow: 1;
}

.ankolo_top-artists-list li:last-child {
    border-bottom: none;
}

.ankolo_top-artists-list li:hover {
    background-color: rgba(255, 255, 255, 0.05);
    border-radius: 5px;
    padding-left: 5px;
}

.ankolo_top-artists-list .ankolo_artist-avatar {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    object-fit: cover;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
}

.ankolo_top-artists-list .ankolo_artist-info {
    flex-grow: 1;
}

.ankolo_top-artists-list .ankolo_artist-info span.ankolo_name {
    font-weight: 600;
    color: var(--text-light);
    display: block;
}

.ankolo_top-artists-list .ankolo_artist-info span.ankolo_followers {
    font-size: 0.8em;
    color: var(--text-secondary);
}

.ankolo_top-artists-list .ankolo_follow-btn {
    background-color: transparent;
    color: var(--accent-blue);
    border: 1px solid var(--accent-blue);
    padding: 6px 15px;
    border-radius: 20px;
    font-size: 0.8em;
    font-weight: 500;
    cursor: pointer;
    transition: background-color 0.2s ease, color 0.2s ease;
}

.ankolo_top-artists-list .ankolo_follow-btn:hover {
    background-color: var(--accent-blue);
    color: var(--text-light);
}

.ankolo_player-section {
    background-color: var(--player-bg);
    border-radius: 12px;
    padding: 20px;
    display: flex;
    align-items: center;
    gap: 20px;
    margin-top: 40px;
    box-shadow: 0 -4px 15px rgba(0, 0, 0, 0.3);
    width: 100%;
    max-width: 1400px;
    box-sizing: border-box;
    flex-shrink: 0;
}

.ankolo_player-cover {
    width: 80px;
    height: 80px;
    border-radius: 8px;
    object-fit: cover;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}

.ankolo_player-info {
    flex-grow: 1;
}

.ankolo_player-info .ankolo_song-title {
    font-size: 1.1em;
    font-weight: 600;
    color: var(--text-light);
    margin-bottom: 5px;
}

.ankolo_player-info .ankolo_song-artist {
    font-size: 0.9em;
    color: var(--text-secondary);
}

.ankolo_player-controls {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    flex-shrink: 0;
    margin-left: 20px;
    margin-right: 20px;
}

.ankolo_player-buttons {
    display: flex;
    gap: 20px;
    font-size: 1.4em;
}

.ankolo_player-buttons i {
    cursor: pointer;
    color: var(--text-secondary);
    transition: color 0.2s ease;
}

.ankolo_player-buttons i:hover {
    color: var(--text-light);
}

.ankolo_player-buttons .fa-play-circle,
.ankolo_player-buttons .fa-pause-circle {
    color: var(--accent-purple);
    font-size: 1.8em;
}

.ankolo_player-progress-bar-container {
    width: 250px;
    height: 5px;
    background-color: var(--border-color);
    border-radius: 3px;
    position: relative;
    cursor: pointer;
}

.ankolo_player-progress-bar {
    height: 100%;
    width: 40%;
    background-color: var(--accent-purple);
    border-radius: 3px;
}

.ankolo_player-timestamps {
    font-size: 0.8em;
    color: var(--text-secondary);
    display: flex;
    justify-content: space-between;
    width: 100%;
    margin-top: 5px;
}

.ankolo_player-volume-controls {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-shrink: 0;
    margin-left: auto;
    width: 120px;
}

.ankolo_player-volume-controls .ankolo_volume-slider {
    -webkit-appearance: none;
    width: 100%;
    height: 5px;
    background: var(--border-color);
    outline: none;
    border-radius: 3px;
    cursor: pointer;
}

.ankolo_player-volume-controls .ankolo_volume-slider::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 15px;
    height: 15px;
    border-radius: 50%;
    background: var(--accent-blue);
    cursor: pointer;
}

.ankolo_player-volume-controls .ankolo_volume-slider::-moz-range-thumb {
    width: 15px;
    height: 15px;
    border-radius: 50%;
    background: var(--accent-blue);
    cursor: pointer;
}

.ankolo_player-volume-controls i {
    font-size: 1.1em;
    color: var(--text-secondary);
    cursor: pointer;
    transition: color 0.2s ease;
}

.ankolo_player-volume-controls i:hover {
    color: var(--text-light);
}

@media (max-width: 1200px) {
    .ankolo_dashboard-container {
        flex-direction: column;
        gap: 20px;
    }

    .ankolo_right-sidebar-section {
        width: 100%;
    }

    .ankolo_dashboard-main-content {
        padding: 0;
    }
}

@media (max-width: 1024px) {
    .ankolo_trending-main-card,
    .ankolo_featured-artist-card {
        flex-direction: column;
        text-align: center;
        gap: 20px;
    }

    .ankolo_trending-image,
    .ankolo_artist-image {
        width: 150px;
        height: 150px;
    }

    .ankolo_trending-actions,
    .ankolo_artist-actions {
        justify-content: center;
    }

    .ankolo_podcast-grid,
    .ankolo_music-grid {
        grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
        gap: 20px;
    }
}

@media (max-width: 768px) {
    .ankolo_top-bar {
        flex-direction: column;
        align-items: flex-end;
        gap: 15px;
    }

    .ankolo_top-bar .ankolo_nav-links {
        justify-content: flex-end;
        flex-wrap: wrap;
        gap: 15px;
    }

    .ankolo_section-header {
        font-size: 1.3em;
    }

    .ankolo_featured-artist-card .ankolo_artist-details h2 {
        font-size: 1.8em;
    }

    .ankolo_music-grid {
        grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
        gap: 15px;
    }

    .ankolo_player-section {
        flex-direction: column;
        text-align: center;
        gap: 15px;
        padding: 15px;
    }

    .ankolo_player-cover {
        width: 60px;
        height: 60px;
    }

    .ankolo_player-controls {
        width: 100%;
        margin: 0;
    }

    .ankolo_player-progress-bar-container {
        width: 80%;
    }

    .ankolo_player-buttons {
        font-size: 1.2em;
    }

    .ankolo_player-buttons .fa-play-circle,
    .ankolo_player-buttons .fa-pause-circle {
        font-size: 1.5em;
    }

    .ankolo_player-volume-controls {
        width: 80%;
        justify-content: center;
        margin: 10px auto 0 auto;
    }
}

@media (max-width: 480px) {

    .ankolo_top-bar .ankolo_nav-links {
        justify-content: center;
    }

    .ankolo_featured-artist-card {
        gap: 15px;
    }

    .ankolo_artist-image {
        width: 120px;
        height: 120px;
    }

    .ankolo_artist-details h2 {
        font-size: 1.5em;
    }

    .ankolo_music-grid {
        grid-template-columns: 1fr;
        gap: 10px;
    }

    .ankolo_music-card {
        flex-direction: row;
        align-items: center;
        padding: 10px;
        gap: 10px;
    }

    .ankolo_music-card img {
        width: 60px;
        height: 60px;
        margin-bottom: 0;
        flex-shrink: 0;
    }

    .ankolo_music-card h3 {
        font-size: 1em;
    }

    .ankolo_music-card p {
        font-size: 0.8em;
    }

    .ankolo_music-card .ankolo_add-to-playlist-btn,
    .ankolo_music-card .ankolo_listen-btn {
        margin-top: 0;
        margin-left: auto;
    }

    .ankolo_player-section {
        padding: 10px;
    }
}

.ankolo_add-to-playlist-container {
    position: relative;
    display: inline-block;
    margin-top: 10px;
    z-index: 10;
}

.ankolo_playlist-popover {
    position: absolute;
    bottom: calc(100% + 5px); /* Adjusted for precise spacing above the button */
    left: 50%;
    transform: translateX(-50%); /* Center horizontally relative to its trigger */
    background-color: var(--card-dark);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.4);
    padding: 10px;
    min-width: 180px;
    z-index: 100;
    display: none;
    opacity: 0;
    transition: opacity 0.2s ease, transform 0.2s ease;
}

.ankolo_playlist-popover.show {
    display: block;
    opacity: 1;
    transform: translateX(-50%) translateY(0); /* Remove the initial lift when showing */
}

.ankolo_playlist-popover h4 {
    margin: 0 0 8px 0;
    color: var(--text-light);
    font-size: 0.9em;
    font-weight: 600;
    border-bottom: 1px solid var(--border-color);
    padding-bottom: 5px;
}

.ankolo_playlist-popover ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.ankolo_playlist-popover ul li {
    padding: 8px 5px;
    cursor: pointer;
    color: var(--text-secondary);
    font-size: 0.9em;
    transition: background-color 0.2s ease, color 0.2s ease;
    border-radius: 4px;
}

.ankolo_playlist-popover ul li:hover {
    background-color: rgba(255, 255, 255, 0.1);
    color: var(--text-light);
}

.ankolo_playlist-popover ul li a {
    color: var(--accent-blue);
    text-decoration: none;
}

/* CSS for the Fading Message Popup */
.fading-message-popup {
    position: fixed;
    top: 20px;
    left: 50%;
    transform: translateX(-50%);
    background-color: rgba(0, 0, 0, 0.8); /* Dark background with transparency */
    color: white;
    padding: 12px 25px;
    border-radius: 8px;
    font-size: 1em;
    z-index: 10000; /* High z-index to be on top of other content */
    opacity: 0; /* Initially hidden */
    visibility: hidden; /* Initially hidden */
    transition: opacity 0.5s ease-in-out, visibility 0.5s ease-in-out; /* Smooth transition */
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    text-align: center;
    min-width: 250px; /* Ensure it's wide enough */
}

.fading-message-popup.show {
    opacity: 1; /* Fade in */
    visibility: visible; /* Make visible */
}

/* Optional: Different colors for success/error */
.fading-message-popup.success {
    background-color: rgba(40, 167, 69, 0.8); /* Green for success */
}

.fading-message-popup.error {
    background-color: rgba(220, 53, 69, 0.8); /* Red for error */
}

.fading-message-popup.info {
    background-color: rgba(23, 162, 184, 0.8); /* Blue for info */
}
