/* ====== GLOBAL ====== */
*,
*::before,
*::after {
    box-sizing: border-box;
}

:root {
    --bg-gradient: radial-gradient(circle at top left, #3f51b5 0, #12121a 40%, #050509 100%);
    --glass-bg: rgba(16, 16, 24, 0.75);
    --glass-border: rgba(255, 255, 255, 0.06);
    --accent: #35d49e;
    --accent-soft: rgba(53, 212, 158, 0.18);
    --accent-strong: #24b783;
    --text-main: #f5f5f7;
    --text-muted: #a5a5b5;
    --danger: #ff5c7a;
    --radius-lg: 20px;
    --radius-xl: 26px;
    --shadow-soft: 0 24px 60px rgba(0, 0, 0, 0.55);
    --blur-strong: 26px;
}

html,
body {
    margin: 0;
    padding: 0;
    height: 100%;
}

body {
    font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    color: var(--text-main);
    background:
        linear-gradient(to bottom, rgba(0, 0, 0, 0.7), rgba(3, 3, 10, 0.95)),
        var(--bg-gradient),
        #050509;
    background-attachment: fixed;
    display: flex;
    align-items: stretch;
    justify-content: center;

    /* 🔥 vigtigt: scroll KUN inde i vinduet, ikke hele siden */
    overflow: hidden;
}

/* Valgfri baggrundsbillede – skift URL til dit eget */
body::before {
    content: "";
    position: fixed;
    inset: 0;
    background: url("../img/bg-promo.jpg") center/cover no-repeat;
    opacity: 0.14;
    pointer-events: none;
    z-index: -2;
}

/* Lys haze foran baggrunden */
body::after {
    content: "";
    position: fixed;
    inset: 0;
    background: radial-gradient(circle at top, rgba(255, 255, 255, 0.15), transparent 60%);
    opacity: 0.7;
    pointer-events: none;
    z-index: -1;
}

/* ====== APP LAYOUT ====== */

.app-shell {
    display: flex;
    width: min(1180px, 100%);
    /* 🔥 nu bliver det et “vindue” */
    height: calc(100vh - 64px);
    margin: 32px 18px;
    border-radius: var(--radius-xl);
    background: linear-gradient(
        135deg,
        rgba(15, 15, 25, 0.9),
        rgba(10, 10, 20, 0.92)
    );
    border: 1px solid rgba(255, 255, 255, 0.04);
    box-shadow: var(--shadow-soft);
    backdrop-filter: blur(var(--blur-strong));

    /* indholdet skal ikke stikke udenfor boksen */
    overflow: hidden;
}


/* ====== SIDEBAR ====== */

.sidebar {
    width: 240px;
    padding: 22px 18px 18px;
    border-right: 1px solid rgba(255, 255, 255, 0.04);
    display: flex;
    flex-direction: column;
    gap: 24px;
    background: radial-gradient(circle at top left, rgba(90, 120, 255, 0.14), transparent 55%);
}

.sidebar-brand {
    display: flex;
    align-items: center;
    gap: 10px;
}

.sidebar-logo {
    width: 34px;
    height: 34px;
    border-radius: 12px;
    background: radial-gradient(circle at 30% 10%, #ffe57f, #ff6f61 60%, #9c27b0);
    box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.18), 0 12px 28px rgba(0, 0, 0, 0.6);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 16px;
    color: #fff;
}

.sidebar-title-group {
    display: flex;
    flex-direction: column;
}

.sidebar-title {
    font-weight: 600;
    font-size: 16px;
    letter-spacing: 0.03em;
}

.sidebar-subtitle {
    font-size: 12px;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.14em;
}

.sidebar-section-label {
    font-size: 11px;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.18em;
    margin-bottom: 6px;
}

.sidebar-nav {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.sidebar-link {
    border-radius: 999px;
    padding: 8px 11px;
    display: flex;
    align-items: center;
    gap: 9px;
    font-size: 13px;
    color: var(--text-muted);
    text-decoration: none;
    transition: all 0.15s ease-out;
}

.sidebar-link span.icon {
    width: 18px;
    text-align: center;
    font-size: 14px;
    opacity: 0.9;
}

.sidebar-link.active {
    background: linear-gradient(135deg, var(--accent-soft), rgba(255, 255, 255, 0.05));
    color: var(--accent);
    box-shadow: 0 0 0 1px rgba(53, 212, 158, 0.45);
}

.sidebar-link:hover {
    background: rgba(255, 255, 255, 0.05);
    color: var(--text-main);
}

.sidebar-footer {
    padding: 16px 20px;
    border-top: 1px solid var(--glass-border);
    display: flex;
    flex-direction: column;
    gap: 12px;
    font-size: 12px;
    margin-top: auto; /* 🔥 skubber footeren ned i bunden af sidebaren */
}


.sidebar-user {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.sidebar-username {
    font-weight: 600;
}

/* 🔥 NY */
.sidebar-controls {
    display: flex;
    align-items: center;
    justify-content: center; /* 🔥 centrér hele gruppen i baren */
    gap: 10px;               /* afstand mellem Log out og sprog */
}


.btn-outline {
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, 0.16);
    padding: 5px 10px;
    background: transparent;
    color: var(--text-main);
    font-size: 11px;
    cursor: pointer;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 4px;
    transition: all 0.15s ease-out;
}

.btn-outline:hover {
    border-color: rgba(255, 255, 255, 0.4);
    background: rgba(255, 255, 255, 0.06);
}

/* ====== MAIN CONTENT ====== */

.main {
    flex: 1;
    display: flex;
    flex-direction: column;
    padding: 18px 18px 14px;
    gap: 16px;

    /* 🔥 vigtigt i flex-layouter, så den må blive mindre end indholdet */
    min-height: 0;

    /* 🔥 her sker scrollen */
    overflow-y: auto;
}

/* Banner / hero */

.banner {
    display: flex;
    align-items: stretch;
    gap: 16px;
    padding: 16px 18px;
    border-radius: var(--radius-lg);
    background: radial-gradient(circle at top left, rgba(101, 230, 173, 0.3), rgba(20, 20, 32, 0.96));
    border: 1px solid rgba(255, 255, 255, 0.05);
    box-shadow: 0 18px 40px rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(24px);
}

.banner-info {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 4px;
}

.chip {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    border-radius: 999px;
    padding: 4px 10px;
    background: rgba(0, 0, 0, 0.3);
    font-size: 11px;
    color: var(--text-muted);
}

.chip-dot {
    width: 8px;
    height: 8px;
    border-radius: 999px;
    background: var(--accent);
    box-shadow: 0 0 0 4px rgba(53, 212, 158, 0.4);
}

.banner-title {
    font-size: 26px;
    font-weight: 700;
}

.banner-subline {
    font-size: 13px;
    color: var(--text-muted);
}

.banner-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 10px;
}

.btn-primary {
    border-radius: 999px;
    padding: 8px 16px;
    border: none;
    background: linear-gradient(135deg, var(--accent), var(--accent-strong));
    color: #050607;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    box-shadow: 0 10px 26px rgba(0, 0, 0, 0.6);
    text-decoration: none;
}

.btn-primary:hover {
    filter: brightness(1.05);
    transform: translateY(-1px);
}

.btn-ghost {
    border-radius: 999px;
    padding: 8px 14px;
    border: 1px solid rgba(255, 255, 255, 0.18);
    background: rgba(0, 0, 0, 0.25);
    color: var(--text-main);
    font-size: 13px;
    font-weight: 500;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    text-decoration: none;
}

.btn-ghost:hover {
    background: rgba(255, 255, 255, 0.06);
}

.banner-artwork {
    display: flex;
    align-items: center;
    justify-content: center;
}

.banner-logo {
    width: 120px;          /* justér hvis du vil */
    height: 120px;
    object-fit: cover;
    border-radius: 22px;   /* rund kant */
    border: 2px solid rgba(255, 255, 255, 0.15); /* 2px diskret kant */
    box-shadow: 0 12px 30px rgba(0,0,0,0.6); /* let dybde */
}

/* “Fake cover” hvis du ikke har billede endnu */
.banner-artwork-inner {
    width: 82%;
    height: 82%;
    border-radius: 24px;
    background: radial-gradient(circle at 25% 0%, #ffffff, #ffeb3b 22%, #ff9800 55%, #f44336 88%);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: #1b1b1b;
    text-align: center;
    padding: 10px;
    position: relative;
    overflow: hidden;
   box-shadow:
    0 12px 30px rgba(0,0,0,0.6),
    0 0 0 2px rgba(53,212,158,0.15);
}

.banner-artwork-inner::before {
    content: "";
    position: absolute;
    inset: -40%;
    background: linear-gradient(120deg, rgba(255,255,255,0.5), transparent 40%, rgba(255,255,255,0.2) 60%, transparent 100%);
    opacity: 0.25;
    transform: rotate(-15deg);
}

.banner-artwork-logo {
    font-size: 24px;
    font-weight: 800;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    position: relative;
    z-index: 1;
}

.banner-artwork-tagline {
    font-size: 10px;
    text-transform: uppercase;
    letter-spacing: 0.16em;
    margin-top: 6px;
    opacity: 0.9;
    position: relative;
    z-index: 1;
}

/* ====== TRACK LIST ====== */

.section-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: 6px;
    margin-bottom: 4px;
}

.section-title {
    font-size: 15px;
    font-weight: 600;
}

.section-subtitle {
    font-size: 12px;
    color: var(--text-muted);
}

.tracks-panel {
    flex: 1;
    border-radius: var(--radius-lg);
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    padding: 10px 12px;
    backdrop-filter: blur(22px);
    display: flex;
    flex-direction: column;
    gap: 4px;

    /* 🔥 lad indholdet få lov at fylde, så .main kan scrolle */
    overflow: visible;
}

.tracks-header-row,
.track-row {
    display: grid;
    /* [PLAY] [#] [TITLE] [FORMAT] [STATS] [ACTIONS] */
    grid-template-columns: 32px 2.1fr 0.9fr 1.1fr 190px;
    align-items: center;
    gap: 16px;
    padding: 6px 8px;
    font-size: 12px;
}



.tracks-header-row {
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.13em;
    font-size: 11px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    margin-bottom: 4px;
}

.track-row {
    border-radius: 14px;
    transition: all 0.12s ease-out;
}

.track-row:nth-child(even) {
    background: rgba(255, 255, 255, 0.01);
}

.track-row:hover {
    background: rgba(255, 255, 255, 0.06);
    transform: translateY(-1px);
}

.track-index {
    font-size: 12px;
    color: var(--text-muted);
}

.track-title-main {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.track-title {
    font-size: 13px;
    font-weight: 500;
}

.track-artist {
    font-size: 11px;
    color: var(--text-muted);
}

.track-meta {
    font-size: 11px;
    color: var(--text-muted);
}

.track-stats {
    font-size: 11px;
    color: var(--text-muted);
}

.track-actions {
    display: flex;
    align-items: center;
    gap: 6px;
    justify-content: flex-end;
}

.track-play-cell {
    display: flex;
    align-items: center;
    justify-content: center;
}

.track-play-cell .btn-chip {
    min-width: 0;
    padding-inline: 8px;
    font-size: 11px;
}

.btn-chip {
    border-radius: 999px;
    padding: 4px 9px;
    border: 1px solid rgba(255, 255, 255, 0.18);
    background: rgba(0, 0, 0, 0.3);
    color: var(--text-main);
    font-size: 11px;
    cursor: pointer;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 4px;
}

.btn-chip:hover {
    background: rgba(255, 255, 255, 0.07);
}

/* Simple “mini-player” bar nederst, hvis du vil bruge den senere */
.footer-bar {
    margin-top: 6px;
    font-size: 11px;
    color: var(--text-muted);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

/* ====== AUDIOPLAYER SKIN (Osvaldas / Codrops) ====== */

.audioplayer {
    width: 100%;
    max-width: 100%;
    border-radius: 999px;
    background: radial-gradient(circle at top left,
        rgba(255,255,255,0.06),
        rgba(0,0,0,0.9));
    border: 1px solid rgba(255,255,255,0.18);
    box-shadow: 0 14px 32px rgba(0, 0, 0, 0.7);
    color: var(--text-main, #f5f5f5);
    text-shadow: none;
    font-size: 12px;
}

/* Tid */

.audioplayer-time {
    color: var(--text-muted, #a0a0b5);
    font-variant-numeric: tabular-nums;
}

.audioplayer-time-current,
.audioplayer-time-duration {
    border-color: rgba(255,255,255,0.06);
    background: transparent;
}

/* PLAY / PAUSE */

/* Fjern mørk hover-baggrund på play/pause-knappen */
.audioplayer-playpause:hover,
.audioplayer-playpause:focus {
    background: transparent !important;
}


.audioplayer:not(.audioplayer-playing) .audioplayer-playpause a {
    border-left-color: #ffffff;
}

.audioplayer-playing .audioplayer-playpause a:before,
.audioplayer-playing .audioplayer-playpause a:after {
    background-color: #ffffff;
}

/* PROGRESS-BAR */

.audioplayer-bar {
    right: 120px !important;   /* ~80px slider + lidt luft til ikon/gap */
}

.audioplayer-bar-loaded {
    background: rgba(255,255,255,0.18);
}

.audioplayer-bar-played {
    background: linear-gradient(
        90deg,
        var(--accent, #35d49e),
        var(--accent-strong, #35b5ff)
    );
    box-shadow: inset 0 0 5px rgba(255,255,255,0.5);
}

/* ==== VOLUME-OMRÅDE (MiniFido skin) ==== */

/* container til ikon + slider */
.audioplayer-volume {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 0px;
    min-width: 80px;
    border-left-color: rgba(0,0,0,0.5);
    padding-right: 4px;        /* luft til højre */
    background: transparent !important;
}

/* skjul den lodrette standard-popup fuldstændigt */
.audioplayer-volume-adjust {
    display: none !important;
    
}

/* Flyt højtaler-ikonet lidt væk fra slideren */
.audioplayer-volume-button {
    margin-right: 0px;
    padding: 2px;
}


/* Placering af tiderne i playeren */
.audioplayer-time-current {
    left: 30px;
}

.audioplayer-time-duration {
    right: 70px;
}

/* selve den vandrette slider-bar */
.mf-volume-slider {
    width: 100px;              /* lidt kortere end før */
    height: 5px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.16);
    overflow: hidden;
    cursor: pointer;
    box-shadow:
        -1px -1px 0 rgba(0,0,0,0.7),
        1px 1px 0 rgba(255,255,255,0.06);
}

/* den fyldte del (grøn/blå) */
.mf-volume-fill {
    height: 100%;
    width: 40%;  /* start midt på – JS ændrer den her */
    border-radius: inherit;
    background: linear-gradient(
        90deg,
        var(--accent, #35d49e),
        var(--accent-strong, #35b5ff)
    );
    box-shadow: inset 0 0 4px rgba(255,255,255,0.6);
    transition: width 0.06s linear;
}



/* Lille mobil-tweak (valgfrit) */
@media (max-width: 600px) {
    .audioplayer {
        font-size: 11px;
    }
   .audioplayer-time-duration {
    display: none;             /* valgfrit – kun “current time” vises */
}
}


.btn-chip.active {
    background: linear-gradient(
        135deg,
        var(--accent-soft),
        rgba(255,255,255,0.05)
    );
    border-color: var(--accent);
    color: var(--accent);
}

.track-badge-new,
.track-badge-new-inline {
    display: inline-block;
    font-size: 10px;
    font-weight: 600;
    padding: 2px 6px;
    border-radius: 999px;
    background: var(--accent-soft, rgba(53,212,158,0.18));
    color: var(--accent-strong, #24b783);
    margin-left: 6px;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.track-index .track-badge-new {
    margin-top: 4px;
}

.pagination-bar {
    margin-top: 16px;
    padding-top: 10px;
    border-top: 1px solid var(--glass-border, rgba(255,255,255,0.06));
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
    font-size: 12px;
    color: var(--text-muted, #a3a3b0);
    flex-wrap: wrap;
}

.pagination-links {
    display: flex;
    align-items: center;
    gap: 6px;
    flex-wrap: wrap;
}

.page-link {
    padding: 4px 8px;
    border-radius: 999px;
    border: 1px solid transparent;
    cursor: pointer;
    font-size: 12px;
    text-decoration: none;
    color: var(--text-muted, #a3a3b0);
    background: rgba(255,255,255,0.02);
}

.page-link:hover {
    border-color: var(--accent, #35d49e);
    color: #fff;
}

.page-link.disabled {
    opacity: 0.4;
    cursor: default;
    pointer-events: none;
}

.page-current {
    font-size: 12px;
    font-weight: 500;
}


/* ====== FORM PAGES (ADMIN) ====== */

.form-page {
    display: flex;
    flex-direction: column;
    gap: 10px;
    padding: 12px 10px 10px;
}

.form-layout {
    display: flex;
    flex-direction: column;
    gap: 10px;
    max-width: 640px;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 4px;
    font-size: 12px;
}

.form-group label {
    font-size: 12px;
    color: var(--text-muted);
}

.form-hint {
    font-size: 11px;
    color: var(--text-muted);
}

.form-control {
    border-radius: 999px;
    border: 1px solid rgba(255,255,255,0.16);
    background: rgba(0,0,0,0.35);
    color: var(--text-main);
    font-size: 12px;
    padding: 7px 10px;
    outline: none;
}

.form-control::placeholder {
    color: var(--text-muted);
}

.form-control:focus {
    border-color: var(--accent);
}

.form-textarea {
    border-radius: 14px;
    min-height: 140px;
    resize: vertical;
    line-height: 1.4;
    font-family: inherit;
}

/* Alerts */
.alert {
    border-radius: 14px;
    padding: 8px 10px;
    font-size: 12px;
}

.alert-error {
    background: rgba(255, 92, 122, 0.14);
    border: 1px solid rgba(255, 92, 122, 0.65);
    color: #ffd7de;
}

.alert-success {
    background: rgba(53, 212, 158, 0.18);
    border: 1px solid rgba(53, 212, 158, 0.7);
    color: #c4ffe4;
}

.sidebar-footer-meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}

.sidebar-lang {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.sidebar-lang-label {
    font-size: 10px;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    opacity: 0.7;
}

.lang-pill-group {
    display: flex;
    gap: 6px;
}

.lang-pill {
    padding: 5px 12px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid transparent;
    font-size: 11px;
    text-decoration: none;
    color: inherit;
    display: inline-flex;
    align-items: center;
    transition: all 0.15s ease;
}

.lang-pill:hover {
    border-color: var(--accent);
    background: rgba(53, 212, 158, 0.15);
}


.lang-pill.active {
    border-color: var(--accent);
    background: var(--accent-soft);
    color: #fff;
}

.sidebar-logout {
    white-space: nowrap;
    font-size: 11px;
    padding: 6px 14px;
}

.track-download-locked {
    font-size: 11px;
    color: var(--text-muted);
}

/* Disabled primary button */
.btn-disabled {
    opacity: 0.5;
    cursor: not-allowed;
    background: linear-gradient(
        135deg,
        rgba(255,255,255,0.15),
        rgba(255,255,255,0.08)
    );
    color: var(--text-muted);
    box-shadow: none;
}

/* Disabled chip button */
.btn-chip-disabled {
    opacity: 0.5;
    cursor: not-allowed;
    background: rgba(255,255,255,0.04);
    border-color: rgba(255,255,255,0.08);
    color: var(--text-muted);
}

/* Blokeret download-knap i track-listen */
.btn-chip-blocked {
    background: rgba(255, 92, 122, 0.16);      /* rød-ish baggrund */
    border-color: rgba(255, 92, 122, 0.7);     /* rød kant */
    color: #ffb3c2;                            /* lys rød tekst */
    cursor: not-allowed;
    pointer-events: none;
    white-space: nowrap;                       /* så "Download blokeret" ikke knækker i to linjer */
}

.btn-chip-blocked:hover {
    background: rgba(255, 92, 122, 0.2);
}

.btn-chip.btn-chip-blocked {
    background: linear-gradient(
        135deg,
        rgba(255, 92, 122, 0.95),
        rgba(244, 67, 54, 0.95)
    );
    border-color: rgba(255, 92, 122, 0.9);
    color: #fff;
    cursor: not-allowed;
    pointer-events: none;
    box-shadow: none;
    opacity: 0.95;
}

.action-cell {
    display: flex;
    flex-direction: row;   /* lodret */
    align-items: flex-start;  /* venstrejusteret */
    gap: 8px;
    min-width: 140px;         /* ens bredde */
}

.action-cell .link-chip,
.action-cell form {
    width: 100%;
}

.action-cell .link-chip {
    text-align: center;
}

.limit-modal-backdrop {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.75);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 999;
}

.limit-modal {
    width: 100%;
    max-width: 420px;
    border-radius: 20px;
    background: radial-gradient(circle at top left,
        rgba(90, 120, 255, 0.18),
        rgba(10, 10, 20, 0.96)
    );
    border: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: 0 26px 60px rgba(0, 0, 0, 0.8);
    padding: 18px 20px 16px;
    color: var(--text-main);
}

.limit-modal-title {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 6px;
}

.limit-modal-text {
    font-size: 13px;
    color: var(--text-muted);
    margin-bottom: 12px;
}

.limit-modal-actions {
    display: flex;
    justify-content: flex-end;
    gap: 8px;
}

.btn-ghost-small {
    border-radius: 999px;
    padding: 7px 14px;
    border: 1px solid rgba(255, 255, 255, 0.18);
    background: rgba(0, 0, 0, 0.3);
    color: var(--text-main);
    font-size: 12px;
    cursor: pointer;
}
.btn-ghost-small:hover {
    background: rgba(255, 255, 255, 0.06);
}

.download-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.65);
    backdrop-filter: blur(6px);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
}

.download-popup {
    max-width: 400px;
    border-radius: 22px;
    background: rgba(10,10,18,0.96);
    border: 1px solid rgba(255,255,255,0.08);
    padding: 22px;
    box-shadow: 0 30px 80px rgba(0,0,0,0.9);
    text-align: center;
}

.popup-title {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 8px;
}

.popup-text {
    font-size: 13px;
    color: var(--text-muted);
    margin-bottom: 16px;
}

/* ==== CUSTOM SCROLLBAR TIL MAIN-INDHOLDET ==== */

/* Firefox */
.main {
    scrollbar-width: thin; /* tynd scrollbar */
    scrollbar-color: var(--accent) rgba(255, 255, 255, 0.05);
}

/* WebKit (Chrome, Edge, Safari) */
.main::-webkit-scrollbar {
    width: 10px;              /* bredde på baren */
}

.main::-webkit-scrollbar-track {
    background: linear-gradient(
        180deg,
        rgba(255, 255, 255, 0.02),
        rgba(0, 0, 0, 0.6)
    );
    border-radius: 999px;
    box-shadow:
        inset 0 0 0 1px rgba(255, 255, 255, 0.04),
        inset 0 0 8px rgba(0, 0, 0, 0.9);
}

.main::-webkit-scrollbar-thumb {
    border-radius: 999px;
    background: linear-gradient(
        180deg,
        var(--accent),
        var(--accent-strong)
    );
    box-shadow:
        0 0 0 1px rgba(0, 0, 0, 0.6),
        0 6px 14px rgba(0, 0, 0, 0.9);
}

/* hover-effekt – bare lige lidt ekstra shine */
.main::-webkit-scrollbar-thumb:hover {
    filter: brightness(1.1);
}


.sidebar-player audio {
    width: 100%;
    display: block;
}

.track-actions .btn-chip {
    padding: 4px 10px;
    font-size: 11px;
    white-space: nowrap;
}

.sidebar-player {
    margin-top: 12px;
    padding: 10px 12px;
    border-radius: 18px;
    background: rgba(0, 0, 0, 0.4);
    border: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: 0 18px 40px rgba(0,0,0,0.7);
}

.sidebar-player-title {
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 0.14em;
    color: var(--text-muted);
    margin-bottom: 6px;
}

.sidebar-player-meta {
    margin-top: 6px;
    font-size: 11px;
    color: var(--text-muted);
}

.player-empty {
    text-align: center;
    padding: 10px 6px;
    color: var(--text-muted);
}

.player-empty-icon {
    font-size: 22px;
    margin-bottom: 4px;
    opacity: 0.8;
}

.player-empty-title {
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.04em;
}

.player-empty-sub {
    font-size: 11px;
    opacity: 0.7;
    margin-top: 2px;
}