/* /Components/Layout/MainLayout.razor.rz.scp.css */
#blazor-error-ui[b-gzvt9fdxs3] {
    color-scheme: light only;
    background: lightyellow;
    bottom: 0;
    box-shadow: 0 -1px 2px rgba(0, 0, 0, 0.2);
    box-sizing: border-box;
    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-gzvt9fdxs3] {
        cursor: pointer;
        position: absolute;
        right: 0.75rem;
        top: 0.5rem;
    }

/* ─────────────────────────────────────────────
   Shared (both themes)
   Minimalist: flat surfaces, hairline borders.
   ───────────────────────────────────────────── */

[b-gzvt9fdxs3] .main-bg-pattern { display: none; }

/* Nav links */
[b-gzvt9fdxs3] .mud-navmenu .mud-nav-link {
    border-radius: 6px;
    margin: 1px 8px;
    font-size: 0.92rem;
    transition: background-color 0.15s ease, color 0.15s ease;
}

/* Tabs */
[b-gzvt9fdxs3] .mud-tabs { border-radius: 0; }

[b-gzvt9fdxs3] .mud-tab {
    text-transform: none !important;
    font-weight: 500;
    letter-spacing: 0;
    border-radius: 0;
}

[b-gzvt9fdxs3] .mud-tab.mud-tab-active { font-weight: 600; }

/* Breadcrumbs */
[b-gzvt9fdxs3] .mud-breadcrumbs { opacity: 0.85; }

[b-gzvt9fdxs3] .mud-breadcrumbs li .mud-typography {
    font-size: 0.8rem;
}

/* Buttons */
[b-gzvt9fdxs3] .mud-button-filled {
    border-radius: 8px !important;
    text-transform: none;
    font-weight: 500;
    letter-spacing: 0;
    box-shadow: none !important;
    transition: opacity 0.15s ease, background-color 0.15s ease;
}

[b-gzvt9fdxs3] .mud-button-filled:hover {
    transform: none;
    opacity: 0.9;
}

[b-gzvt9fdxs3] .mud-button-outlined {
    border-radius: 8px !important;
    text-transform: none;
    font-weight: 500;
    letter-spacing: 0;
}

[b-gzvt9fdxs3] .mud-button-text {
    text-transform: none;
    font-weight: 500;
    letter-spacing: 0;
}

/* Inputs */
[b-gzvt9fdxs3] .mud-input-outlined .mud-input-outlined-border {
    border-radius: 8px !important;
    transition: border-color 0.15s ease;
}

[b-gzvt9fdxs3] .mud-select .mud-input-outlined .mud-input-outlined-border,
[b-gzvt9fdxs3] .mud-autocomplete .mud-input-outlined .mud-input-outlined-border {
    border-radius: 8px !important;
}

/* Tables */
[b-gzvt9fdxs3] .mud-table .mud-table-head .mud-table-cell {
    font-weight: 600;
    font-size: 0.72rem;
    text-transform: uppercase;
    letter-spacing: 0.06em;
}

[b-gzvt9fdxs3] .mud-table .mud-table-body .mud-table-row {
    transition: background-color 0.15s ease;
}

/* Page titles */
[b-gzvt9fdxs3] .page-title {
    font-weight: 600 !important;
    letter-spacing: -0.02em;
}

[b-gzvt9fdxs3] .page-subtitle {
    font-weight: 400;
    font-size: 0.95rem;
}

/* Chips */
[b-gzvt9fdxs3] .mud-chip {
    border-radius: 6px !important;
    font-weight: 500;
    box-shadow: none !important;
}

/* Dialog overlay */
[b-gzvt9fdxs3] .mud-overlay {
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    background: rgba(0, 0, 0, 0.55) !important;
}

/* Scrollbar */
[b-gzvt9fdxs3] ::-webkit-scrollbar {
    width: 6px;
    height: 6px;
}

[b-gzvt9fdxs3] ::-webkit-scrollbar-track { background: transparent; }

[b-gzvt9fdxs3] ::-webkit-scrollbar-thumb { border-radius: 3px; }

/* Mobile */
@media (max-width: 600px) {
    [b-gzvt9fdxs3] .mud-main-content.main-content-area {
        padding-left: 8px !important;
        padding-right: 8px !important;
    }

    [b-gzvt9fdxs3] .mud-container {
        padding-left: 4px !important;
        padding-right: 4px !important;
    }

    [b-gzvt9fdxs3] .mud-table .mud-table-cell {
        padding: 6px 8px !important;
        font-size: 0.8rem;
    }

    [b-gzvt9fdxs3] .mud-table .mud-table-head .mud-table-cell {
        font-size: 0.65rem;
    }

    [b-gzvt9fdxs3] .page-title { font-size: 1.5rem !important; }

    [b-gzvt9fdxs3] .mud-dialog {
        margin: 8px !important;
        max-width: calc(100vw - 16px) !important;
    }
}

/* ─────────────────────────────────────────────
   Dark theme — flat
   ───────────────────────────────────────────── */

[b-gzvt9fdxs3] .theme-dark .mud-main-content.main-content-area {
    background: #0a0e27;
    background-color: #0a0e27;
    overflow: visible;
}

[b-gzvt9fdxs3] .theme-dark .mud-appbar {
    background: #0a0e27 !important;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    box-shadow: none;
}

[b-gzvt9fdxs3] .theme-dark .mud-drawer {
    background: #0a0e27 !important;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    border-right: 1px solid rgba(255, 255, 255, 0.06) !important;
}

[b-gzvt9fdxs3] .theme-dark .mud-navmenu .mud-nav-link:hover {
    background: rgba(255, 255, 255, 0.04) !important;
}

[b-gzvt9fdxs3] .theme-dark .mud-navmenu .mud-nav-link.active {
    background: rgba(255, 255, 255, 0.06) !important;
    color: #E8EDF5 !important;
    border-left: none;
}

[b-gzvt9fdxs3] .theme-dark .mud-paper.mud-paper-outlined {
    background: #11162e !important;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    border: 1px solid rgba(255, 255, 255, 0.06) !important;
    border-radius: 8px !important;
    box-shadow: none;
    transition: border-color 0.15s ease;
}

[b-gzvt9fdxs3] .theme-dark .mud-paper.mud-paper-outlined:hover {
    border-color: rgba(255, 255, 255, 0.12) !important;
    box-shadow: none;
}

[b-gzvt9fdxs3] .theme-dark .mud-paper.mud-elevation-1 {
    background: #11162e !important;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 8px !important;
    box-shadow: none !important;
}

[b-gzvt9fdxs3] .theme-dark .mud-table {
    background: #11162e !important;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 8px !important;
    overflow: hidden;
    box-shadow: none;
}

[b-gzvt9fdxs3] .theme-dark .mud-table .mud-table-container { background: transparent !important; }

[b-gzvt9fdxs3] .theme-dark .mud-table .mud-table-head .mud-table-cell {
    background: #0a0e27 !important;
    color: #A8B2C4 !important;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08) !important;
}

[b-gzvt9fdxs3] .theme-dark .mud-table .mud-table-body .mud-table-row {
    border-bottom: 1px solid rgba(255, 255, 255, 0.04);
}

[b-gzvt9fdxs3] .theme-dark .mud-table .mud-table-body .mud-table-row:hover {
    background: rgba(255, 255, 255, 0.03) !important;
}

[b-gzvt9fdxs3] .theme-dark .mud-table .mud-table-body .mud-table-cell {
    border-bottom: 1px solid rgba(255, 255, 255, 0.04) !important;
}

[b-gzvt9fdxs3] .theme-dark .mud-table-pagination {
    background: transparent !important;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
}

[b-gzvt9fdxs3] .theme-dark .mud-tabs {
    background: transparent !important;
    border: none;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 0 !important;
}

[b-gzvt9fdxs3] .theme-dark .mud-tab:hover { background: rgba(255, 255, 255, 0.03); }

[b-gzvt9fdxs3] .theme-dark .mud-tabs-toolbar { background: transparent !important; }

[b-gzvt9fdxs3] .theme-dark .mud-drawer--right {
    background: #11162e !important;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    border-left: 1px solid rgba(255, 255, 255, 0.06) !important;
}

[b-gzvt9fdxs3] .theme-dark .mud-button-filled.mud-button-filled-primary {
    background: #E8EDF5 !important;
    color: #0a0e27 !important;
    box-shadow: none !important;
}

[b-gzvt9fdxs3] .theme-dark .mud-button-filled.mud-button-filled-primary:hover {
    background: #FFFFFF !important;
    box-shadow: none !important;
    filter: none;
}

[b-gzvt9fdxs3] .theme-dark .mud-button-filled.mud-button-filled-success {
    background: #16A34A !important;
    color: #FFFFFF !important;
    box-shadow: none !important;
}

[b-gzvt9fdxs3] .theme-dark .mud-button-outlined {
    border-color: rgba(255, 255, 255, 0.15) !important;
    color: #E8EDF5 !important;
}

[b-gzvt9fdxs3] .theme-dark .mud-button-outlined:hover {
    border-color: rgba(255, 255, 255, 0.4) !important;
    background: rgba(255, 255, 255, 0.04) !important;
    filter: none;
}

[b-gzvt9fdxs3] .theme-dark .mud-input-outlined .mud-input-outlined-border {
    border-color: rgba(255, 255, 255, 0.12) !important;
}

[b-gzvt9fdxs3] .theme-dark .mud-input-outlined:hover .mud-input-outlined-border {
    border-color: rgba(255, 255, 255, 0.25) !important;
}

[b-gzvt9fdxs3] .theme-dark .mud-input-outlined.mud-input-focused .mud-input-outlined-border {
    border-color: #E8EDF5 !important;
    box-shadow: none;
}

[b-gzvt9fdxs3] .theme-dark .mud-dialog {
    background: #11162e !important;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 12px !important;
    box-shadow: 0 24px 60px rgba(0, 0, 0, 0.55);
}

[b-gzvt9fdxs3] .theme-dark .page-title {
    background: none;
    -webkit-text-fill-color: #E8EDF5;
    color: #E8EDF5;
}

[b-gzvt9fdxs3] .theme-dark .page-subtitle { color: #A8B2C4 !important; }

[b-gzvt9fdxs3] .theme-dark ::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.12);
}

[b-gzvt9fdxs3] .theme-dark ::-webkit-scrollbar-thumb:hover {
    background: rgba(255, 255, 255, 0.25);
}

[b-gzvt9fdxs3] .theme-dark .mud-chip { box-shadow: none !important; }

[b-gzvt9fdxs3] .theme-dark .mud-alert {
    border-radius: 8px !important;
    border: 1px solid rgba(255, 255, 255, 0.08);
}

[b-gzvt9fdxs3] .theme-dark .mud-progress-linear {
    border-radius: 4px !important;
    overflow: hidden;
}

/* ─────────────────────────────────────────────
   Light theme — flat
   ───────────────────────────────────────────── */

[b-gzvt9fdxs3] .theme-light .mud-main-content.main-content-area {
    background: #FAFAFA;
    overflow: visible;
}

[b-gzvt9fdxs3] .theme-light .mud-appbar {
    background: #FFFFFF !important;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    border-bottom: 1px solid rgba(15, 23, 42, 0.08);
    box-shadow: none;
    color: #0F172A !important;
}

[b-gzvt9fdxs3] .theme-light .mud-drawer {
    background: #FFFFFF !important;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    border-right: 1px solid rgba(15, 23, 42, 0.08) !important;
}

[b-gzvt9fdxs3] .theme-light .mud-navmenu .mud-nav-link:hover {
    background: rgba(15, 23, 42, 0.04) !important;
}

[b-gzvt9fdxs3] .theme-light .mud-navmenu .mud-nav-link.active {
    background: rgba(15, 23, 42, 0.06) !important;
    color: #0F172A !important;
    border-left: none;
}

[b-gzvt9fdxs3] .theme-light .mud-paper.mud-paper-outlined {
    background: #FFFFFF !important;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    border: 1px solid rgba(15, 23, 42, 0.08) !important;
    border-radius: 8px !important;
    box-shadow: none;
    transition: border-color 0.15s ease;
}

[b-gzvt9fdxs3] .theme-light .mud-paper.mud-paper-outlined:hover {
    border-color: rgba(15, 23, 42, 0.18) !important;
    box-shadow: none;
}

[b-gzvt9fdxs3] .theme-light .mud-paper.mud-elevation-1 {
    background: #FFFFFF !important;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    border: 1px solid rgba(15, 23, 42, 0.08);
    border-radius: 8px !important;
    box-shadow: none !important;
}

[b-gzvt9fdxs3] .theme-light .mud-table {
    background: #FFFFFF !important;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    border: 1px solid rgba(15, 23, 42, 0.08);
    border-radius: 8px !important;
    overflow: hidden;
    box-shadow: none;
}

[b-gzvt9fdxs3] .theme-light .mud-table .mud-table-container { background: transparent !important; }

[b-gzvt9fdxs3] .theme-light .mud-table .mud-table-head .mud-table-cell {
    background: #FAFAFA !important;
    color: #64748B !important;
    border-bottom: 1px solid rgba(15, 23, 42, 0.08) !important;
}

[b-gzvt9fdxs3] .theme-light .mud-table .mud-table-body .mud-table-row {
    border-bottom: 1px solid rgba(15, 23, 42, 0.06);
}

[b-gzvt9fdxs3] .theme-light .mud-table .mud-table-body .mud-table-row:hover {
    background: rgba(15, 23, 42, 0.03) !important;
}

[b-gzvt9fdxs3] .theme-light .mud-table .mud-table-body .mud-table-cell {
    border-bottom: 1px solid rgba(15, 23, 42, 0.06) !important;
}

[b-gzvt9fdxs3] .theme-light .mud-table-pagination {
    background: transparent !important;
    border-top: 1px solid rgba(15, 23, 42, 0.06);
}

[b-gzvt9fdxs3] .theme-light .mud-tabs {
    background: transparent !important;
    border: none;
    border-bottom: 1px solid rgba(15, 23, 42, 0.08);
    border-radius: 0 !important;
}

[b-gzvt9fdxs3] .theme-light .mud-tab:hover { background: rgba(15, 23, 42, 0.04); }

[b-gzvt9fdxs3] .theme-light .mud-tabs-toolbar { background: transparent !important; }

[b-gzvt9fdxs3] .theme-light .mud-drawer--right {
    background: #FFFFFF !important;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    border-left: 1px solid rgba(15, 23, 42, 0.08) !important;
}

[b-gzvt9fdxs3] .theme-light .mud-button-filled.mud-button-filled-primary {
    background: #0F172A !important;
    color: #FFFFFF !important;
    box-shadow: none !important;
}

[b-gzvt9fdxs3] .theme-light .mud-button-filled.mud-button-filled-primary:hover {
    background: #1E293B !important;
    box-shadow: none !important;
    filter: none;
}

[b-gzvt9fdxs3] .theme-light .mud-button-outlined {
    border-color: rgba(15, 23, 42, 0.18) !important;
    color: #0F172A !important;
}

[b-gzvt9fdxs3] .theme-light .mud-button-outlined:hover {
    border-color: rgba(15, 23, 42, 0.4) !important;
    background: rgba(15, 23, 42, 0.03) !important;
    filter: none;
}

[b-gzvt9fdxs3] .theme-light .mud-input-outlined .mud-input-outlined-border {
    border-color: rgba(15, 23, 42, 0.15) !important;
}

[b-gzvt9fdxs3] .theme-light .mud-input-outlined:hover .mud-input-outlined-border {
    border-color: rgba(15, 23, 42, 0.3) !important;
}

[b-gzvt9fdxs3] .theme-light .mud-input-outlined.mud-input-focused .mud-input-outlined-border {
    border-color: #0F172A !important;
    box-shadow: none;
}

[b-gzvt9fdxs3] .theme-light .mud-dialog {
    background: #FFFFFF !important;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    border: 1px solid rgba(15, 23, 42, 0.08);
    border-radius: 12px !important;
    box-shadow: 0 24px 60px rgba(0, 0, 0, 0.1);
}

[b-gzvt9fdxs3] .theme-light .page-title {
    background: none;
    -webkit-text-fill-color: #0F172A;
    color: #0F172A;
}

[b-gzvt9fdxs3] .theme-light .page-subtitle { color: #64748B !important; }

[b-gzvt9fdxs3] .theme-light ::-webkit-scrollbar-thumb {
    background: rgba(15, 23, 42, 0.18);
}

[b-gzvt9fdxs3] .theme-light ::-webkit-scrollbar-thumb:hover {
    background: rgba(15, 23, 42, 0.35);
}
