/* /Layout/MainLayout.razor.rz.scp.css */
/* Mobile-first layout */
.page[b-niffk28zij] {
    position: relative;
    display: flex;
    flex-direction: column;
    min-height: 100dvh;
    max-width: 100vw;
    overflow-x: hidden;
}

main[b-niffk28zij] {
    flex: 1;
    padding-top: 56px; /* space for top nav bar on mobile */
    padding-bottom: 68px; /* space for bottom tab bar on mobile */
    overflow-x: hidden;
    min-width: 0;
}

.content[b-niffk28zij] {
    padding: 1rem 0.75rem 0;
    max-width: 100%;
    overflow-x: hidden;
    box-sizing: border-box;
}

/* Desktop: sidebar layout */
@media (min-width: 768px) {
    .page[b-niffk28zij] {
        flex-direction: row;
    }

    main[b-niffk28zij] {
        flex: 1;
        padding-top: 0; /* no top bar on desktop */
        padding-bottom: 0; /* no bottom bar on desktop */
    }

    .content[b-niffk28zij] {
        padding: 1.5rem 1rem 0;
    }
}

/* Incoming call modal */
.incoming-call-modal[b-niffk28zij] {
    max-width: 340px;
    width: 100%;
}
/* /Layout/NavMenu.razor.rz.scp.css */
/* ===========================
   Mobile: Glympsie Top Nav Bar
   =========================== */
.gn-topbar[b-eelnlz99yy] {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1050;
    height: 56px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 10px;
    background: rgba(15, 23, 42, 0.85);
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.gn-topbar-center[b-eelnlz99yy] {
    justify-content: space-between;
}

/* ── Brand ── */
.gn-brand[b-eelnlz99yy] {
    display: flex;
    align-items: center;
    gap: 7px;
    text-decoration: none;
    -webkit-tap-highlight-color: transparent;
    flex-shrink: 0;
}

.gn-brand:hover[b-eelnlz99yy],
.gn-brand:focus[b-eelnlz99yy] {
    text-decoration: none;
}

.gn-brand-icon[b-eelnlz99yy] {
    width: 30px;
    height: 30px;
    background: rgba(249, 112, 102, 0.12);
    border: 1px solid rgba(249, 112, 102, 0.22);
    border-radius: 9px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 0 14px rgba(249, 112, 102, 0.12);
    flex-shrink: 0;
}

.gn-brand-text[b-eelnlz99yy] {
    font-family: 'Playfair Display', Georgia, serif;
    font-weight: 700;
    font-size: 17px;
    color: #f97066;
    letter-spacing: -0.3px;
    line-height: 1;
    text-shadow: 0 0 20px rgba(249, 112, 102, 0.35);
}

/* ── Top bar right area ── */
.gn-topbar-right[b-eelnlz99yy] {
    display: flex;
    align-items: center;
    gap: 8px;
}

/* ── Notification bell ── */
.gn-bell[b-eelnlz99yy] {
    position: relative;
    width: 38px;
    height: 38px;
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    background: rgba(255, 255, 255, 0.05);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(148, 163, 184, 0.7);
    transition: all 200ms cubic-bezier(0.4, 0, 0.2, 1);
    outline: none;
    -webkit-tap-highlight-color: transparent;
}

.gn-bell:hover[b-eelnlz99yy] {
    background: rgba(255, 255, 255, 0.08);
    color: #e2e8f0;
}

.gn-bell:active[b-eelnlz99yy] {
    transform: scale(0.92);
}

.gn-bell-sidebar[b-eelnlz99yy] {
    margin-left: auto;
    width: 34px;
    height: 34px;
    border-radius: 10px;
}

.gn-bell-badge[b-eelnlz99yy] {
    position: absolute;
    top: -4px;
    right: -4px;
    min-width: 16px;
    height: 16px;
    border-radius: 8px;
    font-size: 0.55rem;
    font-weight: 700;
    background: linear-gradient(135deg, #f97066, #fb7185);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 4px;
    line-height: 1;
    box-shadow: 0 0 8px rgba(249, 112, 102, 0.5);
    pointer-events: none;
}

/* ===========================
   Mobile: Bottom Tab Bar
   =========================== */
.gn-bottombar[b-eelnlz99yy] {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 1050;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: space-around;
    padding: 0 6px;
    padding-bottom: env(safe-area-inset-bottom, 0);
    background: rgba(15, 23, 42, 0.92);
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    border-top: 1px solid rgba(255, 255, 255, 0.06);
}

/* ── Individual tab (bottom bar) ── */
.gn-tab[b-eelnlz99yy] {
    position: relative;
    flex: 1;
    max-width: 72px;
    height: 48px;
    border-radius: 12px;
    border: none;
    background: transparent;
    cursor: pointer;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 3px;
    transition:
        color 200ms cubic-bezier(0.4, 0, 0.2, 1),
        transform 200ms cubic-bezier(0.4, 0, 0.2, 1);
    outline: none;
    -webkit-tap-highlight-color: transparent;
    text-decoration: none;
}

.gn-tab svg[b-eelnlz99yy] {
    width: 20px;
    height: 20px;
    stroke: rgba(148, 163, 184, 0.55);
    fill: none;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
    flex-shrink: 0;
    transition: stroke 200ms cubic-bezier(0.4, 0, 0.2, 1);
}

/* Tab label */
.gn-tab-label[b-eelnlz99yy] {
    font-size: 0.6rem;
    font-weight: 500;
    color: rgba(148, 163, 184, 0.5);
    transition: color 200ms cubic-bezier(0.4, 0, 0.2, 1);
    line-height: 1;
}

/* Active state */
.gn-tab.active svg[b-eelnlz99yy] {
    stroke: #f97066;
}

.gn-tab.active .gn-tab-label[b-eelnlz99yy] {
    color: #f97066;
}

/* Hover */
.gn-tab:hover:not(.active) svg[b-eelnlz99yy] {
    stroke: rgba(226, 232, 240, 0.8);
}

.gn-tab:hover:not(.active) .gn-tab-label[b-eelnlz99yy] {
    color: rgba(226, 232, 240, 0.7);
}

.gn-tab:hover[b-eelnlz99yy],
.gn-tab:focus[b-eelnlz99yy] {
    text-decoration: none;
}

/* Tap press */
.gn-tab:active[b-eelnlz99yy] {
    transform: scale(0.92);
}

/* ── Badge on tabs ── */
.gn-badge[b-eelnlz99yy] {
    position: absolute;
    top: -3px;
    right: 2px;
    min-width: 14px;
    height: 14px;
    border-radius: 7px;
    font-size: 0.5rem;
    z-index: 2;
    font-weight: 700;
    background: linear-gradient(135deg, #f97066, #fb7185);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 3px;
    line-height: 1;
    box-shadow: 0 0 8px rgba(249, 112, 102, 0.4);
    pointer-events: none;
}

/* ===========================
   Desktop: Sidebar
   =========================== */
.gn-sidebar[b-eelnlz99yy] {
    flex-direction: column;
    width: 220px;
    height: 100vh;
    position: sticky;
    top: 0;
    background: linear-gradient(180deg, rgba(15, 23, 42, 1) 0%, rgba(15, 17, 35, 1) 100%);
    border-right: 1px solid rgba(255, 255, 255, 0.04);
    overflow-y: auto;
}

.gn-sidebar-header[b-eelnlz99yy] {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 1.25rem 1.25rem;
}

.gn-sidebar-nav[b-eelnlz99yy] {
    display: flex;
    flex-direction: column;
    gap: 2px;
    padding: 0.5rem 0.75rem;
    flex: 1;
}

.gn-sidebar-link[b-eelnlz99yy] {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.65rem 0.85rem;
    color: rgba(148, 163, 184, 0.7);
    text-decoration: none;
    font-size: 0.875rem;
    font-weight: 500;
    border-radius: 12px;
    transition: all 200ms cubic-bezier(0.4, 0, 0.2, 1);
    border: none;
    background: none;
    cursor: pointer;
    width: 100%;
    text-align: left;
}

.gn-sidebar-link svg[b-eelnlz99yy] {
    flex-shrink: 0;
}

.gn-sidebar-link:hover[b-eelnlz99yy] {
    background: rgba(255, 255, 255, 0.06);
    color: #e2e8f0;
    text-decoration: none;
}

.gn-sidebar-link.active[b-eelnlz99yy] {
    background: rgba(249, 112, 102, 0.12);
    color: #f97066;
    box-shadow: inset 0 0 0 1px rgba(249, 112, 102, 0.15);
}

/* ── Sidebar badge ── */
.gn-sidebar-badge[b-eelnlz99yy] {
    margin-left: auto;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 20px;
    height: 20px;
    padding: 0 6px;
    background: linear-gradient(135deg, #f97066, #fb7185);
    border-radius: 10px;
    font-size: 0.65rem;
    font-weight: 600;
    color: #fff;
    box-shadow: 0 0 8px rgba(249, 112, 102, 0.3);
}

.gn-sidebar-divider[b-eelnlz99yy] {
    height: 1px;
    background: rgba(255, 255, 255, 0.05);
    margin: 6px 0;
}

.gn-sidebar-footer[b-eelnlz99yy] {
    padding: 0.75rem;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    margin-top: auto;
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.gn-sidebar-logout[b-eelnlz99yy] {
    color: rgba(148, 163, 184, 0.5);
}

.gn-sidebar-logout:hover[b-eelnlz99yy] {
    color: #fca5a5;
    background: rgba(252, 165, 165, 0.08);
}

/* ===========================
   Notification Panel
   =========================== */
.gn-notif-overlay[b-eelnlz99yy] {
    position: fixed;
    inset: 0;
    z-index: 1060;
    background: rgba(0, 0, 0, 0.3);
}

.gn-notif-panel[b-eelnlz99yy] {
    position: fixed;
    top: 60px;
    right: 12px;
    z-index: 1070;
    width: 300px;
    max-width: calc(100vw - 24px);
    background: rgba(20, 27, 50, 0.97);
    backdrop-filter: blur(24px) saturate(180%);
    -webkit-backdrop-filter: blur(24px) saturate(180%);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 16px;
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.5);
    overflow: hidden;
    animation: gn-notif-slide-b-eelnlz99yy 200ms cubic-bezier(0.4, 0, 0.2, 1);
}

@keyframes gn-notif-slide-b-eelnlz99yy {
    from { opacity: 0; transform: translateY(-8px) scale(0.97); }
    to { opacity: 1; transform: translateY(0) scale(1); }
}

.gn-notif-header[b-eelnlz99yy] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 14px 16px 10px;
    font-size: 0.8rem;
    font-weight: 600;
    color: #e2e8f0;
    letter-spacing: 0.3px;
    text-transform: uppercase;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.gn-notif-close[b-eelnlz99yy] {
    background: none;
    border: none;
    cursor: pointer;
    padding: 4px;
    border-radius: 6px;
    color: rgba(148, 163, 184, 0.6);
    transition: all 150ms;
}

.gn-notif-close:hover[b-eelnlz99yy] {
    background: rgba(255, 255, 255, 0.08);
    color: #e2e8f0;
}

.gn-notif-item[b-eelnlz99yy] {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 16px;
    text-decoration: none;
    color: #cbd5e1;
    transition: background 150ms;
    cursor: pointer;
    background: none;
    border: none;
    width: 100%;
    font: inherit;
    text-align: left;
}

.gn-notif-item:hover[b-eelnlz99yy] {
    background: rgba(255, 255, 255, 0.05);
    text-decoration: none;
    color: #e2e8f0;
}

.gn-notif-icon[b-eelnlz99yy] {
    width: 36px;
    height: 36px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.gn-notif-icon-friends[b-eelnlz99yy] {
    background: rgba(99, 102, 241, 0.15);
    color: #818cf8;
}

.gn-notif-icon-messages[b-eelnlz99yy] {
    background: rgba(249, 112, 102, 0.15);
    color: #f97066;
}

.gn-notif-icon-calls[b-eelnlz99yy] {
    background: rgba(34, 197, 94, 0.15);
    color: #4ade80;
}

.gn-notif-text[b-eelnlz99yy] {
    display: flex;
    flex-direction: column;
    gap: 2px;
    flex: 1;
    min-width: 0;
}

.gn-notif-text strong[b-eelnlz99yy] {
    font-size: 0.8rem;
    font-weight: 600;
    color: #e2e8f0;
}

.gn-notif-text span[b-eelnlz99yy] {
    font-size: 0.7rem;
    color: rgba(148, 163, 184, 0.7);
}

.gn-notif-count[b-eelnlz99yy] {
    min-width: 22px;
    height: 22px;
    padding: 0 6px;
    background: linear-gradient(135deg, #f97066, #fb7185);
    border-radius: 11px;
    font-size: 0.7rem;
    font-weight: 600;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.gn-notif-empty[b-eelnlz99yy] {
    padding: 24px 16px;
    text-align: center;
    color: rgba(148, 163, 184, 0.5);
    font-size: 0.8rem;
}

/* Desktop: position panel below sidebar header bell */
@media (min-width: 768px) {
    .gn-notif-panel[b-eelnlz99yy] {
        top: 60px;
        right: auto;
        left: 230px;
        bottom: auto;
    }
}
