/* /Components/Layout/MainLayout.razor.rz.scp.css */
.page[b-44fwsoywza] {
    position: relative;
    display: flex;
    flex-direction: column;
}

main[b-44fwsoywza] { flex: 1; overflow: hidden; }

/* ── Sidebar ── */
.sidebar[b-44fwsoywza] {
    background: #FFFFFF;
    border-right: 1px solid #EDE9FE;
}

/* ── Top bar ── */
.top-row[b-44fwsoywza] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 3.5rem;
    background: rgba(255, 255, 255, 0.9);
    border-bottom: 1px solid #EDE9FE;
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    position: sticky;
    top: 0;
    z-index: 10;
}

.top-breadcrumb[b-44fwsoywza] {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    font-size: 0.85rem;
}
.top-app[b-44fwsoywza] {
    font-weight: 800;
    color: #6D28D9;
    letter-spacing: -0.01em;
    font-size: 0.9rem;
}
.top-chevron[b-44fwsoywza] { color: #D1D5DB; font-size: 1.1rem; line-height: 1; }
.top-page[b-44fwsoywza] { font-weight: 500; color: #9CA3AF; font-size: 0.82rem; }

.top-right[b-44fwsoywza] { display: flex; align-items: center; gap: 0.6rem; }

.top-tool-btn[b-44fwsoywza] {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(109,40,217,0.16);
    background: linear-gradient(180deg, #FFFFFF 0%, #F8F7FF 100%);
    color: #5B21B6;
    border-radius: 999px;
    font-size: 0.74rem;
    font-weight: 800;
    min-height: 2rem;
    min-width: 2.65rem;
    padding: 0.34rem 0.9rem;
    line-height: 1;
    box-shadow: 0 1px 3px rgba(30,27,75,0.05);
    transition: background-color .16s ease, border-color .16s ease, transform .16s ease, box-shadow .16s ease;
}

.top-tool-btn:hover[b-44fwsoywza] {
    background: #F5F3FF;
    border-color: rgba(109,40,217,0.28);
    transform: translateY(-1px);
    box-shadow: 0 4px 10px rgba(109,40,217,0.10);
}

.top-tool-btn:active[b-44fwsoywza] {
    transform: translateY(0);
}

.top-status-pill[b-44fwsoywza] {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    font-size: 0.74rem;
    font-weight: 700;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    padding: 0.28rem 0.75rem;
    border-radius: 99px;
    background: #ECFDF5;
    border: 1px solid rgba(5,150,105,0.2);
    color: #065F46;
}

.top-user-chip[b-44fwsoywza] {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    border: 1px solid rgba(109,40,217,0.16);
    background: #fff;
    border-radius: 999px;
    padding: 0.22rem 0.65rem 0.22rem 0.22rem;
    box-shadow: 0 1px 3px rgba(30,27,75,0.05);
    min-height: 2rem;
}

.top-user-avatar[b-44fwsoywza] {
    width: 1.55rem;
    height: 1.55rem;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #6D28D9, #7C3AED);
    color: #fff;
    font-size: 0.67rem;
    font-weight: 800;
    letter-spacing: 0.02em;
}

.top-user-text[b-44fwsoywza] {
    display: inline-flex;
    flex-direction: column;
    line-height: 1.05;
}

.top-user-text strong[b-44fwsoywza] {
    color: #4C1D95;
    font-size: 0.74rem;
    font-weight: 800;
}

.top-user-text small[b-44fwsoywza] {
    color: #7C3AED;
    font-size: 0.63rem;
    font-weight: 700;
    opacity: 0.85;
}
.status-pulse[b-44fwsoywza] {
    width: 6px; height: 6px;
    border-radius: 50%;
    background: #10B981;
    box-shadow: 0 0 6px rgba(16,185,129,0.65);
    animation: blink-b-44fwsoywza 2.4s ease-in-out infinite;
    flex-shrink: 0;
}
@keyframes blink-b-44fwsoywza {
    0%, 100% { opacity: 1; }
    50%       { opacity: 0.3; }
}

@media (max-width: 640.98px) {
    .top-row[b-44fwsoywza] { height: auto; min-height: 3rem; }
    .top-right[b-44fwsoywza] { gap: 0.4rem; flex-wrap: wrap; justify-content: flex-end; }
    .top-tool-btn[b-44fwsoywza] { min-height: 1.9rem; padding: 0.3rem 0.7rem; }
}

@media (min-width: 641px) {
    .page[b-44fwsoywza] { flex-direction: row; }
    .sidebar[b-44fwsoywza] { width: 245px; height: 100vh; position: sticky; top: 0; overflow-y: auto; }
    .top-row[b-44fwsoywza], article[b-44fwsoywza] { padding-left: 2rem !important; padding-right: 2rem !important; }
}
/* /Components/Layout/NavMenu.razor.rz.scp.css */
/* ── Logo header (gradient) ─────────────────────── */
.sidebar-logo[b-7s2yfaigwx] {
    background: linear-gradient(135deg, #6D28D9, #7C3AED 60%, #9F67FA);
    padding: 1.3rem 1.2rem 1.2rem;
    display: flex;
    align-items: center;
    gap: 0.7rem;
    position: relative;
    overflow: hidden;
}
.sidebar-logo[b-7s2yfaigwx]::after {
    content: '';
    position: absolute;
    top: -30px; right: -30px;
    width: 100px; height: 100px;
    background: rgba(255,255,255,0.07);
    border-radius: 50%;
}
.logo-mark[b-7s2yfaigwx] {
    width: 34px; height: 34px;
    background: rgba(255,255,255,0.2);
    border-radius: 10px;
    border: 1px solid rgba(255,255,255,0.18);
    display: flex; align-items: center; justify-content: center;
    flex-shrink: 0;
    position: relative;
}
.logo-name[b-7s2yfaigwx] {
    font-size: 0.97rem;
    font-weight: 800;
    color: #fff;
    letter-spacing: -0.01em;
    position: relative;
}
.logo-ai-badge[b-7s2yfaigwx] {
    margin-left: 0.3rem;
    font-size: 0.6rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    padding: 0.1rem 0.4rem;
    border-radius: 99px;
    background: rgba(76,29,149,0.88);
    color: #FFFFFF;
    vertical-align: middle;
    position: relative;
    top: -1px;
}

/* ── Section labels ──────────────────────────────── */
.nav-section-label[b-7s2yfaigwx] {
    font-size: 0.64rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: #C4B5FD;
    padding: 1rem 1.3rem 0.35rem;
    opacity: 0.65;
}

/* ── Nav items ───────────────────────────────────── */
.nav-item[b-7s2yfaigwx] {
    font-size: 0.9rem;
    padding-bottom: 0.1rem;
}
.nav-item[b-7s2yfaigwx]  .nav-link {
    color: #374151;
    background: none;
    border-radius: 10px;
    margin: 0 0.6rem;
    height: 2.7rem;
    display: flex;
    align-items: center;
    gap: 0.6rem;
    padding: 0 0.9rem;
    width: calc(100% - 1.2rem);
    font-weight: 500;
    transition: all 130ms ease;
    text-decoration: none;
    border: none;
}
.nav-item[b-7s2yfaigwx]  a.active {
    background: #EDE9FE;
    color: #5B21B6;
    font-weight: 600;
}
.nav-item[b-7s2yfaigwx]  .nav-link:hover {
    background: #F5F3FF;
    color: #7C3AED;
}

/* ── Nav icons ───────────────────────────────────── */
.nav-icon[b-7s2yfaigwx] {
    display: flex; align-items: center;
    width: 17px; height: 17px;
    flex-shrink: 0;
    opacity: 0.6;
    transition: opacity 130ms;
}
.nav-item[b-7s2yfaigwx]  a.active .nav-icon { opacity: 1; }
.nav-item[b-7s2yfaigwx]  .nav-link:hover .nav-icon { opacity: 0.9; }

/* ── Dev access links ────────────────────────────── */
.nav-dev[b-7s2yfaigwx] {
    height: 2.4rem !important;
    font-size: 0.82rem !important;
    color: #9CA3AF !important;
    font-weight: 400 !important;
    gap: 0.5rem !important;
}
.nav-dev:hover[b-7s2yfaigwx] { color: #7C3AED !important; background: #F5F3FF !important; }
.dev-dot[b-7s2yfaigwx] {
    display: inline-block;
    width: 7px; height: 7px;
    border-radius: 50%;
    flex-shrink: 0;
    opacity: 0.85;
}

/* ── Divider ─────────────────────────────────────── */
.nav-divider[b-7s2yfaigwx] {
    height: 1px;
    background: #F3F4F6;
    margin: 0.5rem 1.2rem;
}

/* ── Sign out ────────────────────────────────────── */
.nav-signout[b-7s2yfaigwx] { color: #9CA3AF !important; }
.nav-signout:hover[b-7s2yfaigwx] { color: #9F1239 !important; background: #FFE4E6 !important; }

/* ── Mobile toggler ──────────────────────────────── */
.navbar-toggler[b-7s2yfaigwx] {
    appearance: none;
    cursor: pointer;
    width: 3.5rem; height: 2.5rem;
    position: absolute; top: 0.5rem; right: 1rem;
    border: 1px solid #EDE9FE;
    background: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba%28109, 40, 217, 0.55%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e") no-repeat center/1.75rem rgba(109,40,217,0.04);
    border-radius: 8px;
}

.nav-scrollable[b-7s2yfaigwx] { display: none; }
.navbar-toggler:checked ~ .nav-scrollable[b-7s2yfaigwx] { display: block; }

@media (min-width: 641px) {
    .navbar-toggler[b-7s2yfaigwx] { display: none; }
    .nav-scrollable[b-7s2yfaigwx] { display: block; }
}
