/* /Components/HelpPanel.razor.rz.scp.css */
/* ============================================================
   BPA PLATFORM — Help Guide Drawer Panel
   ============================================================ */

.help-drawer-overlay[b-1xznvvpj6t] {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.55);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    z-index: 1050;
    transition: opacity 0.2s ease-in-out;
}

.help-drawer-overlay.fade-in[b-1xznvvpj6t] {
    animation: fadeInOverlay-b-1xznvvpj6t 0.2s ease forwards;
}

.help-drawer-overlay.fade-out[b-1xznvvpj6t] {
    animation: fadeOutOverlay-b-1xznvvpj6t 0.18s ease forwards;
}

@keyframes fadeInOverlay-b-1xznvvpj6t {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes fadeOutOverlay-b-1xznvvpj6t {
    from { opacity: 1; }
    to { opacity: 0; }
}

.help-drawer[b-1xznvvpj6t] {
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    width: 480px;
    max-width: 92vw;
    background: var(--surface);
    border-left: 1px solid var(--border-strong);
    box-shadow: -8px 0 32px rgba(0, 0, 0, 0.45);
    z-index: 1060;
    display: flex;
    flex-direction: column;
    color: var(--text-primary);
    overflow: hidden;
}

.help-drawer.slide-in[b-1xznvvpj6t] {
    animation: slideInRight-b-1xznvvpj6t 0.24s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.help-drawer.slide-out[b-1xznvvpj6t] {
    animation: slideOutRight-b-1xznvvpj6t 0.18s cubic-bezier(0.4, 0, 1, 1) forwards;
}

@keyframes slideInRight-b-1xznvvpj6t {
    from { transform: translateX(100%); }
    to { transform: translateX(0); }
}

@keyframes slideOutRight-b-1xznvvpj6t {
    from { transform: translateX(0); }
    to { transform: translateX(100%); }
}

/* ── Header ── */
.help-header[b-1xznvvpj6t] {
    padding: 1.25rem 1.25rem 0.85rem;
    border-bottom: 1px solid var(--border);
    background: var(--surface-2);
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
    flex-shrink: 0;
}

.help-header-top[b-1xznvvpj6t] {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.help-title-badge[b-1xznvvpj6t] {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.25rem 0.6rem;
    background: var(--primary-dim);
    border: 1px solid var(--primary-glow);
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--primary-hover);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.help-badge-icon[b-1xznvvpj6t] {
    font-size: 0.9rem;
}

.help-close-btn[b-1xznvvpj6t] {
    background: transparent;
    border: none;
    color: var(--text-muted);
    font-size: 1.15rem;
    width: 32px;
    height: 32px;
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: var(--transition);
}

.help-close-btn:hover[b-1xznvvpj6t] {
    background: rgba(255, 255, 255, 0.1);
    color: var(--text-primary);
}

.help-title[b-1xznvvpj6t] {
    font-size: 1.18rem;
    font-weight: 700;
    color: var(--text-primary);
    margin: 0;
    line-height: 1.3;
}

.help-subtitle[b-1xznvvpj6t] {
    font-size: 0.84rem;
    color: var(--text-secondary);
    margin: 0;
    line-height: 1.45;
}

/* ── Progress Box ── */
.help-progress-box[b-1xznvvpj6t] {
    background: var(--surface-3);
    border: 1px solid var(--border);
    border-radius: 8px;
    padding: 0.65rem 0.85rem;
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
}

.help-progress-info[b-1xznvvpj6t] {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.78rem;
    color: var(--text-secondary);
}

.help-progress-percentage[b-1xznvvpj6t] {
    font-weight: 700;
    color: var(--primary);
}

.help-progress-track[b-1xznvvpj6t] {
    height: 6px;
    background: var(--border-strong);
    border-radius: 3px;
    overflow: hidden;
}

.help-progress-bar[b-1xznvvpj6t] {
    height: 100%;
    background: linear-gradient(90deg, var(--primary) 0%, var(--secondary) 100%);
    border-radius: 3px;
    transition: width 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ── Search & Controls ── */
.help-controls[b-1xznvvpj6t] {
    display: flex;
    flex-direction: column;
    gap: 0.45rem;
    margin-top: 0.2rem;
}

.help-search-wrapper[b-1xznvvpj6t] {
    position: relative;
    display: flex;
    align-items: center;
}

.help-search-icon[b-1xznvvpj6t] {
    position: absolute;
    left: 0.75rem;
    font-size: 0.85rem;
    color: var(--text-muted);
    pointer-events: none;
}

.help-search-input[b-1xznvvpj6t] {
    width: 100%;
    height: 34px;
    padding: 0 2rem 0 2.2rem;
    background: var(--surface);
    border: 1px solid var(--border-strong);
    border-radius: 6px;
    color: var(--text-primary);
    font-size: 0.82rem;
    outline: none;
    transition: var(--transition);
}

.help-search-input:focus[b-1xznvvpj6t] {
    border-color: var(--primary);
    box-shadow: 0 0 0 2px var(--primary-glow);
}

.help-search-clear[b-1xznvvpj6t] {
    position: absolute;
    right: 0.6rem;
    background: transparent;
    border: none;
    color: var(--text-muted);
    font-size: 1.1rem;
    cursor: pointer;
}

.help-actions-row[b-1xznvvpj6t] {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.help-action-link[b-1xznvvpj6t] {
    background: transparent;
    border: none;
    color: var(--primary);
    font-size: 0.75rem;
    font-weight: 500;
    cursor: pointer;
    padding: 0;
    text-decoration: underline;
}

.help-action-link:hover[b-1xznvvpj6t] {
    color: var(--primary-hover);
}

.help-action-link.reset[b-1xznvvpj6t] {
    color: var(--text-muted);
    text-decoration: none;
}

.help-action-link.reset:hover[b-1xznvvpj6t] {
    color: var(--danger-text);
}

/* ── Body ── */
.help-body[b-1xznvvpj6t] {
    flex: 1;
    overflow-y: auto;
    padding: 1.1rem;
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

/* Custom Scrollbar */
.help-body[b-1xznvvpj6t]::-webkit-scrollbar {
    width: 6px;
}
.help-body[b-1xznvvpj6t]::-webkit-scrollbar-track {
    background: transparent;
}
.help-body[b-1xznvvpj6t]::-webkit-scrollbar-thumb {
    background: var(--scrollbar-thumb);
    border-radius: 3px;
}
.help-body[b-1xznvvpj6t]::-webkit-scrollbar-thumb:hover {
    background: var(--scrollbar-hover);
}

.help-empty-search[b-1xznvvpj6t] {
    text-align: center;
    padding: 2.5rem 1rem;
    color: var(--text-muted);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
}

.help-empty-icon[b-1xznvvpj6t] {
    font-size: 2rem;
}

/* ── Steps Timeline & Cards ── */
.help-steps-timeline[b-1xznvvpj6t] {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.help-step-card[b-1xznvvpj6t] {
    background: var(--surface-2);
    border: 1px solid var(--border);
    border-radius: 8px;
    overflow: hidden;
    transition: var(--transition);
}

.help-step-card:hover[b-1xznvvpj6t] {
    border-color: var(--border-strong);
}

.help-step-card.is-completed[b-1xznvvpj6t] {
    background: rgba(16, 185, 129, 0.04);
    border-color: rgba(16, 185, 129, 0.25);
}

.help-step-card.is-completed .help-step-title[b-1xznvvpj6t] {
    color: var(--text-secondary);
}

.help-step-header[b-1xznvvpj6t] {
    padding: 0.75rem 0.85rem;
    display: flex;
    align-items: center;
    gap: 0.65rem;
    cursor: pointer;
    user-select: none;
}

/* Custom Checkbox */
.help-checkbox-label[b-1xznvvpj6t] {
    position: relative;
    display: inline-flex;
    align-items: center;
    cursor: pointer;
    margin: 0;
}

.help-checkbox-label input[type="checkbox"][b-1xznvvpj6t] {
    position: absolute;
    opacity: 0;
    width: 0;
    height: 0;
}

.help-custom-checkbox[b-1xznvvpj6t] {
    width: 18px;
    height: 18px;
    border: 1.5px solid var(--border-strong);
    border-radius: 4px;
    background: var(--surface);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}

.help-checkbox-label:hover .help-custom-checkbox[b-1xznvvpj6t] {
    border-color: var(--primary);
}

.help-checkbox-label input[type="checkbox"]:checked ~ .help-custom-checkbox[b-1xznvvpj6t] {
    background: var(--success);
    border-color: var(--success);
}

.help-checkbox-label input[type="checkbox"]:checked ~ .help-custom-checkbox[b-1xznvvpj6t]::after {
    content: "✓";
    color: #ffffff;
    font-size: 0.75rem;
    font-weight: 700;
}

.help-step-number-badge[b-1xznvvpj6t] {
    font-size: 0.72rem;
    font-weight: 700;
    color: var(--primary);
    background: var(--primary-dim);
    padding: 0.15rem 0.45rem;
    border-radius: 4px;
    letter-spacing: 0.02em;
    flex-shrink: 0;
}

.help-step-title-wrap[b-1xznvvpj6t] {
    flex: 1;
    display: flex;
    align-items: center;
    gap: 0.45rem;
    min-width: 0;
}

.help-step-title[b-1xznvvpj6t] {
    font-size: 0.88rem;
    font-weight: 600;
    color: var(--text-primary);
    margin: 0;
    display: flex;
    align-items: center;
    gap: 0.35rem;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.help-step-icon[b-1xznvvpj6t] {
    font-size: 0.95rem;
    flex-shrink: 0;
}

.help-step-pill[b-1xznvvpj6t] {
    font-size: 0.68rem;
    font-weight: 600;
    background: var(--surface-3);
    color: var(--text-muted);
    border: 1px solid var(--border);
    padding: 0.1rem 0.35rem;
    border-radius: 4px;
    flex-shrink: 0;
}

.help-chevron-btn[b-1xznvvpj6t] {
    background: transparent;
    border: none;
    color: var(--text-muted);
    font-size: 0.9rem;
    padding: 0;
    cursor: pointer;
    flex-shrink: 0;
}

.help-chevron[b-1xznvvpj6t] {
    display: inline-block;
    transition: transform 0.2s ease;
}

.help-chevron.expanded[b-1xznvvpj6t] {
    transform: rotate(180deg);
}

.help-step-content[b-1xznvvpj6t] {
    padding: 0 0.85rem 0.85rem 2.85rem;
    display: flex;
    flex-direction: column;
    gap: 0.55rem;
}

.help-step-desc[b-1xznvvpj6t] {
    font-size: 0.82rem;
    color: var(--text-secondary);
    line-height: 1.5;
    margin: 0;
}

/* Callouts */
.help-callout[b-1xznvvpj6t] {
    display: flex;
    align-items: flex-start;
    gap: 0.5rem;
    padding: 0.55rem 0.75rem;
    border-radius: 6px;
    font-size: 0.78rem;
    line-height: 1.45;
}

.help-callout.action[b-1xznvvpj6t] {
    background: var(--primary-dim);
    border-left: 3px solid var(--primary);
    color: var(--text-primary);
}

.help-callout.tip[b-1xznvvpj6t] {
    background: rgba(245, 158, 11, 0.08);
    border-left: 3px solid var(--warning);
    color: var(--text-primary);
}

.help-callout-icon[b-1xznvvpj6t] {
    font-size: 0.95rem;
    flex-shrink: 0;
    margin-top: 1px;
}

.help-callout-text strong[b-1xznvvpj6t] {
    font-weight: 600;
}

/* ── Best Practices Section ── */
.help-best-practices[b-1xznvvpj6t] {
    background: var(--surface-2);
    border: 1px solid var(--border);
    border-radius: 8px;
    padding: 0.9rem 1rem;
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
}

.help-section-title[b-1xznvvpj6t] {
    font-size: 0.86rem;
    font-weight: 700;
    color: var(--text-primary);
    margin: 0;
    display: flex;
    align-items: center;
    gap: 0.35rem;
}

.help-practices-list[b-1xznvvpj6t] {
    margin: 0;
    padding-left: 1.2rem;
    font-size: 0.78rem;
    color: var(--text-secondary);
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
    line-height: 1.45;
}

.help-practices-list li[b-1xznvvpj6t]::marker {
    color: var(--primary);
}

/* ── Footer ── */
.help-footer[b-1xznvvpj6t] {
    padding: 0.85rem 1.25rem;
    border-top: 1px solid var(--border);
    background: var(--surface-2);
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
    flex-shrink: 0;
}

.help-footer-hint[b-1xznvvpj6t] {
    font-size: 0.76rem;
    color: var(--text-muted);
    text-align: center;
}

.help-footer-hint a[b-1xznvvpj6t] {
    color: var(--primary);
    text-decoration: underline;
    font-weight: 500;
}

.help-footer-hint a:hover[b-1xznvvpj6t] {
    color: var(--primary-hover);
}
/* /Components/ThemeSwitcher.razor.rz.scp.css */
/* ThemeSwitcher — 6-theme compact grid */

.theme-switcher-grid[b-oebovuesp1] {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 3px;
    background: rgba(0, 0, 0, 0.25);
    border: 1px solid var(--sidebar-border, rgba(255, 255, 255, 0.08));
    border-radius: 9px;
    padding: 3px;
    margin-bottom: 0.65rem;
}

.theme-pill[b-oebovuesp1] {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 3px;
    padding: 0.28rem 0.2rem;
    border: 1px solid transparent;
    border-radius: 6px;
    font-family: inherit;
    font-size: 0.65rem;
    font-weight: 600;
    color: var(--text-muted, #94a3b8);
    background: transparent;
    cursor: pointer;
    transition: all 0.18s cubic-bezier(0.4, 0, 0.2, 1);
    white-space: nowrap;
    letter-spacing: 0.01em;
}

.theme-pill:hover[b-oebovuesp1] {
    color: var(--text-primary, #f1f5f9);
    background: rgba(255, 255, 255, 0.06);
}

.theme-pill.active[b-oebovuesp1] {
    background: var(--primary-dim, rgba(59, 130, 246, 0.18));
    border-color: var(--primary, #3b82f6);
    color: var(--primary-hover, #60a5fa);
}

/* Color Dots */
.dot[b-oebovuesp1] {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    display: inline-block;
    flex-shrink: 0;
}

.obsidian-dot[b-oebovuesp1] { background: #3b82f6; box-shadow: 0 0 4px #3b82f6; }
.arctic-dot[b-oebovuesp1]   { background: #2563eb; box-shadow: 0 0 4px #2563eb; }
.slate-dot[b-oebovuesp1]    { background: #14b8a6; box-shadow: 0 0 4px #14b8a6; }
.emerald-dot[b-oebovuesp1]  { background: #10b981; box-shadow: 0 0 4px #10b981; }
.titanium-dot[b-oebovuesp1] { background: #1d4ed8; box-shadow: 0 0 4px #1d4ed8; }
.cyber-dot[b-oebovuesp1]    { background: #6366f1; box-shadow: 0 0 4px #6366f1; }

/* Theme Overrides for Switcher Container */
:global(html[data-theme="arctic"])[b-oebovuesp1],
:global(html[data-theme="titanium"])[b-oebovuesp1] {
    .theme-switcher-grid {
        background: rgba(0, 0, 0, 0.04);
        border-color: #e4e4e7;
    }
}
/* /Layout/MainLayout.razor.rz.scp.css */
/* ============================================================
   BPA Platform — Main Layout
   ============================================================ */

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

main[b-177osy1irb] {
    flex: 1;
    display: flex;
    flex-direction: column;
    background-color: transparent;
    min-width: 0;
}

.sidebar[b-177osy1irb] {
    background: var(--sidebar-bg) !important;
    border-right: 1px solid var(--sidebar-border);
    display: flex;
    flex-direction: column;
}

@media (min-width: 641px) {
    .page[b-177osy1irb] {
        flex-direction: row;
        height: 100vh;
        overflow: hidden;
    }

    .sidebar[b-177osy1irb] {
        width: 240px;
        height: 100vh;
        position: sticky;
        top: 0;
        z-index: 1000;
        flex-shrink: 0;
        overflow: visible;
        box-shadow:
            1px 0 0 var(--sidebar-border),
            4px 0 20px rgba(0, 0, 0, 0.15);
    }

    main[b-177osy1irb] {
        overflow-y: auto;
        height: 100vh;
    }

    article[b-177osy1irb] {
        padding: 2rem 2.5rem !important;
        max-width: 100%;
    }

    /* Full-bleed docking for designer, studio, kanban, runtime portals, and integration flows */
    article:has(.entity-designer-shell)[b-177osy1irb],
    article:has(.script-studio-shell)[b-177osy1irb],
    article:has(.site-designer-container)[b-177osy1irb],
    article:has(.case-board-shell)[b-177osy1irb],
    article:has(.site-runtime-shell)[b-177osy1irb],
    article:has(.ifd-shell)[b-177osy1irb] {
        padding: 0 !important;
        max-width: 100%;
        height: 100vh;
        overflow: hidden;
    }

    main:has(.entity-designer-shell)[b-177osy1irb],
    main:has(.script-studio-shell)[b-177osy1irb],
    main:has(.site-designer-container)[b-177osy1irb],
    main:has(.case-board-shell)[b-177osy1irb],
    main:has(.site-runtime-shell)[b-177osy1irb],
    main:has(.ifd-shell)[b-177osy1irb] {
        overflow: hidden;
    }

    article:has(.auth-page-container)[b-177osy1irb] {
        padding: 0 !important;
        max-width: 100%;
    }
}
/* /Layout/NavMenu.razor.rz.scp.css */
/* ============================================================
   BPA Platform — Sidebar / NavMenu
   Uses theme tokens defined in app.css — all 3 themes auto-adapt
   ============================================================ */

/* ── Top bar ─────────────────────────────────────────────── */
.navbar-toggler[b-3z7zcim0ux] {
    background-color: rgba(128, 128, 128, 0.08);
    border: 1px solid var(--border-strong);
    border-radius: 6px;
    color: var(--text-muted);
    padding: 0.3rem 0.5rem;
    transition: var(--transition);
}
.navbar-toggler:hover[b-3z7zcim0ux] {
    background-color: var(--surface-2);
    border-color: var(--border-strong);
}

.top-row[b-3z7zcim0ux] {
    height: 3.75rem;
    min-height: 3.75rem;
    display: flex;
    align-items: center;
    background: var(--sidebar-bg);
    border-bottom: 1px solid var(--sidebar-border);
    flex-shrink: 0;
}

.branding-container[b-3z7zcim0ux] {
    display: flex;
    align-items: center;
    gap: 0.65rem;
    padding-left: 0.85rem;
    width: 100%;
}

.brand-logo-box[b-3z7zcim0ux] {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 30px;
    height: 30px;
    background: var(--primary-dim);
    border: 1px solid rgba(59, 130, 246, 0.25);
    border-radius: 7px;
    flex-shrink: 0;
    transition: var(--transition);
}
.brand-logo-box:hover[b-3z7zcim0ux] {
    background: var(--primary-glow);
}

.navbar-brand[b-3z7zcim0ux] {
    font-size: 1rem;
    font-weight: 700;
    color: var(--nav-brand-color) !important;
    text-decoration: none !important;
    letter-spacing: -0.02em;
    line-height: 1;
}

/* ── Section labels ───────────────────────────────────────── */
.nav-section-label[b-3z7zcim0ux] {
    padding: 1.25rem 1rem 0.35rem 1.1rem;
    font-size: 0.70rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--nav-label-color) !important;
}

/* ── Nav items ────────────────────────────────────────────── */
.nav-item[b-3z7zcim0ux] {
    font-size: 0.875rem;
    padding-bottom: 0.1rem;
    padding-left: 0.5rem !important;
    padding-right: 0.5rem !important;
}
.nav-item:first-of-type[b-3z7zcim0ux] { padding-top: 0.5rem; }

/* NavLink <a> */
.nav-item .nav-link[b-3z7zcim0ux],
.nav-item[b-3z7zcim0ux]  a,
.nav-item a[b-3z7zcim0ux] {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.55rem 0.85rem !important;
    color: var(--nav-link-color) !important;
    border-radius: 8px;
    font-weight: 500;
    font-size: 0.858rem;
    text-decoration: none !important;
    transition: all 0.18s cubic-bezier(0.4, 0, 0.2, 1);
    border-left: 2px solid transparent;
    margin-left: 2px;
}

/* Icon */
.nav-item .nav-link .nav-icon[b-3z7zcim0ux],
.nav-item[b-3z7zcim0ux]  a .nav-icon,
.nav-item a .nav-icon[b-3z7zcim0ux] {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 18px;
    height: 18px;
    flex-shrink: 0;
    color: var(--nav-icon-color) !important;
    transition: color 0.18s ease;
}

/* ── Hover ───────────────────────────────────────────────── */
.nav-item .nav-link:hover[b-3z7zcim0ux],
.nav-item[b-3z7zcim0ux]  a:hover,
.nav-item a:hover[b-3z7zcim0ux] {
    background-color: var(--nav-hover-bg) !important;
    color: var(--nav-hover-text) !important;
    border-left-color: var(--primary-dim);
}
.nav-item .nav-link:hover .nav-icon[b-3z7zcim0ux],
.nav-item[b-3z7zcim0ux]  a:hover .nav-icon,
.nav-item a:hover .nav-icon[b-3z7zcim0ux] {
    color: var(--nav-hover-text) !important;
}

/* ── Active ──────────────────────────────────────────────── */
.nav-item .nav-link.active[b-3z7zcim0ux],
.nav-item[b-3z7zcim0ux]  a.active,
.nav-item a.active[b-3z7zcim0ux] {
    background: var(--nav-active-bg) !important;
    color: var(--nav-active-text) !important;
    border-left-color: var(--nav-active-border) !important;
    font-weight: 600;
}
.nav-item .nav-link.active .nav-icon[b-3z7zcim0ux],
.nav-item[b-3z7zcim0ux]  a.active .nav-icon,
.nav-item a.active .nav-icon[b-3z7zcim0ux] {
    color: var(--nav-active-text) !important;
}

/* ── Responsive ──────────────────────────────────────────── */
.nav-scrollable[b-3z7zcim0ux] {
    background: var(--sidebar-bg);
}

@media (min-width: 641px) {
    .navbar-toggler[b-3z7zcim0ux] { display: none; }
    .nav-scrollable[b-3z7zcim0ux] {
        display: flex !important;
        flex-direction: column;
        height: calc(100vh - 3.75rem);
        overflow-y: auto;
        background: var(--sidebar-bg);
    }
}

/* ── User context footer ─────────────────────────────────── */
.nav-user-context[b-3z7zcim0ux] {
    border-top: 1px solid var(--sidebar-border) !important;
    padding: 0.85rem 0.75rem !important;
    flex-shrink: 0;
    margin-top: auto;
    background: var(--sidebar-bg);
}

.user-avatar[b-3z7zcim0ux] {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.75rem;
    font-weight: 700;
    color: white;
    flex-shrink: 0;
}

.user-name[b-3z7zcim0ux] {
    color: var(--text-primary);
    font-weight: 600;
    font-size: 0.825rem;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 145px;
}

.user-company[b-3z7zcim0ux] {
    color: var(--nav-label-color);
    font-size: 0.72rem;
    margin-top: 1px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 145px;
}

/* ── Logout button ───────────────────────────────────────── */
.btn-logout[b-3z7zcim0ux] {
    background: rgba(239, 68, 68, 0.12);
    border: 1px solid rgba(239, 68, 68, 0.25);
    color: var(--danger-text);
    font-family: inherit;
    font-size: 0.8rem;
    font-weight: 500;
    border-radius: 7px;
    padding: 0.4rem 0.7rem;
    cursor: pointer;
    transition: var(--transition);
    width: 100%;
    text-align: left;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-top: 0.6rem;
}
.btn-logout:hover[b-3z7zcim0ux] {
    background: rgba(239, 68, 68, 0.22);
    color: #ef4444;
    border-color: rgba(239, 68, 68, 0.4);
    transform: translateX(1px);
}
/* /Pages/FormBuilder.razor.rz.scp.css */

.ti-add[b-24tzg4l1bk] { margin-left: auto; color: #818cf8; font-weight: bold; cursor: pointer; padding: 0 5px; opacity: 0; transition: opacity 0.2s; }
.toolbox-item:hover .ti-add[b-24tzg4l1bk] { opacity: 1; }
