﻿/* Global Background (Gradient Teal to Purple) */
body {
    padding-top: 80px;
    /* INCREASED for fixed-top navbar */
    padding-bottom: 100px;
    /* INCREASED for existing fixed-bottom player */
    /* Gradient matching the screenshot: Teal (#13547a) to Purple (#80d0c7 is too light) -> Let's try #1e5799 to #207cca */
    /* Screenshot looks like: Left Teal (#185a9d) - Right Purple (#43cea2) NO. */
    /* Screenshot: Left Dark Teal (#0f4c75) -> Right Dark Purple (#321f55) */
    background: linear-gradient(135deg, #1e5f74 0%, #292e49 100%);
    /* Alternative vibrant: linear-gradient(to right, #0f2027, #203a43, #2c5364); */
    /* Let's use a nice Dark Teal to Purple */
    background: linear-gradient(to right, #136a8a, #267871);
    /* This is too green */
    /* Let's stick to the one from user image roughly: */
    background: linear-gradient(120deg, #134E5E, #71B280);
    /* Nope */

    /* Best Guess from screenshot: Teal/Cyan to Deep Purple */
    background: linear-gradient(to right, #1d4350, #a43931);
    /* No */

    /* User said "old background". I'll try to recreate the "Aurora" feel */
    background: linear-gradient(to right, #0F2027, #203a43, #2c5364);
    /* Dark aesthetics */

    background: linear-gradient(90deg, #13547a 0%, #80d0c7 100%);
    /* Too light */

    /* Let's use a standard Dark Modern Gradient */
    background: linear-gradient(90deg, #1CB5E0 0%, #000851 100%);
    /* Standard nice one */
    /* Actually let's try to match exactly the teal-purple */
    background: linear-gradient(90deg, #005c97 0%, #363795 100%);
    /* Blue to Purple */

    /* Final pick matching screenshot vibe: Teal > Purple */
    background: linear-gradient(100deg, #226f78 0%, #3b266b 100%);

    background-attachment: fixed;
    /* Ensures gradient stays when scrolling */
    color: white;
    margin: 0;
    min-height: 100vh;
}

/* Set padding to keep content from hitting the edges */
.body-content {
    /* background-color: transparent; */
    padding-top: 20px;
    /* Adjusted padding */
}

/* Override the default bootstrap behavior where horizontal description lists 
   will truncate terms that are too long to fit in the left column 
*/
.dl-horizontal dt {
    white-space: normal;
}


/* =========================================
   ARTIST FEATURE STYLES (Modern/Spotify-like)
   ========================================= */

/* --- Variables (Implicit) --- */
:root {
    --primary-color: #1a1a1a;
    /* Dark Background */
    --accent-color: #1db954;
    /* Spotify Green or similar modern accent */
    --text-color: #ffffff;
    --text-muted: #b3b3b3;
    --card-bg: #181818;
    --card-hover: #282828;
}

/* --- Artist List Page --- */
.artist-page-container {
    background: linear-gradient(to bottom, #2c2c2c 0%, #121212 100%);
    min-height: 100vh;
    color: white;
    padding-top: 20px;
}

.section-title {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.section-subtitle {
    color: #b3b3b3;
    margin-bottom: 2rem;
}

.artist-card {
    background-color: #181818;
    padding: 16px;
    border-radius: 8px;
    transition: background-color 0.3s ease;
    cursor: pointer;
    text-align: center;
    position: relative;
    height: 100%;
}

.artist-card:hover {
    background-color: #282828;
}

.artist-img-wrapper {
    position: relative;
    width: 100%;
    padding-bottom: 100%;
    /* 1:1 Aspect Ratio */
    border-radius: 50%;
    overflow: hidden;
    margin-bottom: 16px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.5);
}

.artist-img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

/* Hover glow effect */
.artist-card:hover .artist-img {
    box-shadow: 0 0 20px rgba(255, 255, 255, 0.2);
}

.play-overlay {
    position: absolute;
    bottom: 10px;
    right: 10px;
    background-color: #1db954;
    /* Green play button */
    color: white;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transform: translateY(10px);
    transition: all 0.3s ease;
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.3);
}

.artist-card:hover .play-overlay {
    opacity: 1;
    transform: translateY(0);
}

/* Removed .artist-play-btn styles as requested */

.artist-card-link {
    text-decoration: none;
    color: #fff !important;
    /* Force white text */
    display: block;
    /* Ensure it wraps correctly */
}

.artist-card-link:hover {
    text-decoration: none;
    color: #fff !important;
}

.artist-name {
    color: white;
    font-family: 'Inter', 'Segoe UI', sans-serif;
    font-weight: 600;
    /* Semi-bold */
    line-height: 1.35;
    text-align: center;

    /* Allow wrapping */
    white-space: normal;
    overflow: visible;
    word-wrap: break-word;

    /* Spacing */
    margin: 0;
    padding: 12px 10px;
    /* Padding for breathing room */

    /* Mobile Font Size */
    font-size: 1.2rem;
    /* ~19px */
    max-width: 100%;
}

/* Desktop Adjustment */
@media (min-width: 992px) {
    .artist-name {
        font-size: 1.5rem;
        /* ~24px for Desktop */
    }
}

/* Add hover effect for name */
/* Add hover effect for name */
.artist-card:hover .artist-name {
    color: #1cb5e0;
    /* Theme Teal on hover */
    transition: color 0.3s;
}

.artist-role {
    font-size: 0.9rem;
    color: #b3b3b3;
}

/* --- Simple Artist Page (No Banner) --- */
.artist-page-simple {
    /* background-color: #121212; Removed to show original background */
    color: white;
    min-height: 100vh;
    padding-top: 40px;
    padding-bottom: 60px;
}

.artist-header-simple {
    margin-bottom: 30px;
}

.profile-avatar {
    width: 220px;
    height: 220px;
    border-radius: 50%;
    /* Circle avatar */
    overflow: hidden;
    margin: 0 auto;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.5);
    border: 4px solid #1cb5e0;
    /* Theme Teal border */
}

.profile-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.profile-info {
    padding-left: 20px;
}

.artist-badge-simple {
    color: #3d91f4;
    font-weight: 500;
    margin-bottom: 8px;
}

.artist-name-simple {
    font-size: 3.5rem;
    font-weight: 800;
    margin-bottom: 16px;
    line-height: 1.1;
}

.artist-bio-simple {
    color: #b3b3b3;
    font-size: 1rem;
    line-height: 1.6;
    max-width: 800px;
}

.artist-actions-simple .btn-simple-play {
    background: linear-gradient(90deg, #1cb5e0 0%, #000851 100%);
    /* Theme Gradient */
    color: white;
    border: none;
    border-radius: 50px;
    padding: 12px 32px;
    font-weight: 700;
    margin-right: 12px;
    transition: transform 0.2s, box-shadow 0.2s;
}

.artist-actions-simple .btn-simple-play:hover {
    transform: scale(1.05);
    box-shadow: 0 0 15px rgba(28, 181, 224, 0.6);
}

.btn-simple-follow {
    background: transparent;
    border: 1px solid #b3b3b3;
    color: white;
    border-radius: 50px;
    padding: 12px 24px;
    font-weight: 700;
}

.btn-simple-follow:hover {
    border-color: white;
}

.divider-simple {
    border-top: 1px solid #2b2b2b;
    margin-top: 30px;
    margin-bottom: 30px;
}

.artist-body-simple .section-title-simple {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 20px;
}

/* Song List Simple */
.song-list-simple .song-row-simple {
    display: flex;
    align-items: center;
    padding: 10px 16px;
    border-radius: 4px;
    border-bottom: 1px solid #1f1f1f;
    /* Divider between songs */
    transition: background-color 0.2s;
}

.song-list-simple .song-row-simple:hover {
    background-color: #2a2a2a;
}

.song-hidden {
    display: none !important;
}

.song-visible {
    display: flex !important;
    animation: fadeIn 0.5s;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

.btn-view-more-faded {
    background: none;
    border: none;
    color: #666;
    /* Faded color as requested */
    font-size: 0.9rem;
    font-weight: 600;
    transition: color 0.2s;
}

.btn-view-more-faded:hover {
    color: #fff;
    /* Brighten on hover */
    text-decoration: none;
}

/* Reuse s-thumb, s-index styles from previous if compatible or redefine */
.s-thumb {
    width: 48px;
    height: 48px;
    position: relative;
    border-radius: 4px;
    overflow: hidden;
    margin-right: 16px;
}

.s-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.s-play-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    display: none;
    align-items: center;
    justify-content: center;
    color: white;
}

.song-row-simple:hover .s-play-overlay {
    display: flex;
}

.s-index {
    width: 30px;
    color: #666;
    text-align: center;
    font-weight: 500;
}

.s-info {
    flex: 1;
    margin-left: 10px;
}

.s-title {
    color: white;
    font-weight: 500;
    font-size: 1rem;
}

.s-artist {
    color: #b3b3b3;
    font-size: 0.85rem;
}

.s-time {
    color: #b3b3b3;
    font-size: 0.9rem;
}

/* --- Clean Minimal Artist Page (Requested Redesign) --- */
.artist-page-clean {
    background: linear-gradient(180deg, #2b2b2b 0%, #121212 100%);
    color: #ffffff;
    min-height: 100vh;
    font-family: 'Segoe UI', sans-serif;
    padding-bottom: 80px;
}

/* 1. HERO BANNER */
.artist-hero {
    position: relative;
    height: 400px;
    /* Big impactful banner */
    background-size: cover;
    background-position: center 30%;
    background-repeat: no-repeat;
    display: flex;
    align-items: flex-end;
    /* Content at bottom */
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    /* Clean gradient overlay for text readability */
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0) 0%, rgba(18, 18, 18, 0.4) 50%, rgba(18, 18, 18, 1) 100%);
}

.hero-content {
    position: relative;
    z-index: 2;
    padding-bottom: 40px;
}

.artist-badge {
    font-size: 0.9rem;
    color: #fff;
    margin-bottom: 8px;
    display: flex;
    align-items: center;
    gap: 6px;
    opacity: 0.9;
}

.artist-badge i {
    color: #3d91f4;
}

.artist-name {
    font-size: 4.5rem;
    font-weight: 800;
    margin: 0 0 10px 0;
    line-height: 1;
    text-shadow: 0 4px 12px rgba(0, 0, 0, 0.4);
}

.artist-stats {
    font-size: 1rem;
    color: #d0d0d0;
    margin-bottom: 24px;
}

.hero-actions {
    display: flex;
    gap: 16px;
}

.btn-hero-play {
    background-color: #1db954;
    color: white;
    border: none;
    border-radius: 50px;
    padding: 14px 40px;
    font-weight: 700;
    font-size: 1rem;
    letter-spacing: 1px;
    transition: all 0.2s;
    box-shadow: 0 4px 15px rgba(29, 185, 84, 0.4);
}

.btn-hero-play:hover {
    transform: scale(1.05);
    background-color: #1ed760;
}

.btn-hero-follow {
    background-color: transparent;
    color: white;
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 50px;
    padding: 14px 32px;
    font-weight: 700;
    font-size: 1rem;
    transition: all 0.2s;
}

.btn-hero-follow:hover {
    border-color: #fff;
    background-color: rgba(255, 255, 255, 0.1);
}

/* 2. SECTION STYLES */
.section-block {
    margin-top: 50px;
}

.section-heading {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 24px;
    color: #fff;
    position: relative;
    display: inline-block;
}

/* SONG LIST (Modern & Clean) */
.song-list-clean {
    display: flex;
    flex-direction: column;
}

.song-row {
    display: flex;
    align-items: center;
    padding: 12px 16px;
    border-radius: 8px;
    transition: background-color 0.2s;
    cursor: pointer;
}

.song-row:hover {
    background-color: rgba(255, 255, 255, 0.1);
}

.song-row:hover .s-index {
    display: none;
}

.song-row:hover .s-play-overlay {
    display: flex;
}

.s-index {
    width: 30px;
    color: #b3b3b3;
    font-size: 1rem;
    text-align: center;
}

.s-thumb {
    position: relative;
    width: 48px;
    height: 48px;
    margin: 0 16px;
    border-radius: 4px;
    overflow: hidden;
}

.s-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.s-play-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    display: none;
    /* Hidden by default */
    align-items: center;
    justify-content: center;
    color: white;
}

.s-info {
    flex: 1;
}

.s-title {
    color: white;
    font-size: 1rem;
    font-weight: 500;
}

.s-time {
    color: #b3b3b3;
    font-size: 0.9rem;
}

.view-more-songs {
    margin-top: 20px;
    padding-left: 16px;
}

.btn-clean-outline {
    background: transparent;
    border: none;
    color: #b3b3b3;
    font-weight: 600;
    font-size: 0.9rem;
    letter-spacing: 0.5px;
}

.btn-clean-outline:hover {
    color: white;
}

/* ABOUT CARD */
.about-card {
    display: flex;
    background-color: rgba(255, 255, 255, 0.05);
    /* Very subtle card bg */
    border-radius: 12px;
    overflow: hidden;
    margin-top: 20px;
    transition: transform 0.2s;
}

.about-card:hover {
    background-color: rgba(255, 255, 255, 0.08);
}

.about-img {
    width: 200px;
    height: 200px;
    flex-shrink: 0;
}

.about-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.about-content {
    padding: 24px;
    border-radius: 8px;
}

.artist-avatar-large img {
    width: 100%;
    aspect-ratio: 1/1;
    object-fit: cover;
    border-radius: 8px;
    /* Square for variety or Circle */
    margin-bottom: 16px;
    box-shadow: 0 4px 60px rgba(0, 0, 0, 0.5);
}

.about-text {
    color: #b3b3b3;
    line-height: 1.6;
}

/* Set width on the form input elements since they're 100% wide by default */
input,
select,
textarea {
    max-width: 280px;
}

/* Dark Mode & Background Animation */
body {
    background-color: #0E0F13;
    color: #e0e0e0;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    overflow-x: hidden;
}

.animated-background {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    z-index: -1;
    overflow: hidden;
    background: radial-gradient(circle at center, #1A1F2E 0%, #0E0F13 100%);
}

.orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(100px);
    opacity: 0.5;
    animation: drift 20s infinite alternate ease-in-out;
}

.orb-1 {
    width: 50vw;
    height: 50vw;
    background: #3AF2FF;
    top: -10%;
    left: -10%;
    animation-duration: 25s;
}

.orb-2 {
    width: 40vw;
    height: 40vw;
    background: #7B5CFF;
    bottom: -10%;
    right: -10%;
    animation-duration: 30s;
    animation-delay: -5s;
}

.orb-3 {
    width: 30vw;
    height: 30vw;
    background: rgba(58, 242, 255, 0.3);
    /* Softer Teal */
    top: 40%;
    left: 30%;
    animation-duration: 35s;
    animation-delay: -10s;
}

@keyframes drift {
    0% {
        transform: translate(0, 0) rotate(0deg);
    }

    50% {
        transform: translate(50px, 30px) rotate(5deg);
    }

    100% {
        transform: translate(-30px, -20px) rotate(-5deg);
    }
}

/* Glassmorphism for Cards */
.card {
    background: rgba(26, 31, 46, 0.6) !important;
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.08) !important;
    color: #fff;
    box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.37);
}

.card-title {
    color: #fff;
    font-weight: 600;
}

.card-text {
    color: #b0b0b0 !important;
}

/* Navbar Tuning */
.navbar-dark.bg-dark {
    background-color: rgba(14, 15, 19, 0.9) !important;
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

/* Jumbotron (Hero) */
.jumbotron {
    background: transparent !important;
    color: #fff;
}

/* Footer */
footer {
    color: #888;
}

/* Table in Admin/Favorites */
.table {
    color: #e0e0e0;
}

.table-striped tbody tr:nth-of-type(odd) {
    background-color: rgba(255, 255, 255, 0.03);
}

.table td,
.table th {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

/* Futuristic Auth Styles */
.auth-container {
    padding: 2rem;
}

.glass-card {
    background: rgba(255, 255, 255, 0.05);
    /* Very subtle white */
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.37);
    width: 100%;
    max-width: 450px;
}

.neon-text {
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    text-shadow: 0 0 10px rgba(58, 242, 255, 0.7), 0 0 20px rgba(58, 242, 255, 0.5);
}

.neon-input {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: #fff !important;
    border-radius: 10px;
    transition: all 0.3s ease;
    max-width: 100% !important;
    /* Override global input limit */
}

.neon-input:focus {
    background: rgba(255, 255, 255, 0.1);
    border-color: #3AF2FF;
    box-shadow: 0 0 15px rgba(58, 242, 255, 0.3);
    outline: none;
}

.neon-button {
    background: linear-gradient(45deg, #3AF2FF, #2980b9);
    border: none;
    color: #fff;
    font-weight: 600;
    border-radius: 10px;
    padding: 12px;
    transition: all 0.3s ease;
    box-shadow: 0 0 10px rgba(58, 242, 255, 0.4);
}

.neon-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 0 20px rgba(58, 242, 255, 0.6);
}

.neon-button-green {
    background: linear-gradient(45deg, #00b894, #00cec9);
    border: none;
    color: #fff;
    font-weight: 600;
    border-radius: 10px;
    padding: 12px;
    transition: all 0.3s ease;
    box-shadow: 0 0 10px rgba(0, 184, 148, 0.4);
}

.neon-button-green:hover {
    transform: translateY(-2px);
    box-shadow: 0 0 20px rgba(0, 184, 148, 0.6);
}

.glass-button {
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: #fff;
    border-radius: 10px;
    padding: 10px;
    transition: all 0.3s ease;
}

.glass-button:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: #fff;
}

/* --- GLOBAL MUSIC PLAYER BAR --- */
.music-player-bar {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 90px;
    background-color: #181818;
    border-top: 1px solid #282828;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 16px;
    z-index: 9999;
    box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.5);
    font-family: 'Inter', sans-serif;
    color: white;
    box-sizing: border-box;
}

.music-player-bar * {
    box-sizing: border-box;
}

/* 3-Column Layout */
.player-left {
    flex: 1;
    min-width: 180px;
    max-width: 25%;
    display: flex;
    align-items: center;
    overflow: hidden;
}

.player-center {
    width: 50%;
    max-width: 722px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.player-right {
    flex: 1;
    min-width: 180px;
    max-width: 25%;
    display: flex;
    align-items: center;
    justify-content: flex-end;
}

/* LEFT: Thumb & Info */
.p-thumb {
    width: 56px;
    height: 56px;
    min-width: 56px;
    object-fit: cover;
    margin-right: 14px;
    border-radius: 4px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.p-info {
    display: flex;
    flex-direction: column;
    justify-content: center;
    margin-right: 12px;
    overflow: hidden;
    flex: 1;
    /* Allow text to take sapce */
}

.p-title {
    color: white;
    font-weight: 600;
    font-size: 0.9rem;
    margin-bottom: 2px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.p-artist {
    color: #b3b3b3;
    font-size: 0.7rem;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.btn-icon-small {
    background: none;
    border: none;
    color: #b3b3b3;
    cursor: pointer;
    font-size: 1rem;
}

.btn-icon-small:hover {
    color: white;
}

/* CENTER: Controls & Progress */
.player-controls {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 8px;
}

.btn-control {
    background: none;
    border: none;
    color: #b3b3b3;
    font-size: 1.1rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: color 0.2s;
    padding: 8px;
}

.btn-control:hover {
    color: white;
}

.btn-control-play {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background-color: white;
    color: black;
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 1rem;
    transition: transform 0.1s;
}

.btn-control-play:hover {
    transform: scale(1.05);
}

.player-progress {
    width: 100%;
    max-width: 500px;
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.75rem;
    /* Slightly larger for readability */
    color: #a7a7a7;
    font-variant-numeric: tabular-nums;
    margin-left: 120px;
    /* Shift right as requested */
}

.time-current,
.time-total {
    min-width: 45px;
    /* Ensures equal spacing on both sides */
}

.time-current {
    text-align: right;
}

.time-total {
    text-align: left;
}

.progress-bar {
    flex: 1;
    height: 4px;
    background: #4d4d4d;
    border-radius: 2px;
    appearance: none;
    cursor: pointer;
    outline: none;
    margin: 0;
    padding: 0;
}

.progress-bar::-webkit-slider-thumb {
    appearance: none;
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: white;
    cursor: pointer;
    border: none;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
    display: none;
}

.progress-bar:hover::-webkit-slider-thumb {
    display: block;
}

.progress-bar:hover {
    background: #b3b3b3;
}

/* RIGHT: Volume */
.volume-control {
    display: flex;
    align-items: center;
    gap: 8px;
    width: 120px;
    margin-right: 40px;
}

.volume-slider {
    flex: 1;
    height: 4px;
    background: #4d4d4d;
    border-radius: 2px;
    appearance: none;
    cursor: pointer;
}

.volume-slider::-webkit-slider-thumb {
    appearance: none;
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: white;
    cursor: pointer;
    display: none;
}

.volume-control:hover .volume-slider::-webkit-slider-thumb {
    display: block;
}

.btn-icon {
    background: none;
    border: none;
    color: #b3b3b3;
    font-size: 1.1rem;
    cursor: pointer;
    padding: 8px;
}

.btn-icon:hover {
    color: white;
}

/* Responsive */
@media (max-width: 768px) {
    .music-player-bar {
        height: auto;
        padding: 8px;
        flex-wrap: wrap;
    }

    .player-left {
        width: 100%;
        max-width: 100%;
        margin-bottom: 8px;
    }

    .player-center {
        width: 100%;
        max-width: 100%;
        order: 2;
        margin-bottom: 8px;
    }

    .player-right {
        display: none;
    }

    .player-progress {
        margin-top: 4px;
    }
}

/* Fix Navbar Layout */
.main-navbar .container-fluid {
    padding-left: 30px;
    padding-right: 30px;
}

.main-navbar .nav-link {
    font-size: 0.9rem !important;
    /* Slightly smaller text */
    padding-left: 0.8rem !important;
    padding-right: 0.8rem !important;
    /* Tighter spacing */
    white-space: nowrap;
    /* Prevent individual links from wrapping */
}

.main-navbar .navbar-brand {
    font-size: 1.1rem !important;
    margin-right: 1rem;
}