/* _content/TrackX.WebGUI/Components/Layout/MainLayout.razor.rz.scp.css */
/* MainLayout — scoped CSS */

.page[b-zl072uxc8b] {
    position: relative;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

main[b-zl072uxc8b] {
    flex: 1;
    width: 100%;
    min-width: 0;
}

/* Blazor Error UI (global, hier als Fallback) */
#blazor-error-ui[b-zl072uxc8b] {
    color-scheme: light only;
    background: lightyellow;
    bottom: 0;
    box-shadow: 0 -1px 2px rgba(0, 0, 0, 0.2);
    box-sizing: border-box;
    display: none;
    left: 0;
    padding: 0.6rem 1.25rem 0.7rem 1.25rem;
    position: fixed;
    width: 100%;
    z-index: 1000;
}

#blazor-error-ui .dismiss[b-zl072uxc8b] {
    cursor: pointer;
    position: absolute;
    right: 0.75rem;
    top: 0.5rem;
}
/* _content/TrackX.WebGUI/Components/Layout/NavMenu.razor.rz.scp.css */
/* ================================================================
   TRACKX NAVBAR — NavMenu.razor.css
   ================================================================ */

/* ----------------------------------------------------------------
   DESKTOP NAVBAR
   ---------------------------------------------------------------- */
.cyber-nav[b-0ryvb0er7v] {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 70px;
    background: rgba(10, 5, 26, 0.95);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    border-bottom: 2px solid #ff0a96;
    box-shadow: 0 0 24px rgba(255, 10, 150, 0.25);
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 clamp(16px, 3vw, 40px);
    z-index: 1000;
}

/* Logo */
.logo[b-0ryvb0er7v] {
    font-family: 'Syncopate', sans-serif;
    font-size: clamp(1.1rem, 2.5vw, 1.7rem);
    font-weight: 900;
    letter-spacing: 3px;
    text-transform: uppercase;
    user-select: none;
}

.logo-pink[b-0ryvb0er7v] { color: #ff0a96; text-shadow: 0 0 12px rgba(255, 10, 150, 0.7); }
.logo-cyan[b-0ryvb0er7v]  { color: #00ffff; text-shadow: 0 0 12px rgba(0, 255, 255, 0.7); }

/* Center nav links — absolute so they're always truly centered */
.nav-center[b-0ryvb0er7v] {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    align-items: center;
    gap: 8px;
    pointer-events: none; /* let clicks through to behind */
}

.nav-center a[b-0ryvb0er7v] {
    pointer-events: all;
}

.nav-link[b-0ryvb0er7v] {
    color: rgba(255, 255, 255, 0.75);
    text-decoration: none;
    text-transform: uppercase;
    font-family: 'Exo 2', sans-serif;
    font-weight: 700;
    font-size: 0.82rem;
    letter-spacing: 1.5px;
    padding: 6px 14px;
    border-radius: 6px;
    transition: color 0.2s, background 0.2s;
    white-space: nowrap;
    position: relative;
}

.nav-link:hover[b-0ryvb0er7v],
.nav-link.active[b-0ryvb0er7v] {
    color: #00ffff;
    background: rgba(0, 255, 255, 0.08);
    text-shadow: 0 0 8px rgba(0, 255, 255, 0.5);
}

/* Right section */
.nav-right[b-0ryvb0er7v] {
    display: flex;
    align-items: center;
    gap: 12px;
    z-index: 2;
    align-self: stretch;  /* lets nav-right fill the 70px navbar height */
}

.nav-icons[b-0ryvb0er7v] {
    display: flex;
    align-items: center;
    gap: 4px;
}

.icon-btn[b-0ryvb0er7v] {
    background: transparent;
    border: none;
    color: rgba(255, 255, 255, 0.65);
    font-size: 1.1rem;
    cursor: pointer;
    transition: color 0.2s, transform 0.2s;
    position: relative;
    padding: 8px;
    line-height: 1;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
}

.icon-btn:hover[b-0ryvb0er7v] {
    color: #00ffff;
    background: rgba(0, 255, 255, 0.08);
}

.spotify-btn:hover[b-0ryvb0er7v] { color: #1DB954 !important; background: rgba(29, 185, 84, 0.08) !important; }

.notif-dot[b-0ryvb0er7v] {
    position: absolute;
    top: 6px;
    right: 6px;
    width: 7px;
    height: 7px;
    background: #ff0a96;
    border-radius: 50%;
    box-shadow: 0 0 6px #ff0a96;
}

/* Profile widget */
.nav-profile[b-0ryvb0er7v] {
    display: flex;
    align-items: center;
    gap: 10px;
    align-self: stretch;   /* stretch to full navbar height */
    padding: 0 0 0 4px;
}

.nav-username[b-0ryvb0er7v] {
    font-family: 'Exo 2', sans-serif;
    font-size: 1.05rem;
    font-weight: 700;
    color: #00ffff;
    max-width: 160px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    text-shadow: 0 0 10px rgba(0,255,255,.45);
    letter-spacing: 1px;
}

.nav-avatar[b-0ryvb0er7v] {
    align-self: stretch;   /* fills the full 70px */
    width: 52px;
    display: flex;
    align-items: stretch;
    overflow: hidden;
    flex-shrink: 0;
    text-decoration: none;
    transition: box-shadow .22s;
}

.nav-avatar:hover[b-0ryvb0er7v] {
    box-shadow: 0 0 22px rgba(255, 10, 150, 0.18);
}

.nav-avatar img[b-0ryvb0er7v] {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center top;
    display: block;
}

/* Language switcher */
.lang-switcher[b-0ryvb0er7v] {
    display: flex;
    align-items: center;
    gap: 4px;
}

.lang-btn[b-0ryvb0er7v] {
    background: transparent;
    border: 1px solid rgba(255,255,255,0.12);
    color: rgba(255,255,255,0.45);
    font-family: 'Exo 2', sans-serif;
    font-size: 0.68rem;
    font-weight: 700;
    letter-spacing: 1px;
    padding: 4px 7px;
    border-radius: 5px;
    text-decoration: none;
    cursor: pointer;
    transition: color 0.2s, border-color 0.2s, background 0.2s;
    line-height: 1;
}

.lang-btn:hover[b-0ryvb0er7v] {
    color: #00ffff;
    border-color: rgba(0,255,255,0.4);
    background: rgba(0,255,255,0.06);
}

.lang-btn.lang-active[b-0ryvb0er7v] {
    color: #00ffff;
    border-color: rgba(0,255,255,0.5);
    background: rgba(0,255,255,0.1);
}

.lang-sep[b-0ryvb0er7v] {
    color: rgba(255,255,255,0.15);
    font-size: 0.65rem;
    line-height: 1;
}

/* Drawer language row */
.drawer-lang[b-0ryvb0er7v] {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 13px 14px;
    color: rgba(255,255,255,0.82);
    font-family: 'Exo 2', sans-serif;
    font-size: 1rem;
    font-weight: 600;
    border-radius: 10px;
    margin-bottom: 2px;
}

.drawer-lang i[b-0ryvb0er7v] {
    width: 22px;
    text-align: center;
    font-size: 1rem;
    color: #ff0a96;
    flex-shrink: 0;
}

.drawer-lang > span[b-0ryvb0er7v] {
    flex: 1;
}

.drawer-lang-btns[b-0ryvb0er7v] {
    display: flex;
    align-items: center;
    gap: 6px;
}

/* Spotify modal */
.spotify-modal-style[b-0ryvb0er7v] {
    background: #0a051a;
    border: 2px solid #1DB954;
    color: white;
    box-shadow: 0 0 30px rgba(29, 185, 84, 0.3);
}

/* ----------------------------------------------------------------
   HAMBURGER BUTTON
   ---------------------------------------------------------------- */
.hamburger[b-0ryvb0er7v] {
    display: none;          /* Nur auf Mobile sichtbar */
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 5px;
    width: 44px;
    height: 44px;
    background: rgba(255, 10, 150, 0.08);
    border: 1px solid rgba(255, 10, 150, 0.35);
    border-radius: 10px;
    cursor: pointer;
    flex-shrink: 0;
    padding: 0;
    transition: background 0.2s, border-color 0.2s;
}

.hamburger:hover[b-0ryvb0er7v] {
    background: rgba(255, 10, 150, 0.18);
    border-color: rgba(255, 10, 150, 0.7);
}

.hamburger span[b-0ryvb0er7v] {
    display: block;
    width: 20px;
    height: 2px;
    background: #fff;
    border-radius: 2px;
    transition: transform 0.28s ease, opacity 0.2s ease;
    transform-origin: center;
}

/* X-Animation wenn geöffnet */
.hamburger.is-open span:nth-child(1)[b-0ryvb0er7v] { transform: translateY(7px) rotate(45deg); }
.hamburger.is-open span:nth-child(2)[b-0ryvb0er7v] { opacity: 0; transform: scaleX(0); }
.hamburger.is-open span:nth-child(3)[b-0ryvb0er7v] { transform: translateY(-7px) rotate(-45deg); }
.hamburger.is-open[b-0ryvb0er7v] { background: rgba(255, 10, 150, 0.2); border-color: #ff0a96; }

/* ----------------------------------------------------------------
   MOBILE OVERLAY (dunkler Hintergrund)
   ---------------------------------------------------------------- */
.mobile-overlay[b-0ryvb0er7v] {
    display: none;
    position: fixed;
    inset: 70px 0 0 0;
    background: rgba(0, 0, 0, 0.65);
    z-index: 998;
    backdrop-filter: blur(2px);
    -webkit-backdrop-filter: blur(2px);
}

.mobile-overlay.is-open[b-0ryvb0er7v] {
    display: block;
}

/* ----------------------------------------------------------------
   MOBILE DRAWER
   ---------------------------------------------------------------- */
.mobile-drawer[b-0ryvb0er7v] {
    position: fixed;
    top: 70px;
    left: 0;
    width: 100%;
    max-height: 0;
    overflow: hidden;
    background: rgba(5, 1, 20, 0.98);
    border-bottom: 2px solid rgba(255, 10, 150, 0.4);
    z-index: 999;
    transition: max-height 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    flex-direction: column;
}

.mobile-drawer.is-open[b-0ryvb0er7v] {
    max-height: calc(100vh - 70px);
    overflow-y: auto;
}

/* Drawer: Kopfzeile */
.drawer-header[b-0ryvb0er7v] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px 20px 16px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.07);
    background: rgba(255, 10, 150, 0.04);
}

.drawer-user[b-0ryvb0er7v] {
    display: flex;
    align-items: center;
    gap: 14px;
}

.drawer-avatar[b-0ryvb0er7v] {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    border: 2px solid #00ffff;
    box-shadow: 0 0 12px rgba(0, 255, 255, 0.3);
    object-fit: cover;
}

.drawer-user-info[b-0ryvb0er7v] {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.drawer-username[b-0ryvb0er7v] {
    font-family: 'Exo 2', sans-serif;
    font-size: 1rem;
    font-weight: 700;
    color: #fff;
    letter-spacing: 0.5px;
}

.drawer-role[b-0ryvb0er7v] {
    font-family: 'Rajdhani', sans-serif;
    font-size: 0.7rem;
    font-weight: 700;
    color: #ff0a96;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.drawer-close[b-0ryvb0er7v] {
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.12);
    color: rgba(255, 255, 255, 0.6);
    width: 36px;
    height: 36px;
    border-radius: 8px;
    cursor: pointer;
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.15s, color 0.15s;
    flex-shrink: 0;
}

.drawer-close:hover[b-0ryvb0er7v] {
    background: rgba(255, 10, 150, 0.15);
    color: #ff0a96;
    border-color: rgba(255, 10, 150, 0.4);
}

/* Drawer: Sections */
.drawer-section[b-0ryvb0er7v] {
    padding: 12px 12px 8px;
}

.drawer-section-label[b-0ryvb0er7v] {
    font-family: 'Rajdhani', sans-serif;
    font-size: 0.65rem;
    font-weight: 700;
    color: rgba(255, 255, 255, 0.3);
    text-transform: uppercase;
    letter-spacing: 2.5px;
    padding: 0 8px;
    margin-bottom: 4px;
    margin-top: 0;
}

.drawer-link[b-0ryvb0er7v] {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 13px 14px;
    color: rgba(255, 255, 255, 0.82);
    text-decoration: none;
    font-family: 'Exo 2', sans-serif;
    font-size: 1rem;
    font-weight: 600;
    letter-spacing: 0.3px;
    border-radius: 10px;
    cursor: pointer;
    background: none;
    border: none;
    width: 100%;
    text-align: left;
    transition: background 0.15s, color 0.15s;
    margin-bottom: 2px;
}

.drawer-link i[b-0ryvb0er7v] {
    width: 22px;
    text-align: center;
    font-size: 1rem;
    color: #ff0a96;
    flex-shrink: 0;
    transition: color 0.15s;
}

.drawer-link:hover[b-0ryvb0er7v] {
    background: rgba(255, 10, 150, 0.1);
    color: #fff;
}

.drawer-link:hover i[b-0ryvb0er7v] {
    color: #ff0a96;
    filter: drop-shadow(0 0 6px rgba(255, 10, 150, 0.6));
}

.drawer-logout[b-0ryvb0er7v] {
    color: rgba(255, 100, 100, 0.85);
}

.drawer-logout i[b-0ryvb0er7v] {
    color: rgba(255, 100, 100, 0.7);
}

.drawer-logout:hover[b-0ryvb0er7v] {
    background: rgba(255, 60, 60, 0.1);
    color: #ff6060;
}

.drawer-logout:hover i[b-0ryvb0er7v] {
    color: #ff6060;
    filter: none;
}

.drawer-divider[b-0ryvb0er7v] {
    height: 1px;
    background: rgba(255, 255, 255, 0.07);
    margin: 4px 20px;
}

/* Drawer: Footer */
.drawer-footer[b-0ryvb0er7v] {
    padding: 16px 20px 20px;
    text-align: center;
    font-family: 'Syncopate', sans-serif;
    font-size: 0.9rem;
    font-weight: 900;
    letter-spacing: 3px;
    opacity: 0.4;
    margin-top: auto;
}

/* ----------------------------------------------------------------
   RESPONSIVE: Auf welchem Breakpoint was passiert
   ---------------------------------------------------------------- */

/* Tablet (< 900px): Center-Nav ausblenden */
@media (max-width: 900px) {
    .nav-center[b-0ryvb0er7v] {
        display: none;
    }
}

/* Mobil (< 640px): Hamburger zeigen, Desktop-Elemente verstecken */
@media (max-width: 640px) {
    .hamburger[b-0ryvb0er7v] {
        display: flex;
    }

    .desktop-only[b-0ryvb0er7v] {
        display: none !important;
    }

    .nav-icons[b-0ryvb0er7v] {
        gap: 0;
    }

    /* Nur Spotify und Bell bleiben sichtbar */
    .icon-btn[b-0ryvb0er7v] {
        padding: 7px;
    }
}

/* Sehr kleine Geräte */
@media (max-width: 380px) {
    .cyber-nav[b-0ryvb0er7v] {
        padding: 0 12px;
    }

    .logo[b-0ryvb0er7v] {
        font-size: 1rem;
        letter-spacing: 2px;
    }

    .hamburger[b-0ryvb0er7v] {
        width: 40px;
        height: 40px;
    }
}
