/* _content/etransactionM1/Components/Layout/MainLayout.razor.rz.scp.css */
.page[b-v685i8vnnl] {
    position: relative;
    display: flex;
    flex-direction: column;
}

main[b-v685i8vnnl] {
    flex: 1;
    min-width: 0;
    overflow-x: hidden;
}



.top-row[b-v685i8vnnl] {
    background-color: #ede9f0;
    border-bottom: 1px solid #ede9f0;
    justify-content: flex-end;
    height: 2rem;
    display: flex;
    align-items: center;
}

    .top-row[b-v685i8vnnl]  a, .top-row[b-v685i8vnnl]  .btn-link {
        white-space: nowrap;
        margin-left: 1.5rem;
        text-decoration: none;
    }

    .top-row[b-v685i8vnnl]  a:hover, .top-row[b-v685i8vnnl]  .btn-link:hover {
        text-decoration: underline;
    }

    .top-row[b-v685i8vnnl]  a:first-child {
        overflow: hidden;
        text-overflow: ellipsis;
    }

@media (max-width: 640.98px) {
    .top-row[b-v685i8vnnl] {
        justify-content: space-between;
    }

    .top-row[b-v685i8vnnl]  a, .top-row[b-v685i8vnnl]  .btn-link {
        margin-left: 0;
    }
}

@media (min-width: 641px) {
    .page[b-v685i8vnnl] {
        flex-direction: row;
    }

.sidebar[b-v685i8vnnl] {
        width: 230px;
        height: 100vh;
        position: sticky;
        top: 0;
        background: #0f1929;
        overflow: hidden;
    }

    .top-row[b-v685i8vnnl] {
        position: sticky;
        top: 0;
        z-index: 1;
    }

    .top-row.auth[b-v685i8vnnl]  a:first-child {
        flex: 1;
        text-align: right;
        width: 0;
    }

    .top-row[b-v685i8vnnl], article[b-v685i8vnnl] {
        padding-left: 2rem !important;
        padding-right: 1.5rem !important;
    }
}

#blazor-error-ui[b-v685i8vnnl] {
    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-v685i8vnnl] {
        cursor: pointer;
        position: absolute;
        right: 0.75rem;
        top: 0.5rem;
    }
/* _content/etransactionM1/Components/Layout/NavMenu.razor.rz.scp.css */
.navbar-toggler[b-xierf8s5fj] {
    appearance: none;
    cursor: pointer;
    width: 3.5rem;
    height: 2.5rem;
    color: white;
    position: absolute;
    top: 0.5rem;
    right: 1rem;
    border: 1px solid rgba(255, 255, 255, 0.1);
    background: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba%28255, 255, 255, 0.55%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e") no-repeat center/1.75rem rgba(255, 255, 255, 0.1);
}

.navbar-toggler:checked[b-xierf8s5fj] {
    background-color: rgba(255, 255, 255, 0.5);
}

.top-row[b-xierf8s5fj] {
    height: 2rem;
    background-color: rgba(0,0,0,0.4);
}

.navbar-brand[b-xierf8s5fj] {
    font-size: 1.1rem;
}

.bi[b-xierf8s5fj] {
    display: inline-block;
    position: relative;
    width: 1.25rem;
    height: 1.25rem;
    margin-right: 0.75rem;
    top: -1px;
    background-size: cover;
}

.bi-house-door-fill-nav-menu[b-xierf8s5fj] {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='white' class='bi bi-house-door-fill' viewBox='0 0 16 16'%3E%3Cpath d='M6.5 14.5v-3.505c0-.245.25-.495.5-.495h2c.25 0 .5.25.5.5v3.5a.5.5 0 0 0 .5.5h4a.5.5 0 0 0 .5-.5v-7a.5.5 0 0 0-.146-.354L13 5.793V2.5a.5.5 0 0 0-.5-.5h-1a.5.5 0 0 0-.5.5v1.293L8.354 1.146a.5.5 0 0 0-.708 0l-6 6A.5.5 0 0 0 1.5 7.5v7a.5.5 0 0 0 .5.5h4a.5.5 0 0 0 .5-.5Z'/%3E%3C/svg%3E");
}

.bi-plus-square-fill-nav-menu[b-xierf8s5fj] {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='white' class='bi bi-plus-square-fill' viewBox='0 0 16 16'%3E%3Cpath d='M2 0a2 2 0 0 0-2 2v12a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2V2a2 2 0 0 0-2-2H2zm6.5 4.5v3h3a.5.5 0 0 1 0 1h-3v3a.5.5 0 0 1-1 0v-3h-3a.5.5 0 0 1 0-1h3v-3a.5.5 0 0 1 1 0z'/%3E%3C/svg%3E");
}

.bi-list-nested-nav-menu[b-xierf8s5fj] {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='white' class='bi bi-list-nested' viewBox='0 0 16 16'%3E%3Cpath fill-rule='evenodd' d='M4.5 11.5A.5.5 0 0 1 5 11h10a.5.5 0 0 1 0 1H5a.5.5 0 0 1-.5-.5zm-2-4A.5.5 0 0 1 3 7h10a.5.5 0 0 1 0 1H3a.5.5 0 0 1-.5-.5zm-2-4A.5.5 0 0 1 1 3h10a.5.5 0 0 1 0 1H1a.5.5 0 0 1-.5-.5z'/%3E%3C/svg%3E");
}

.nav-item[b-xierf8s5fj] {
    font-size: 0.9rem;
    padding-bottom: 0.5rem;
}

    .nav-item:first-of-type[b-xierf8s5fj] {
        padding-top: 1rem;
    }

    .nav-item:last-of-type[b-xierf8s5fj] {
        padding-bottom: 1rem;
    }

    .nav-item .nav-link[b-xierf8s5fj] {
        color: #ffffff !important;
        background: none;
        border: none;
        border-radius: 4px;
        height: 3rem;
        display: flex;
        align-items: center;
        line-height: 3rem;
        width: 100%;
    }

.nav-item a.active[b-xierf8s5fj] {
    background-color: rgba(255,255,255,0.37);
    color: white;
}

.nav-item .nav-link:hover[b-xierf8s5fj] {
    background-color: rgba(255,255,255,0.1);
    color: white;
}

.nav-scrollable[b-xierf8s5fj] {
    display: none;
}

.navbar-toggler:checked ~ .nav-scrollable[b-xierf8s5fj] {
    display: block;
}

@media (min-width: 641px) {
    .navbar-toggler[b-xierf8s5fj] {
        display: none;
    }

    .nav-scrollable[b-xierf8s5fj] {
        /* Never collapse the sidebar for wide screens */
        display: block;

        /* Allow sidebar to scroll for tall menus */
        height: calc(100vh - 3.5rem);
        overflow-y: auto;
    }
}
/* _content/etransactionM1/Components/Pages/Organisation/Dashboard.razor.rz.scp.css */
/* ── Shell ────────────────────────────────────────────────── */
.dash-shell[b-whrv8f2y7j] {
    padding-bottom: 48px;
    min-width: 0;
    overflow-x: hidden;
}

/* ── Top Bar ──────────────────────────────────────────────── */
.dash-topbar[b-whrv8f2y7j] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 12px;
    margin-bottom: 20px;
    min-width: 0;
}

.dash-heading[b-whrv8f2y7j] {
    margin: 0;
    font-weight: 700;
    color: var(--fg);
    white-space: nowrap;
}

.dash-topbar-right[b-whrv8f2y7j] {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
    min-width: 0;
}

/* Loading */
.dash-loading[b-whrv8f2y7j] {
    display: flex;
    align-items: center;
    padding: 40px 0;
    color: var(--muted);
    font-size: 0.875rem;
}

.dash-empty[b-whrv8f2y7j] {
    padding: 40px 0;
    color: var(--muted);
    font-size: 0.875rem;
}

/* Email button */
.dash-email-btn[b-whrv8f2y7j] {
    display: inline-flex;
    align-items: center;
    padding: 6px 14px;
    border-radius: 6px;
    border: 1px solid var(--border);
    background: var(--surface);
    color: var(--fg);
    font-size: 0.78rem;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.15s, border-color 0.15s;
    white-space: nowrap;
}

.dash-email-btn:hover:not(:disabled)[b-whrv8f2y7j] {
    background: var(--surface-2);
    border-color: var(--brand);
}

.dash-email-btn:disabled[b-whrv8f2y7j] {
    opacity: 0.5;
    cursor: not-allowed;
}

/* Send result alerts */
.dash-alert[b-whrv8f2y7j] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 8px 14px;
    border-radius: 6px;
    font-size: 0.82rem;
    font-weight: 500;
    margin-bottom: 14px;
}

.dash-alert-ok[b-whrv8f2y7j]  { background: #f0fdf4; border: 1px solid #bbf7d0; color: #15803d; }
.dash-alert-err[b-whrv8f2y7j] { background: #fef2f2; border: 1px solid #fecaca; color: #b91c1c; }

.dash-alert-close[b-whrv8f2y7j] {
    background: none;
    border: none;
    cursor: pointer;
    font-size: 0.75rem;
    opacity: 0.6;
    padding: 0 0 0 12px;
    color: inherit;
}

.dash-alert-close:hover[b-whrv8f2y7j] { opacity: 1; }

/* Period pills */
.dash-pills-wrap[b-whrv8f2y7j] {
    display: flex;
    gap: 3px;
    background: var(--surface-2);
    border: 1px solid var(--border);
    border-radius: 40px;
    padding: 3px;
}

.dash-pill[b-whrv8f2y7j] {
    padding: 5px 14px;
    border-radius: 30px;
    border: none;
    background: transparent;
    color: var(--muted);
    font-size: 0.78rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.15s;
    white-space: nowrap;
}

.dash-pill:hover:not(:disabled)[b-whrv8f2y7j] {
    background: var(--surface);
    color: var(--fg);
}

.dash-pill.active[b-whrv8f2y7j] {
    background: var(--brand);
    color: #fff;
}

.dash-pill:disabled[b-whrv8f2y7j] {
    opacity: 0.55;
    cursor: not-allowed;
}

.dash-daterange[b-whrv8f2y7j] {
    display: flex;
    align-items: center;
    gap: 6px;
    flex-wrap: wrap;
}

/* ── KPI Row ──────────────────────────────────────────────── */
.dash-kpi-row[b-whrv8f2y7j] {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 14px;
    margin-bottom: 24px;
}

.dash-kpi-card[b-whrv8f2y7j] {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 20px 20px;
    box-shadow: var(--shadow);
    position: relative;
    overflow: hidden;
    min-width: 0;
}

.dash-kpi-card[b-whrv8f2y7j]::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--brand), #3b82f6);
}

.dash-kpi-label[b-whrv8f2y7j] {
    font-size: 0.72rem;
    font-weight: 600;
    color: var(--muted);
    margin-bottom: 8px;
}

.dash-kpi-value[b-whrv8f2y7j] {
    font-size: 1.85rem;
    font-weight: 800;
    color: var(--fg);
    letter-spacing: -0.03em;
    line-height: 1;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.dash-unit[b-whrv8f2y7j] {
    font-size: 0.85rem;
    font-weight: 500;
    color: var(--muted);
}

/* ── Section Label ────────────────────────────────────────── */
.dash-section-lbl[b-whrv8f2y7j] {
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--muted);
    margin-bottom: 14px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.dash-section-lbl[b-whrv8f2y7j]::after {
    content: '';
    flex: 1;
    height: 1px;
    background: var(--border);
}

/* ── Overview bar (section label + view-by pills) ────────── */
.dash-overview-bar[b-whrv8f2y7j] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 14px;
}

.dash-overview-bar .dash-section-lbl[b-whrv8f2y7j] {
    margin-bottom: 0;
}

.dash-overview-bar .dash-section-lbl[b-whrv8f2y7j]::after {
    display: none;
}

/* ── Regions Grid ─────────────────────────────────────────── */
.dash-regions[b-whrv8f2y7j] {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(min(100%, 420px), 1fr));
    gap: 18px;
}

.dash-region-card[b-whrv8f2y7j] {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 20px;
    box-shadow: var(--shadow);
    min-width: 0;
}

.dash-region-hdr[b-whrv8f2y7j] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 14px;
    gap: 8px;
    flex-wrap: wrap;
}

.dash-region-name[b-whrv8f2y7j] {
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--fg);
}

.dash-region-ttl[b-whrv8f2y7j] {
    font-size: 0.8rem;
    color: var(--muted);
    font-weight: 500;
    white-space: nowrap;
}

.dash-region-ttl strong[b-whrv8f2y7j] {
    color: var(--brand);
    font-size: 0.9rem;
    font-weight: 700;
}

/* ── Sites Grid ───────────────────────────────────────────── */
.dash-sites-grid[b-whrv8f2y7j] {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(min(100%, 140px), 1fr));
    gap: 8px;
}

.dash-site-card[b-whrv8f2y7j] {
    background: var(--surface-2);
    border: 1px solid var(--border);
    border-radius: 8px;
    padding: 12px;
    cursor: pointer;
    transition: border-color 0.15s, box-shadow 0.15s, transform 0.15s;
    min-width: 0;
}

.dash-site-card:hover[b-whrv8f2y7j] {
    border-color: var(--brand);
    box-shadow: 0 0 0 3px rgba(11,103,208,0.08);
    transform: translateY(-1px);
    background: var(--surface);
}

.dash-site-name[b-whrv8f2y7j] {
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--fg);
    margin-bottom: 4px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.dash-site-t[b-whrv8f2y7j] {
    font-size: 1.25rem;
    font-weight: 800;
    color: var(--fg);
    letter-spacing: -0.02em;
    line-height: 1;
    margin-bottom: 2px;
}

.dash-site-sub[b-whrv8f2y7j] {
    font-size: 0.65rem;
    color: var(--muted);
    font-weight: 500;
}

/* ── Drill Down ───────────────────────────────────────────── */
.dash-crumb[b-whrv8f2y7j] {
    font-size: 0.75rem;
    font-weight: 500;
    color: var(--muted);
    margin-bottom: 10px;
}

.dash-crumb-link[b-whrv8f2y7j] {
    color: var(--brand);
    cursor: pointer;
    text-decoration: none;
}

.dash-crumb-link:hover[b-whrv8f2y7j] { color: var(--fg); }

.dash-drill-header[b-whrv8f2y7j] {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 12px;
    margin-bottom: 16px;
}

.dash-dim-bar[b-whrv8f2y7j] {
    display: flex;
    align-items: center;
    gap: 3px;
    background: var(--surface-2);
    border: 1px solid var(--border);
    border-radius: 30px;
    padding: 3px 6px 3px 10px;
}

.dash-dim-label[b-whrv8f2y7j] {
    font-size: 0.7rem;
    font-weight: 700;
    color: var(--muted);
    letter-spacing: 0.06em;
    text-transform: uppercase;
    margin-right: 4px;
    white-space: nowrap;
}

.dash-dim-btn[b-whrv8f2y7j] {
    padding: 4px 12px;
    border-radius: 20px;
    border: none;
    background: transparent;
    color: var(--muted);
    font-size: 0.75rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.15s;
    white-space: nowrap;
}

.dash-dim-btn:hover:not(:disabled)[b-whrv8f2y7j] {
    background: var(--surface);
    color: var(--fg);
}

.dash-dim-btn.active[b-whrv8f2y7j] {
    background: var(--brand);
    color: #fff;
}

.dash-dim-btn:disabled[b-whrv8f2y7j] {
    opacity: 0.55;
    cursor: not-allowed;
}

.dash-drill-grid[b-whrv8f2y7j] {
    display: grid;
    grid-template-columns: 280px minmax(0, 1fr);
    gap: 18px;
    align-items: start;
}

.dash-card-ttl[b-whrv8f2y7j] {
    font-size: 0.78rem;
    font-weight: 600;
    color: var(--muted);
    margin-bottom: 14px;
}

.dash-thead th[b-whrv8f2y7j] {
    font-size: 0.75rem !important;
    font-weight: 600 !important;
    color: var(--muted) !important;
    text-transform: none !important;
    letter-spacing: normal !important;
    border-bottom: 2px solid var(--border) !important;
    background: var(--surface-2);
    white-space: nowrap;
}

.dash-leg-row[b-whrv8f2y7j] {
    display: flex;
    align-items: center;
    gap: 6px;
    margin-bottom: 6px;
    min-width: 0;
}

.dash-leg-dot[b-whrv8f2y7j] {
    display: inline-block;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    flex-shrink: 0;
}

.dash-pct-cell[b-whrv8f2y7j] {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 5px;
}

.dash-pct-bar[b-whrv8f2y7j] {
    width: 36px;
    height: 4px;
    background: var(--surface-2);
    border-radius: 2px;
    overflow: hidden;
    flex-shrink: 0;
}

.dash-pct-fill[b-whrv8f2y7j] {
    height: 100%;
    background: linear-gradient(90deg, var(--brand), #3b82f6);
    border-radius: 2px;
}

/* ── Responsive ───────────────────────────────────────────── */
@media (max-width: 900px) {
    .dash-drill-grid[b-whrv8f2y7j] { grid-template-columns: 1fr; }
    .dash-kpi-row[b-whrv8f2y7j]    { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 540px) {
    .dash-kpi-row[b-whrv8f2y7j]    { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .dash-kpi-value[b-whrv8f2y7j]  { font-size: 1.4rem; }
}
