@import '_content/Microsoft.FluentUI.AspNetCore.Components/Microsoft.FluentUI.AspNetCore.Components.84wtju4z0n.bundle.scp.css';
@import '_content/Stetho.Module.Ambulatory/Stetho.Module.Ambulatory.s8b2mq65sk.bundle.scp.css';
@import '_content/Stetho.Module.Billing/Stetho.Module.Billing.hx5uunpxpv.bundle.scp.css';
@import '_content/Stetho.Module.ClinicalDocs/Stetho.Module.ClinicalDocs.1iycpabto4.bundle.scp.css';
@import '_content/Stetho.Module.EMR/Stetho.Module.EMR.10le7pgkx3.bundle.scp.css';
@import '_content/Stetho.Module.Inventory/Stetho.Module.Inventory.8febcagldj.bundle.scp.css';
@import '_content/Stetho.Module.PatientMgmt/Stetho.Module.PatientMgmt.mjfnb01zc7.bundle.scp.css';
@import '_content/Stetho.Module.Scheduling/Stetho.Module.Scheduling.dvd0h7ku7r.bundle.scp.css';
@import '_content/Stetho.Module.SystemSetup/Stetho.Module.SystemSetup.cup3nqqwrd.bundle.scp.css';
@import '_content/Stetho.UI.Components/Stetho.UI.Components.qocyqwkipp.bundle.scp.css';

/* _content/Stetho.UI.Web/Components/Layout/MainLayout.razor.rz.scp.css */
/* ===================================================================
   Stetho MainLayout — Scoped Styles
   Light sidebar, blue-accent clinical theme
   =================================================================== */

/* ── Shell Layout ──────────────────────────────────────────────────── */
.shell[b-61i3rsk93f] {
    display: flex;
    flex-direction: column;
    height: 100vh;
    overflow: hidden;
    background: #f4f7fb;
}

.shell-body[b-61i3rsk93f] {
    display: flex;
    flex: 1;
    overflow: hidden;
}

/* ── Header ────────────────────────────────────────────────────────── */
.shell-header[b-61i3rsk93f] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 52px;
    padding: 0 16px;
    background: linear-gradient(135deg, #1565c0 0%, #1976d2 50%, #2196f3 100%);
    color: #fff;
    box-shadow: 0 2px 6px rgba(21, 101, 192, 0.25);
    z-index: 200;
    flex-shrink: 0;
}

.header-left[b-61i3rsk93f] {
    display: flex;
    align-items: center;
    gap: 10px;
}

.header-right[b-61i3rsk93f] {
    display: flex;
    align-items: center;
    gap: 12px;
}

.header-brand[b-61i3rsk93f] {
    display: flex;
    align-items: center;
    gap: 8px;
    text-decoration: none;
    color: #fff;
}

.header-brand:hover[b-61i3rsk93f] {
    opacity: 0.92;
}

.brand-logo[b-61i3rsk93f] {
    height: 30px;
    width: auto;
    border-radius: 4px;
}

.brand-name[b-61i3rsk93f] {
    font-size: 1.3rem;
    font-weight: 700;
    letter-spacing: 0.6px;
    color: #fff;
}

.brand-tagline[b-61i3rsk93f] {
    font-size: 0.7rem;
    font-weight: 400;
    color: rgba(255, 255, 255, 0.7);
    align-self: flex-end;
    padding-bottom: 2px;
    margin-left: -2px;
}

/* ── Sidebar Toggle Button ─────────────────────────────────────────── */
.sidebar-toggle[b-61i3rsk93f] {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border: none;
    border-radius: 6px;
    background: rgba(255, 255, 255, 0.15);
    cursor: pointer;
    transition: background 0.2s;
}

.sidebar-toggle:hover[b-61i3rsk93f] {
    background: rgba(255, 255, 255, 0.25);
}

.sidebar-toggle img[b-61i3rsk93f] {
    width: 20px;
    height: 20px;
}

/* ── Icon Utilities ────────────────────────────────────────────────── */
.icon-white[b-61i3rsk93f] {
    filter: brightness(0) invert(1);
}

/* ── Sidebar ───────────────────────────────────────────────────────── */
.sidebar[b-61i3rsk93f] {
    width: 260px;
    background: #ffffff;
    color: #37474f;
    overflow-y: auto;
    overflow-x: hidden;
    flex-shrink: 0;
    transition: width 0.28s cubic-bezier(0.4, 0, 0.2, 1);
    border-right: 1px solid #e3e8ef;
    box-shadow: 1px 0 4px rgba(0, 0, 0, 0.04);
    scrollbar-width: thin;
    scrollbar-color: #c5cdd6 transparent;
}

.sidebar[b-61i3rsk93f]::-webkit-scrollbar {
    width: 5px;
}

.sidebar[b-61i3rsk93f]::-webkit-scrollbar-track {
    background: transparent;
}

.sidebar[b-61i3rsk93f]::-webkit-scrollbar-thumb {
    background: #c5cdd6;
    border-radius: 3px;
}

.sidebar[b-61i3rsk93f]::-webkit-scrollbar-thumb:hover {
    background: #a0aab4;
}

/* Collapsed state */
.sidebar.collapsed[b-61i3rsk93f] {
    width: 56px;
}

.sidebar.collapsed .nav-text[b-61i3rsk93f],
.sidebar.collapsed .nav-chevron[b-61i3rsk93f],
.sidebar.collapsed .nav-separator span[b-61i3rsk93f],
.sidebar.collapsed .nav-children[b-61i3rsk93f] {
    display: none;
}

.sidebar.collapsed .nav-separator[b-61i3rsk93f] {
    margin: 8px 8px;
    padding: 0;
}

.sidebar.collapsed .nav-separator[b-61i3rsk93f]::after {
    display: block;
    margin: 0;
}

.sidebar.collapsed .nav-item[b-61i3rsk93f],
.sidebar.collapsed .nav-group-toggle[b-61i3rsk93f] {
    justify-content: center;
    padding: 10px 0;
}

.sidebar.collapsed .nav-icon[b-61i3rsk93f] {
    margin: 0;
}

/* ── Sidebar Nav ───────────────────────────────────────────────────── */
.sidebar-nav[b-61i3rsk93f] {
    display: flex;
    flex-direction: column;
    padding: 8px 0;
}

/* ── Menu Search ───────────────────────────────────────────────────── */
.nav-search[b-61i3rsk93f] {
    position: relative;
    display: flex;
    align-items: center;
    margin: 4px 12px 10px;
}

.nav-search-icon[b-61i3rsk93f] {
    position: absolute;
    left: 9px;
    width: 15px;
    height: 15px;
    opacity: 0.45;
    pointer-events: none;
}

.nav-search-input[b-61i3rsk93f] {
    width: 100%;
    padding: 7px 26px 7px 30px;
    font-size: 0.82rem;
    color: #263238;
    background: #f1f5fb;
    border: 1px solid #dbe4f0;
    border-radius: 6px;
    outline: none;
    transition: border-color 0.15s, background 0.15s;
}

.nav-search-input:focus[b-61i3rsk93f] {
    background: #fff;
    border-color: #1976d2;
}

.nav-search-input[b-61i3rsk93f]::placeholder {
    color: #90a4ae;
}

.nav-search-clear[b-61i3rsk93f] {
    position: absolute;
    right: 6px;
    border: none;
    background: transparent;
    color: #90a4ae;
    font-size: 1.05rem;
    line-height: 1;
    cursor: pointer;
    padding: 2px 4px;
    border-radius: 4px;
}

.nav-search-clear:hover[b-61i3rsk93f] {
    color: #455a64;
    background: #e0e7f1;
}

/* Hide search when sidebar is collapsed to icon-only mode */
.sidebar.collapsed .nav-search[b-61i3rsk93f] {
    display: none;
}

/* ── Nav Items ─────────────────────────────────────────────────────── */
.nav-item[b-61i3rsk93f] {
    display: flex;
    align-items: center;
    padding: 9px 16px;
    color: #37474f;
    text-decoration: none;
    font-size: 0.87rem;
    font-weight: 480;
    border: none;
    background: none;
    width: 100%;
    text-align: left;
    cursor: pointer;
    transition: background 0.18s, color 0.18s, border-left 0.18s;
    border-left: 3px solid transparent;
    line-height: 1.3;
}

.nav-item:hover[b-61i3rsk93f] {
    background: #e8f0fe;
    color: #1565c0;
}

.nav-item:active[b-61i3rsk93f] {
    background: #d2e3fc;
}

/* Active state */
.nav-item.active[b-61i3rsk93f] {
    background: #e8f0fe;
    color: #1565c0;
    border-left-color: #1976d2;
    font-weight: 600;
}

/* ── Nav Icons ─────────────────────────────────────────────────────── */
.nav-icon[b-61i3rsk93f] {
    width: 20px;
    height: 20px;
    flex-shrink: 0;
    margin-right: 12px;
    opacity: 0.55;
    transition: opacity 0.18s, filter 0.18s;
}

.nav-item:hover .nav-icon[b-61i3rsk93f] {
    opacity: 0.85;
    filter: brightness(0) saturate(100%) invert(26%) sepia(89%) saturate(1583%) hue-rotate(206deg) brightness(96%) contrast(91%);
}

.nav-item.active .nav-icon[b-61i3rsk93f] {
    opacity: 1;
    filter: brightness(0) saturate(100%) invert(26%) sepia(89%) saturate(1583%) hue-rotate(206deg) brightness(96%) contrast(91%);
}

/* ── Nav Text ──────────────────────────────────────────────────────── */
.nav-text[b-61i3rsk93f] {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    flex: 1;
}

/* ── Nav Separator ─────────────────────────────────────────────────── */
.nav-separator[b-61i3rsk93f] {
    display: flex;
    align-items: center;
    padding: 14px 16px 6px;
    margin-top: 4px;
}

.nav-separator span[b-61i3rsk93f] {
    font-size: 0.65rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.2px;
    color: #90a4ae;
    white-space: nowrap;
    padding-right: 10px;
}

.nav-separator[b-61i3rsk93f]::after {
    content: "";
    flex: 1;
    height: 1px;
    background: #e3e8ef;
}

/* ── Nav Group (collapsible) ───────────────────────────────────────── */
.nav-group[b-61i3rsk93f] {
    display: flex;
    flex-direction: column;
}

.nav-group-toggle[b-61i3rsk93f] {
    position: relative;
}

/* Chevron icon */
.nav-chevron[b-61i3rsk93f] {
    width: 14px;
    height: 14px;
    flex-shrink: 0;
    margin-left: auto;
    opacity: 0.35;
    transition: transform 0.25s cubic-bezier(0.4, 0, 0.2, 1), opacity 0.18s;
}

.nav-group.open .nav-chevron[b-61i3rsk93f] {
    transform: rotate(90deg);
    opacity: 0.55;
}

.nav-group-toggle:hover .nav-chevron[b-61i3rsk93f] {
    opacity: 0.65;
}

/* ── Nav Children (dropdown) ───────────────────────────────────────── */
.nav-children[b-61i3rsk93f] {
    display: none;
    flex-direction: column;
    background: #f8fafe;
    overflow: hidden;
}

.nav-group.open > .nav-children[b-61i3rsk93f] {
    display: flex;
}

.nav-child[b-61i3rsk93f] {
    display: block;
    padding: 7px 16px 7px 51px;
    color: #455a64;
    text-decoration: none;
    font-size: 0.82rem;
    transition: background 0.15s, color 0.15s;
    line-height: 1.35;
    border-left: 3px solid transparent;
}

.nav-child:hover[b-61i3rsk93f] {
    background: #e8f0fe;
    color: #1565c0;
}

.nav-child:active[b-61i3rsk93f] {
    background: #d2e3fc;
}

.nav-child.active[b-61i3rsk93f] {
    color: #1565c0;
    background: #e8f0fe;
    border-left-color: #1976d2;
    font-weight: 600;
}

/* INFINITY menu item with no Stetho screen yet */
.nav-child.nav-soon[b-61i3rsk93f],
.nav-child.nav-soon:hover[b-61i3rsk93f] {
    color: #9aa7b0;
    background: none;
    cursor: default;
}

.nav-soon-tag[b-61i3rsk93f] {
    margin-left: 6px;
    font-size: 0.66rem;
    font-style: normal;
    text-transform: uppercase;
    letter-spacing: .03em;
    color: #b0bcc4;
}

/* Stetho screen INFINITY never had, placed under an INFINITY module */
.nav-extra-sep[b-61i3rsk93f] {
    margin: 4px 16px 2px 51px;
    border-top: 1px dashed #cfd8dc;
    font-size: 0.64rem;
    color: #90a4ae;
    text-transform: uppercase;
    letter-spacing: .04em;
    padding-top: 4px;
}

.nav-loading[b-61i3rsk93f] {
    padding: 10px 16px;
    font-size: 0.8rem;
    color: #90a4ae;
}

/* ── Main Content ──────────────────────────────────────────────────── */
.shell-content[b-61i3rsk93f] {
    flex: 1;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    background: #f4f7fb;
}

.content-inner[b-61i3rsk93f] {
    flex: 1;
    overflow-y: auto;
    padding: 24px 28px;
}

/* ── Footer ────────────────────────────────────────────────────────── */
.shell-footer[b-61i3rsk93f] {
    display: flex;
    align-items: center;
    height: 32px;
    padding: 0 28px;
    font-size: 0.72rem;
    color: #90a4ae;
    background: #ffffff;
    border-top: 1px solid #e3e8ef;
    flex-shrink: 0;
}

/* ── Blazor Error UI ───────────────────────────────────────────────── */
#blazor-error-ui[b-61i3rsk93f] {
    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-61i3rsk93f] {
    cursor: pointer;
    position: absolute;
    right: 0.75rem;
    top: 0.5rem;
}

/* ── Responsive ────────────────────────────────────────────────────── */
@media (max-width: 768px) {
    .sidebar[b-61i3rsk93f] {
        position: fixed;
        top: 52px;
        left: 0;
        bottom: 0;
        z-index: 150;
        box-shadow: 4px 0 16px rgba(0, 0, 0, 0.12);
    }

    .sidebar.collapsed[b-61i3rsk93f] {
        width: 0;
        border: none;
    }

    .brand-tagline[b-61i3rsk93f] {
        display: none;
    }

    .content-inner[b-61i3rsk93f] {
        padding: 16px;
    }
}

@media (min-width: 1600px) {
    .sidebar[b-61i3rsk93f] {
        width: 280px;
    }

    .content-inner[b-61i3rsk93f] {
        padding: 28px 40px;
    }
}

/* ── ABDM nav item (headline capability) ─────────────────────────── */
.nav-abdm .nav-abdm-tag[b-61i3rsk93f] {
    margin-left: auto;
    padding: 0 7px;
    border-radius: 8px;
    font-size: 0.62rem;
    font-weight: 700;
    letter-spacing: .3px;
    color: #fff;
    background: linear-gradient(90deg, #f47920, #138808);
}
.sidebar.collapsed .nav-abdm-tag[b-61i3rsk93f] { display: none; }
.nav-abdm .nav-abdm-tag.off[b-61i3rsk93f] { background: #90a4ae; }
/* _content/Stetho.UI.Web/Components/Pages/Home.razor.rz.scp.css */
/* ===================================================================
   Stetho Home Page — Clinical Dashboard Landing (Blue Theme)
   Icons: Tabler Icons (MIT License) — wwwroot/icons/tabler/
   =================================================================== */

/* ── Container ─────────────────────────────────────────────────────── */
.home-container[b-no30uuby5d] {
    max-width: 1400px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 28px;
    padding-bottom: 32px;
}

/* ── Welcome Banner ────────────────────────────────────────────────── */
.welcome-banner[b-no30uuby5d] {
    background: linear-gradient(135deg, #1565c0 0%, #1976d2 50%, #42a5f5 100%);
    border-radius: 14px;
    padding: 28px 36px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: #ffffff;
    box-shadow: 0 4px 20px rgba(21, 101, 192, 0.20);
}

.welcome-greeting[b-no30uuby5d] {
    font-size: 1.65rem;
    font-weight: 600;
    margin: 0 0 6px 0;
    color: #ffffff;
    letter-spacing: -0.3px;
}

.welcome-subtitle[b-no30uuby5d] {
    font-size: 0.9rem;
    margin: 0;
    color: rgba(255, 255, 255, 0.8);
    font-weight: 400;
}

.welcome-right[b-no30uuby5d] {
    text-align: right;
    flex-shrink: 0;
}

.welcome-date[b-no30uuby5d] {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 2px;
}

.date-day[b-no30uuby5d] {
    font-size: 1.2rem;
    font-weight: 600;
    color: #ffffff;
}

.date-full[b-no30uuby5d] {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.75);
}

.date-time[b-no30uuby5d] {
    font-size: 0.78rem;
    color: rgba(255, 255, 255, 0.6);
    margin-top: 2px;
}

/* ── KPI Summary Cards ─────────────────────────────────────────────── */
.kpi-grid[b-no30uuby5d] {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
    gap: 16px;
}

.kpi-card[b-no30uuby5d] {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 16px 18px;
    background: #ffffff;
    border: 1px solid #e3e8ef;
    border-radius: 12px;
    transition: box-shadow 0.2s;
}

.kpi-card:hover[b-no30uuby5d] {
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
}

.kpi-icon[b-no30uuby5d] {
    width: 44px;
    height: 44px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.kpi-icon img[b-no30uuby5d] {
    width: 22px;
    height: 22px;
    filter: brightness(0) invert(1);
}

.kpi-icon-patients[b-no30uuby5d]     { background: #1976d2; }
.kpi-icon-appointments[b-no30uuby5d] { background: #7b1fa2; }
.kpi-icon-admissions[b-no30uuby5d]   { background: #0277bd; }
.kpi-icon-orders[b-no30uuby5d]       { background: #f57c00; }
.kpi-icon-emergency[b-no30uuby5d]    { background: #d32f2f; }
.kpi-icon-billing[b-no30uuby5d]      { background: #2e7d32; }

.kpi-info[b-no30uuby5d] {
    display: flex;
    flex-direction: column;
}

.kpi-value[b-no30uuby5d] {
    font-size: 1.4rem;
    font-weight: 700;
    color: #1e2a36;
    line-height: 1.2;
}

.kpi-label[b-no30uuby5d] {
    font-size: 0.75rem;
    color: #5a6a7a;
    font-weight: 450;
    margin-top: 2px;
}

/* ── Section Titles ────────────────────────────────────────────────── */
.section-title[b-no30uuby5d] {
    font-size: 1.05rem;
    font-weight: 600;
    color: #1e2a36;
    margin: 0 0 14px 0;
    padding-bottom: 8px;
    border-bottom: 2px solid #e3e8ef;
    letter-spacing: 0.2px;
}

/* ── Quick Action Cards ────────────────────────────────────────────── */
.action-grid[b-no30uuby5d] {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
    gap: 14px;
}

.action-card[b-no30uuby5d] {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    padding: 18px 12px 14px;
    background: #ffffff;
    border: 1px solid #e3e8ef;
    border-radius: 12px;
    text-decoration: none;
    color: #1e2a36;
    transition: all 0.2s ease;
    cursor: pointer;
    text-align: center;
}

.action-card:hover[b-no30uuby5d] {
    border-color: #1976d2;
    box-shadow: 0 4px 16px rgba(25, 118, 210, 0.12);
    transform: translateY(-2px);
    text-decoration: none;
    color: #1e2a36;
}

.action-icon[b-no30uuby5d] {
    width: 50px;
    height: 50px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.action-icon img[b-no30uuby5d] {
    width: 24px;
    height: 24px;
    filter: brightness(0) invert(1);
}

.action-icon-patients[b-no30uuby5d]    { background: #1976d2; }
.action-icon-ambulatory[b-no30uuby5d]  { background: #00897b; }
.action-icon-scheduling[b-no30uuby5d]  { background: #7b1fa2; }
.action-icon-inpatient[b-no30uuby5d]   { background: #0277bd; }
.action-icon-emergency[b-no30uuby5d]   { background: #d32f2f; }
.action-icon-orders[b-no30uuby5d]      { background: #f57c00; }
.action-icon-billing[b-no30uuby5d]     { background: #2e7d32; }
.action-icon-dashboard[b-no30uuby5d]   { background: #455a64; }

.action-label[b-no30uuby5d] {
    font-size: 0.85rem;
    font-weight: 600;
    line-height: 1.2;
}

.action-desc[b-no30uuby5d] {
    font-size: 0.73rem;
    color: #5a6a7a;
    line-height: 1.2;
}

/* ── Module Directory ──────────────────────────────────────────────── */
.module-grid[b-no30uuby5d] {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 18px;
}

.module-group[b-no30uuby5d] {
    background: #ffffff;
    border: 1px solid #e3e8ef;
    border-radius: 12px;
    padding: 18px 22px;
    transition: box-shadow 0.2s ease;
}

.module-group:hover[b-no30uuby5d] {
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
}

.module-group-header[b-no30uuby5d] {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 12px;
    padding-bottom: 10px;
    border-bottom: 2px solid transparent;
}

.module-header-icon[b-no30uuby5d] {
    width: 20px;
    height: 20px;
    flex-shrink: 0;
}

/* Blue filter for all header icons */
.clinical-icon[b-no30uuby5d] { filter: brightness(0) saturate(100%) invert(26%) sepia(89%) saturate(1583%) hue-rotate(206deg) brightness(96%) contrast(91%); }
.care-icon[b-no30uuby5d]     { filter: brightness(0) saturate(100%) invert(40%) sepia(63%) saturate(600%) hue-rotate(143deg) brightness(90%) contrast(90%); }
.diag-icon[b-no30uuby5d]     { filter: brightness(0) saturate(100%) invert(25%) sepia(80%) saturate(1800%) hue-rotate(255deg) brightness(88%) contrast(90%); }
.finance-icon[b-no30uuby5d]  { filter: brightness(0) saturate(100%) invert(38%) sepia(80%) saturate(800%) hue-rotate(110deg) brightness(88%) contrast(88%); }
.supply-icon[b-no30uuby5d]   { filter: brightness(0) saturate(100%) invert(50%) sepia(70%) saturate(900%) hue-rotate(15deg) brightness(93%) contrast(90%); }
.admin-icon[b-no30uuby5d]    { filter: brightness(0) saturate(100%) invert(35%) sepia(10%) saturate(500%) hue-rotate(180deg) brightness(90%) contrast(85%); }

.module-group-header h3[b-no30uuby5d] {
    font-size: 0.92rem;
    font-weight: 600;
    color: #1e2a36;
    margin: 0;
}

/* Color-coded group header borders */
.clinical-header[b-no30uuby5d] { border-bottom-color: #1976d2; }
.care-header[b-no30uuby5d]     { border-bottom-color: #00897b; }
.diag-header[b-no30uuby5d]     { border-bottom-color: #7b1fa2; }
.finance-header[b-no30uuby5d]  { border-bottom-color: #2e7d32; }
.supply-header[b-no30uuby5d]   { border-bottom-color: #f57c00; }
.admin-header[b-no30uuby5d]    { border-bottom-color: #455a64; }

.module-links[b-no30uuby5d] {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.module-links a[b-no30uuby5d] {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 7px 10px;
    border-radius: 6px;
    font-size: 0.835rem;
    color: #3d4f5f;
    text-decoration: none;
    transition: all 0.15s ease;
    font-weight: 450;
}

.link-icon[b-no30uuby5d] {
    width: 16px;
    height: 16px;
    flex-shrink: 0;
    opacity: 0.5;
    transition: opacity 0.15s ease, filter 0.15s ease;
}

.module-links a:hover[b-no30uuby5d] {
    background: #e8f0fe;
    color: #1565c0;
    text-decoration: none;
}

.module-links a:hover .link-icon[b-no30uuby5d] {
    opacity: 1;
    filter: brightness(0) saturate(100%) invert(26%) sepia(89%) saturate(1583%) hue-rotate(206deg) brightness(96%) contrast(91%);
}

/* ── Other Services (Chips) ────────────────────────────────────────── */
.service-chips[b-no30uuby5d] {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.service-chip[b-no30uuby5d] {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    background: #f8fafe;
    border: 1px solid #e3e8ef;
    border-radius: 20px;
    font-size: 0.81rem;
    color: #3d4f5f;
    text-decoration: none;
    font-weight: 450;
    transition: all 0.15s ease;
    white-space: nowrap;
}

.chip-icon[b-no30uuby5d] {
    width: 15px;
    height: 15px;
    flex-shrink: 0;
    opacity: 0.45;
    transition: opacity 0.15s ease, filter 0.15s ease;
}

.service-chip:hover[b-no30uuby5d] {
    background: #e8f0fe;
    border-color: #1976d2;
    color: #1565c0;
    text-decoration: none;
}

.service-chip:hover .chip-icon[b-no30uuby5d] {
    opacity: 1;
    filter: brightness(0) saturate(100%) invert(26%) sepia(89%) saturate(1583%) hue-rotate(206deg) brightness(96%) contrast(91%);
}

/* ── Alerts & Activity Row ─────────────────────────────────────────── */
.alerts-activity-row[b-no30uuby5d] {
    display: flex;
    gap: 20px;
}

.alerts-panel[b-no30uuby5d] {
    flex: 3;
    min-width: 0;
    background: #ffffff;
    border: 1px solid #e3e8ef;
    border-radius: 12px;
    padding: 20px 22px;
}

.activity-panel[b-no30uuby5d] {
    flex: 2;
    min-width: 0;
    background: #ffffff;
    border: 1px solid #e3e8ef;
    border-radius: 12px;
    padding: 20px 22px;
}

.panel-header[b-no30uuby5d] {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 16px;
    padding-bottom: 10px;
    border-bottom: 2px solid #e3e8ef;
}

.panel-header-left[b-no30uuby5d] {
    display: flex;
    align-items: center;
    gap: 10px;
}

.panel-header-icon[b-no30uuby5d] {
    width: 20px;
    height: 20px;
    opacity: 0.6;
}

.panel-title[b-no30uuby5d] {
    font-size: 1.05rem;
    font-weight: 600;
    color: #1e2a36;
    margin: 0;
    letter-spacing: 0.2px;
}

.view-all-link[b-no30uuby5d] {
    font-size: 0.8rem;
    font-weight: 500;
    color: #1976d2;
    text-decoration: none;
    white-space: nowrap;
}

.view-all-link:hover[b-no30uuby5d] {
    text-decoration: underline;
}

/* ── Alerts List ──────────────────────────────────────────────────── */
.alerts-list[b-no30uuby5d] {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.alerts-empty[b-no30uuby5d] {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 32px 16px;
    color: #5a6a7a;
    font-size: 0.88rem;
}

.empty-icon[b-no30uuby5d] {
    width: 20px;
    height: 20px;
    opacity: 0.4;
}

.alert-item[b-no30uuby5d] {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 12px 14px;
    border-left: 4px solid transparent;
    border-radius: 8px;
    background: #f8fafe;
    text-decoration: none;
    color: inherit;
    transition: all 0.15s ease;
    cursor: pointer;
}

.alert-item:hover[b-no30uuby5d] {
    background: #e8f0fe;
    text-decoration: none;
    color: inherit;
    box-shadow: 0 1px 6px rgba(0, 0, 0, 0.06);
}

.alert-icon-wrap[b-no30uuby5d] {
    width: 34px;
    height: 34px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.alert-severity-icon[b-no30uuby5d] {
    width: 18px;
    height: 18px;
}

.alert-content[b-no30uuby5d] {
    display: flex;
    flex-direction: column;
    gap: 3px;
    min-width: 0;
    flex: 1;
}

.alert-title-row[b-no30uuby5d] {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
}

.alert-title[b-no30uuby5d] {
    font-size: 0.85rem;
    font-weight: 600;
    color: #1e2a36;
    line-height: 1.3;
}

.alert-category[b-no30uuby5d] {
    font-size: 0.68rem;
    font-weight: 500;
    padding: 1px 8px;
    border-radius: 10px;
    background: #e3e8ef;
    color: #3d4f5f;
    white-space: nowrap;
}

.alert-message[b-no30uuby5d] {
    font-size: 0.78rem;
    color: #5a6a7a;
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.alert-time[b-no30uuby5d] {
    font-size: 0.72rem;
    color: #8a9aaa;
    margin-top: 2px;
}

/* ── Activity Feed ────────────────────────────────────────────────── */
.activity-list[b-no30uuby5d] {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.activity-item[b-no30uuby5d] {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 12px;
    border-radius: 8px;
    transition: background 0.15s ease;
}

.activity-item:hover[b-no30uuby5d] {
    background: #f8fafe;
}

.activity-icon-wrap[b-no30uuby5d] {
    width: 34px;
    height: 34px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.activity-icon[b-no30uuby5d] {
    width: 16px;
    height: 16px;
    filter: brightness(0) invert(1);
}

.activity-icon-patients[b-no30uuby5d]      { background: #1976d2; }
.activity-icon-appointments[b-no30uuby5d]  { background: #7b1fa2; }
.activity-icon-encounters[b-no30uuby5d]    { background: #2e7d32; }
.activity-icon-queue[b-no30uuby5d]         { background: #f57c00; }
.activity-icon-ed[b-no30uuby5d]            { background: #d32f2f; }

.activity-text[b-no30uuby5d] {
    display: flex;
    flex-direction: column;
    min-width: 0;
}

.activity-desc[b-no30uuby5d] {
    font-size: 0.83rem;
    color: #1e2a36;
    line-height: 1.3;
}

.activity-desc strong[b-no30uuby5d] {
    font-weight: 700;
}

.activity-time[b-no30uuby5d] {
    font-size: 0.72rem;
    color: #8a9aaa;
    margin-top: 2px;
}

/* ── Responsive ────────────────────────────────────────────────────── */
@media (max-width: 768px) {
    .welcome-banner[b-no30uuby5d] {
        flex-direction: column;
        align-items: flex-start;
        gap: 14px;
        padding: 22px;
    }

    .welcome-right[b-no30uuby5d] {
        text-align: left;
    }

    .welcome-date[b-no30uuby5d] {
        align-items: flex-start;
    }

    .welcome-greeting[b-no30uuby5d] {
        font-size: 1.3rem;
    }

    .kpi-grid[b-no30uuby5d] {
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
    }

    .kpi-card[b-no30uuby5d] {
        padding: 12px 14px;
    }

    .kpi-value[b-no30uuby5d] {
        font-size: 1.15rem;
    }

    .action-grid[b-no30uuby5d] {
        grid-template-columns: repeat(auto-fill, minmax(110px, 1fr));
        gap: 10px;
    }

    .action-card[b-no30uuby5d] {
        padding: 14px 8px 12px;
    }

    .action-icon[b-no30uuby5d] {
        width: 44px;
        height: 44px;
        border-radius: 10px;
    }

    .action-icon img[b-no30uuby5d] {
        width: 22px;
        height: 22px;
    }

    .module-grid[b-no30uuby5d] {
        grid-template-columns: 1fr;
    }

    .alerts-activity-row[b-no30uuby5d] {
        flex-direction: column;
    }

    .alerts-panel[b-no30uuby5d],
    .activity-panel[b-no30uuby5d] {
        padding: 16px;
    }
}

@media (min-width: 1600px) {
    .kpi-grid[b-no30uuby5d] {
        grid-template-columns: repeat(6, 1fr);
    }

    .action-grid[b-no30uuby5d] {
        grid-template-columns: repeat(8, 1fr);
    }

    .module-grid[b-no30uuby5d] {
        grid-template-columns: repeat(3, 1fr);
    }
}
/* _content/Stetho.UI.Web/Components/Pages/MasterCodes.razor.rz.scp.css */
.mc[b-3q8gfbmpev] { display: grid; grid-template-columns: 300px minmax(0, 1fr); gap: 16px; align-items: start; min-height: calc(100vh - 170px); }
.mc.mc-tree-hidden[b-3q8gfbmpev] { grid-template-columns: minmax(0, 1fr); }
.mc.mc-tree-hidden .mc-tree[b-3q8gfbmpev] { display: none; }

.mc-tree[b-3q8gfbmpev] { background: #fff; border: 1px solid #e3e8ee; border-radius: 8px; padding: 10px 0; position: sticky; top: 8px; max-height: calc(100vh - 150px); overflow-y: auto; }
.mc-head[b-3q8gfbmpev] { display: flex; align-items: center; padding: 0 12px 6px; }
.mc-head h2[b-3q8gfbmpev] { margin: 0; font-size: 1.15rem; flex: 1; }
.mc-hide[b-3q8gfbmpev], .mc-show[b-3q8gfbmpev] { border: 1px solid #cfd8dc; background: #f5f8fa; border-radius: 4px; cursor: pointer; font-size: 1rem; line-height: 1; padding: 3px 8px; color: #37474f; }
.mc-show[b-3q8gfbmpev] { margin-bottom: 10px; font-size: .85rem; }

.mc-search[b-3q8gfbmpev] { position: relative; margin: 0 12px 8px; }
.mc-search input[b-3q8gfbmpev] { width: 100%; box-sizing: border-box; height: 32px; padding: 0 28px 0 8px; font: inherit; font-size: .85rem; border: 1px solid #cfd8dc; border-radius: 4px; }
.mc-search button[b-3q8gfbmpev] { position: absolute; right: 4px; top: 4px; border: none; background: none; cursor: pointer; font-size: 1rem; color: #90a4ae; }

.mc-module-toggle[b-3q8gfbmpev] { display: flex; align-items: center; gap: 8px; width: 100%; border: none; background: none; padding: 6px 12px; font: inherit; font-size: .86rem; font-weight: 600; color: #263238; cursor: pointer; text-align: left; }
.mc-module-toggle:hover[b-3q8gfbmpev] { background: #f1f5f9; }
.mc-chev[b-3q8gfbmpev] { display: inline-block; width: 10px; transition: transform .15s; color: #607d8b; }
.mc-module-toggle.open .mc-chev[b-3q8gfbmpev] { transform: rotate(90deg); }

.mc-item[b-3q8gfbmpev] { display: block; width: 100%; border: none; background: none; text-align: left; font: inherit; font-size: .82rem; color: #455a64; padding: 5px 12px 5px 32px; cursor: pointer; border-left: 3px solid transparent; }
.mc-item:hover[b-3q8gfbmpev] { background: #e8f0fe; color: #1565c0; }
.mc-item.mc-child[b-3q8gfbmpev] { padding-left: 48px; font-size: .8rem; }
.mc-item.mc-on[b-3q8gfbmpev] { background: #e8f0fe; color: #1565c0; font-weight: 600; border-left-color: #1976d2; }
.mc-item.mc-soon[b-3q8gfbmpev] { color: #9aa7b0; }
.mc-item em[b-3q8gfbmpev] { margin-left: 6px; font-size: .64rem; font-style: normal; text-transform: uppercase; color: #b0bcc4; letter-spacing: .03em; }

.mc-muted[b-3q8gfbmpev] { padding: 8px 12px; font-size: .82rem; color: #90a4ae; }
.mc-body[b-3q8gfbmpev] { min-width: 0; }
.mc-empty[b-3q8gfbmpev] { background: #fff; border: 1px dashed #cfd8dc; border-radius: 8px; padding: 28px; color: #546e7a; }
.mc-empty h3[b-3q8gfbmpev] { margin: 0 0 6px; color: #263238; }
