@import '_content/Microsoft.AspNetCore.Components.QuickGrid/Microsoft.AspNetCore.Components.QuickGrid.boiwgh0w5b.bundle.scp.css';

/* /Components/Dashboards/TenantDashboard.razor.rz.scp.css */
/* ── Document Activity Stream — mobile card borders ─────────── */

[b-k27ocp3ptf] .doc-card {
    border-left: 4px solid transparent;
}

[b-k27ocp3ptf] .doc-card-action {
    border-left-color: #d32f2f;
}

[b-k27ocp3ptf] .doc-card-review {
    border-left-color: #ff9800;
}

[b-k27ocp3ptf] .doc-card-info {
    border-left-color: #1565C0;
}

/* ── "New" badge pulse animation ──────────────────────────────── */

[b-k27ocp3ptf] .doc-new-badge {
    animation: doc-new-pulse-b-k27ocp3ptf 1.5s ease-in-out 3;
}

@keyframes doc-new-pulse-b-k27ocp3ptf {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.4; }
}

/* ── Bridge Status Bar ────────────────────────────────────────── */

.bridge-status-bar[b-k27ocp3ptf] {
    background: #f5f5f5;
    border: 1px solid #e0e0e0;
    border-radius: 4px;
    padding: 0.35rem 0.75rem;
}

/* ── Node Monitor Panel ──────────────────────────────────────── */

[b-k27ocp3ptf] .node-monitor-panel {
    border-color: #e0e0e0;
    animation: node-monitor-slide-b-k27ocp3ptf 0.2s ease-out;
}

@keyframes node-monitor-slide-b-k27ocp3ptf {
    from { opacity: 0; transform: translateY(-8px); }
    to   { opacity: 1; transform: translateY(0); }
}
/* /Components/Dialogs/NodeDetailsDialog.razor.rz.scp.css */
.node-detail-item[b-iuvufp7mx0] {
    display: flex;
    flex-direction: column;
    gap: 0.2rem;
    padding: 0.6rem 0.75rem;
    background: var(--rz-base-background-color, #fafafa);
    border: 1px solid var(--rz-border-color, #e0e0e0);
    border-radius: 4px;
    height: 100%;
}

.node-detail-label[b-iuvufp7mx0] {
    font-size: 0.72rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: #757575;
}

.node-detail-value[b-iuvufp7mx0] {
    font-size: 0.9rem;
    font-weight: 500;
    color: #212121;
    line-height: 1.3;
}

.node-detail-value.mono[b-iuvufp7mx0],
.mono[b-iuvufp7mx0] {
    font-family: monospace;
    letter-spacing: 0.04em;
}

.node-detail-secondary[b-iuvufp7mx0] {
    font-size: 0.78rem;
    color: #757575;
    line-height: 1.3;
}

/* ── Section divider labels ────────────────────────────────── */
.node-section-header[b-iuvufp7mx0] {
    font-size: 0.7rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: #1565C0;
    border-bottom: 1px solid #e0e0e0;
    padding-bottom: 0.2rem;
    margin-bottom: 0.5rem;
    margin-top: 0.25rem;
}
/* /Components/Layout/MainLayout.razor.rz.scp.css */
/* ══════════════════════════════════════════════════════════════════
   Page shell — column layout: top-nav → main content
   ══════════════════════════════════════════════════════════════════ */
.page[b-9wdd9w1t0c] {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

main[b-9wdd9w1t0c] {
    flex: 1;
    overflow-y: auto;
}

/* ══════════════════════════════════════════════════════════════════
   Top navigation bar
   ══════════════════════════════════════════════════════════════════ */
.top-nav[b-9wdd9w1t0c] {
    display: flex;
    align-items: center;
    height: 58px;
    padding: 0 1.25rem;
    gap: 1.5rem;
    background: linear-gradient(135deg, rgb(5, 39, 103) 0%, #1e1165 100%);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.28);
    position: sticky;
    top: 0;
    z-index: 100;
    flex-shrink: 0;
}

/* ── Brand ──────────────────────────────────────────────────────── */
.top-nav-brand[b-9wdd9w1t0c] {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: #ffffff;
    text-decoration: none;
    white-space: nowrap;
    flex-shrink: 0;
}

.brand-icon[b-9wdd9w1t0c] {
    font-size: 1.45rem;
    color: #7cb3ff;
    font-family: 'Material Symbols Outlined', sans-serif;
    font-variation-settings: 'FILL' 1, 'wght' 400, 'GRAD' 0, 'opsz' 24;
    line-height: 1;
}

.brand-name[b-9wdd9w1t0c] {
    font-size: 1.1rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    color: #ffffff;
}

/* ── Nav links area (fills the middle) ─────────────────────────── */
.top-nav-links[b-9wdd9w1t0c] {
    flex: 1;
    display: flex;
    align-items: center;
    height: 100%;
}

/* ── Right-side controls ────────────────────────────────────────── */
.top-nav-right[b-9wdd9w1t0c] {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    flex-shrink: 0;
    margin-left: auto;
}

/* ── Vertical divider between sections ─────────────────────────── */
.nav-divider[b-9wdd9w1t0c] {
    width: 1px;
    height: 1.4rem;
    background-color: rgba(255, 255, 255, 0.2);
    flex-shrink: 0;
}

/* ── Tenant label (single-tenant) ──────────────────────────────── */
.tenant-label[b-9wdd9w1t0c] {
    display: flex;
    align-items: center;
    gap: 0.35rem;
    color: rgba(255, 255, 255, 0.85);
    font-size: 0.85rem;
    font-weight: 500;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 220px;
}

.tenant-label-icon[b-9wdd9w1t0c] {
    font-size: 1.1rem;
    opacity: 0.75;
    flex-shrink: 0;
    font-family: 'Material Symbols Outlined', sans-serif;
    font-variation-settings: 'FILL' 0, 'wght' 400, 'GRAD' 0, 'opsz' 20;
}

.tenant-label-name[b-9wdd9w1t0c] {
    overflow: hidden;
    text-overflow: ellipsis;
}

/* ── Tenant picker (multi-tenant dropdown) ──────────────────────── */
.tenant-picker[b-9wdd9w1t0c] {
    display: flex;
    align-items: center;
    gap: 0.35rem;
}

.tenant-picker-icon[b-9wdd9w1t0c] {
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.75);
    flex-shrink: 0;
    font-family: 'Material Symbols Outlined', sans-serif;
    font-variation-settings: 'FILL' 0, 'wght' 400, 'GRAD' 0, 'opsz' 20;
}

.tenant-picker-select[b-9wdd9w1t0c] {
    appearance: auto;
    border: 1px solid rgba(255, 255, 255, 0.25);
    border-radius: 5px;
    padding: 0.28rem 0.55rem;
    font-size: 0.83rem;
    font-family: 'Roboto', sans-serif;
    color: #ffffff;
    background-color: rgba(255, 255, 255, 0.1);
    max-width: 200px;
    cursor: pointer;
    transition: border-color 0.15s, background-color 0.15s;
}

.tenant-picker-select:focus[b-9wdd9w1t0c] {
    outline: none;
    border-color: rgba(255, 255, 255, 0.55);
    background-color: rgba(255, 255, 255, 0.15);
}

.tenant-picker-select option[b-9wdd9w1t0c] {
    color: #212121;
    background-color: #ffffff;
}

/* ── User info ──────────────────────────────────────────────────── */
.user-info[b-9wdd9w1t0c] {
    display: flex;
    align-items: center;
    gap: 0.35rem;
}

.user-icon[b-9wdd9w1t0c] {
    font-size: 1.2rem;
    color: rgba(255, 255, 255, 0.65);
    font-family: 'Material Symbols Outlined', sans-serif;
    font-variation-settings: 'FILL' 0, 'wght' 400, 'GRAD' 0, 'opsz' 20;
    flex-shrink: 0;
}

.user-display[b-9wdd9w1t0c] {
    color: rgba(255, 255, 255, 0.85);
    font-size: 0.84rem;
    white-space: nowrap;
}

/* ── Logout button ──────────────────────────────────────────────── */
.logout-form[b-9wdd9w1t0c] {
    display: flex;
    margin: 0;
}

.btn-logout[b-9wdd9w1t0c] {
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 5px;
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.82rem;
    font-family: 'Roboto', sans-serif;
    padding: 0.28rem 0.75rem;
    cursor: pointer;
    white-space: nowrap;
    transition: background-color 0.15s, color 0.15s, border-color 0.15s;
}

.btn-logout:hover[b-9wdd9w1t0c] {
    background-color: rgba(255, 255, 255, 0.12);
    border-color: rgba(255, 255, 255, 0.55);
    color: #ffffff;
}

/* ══════════════════════════════════════════════════════════════════
   Content area
   ══════════════════════════════════════════════════════════════════ */
article.content[b-9wdd9w1t0c] {
    padding-top: 1.5rem;
    padding-bottom: 2rem;
}

/* ══════════════════════════════════════════════════════════════════
   Blazor error banner
   ══════════════════════════════════════════════════════════════════ */
#blazor-error-ui[b-9wdd9w1t0c] {
    background: lightyellow;
    bottom: 0;
    box-shadow: 0 -1px 2px rgba(0, 0, 0, 0.2);
    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-9wdd9w1t0c] {
    cursor: pointer;
    position: absolute;
    right: 0.75rem;
    top: 0.5rem;
}
/* /Components/Layout/NavMenu.razor.rz.scp.css */
/* ── Horizontal nav links container ─────────────────────────────── */
.nav-links[b-yd7i6kpric] {
    display: flex;
    align-items: center;
    gap: 0.25rem;
    height: 100%;
}

/* ── Individual nav link ────────────────────────────────────────── */
/* ::deep ensures scoped CSS reaches the <a> rendered by <NavLink> */
[b-yd7i6kpric] .nav-link {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    color: rgba(255, 255, 255, 0.75);
    padding: 0.45rem 0.9rem;
    border-radius: 6px;
    font-size: 0.875rem;
    font-weight: 500;
    text-decoration: none;
    white-space: nowrap;
    transition: background-color 0.15s ease, color 0.15s ease;
    letter-spacing: 0.01em;
    line-height: 1;
}

[b-yd7i6kpric] .nav-link:hover {
    background-color: rgba(255, 255, 255, 0.12);
    color: #ffffff;
    text-decoration: none;
}

[b-yd7i6kpric] .nav-link.active {
    background-color: rgba(255, 255, 255, 0.18);
    color: #ffffff;
    font-weight: 600;
}

/* ── Icon inside nav link ───────────────────────────────────────── */
.nav-link-icon[b-yd7i6kpric] {
    font-size: 1.05rem;
    line-height: 1;
    opacity: 0.9;
    flex-shrink: 0;
    /* Use outlined variant */
    font-family: 'Material Symbols Outlined', sans-serif;
    font-variation-settings: 'FILL' 0, 'wght' 400, 'GRAD' 0, 'opsz' 20;
}

[b-yd7i6kpric] .nav-link.active .nav-link-icon {
    font-variation-settings: 'FILL' 1, 'wght' 500, 'GRAD' 0, 'opsz' 20;
    opacity: 1;
}

/* ── Responsive: hide labels, show icons only on narrow viewports ─ */
@media (max-width: 900px) {
    [b-yd7i6kpric] .nav-link-label {
        display: none;
    }

    [b-yd7i6kpric] .nav-link {
        padding: 0.45rem 0.65rem;
    }
}
/* /Components/Overlays/DocumentDetailOverlay.razor.rz.scp.css */
/* ── Thumbnail strip ──────────────────────────────────────────── */

[b-i5r236xo1n] .doc-thumb {
    position: relative;
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    border: 2px solid transparent;
    border-radius: 6px;
    padding: 2px;
    transition: border-color 0.15s ease;
}

[b-i5r236xo1n] .doc-thumb:hover {
    border-color: #90caf9;
}

[b-i5r236xo1n] .doc-thumb-selected {
    border-color: #1565C0;
    box-shadow: 0 0 0 2px rgba(21, 101, 192, 0.25);
}

[b-i5r236xo1n] .doc-thumb-label {
    font-size: 0.7rem;
    color: #757575;
    margin-top: 2px;
}
/* /Components/Shared/ErrorContentTemplate.razor.rz.scp.css */
.error-boundary-card[b-2mr7lej7zd] {
    margin: 1.5rem 0;
    border: 1px solid #ef9a9a;
    border-left: 6px solid #d32f2f;
    border-radius: 8px;
    background: linear-gradient(180deg, #fff, #fff5f5);
    padding: 1rem 1.1rem;
    display: flex;
    align-items: flex-start;
    gap: 0.85rem;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
}

.error-boundary-icon[b-2mr7lej7zd] {
    color: #c62828;
    line-height: 1;
}

.error-boundary-icon .material-symbols-outlined[b-2mr7lej7zd] {
    font-size: 1.65rem;
}

.error-boundary-body[b-2mr7lej7zd] {
    flex: 1;
    min-width: 0;
}

.error-boundary-title[b-2mr7lej7zd] {
    margin: 0;
    font-size: 1.15rem;
    font-weight: 500;
    color: #b71c1c;
}

.error-boundary-message[b-2mr7lej7zd] {
    margin: 0.45rem 0 0;
    color: #4e342e;
    font-size: 0.9rem;
    line-height: 1.5;
}

.error-boundary-support-id[b-2mr7lej7zd] {
    margin-top: 0.75rem;
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    border-radius: 4px;
    background-color: #ffebee;
    border: 1px solid #ffcdd2;
    padding: 0.35rem 0.55rem;
    font-size: 0.82rem;
}

.error-boundary-label[b-2mr7lej7zd] {
    text-transform: uppercase;
    letter-spacing: 0.05em;
    font-weight: 500;
    color: #6d4c41;
}

.error-boundary-actions[b-2mr7lej7zd] {
    margin-top: 0.95rem;
    display: flex;
    gap: 0.6rem;
    flex-wrap: wrap;
}

@media (max-width: 640.98px) {
    .error-boundary-card[b-2mr7lej7zd] {
        margin: 1rem 0;
        padding: 0.9rem;
    }
}
/* /Components/Shared/TandemTimeDisplay.razor.rz.scp.css */
.tandem-time-display[b-3ryx9tpe3j] {
    display: inline-block;
    cursor: help;
    white-space: nowrap;
}

/*
 * position: fixed breaks the popover out of any overflow:hidden ancestor
 * (RadzenDataGrid cells, scrollable containers, etc.).
 * Coordinates are set by tandemTimeDisplay.init() in tandem.js via
 * getBoundingClientRect() on the anchor element.
 * Initial top/left are off-screen so the hidden element doesn't affect layout.
 */
.tandem-time-popover[b-3ryx9tpe3j] {
    position: fixed;
    top: -9999px;
    left: -9999px;
    visibility: hidden;
    opacity: 0;
    z-index: 9999;
    min-width: 22rem;
    max-width: 26rem;
    padding: 0.6rem 0.75rem;
    border: 1px solid #d5d5d5;
    border-radius: 4px;
    background: #fff;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.12);
    color: #212121;
    font-size: 0.8rem;
    line-height: 1.55;
    pointer-events: none;
    transition: opacity 0.1s ease;
}

.tandem-time-popover > span[b-3ryx9tpe3j] {
    display: block;
}

.tandem-time-null[b-3ryx9tpe3j] {
    color: #9e9e9e;
}

.tandem-time-status.business[b-3ryx9tpe3j] {
    color: #2e7d32;
    font-weight: 600;
}

.tandem-time-status.after[b-3ryx9tpe3j] {
    color: #ef6c00;
    font-weight: 600;
}
