/* /Layout/MainLayout.razor.rz.scp.css */
.page[b-h6t3bggi8q] {
    position: relative;
    display: flex;
    flex-direction: column;
}

main[b-h6t3bggi8q] {
    flex: 1;
}

.sidebar[b-h6t3bggi8q] {
    background-image: linear-gradient(45deg, #00294B, #007DE3);
    display: flex;
    flex-direction: column;
}

.top-row[b-h6t3bggi8q] {
    background-color: #FFFFFF;
    border-bottom: 1px solid #BBBBBB;
    justify-content: flex-end;
    height: 3.5rem;
    display: flex;
    align-items: center;
}

    .top-row[b-h6t3bggi8q]  a, .top-row[b-h6t3bggi8q]  .btn-link {
        white-space: nowrap;
        margin-left: 1.5rem;
        text-decoration: none;
    }

    .top-row[b-h6t3bggi8q]  a:hover, .top-row[b-h6t3bggi8q]  .btn-link:hover {
        text-decoration: underline;
    }

    .top-row[b-h6t3bggi8q]  a:first-child {
        overflow: hidden;
        text-overflow: ellipsis;
    }

@media (max-width: 640.98px) {
    .top-row[b-h6t3bggi8q] {
        justify-content: space-between;
    }

    .top-row[b-h6t3bggi8q]  a, .top-row[b-h6t3bggi8q]  .btn-link {
        margin-left: 0;
    }
}

@media (min-width: 641px) {
    .page[b-h6t3bggi8q] {
        flex-direction: row;
    }

    .sidebar[b-h6t3bggi8q] {
        width: 250px;
        height: 100vh;
        position: sticky;
        top: 0;
        transition: width 0.25s ease;
    }

    .sidebar.sidebar-collapsed[b-h6t3bggi8q] {
        width: 72px;
    }

    .top-row[b-h6t3bggi8q] {
        position: sticky;
        top: 0;
        z-index: 1;
    }

    .top-row.auth[b-h6t3bggi8q]  a:first-child {
        flex: 1;
        text-align: right;
        width: 0;
    }

    .top-row[b-h6t3bggi8q], article[b-h6t3bggi8q] {
        padding-left: 2rem !important;
        padding-right: 1.5rem !important;
    }
}

/* ── Top bar: page title ─────────────────────────────────────────────────── */

.page-title[b-h6t3bggi8q] { color: #222222; }

[data-bs-theme="dark"] .top-row[b-h6t3bggi8q] { background-color: #011829; border-bottom-color: #023F72; }
[data-bs-theme="dark"] .page-title[b-h6t3bggi8q] { color: #EFEFEF; }

/* ── User menu dropdown ──────────────────────────────────────────────────── */

.user-menu-wrapper[b-h6t3bggi8q] { position: relative; }

.user-menu-btn[b-h6t3bggi8q] {
    background: none;
    border: 1px solid #BBBBBB;
    border-radius: 6px;
    padding: 0.3rem 0.6rem;
    display: flex;
    align-items: center;
    gap: 0.4rem;
    font-size: 0.85rem;
    cursor: pointer;
    color: #222222;
}

.user-menu-btn:hover[b-h6t3bggi8q] { background: #EFEFEF; }

.user-dropdown[b-h6t3bggi8q] {
    position: absolute;
    right: 0;
    top: calc(100% + 4px);
    background: white;
    border: 1px solid #BBBBBB;
    border-radius: 6px;
    box-shadow: 0 4px 12px rgba(0, 41, 75, 0.12);
    min-width: 150px;
    z-index: 1000;
}

.user-dropdown .dropdown-item[b-h6t3bggi8q] {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    width: 100%;
    background: none;
    border: none;
    text-align: left;
    cursor: pointer;
    font-size: 0.9rem;
    color: #222222;
}

.user-dropdown .dropdown-item:hover[b-h6t3bggi8q] { background: #EFEFEF; color: #00294B; }

/* Dark mode overrides */
[data-bs-theme="dark"] .user-menu-btn[b-h6t3bggi8q] { color: #EFEFEF; border-color: #023F72; }
[data-bs-theme="dark"] .user-menu-btn:hover[b-h6t3bggi8q] { background: #023F72; }
[data-bs-theme="dark"] .user-dropdown[b-h6t3bggi8q] { background: #012847; border-color: #023F72; }
[data-bs-theme="dark"] .user-dropdown .dropdown-item[b-h6t3bggi8q] { color: #EFEFEF; }
[data-bs-theme="dark"] .user-dropdown .dropdown-item:hover[b-h6t3bggi8q] { background: #023F72; color: #FFFFFF; }

/* ── Sidebar collapsed mode — target NavMenu child elements via ::deep ────── */

.sidebar.sidebar-collapsed[b-h6t3bggi8q]  .sidebar-logo { max-width: 44px; }
.sidebar.sidebar-collapsed[b-h6t3bggi8q]  .nav-label    { display: none; }
.sidebar.sidebar-collapsed[b-h6t3bggi8q]  .nav-icon     { margin-right: 0; }
.sidebar.sidebar-collapsed[b-h6t3bggi8q]  .nav-link     { justify-content: center; }
.sidebar.sidebar-collapsed[b-h6t3bggi8q]  .collapse-toggle { justify-content: center; }
/* /Layout/NavMenu.razor.rz.scp.css */
/* ── Sidebar header (logo area) ──────────────────────────────────────────── */

.sidebar-header[b-4e37ynnoc6] {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1.25rem 1rem;
    min-height: 4rem;
    position: relative;
}

.sidebar-logo[b-4e37ynnoc6] {
    max-width: 140px;
    height: auto;
    transition: max-width 0.25s ease;
}

/* Mobile toggler inside header */
.navbar-toggler[b-4e37ynnoc6] {
    background-color: rgba(255, 255, 255, 0.1);
    position: absolute;
    right: 0.75rem;
}

/* Light/dark logo switching */
.sidebar-logo-dark[b-4e37ynnoc6] { display: none; }
[data-bs-theme="dark"] .sidebar-logo-light[b-4e37ynnoc6] { display: none; }
[data-bs-theme="dark"] .sidebar-logo-dark[b-4e37ynnoc6]  { display: block; }

/* ── Nav items ───────────────────────────────────────────────────────────── */

.nav-item[b-4e37ynnoc6] {
    font-size: 0.9rem;
    padding-bottom: 0.5rem;
}

.nav-item:first-of-type[b-4e37ynnoc6] { padding-top: 1rem; }
.nav-item:last-of-type[b-4e37ynnoc6]  { padding-bottom: 1rem; }

.nav-item[b-4e37ynnoc6]  a {
    color: #EFEFEF;
    border-radius: 4px;
    height: 3rem;
    display: flex;
    align-items: center;
    line-height: 3rem;
    border-left: 3px solid transparent;
}

.nav-item[b-4e37ynnoc6]  a.active {
    background-color: rgba(255, 255, 255, 0.22);
    color: #FFFFFF;
    border-left-color: #00BFB9;
}

.nav-item[b-4e37ynnoc6]  a:hover {
    background-color: rgba(255, 255, 255, 0.12);
    color: #FFFFFF;
}

/* ── Font Awesome nav icons ──────────────────────────────────────────────── */

.nav-icon[b-4e37ynnoc6] {
    width: 1.25rem;
    text-align: center;
    margin-right: 0.75rem;
    font-size: 1rem;
    flex-shrink: 0;
}

/* ── Sidebar footer (collapse toggle) ────────────────────────────────────── */

.sidebar-footer[b-4e37ynnoc6] {
    margin-top: auto;
    padding: 0.75rem 1rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    align-items: center;
}

.collapse-toggle[b-4e37ynnoc6] {
    background: none;
    border: none;
    color: #EFEFEF;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.85rem;
    padding: 0.5rem;
    border-radius: 4px;
    width: 100%;
}

.collapse-toggle:hover[b-4e37ynnoc6] {
    background: rgba(255, 255, 255, 0.12);
    color: white;
}

/* ── Responsive ──────────────────────────────────────────────────────────── */

@media (min-width: 641px) {
    .navbar-toggler[b-4e37ynnoc6] {
        display: none;
    }

    .collapse[b-4e37ynnoc6] {
        /* Never collapse the sidebar for wide screens */
        display: block;
    }

    .nav-scrollable[b-4e37ynnoc6] {
        flex: 1;
        overflow-y: auto;
    }
}
/* /Pages/Dashboard.razor.rz.scp.css */
/* ── Wrapper principal — ocupa todo o espaço disponível sem scroll ─────── */
.db-wrap[b-d3y2s474uf] {
    display: flex;
    flex-direction: column;
    /* top-row: 3.5rem (definido em MainLayout.razor.css) + padding-top article: 1.1rem */
    height: calc(100dvh - 3.5rem - 1.1rem);
    gap: 0.5rem;
    overflow: hidden;
}

/* ── Barra de filtro ─────────────────────────────────────────────────────── */
.db-filter[b-d3y2s474uf] {
    flex-shrink: 0;
}

/* Ajusta DxDateEdit para ficar compacto inline */
.db-dateedit[b-d3y2s474uf] {
    width: 130px !important;
    display: inline-block;
}

/* ── Linha de contadores ─────────────────────────────────────────────────── */
.db-counters[b-d3y2s474uf] {
    flex-shrink: 0;
    display: flex;
    gap: 0.5rem;
}

.db-counter-card[b-d3y2s474uf] {
    flex: 1;
    min-width: 0;
}

/* ── Área dos gráficos — cresce para preencher o restante ────────────────── */
.db-charts[b-d3y2s474uf] {
    flex: 1;
    min-height: 0;
    display: flex;
    gap: 0.5rem;
    overflow: hidden;
}

/* Cada card de gráfico ocupa 1/3 horizontal e é flex column ─────────────── */
.db-chart-card[b-d3y2s474uf] {
    flex: 1;
    min-width: 0;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

/* O body do card cresce para preencher a altura disponível ──────────────── */
.db-chart-body[b-d3y2s474uf] {
    flex: 1;
    min-height: 0;
    padding: 0.25rem;
    overflow: hidden;
}
/* /Pages/SampleDetail.razor.rz.scp.css */
/* ── State Transitions Timeline ──────────────────────────────────────────────── */

.st-timeline[b-7u4y6azauh] {
    position: relative;
    padding: 0.25rem 0 0.5rem;
    max-height: 500px;
    overflow-y: auto;
}

/* Linha vertical conectora */
.st-timeline[b-7u4y6azauh]::before {
    content: '';
    position: absolute;
    left: 11px;
    top: 0;
    bottom: 0;
    width: 2px;
    background: var(--bs-border-color, #dee2e6);
    border-radius: 2px;
}

.st-timeline-item[b-7u4y6azauh] {
    position: relative;
    display: flex;
    align-items: flex-start;
    gap: 0.875rem;
    padding: 0 0 1.1rem 2rem;
}

.st-timeline-item:last-child[b-7u4y6azauh] {
    padding-bottom: 0;
}

/* Ponto colorido na linha */
.st-timeline-dot[b-7u4y6azauh] {
    position: absolute;
    left: 5px;
    top: 5px;
    width: 14px;
    height: 14px;
    border-radius: 50%;
    border: 2.5px solid #fff;
    flex-shrink: 0;
    z-index: 1;
    box-shadow: 0 0 0 2px rgba(0, 0, 0, 0.08);
}

[data-bs-theme="dark"] .st-timeline-dot[b-7u4y6azauh] {
    border-color: #012847;
}

/* Card de cada evento */
.st-timeline-card[b-7u4y6azauh] {
    flex: 1;
    background: var(--bs-body-bg, #fff);
    border: 1px solid var(--bs-border-color, #dee2e6);
    border-radius: 0.5rem;
    padding: 0.55rem 0.8rem;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
    transition: box-shadow 0.15s ease;
}

.st-timeline-card:hover[b-7u4y6azauh] {
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1);
}

[data-bs-theme="dark"] .st-timeline-card[b-7u4y6azauh] {
    background: #012847;
    border-color: #023F72;
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.3);
}

/* Cabeçalho: badge de status + data/hora */
.st-timeline-header[b-7u4y6azauh] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.st-timeline-date[b-7u4y6azauh] {
    white-space: nowrap;
    font-size: 0.78rem;
}

/* Usuário */
.st-timeline-user[b-7u4y6azauh] {
    color: var(--bs-body-color);
}

/* Justificativa */
.st-timeline-justif[b-7u4y6azauh] {
    border-left: 2px solid var(--bs-border-color, #dee2e6);
    padding-left: 0.5rem;
    line-height: 1.4;
}
/* /Shared/TransicoesTab.razor.rz.scp.css */
/* ── State Transitions Timeline ──────────────────────────────────────────────── */

.st-timeline[b-nu7ar34cib] {
    position: relative;
    padding: 0.25rem 0 0.5rem;
    max-height: 500px;
    overflow-y: auto;
}

/* Linha vertical conectora */
.st-timeline[b-nu7ar34cib]::before {
    content: '';
    position: absolute;
    left: 11px;
    top: 0;
    bottom: 0;
    width: 2px;
    background: var(--bs-border-color, #dee2e6);
    border-radius: 2px;
}

.st-timeline-item[b-nu7ar34cib] {
    position: relative;
    display: flex;
    align-items: flex-start;
    gap: 0.875rem;
    padding: 0 0 1.1rem 2rem;
}

.st-timeline-item:last-child[b-nu7ar34cib] {
    padding-bottom: 0;
}

/* Ponto colorido na linha */
.st-timeline-dot[b-nu7ar34cib] {
    position: absolute;
    left: 5px;
    top: 5px;
    width: 14px;
    height: 14px;
    border-radius: 50%;
    border: 2.5px solid #fff;
    flex-shrink: 0;
    z-index: 1;
    box-shadow: 0 0 0 2px rgba(0, 0, 0, 0.08);
}

[data-bs-theme="dark"] .st-timeline-dot[b-nu7ar34cib] {
    border-color: #012847;
}

/* Card de cada evento */
.st-timeline-card[b-nu7ar34cib] {
    flex: 1;
    background: var(--bs-body-bg, #fff);
    border: 1px solid var(--bs-border-color, #dee2e6);
    border-radius: 0.5rem;
    padding: 0.55rem 0.8rem;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
    transition: box-shadow 0.15s ease;
}

.st-timeline-card:hover[b-nu7ar34cib] {
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1);
}

[data-bs-theme="dark"] .st-timeline-card[b-nu7ar34cib] {
    background: #012847;
    border-color: #023F72;
}

/* Cabeçalho: badge de status + data/hora */
.st-timeline-header[b-nu7ar34cib] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.st-timeline-date[b-nu7ar34cib] {
    white-space: nowrap;
    font-size: 0.78rem;
}

/* Justificativa */
.st-timeline-justif[b-nu7ar34cib] {
    border-left: 2px solid var(--bs-border-color, #dee2e6);
    padding-left: 0.5rem;
    line-height: 1.4;
}
/* /Shared/UniversalSearchModal.razor.rz.scp.css */
/* ── Search box in topbar ──────────────────────────────────────────────────── */

.search-box-wrap[b-1yey4b1g30] {
    position: relative;
    display: flex;
    align-items: center;
}

.search-icon[b-1yey4b1g30] {
    position: absolute;
    left: 8px;
    color: var(--bs-secondary-color, #6c757d);
    font-size: 0.8rem;
    pointer-events: none;
    z-index: 1;
}

.search-input[b-1yey4b1g30] {
    width: 190px;
    padding: 4px 28px 4px 28px;
    font-size: 0.85rem;
    border: 1px solid var(--bs-border-color, #dee2e6);
    border-radius: 6px;
    background: var(--bs-body-bg);
    color: var(--bs-body-color);
    transition: width 0.2s ease, border-color 0.15s;
}

.search-input:focus[b-1yey4b1g30] {
    width: 240px;
    outline: none;
    border-color: var(--bs-primary, #0d6efd);
    box-shadow: 0 0 0 2px rgba(13, 110, 253, 0.15);
}

.search-input[b-1yey4b1g30]::-webkit-search-cancel-button {
    cursor: pointer;
}

.search-spinner[b-1yey4b1g30] {
    position: absolute;
    right: 8px;
    width: 12px;
    height: 12px;
    color: var(--bs-secondary-color, #6c757d);
}

/* ── Search results popup content ─────────────────────────────────────────── */

.search-group[b-1yey4b1g30] {
    border-bottom: 1px solid var(--bs-border-color, #dee2e6);
}

.search-group:last-child[b-1yey4b1g30] {
    border-bottom: none;
}

.search-group-header[b-1yey4b1g30] {
    font-size: 0.82rem;
    font-weight: 600;
    background: var(--bs-tertiary-bg, #f8f9fa);
    border-bottom: 1px solid var(--bs-border-color, #dee2e6);
}

.search-result-item[b-1yey4b1g30] {
    border-left: none !important;
    border-right: none !important;
    border-radius: 0 !important;
}

.search-result-item:hover[b-1yey4b1g30] {
    background: var(--bs-primary-bg-subtle, #cfe2ff);
}
