/* _content/Mahrus.Laundry.Admin/Components/Layout/MainLayout - Copy.razor.rz.scp.css */
.page[b-n9slrzzdeu] {
    position: relative;
    display: flex;
    flex-direction: column;
}

main[b-n9slrzzdeu] {
    flex: 1;
}

/* Old Blazor default sidebar gradient (kept in case you still use .sidebar somewhere) */
.sidebar[b-n9slrzzdeu] {
    background-image: linear-gradient(180deg, rgb(5, 39, 103) 0%, #3a0647 70%);
}

/* Top row (header bar) */
.top-row[b-n9slrzzdeu] {
    background-color: #f7f7f7;
    border-bottom: 1px solid #d6d5d5;
    justify-content: flex-end;
    height: 3.5rem;
    display: flex;
    align-items: center;
}

    .top-row[b-n9slrzzdeu]  a,
    .top-row[b-n9slrzzdeu]  .btn-link {
        white-space: nowrap;
        margin-left: 1.5rem;
        text-decoration: none;
    }

        .top-row[b-n9slrzzdeu]  a:hover,
        .top-row[b-n9slrzzdeu]  .btn-link:hover {
            text-decoration: underline;
        }

        .top-row[b-n9slrzzdeu]  a:first-child {
            overflow: hidden;
            text-overflow: ellipsis;
        }

/* Small screens */
@media (max-width: 640.98px) {
    .top-row[b-n9slrzzdeu] {
        justify-content: space-between;
    }

        .top-row[b-n9slrzzdeu]  a,
        .top-row[b-n9slrzzdeu]  .btn-link {
            margin-left: 0;
        }
}

/* Desktop layout */
@media (min-width: 641px) {
    .page[b-n9slrzzdeu] {
        flex-direction: row;
    }

    .sidebar[b-n9slrzzdeu] {
        width: 250px;
        height: 100vh;
        position: sticky;
        top: 0;
    }

    .top-row[b-n9slrzzdeu] {
        position: sticky;
        top: 0;
        z-index: 1;
    }

        .top-row.auth[b-n9slrzzdeu]  a:first-child {
            flex: 1;
            text-align: right;
            width: 0;
        }

    .top-row[b-n9slrzzdeu],
    article[b-n9slrzzdeu] {
        padding-left: 2rem !important;
        padding-right: 1.5rem !important;
    }
}

/* Blazor error UI */
#blazor-error-ui[b-n9slrzzdeu] {
    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-n9slrzzdeu] {
        cursor: pointer;
        position: absolute;
        right: 0.75rem;
        top: 0.5rem;
    }

/* ===========================
   SIDEBAR + NAV STYLING
   =========================== */

/* Fixed-width sidebar so text length doesn't resize it */
#sidebar-wrapper[b-n9slrzzdeu] {
    width: 250px;
    min-width: 250px;
    max-width: 250px;
    flex: 0 0 250px;
    background-color: #ffffff;
    border-right: 1px solid #e5e5e5;
}

    /* Base look for menu items (parents + children) */
    #sidebar-wrapper .list-group-item[b-n9slrzzdeu],
    #sidebar-wrapper .nav-link[b-n9slrzzdeu] {
        white-space: nowrap; /* keep on one line */
        overflow: hidden;
        text-overflow: ellipsis;
        border: none;
        padding: 0.55rem 1rem;
        font-size: 0.92rem;
        display: flex;
        align-items: center;
        gap: 0.5rem; /* space between icon and text */
        transition: background-color 0.15s ease, color 0.15s ease, border-color 0.15s ease, box-shadow 0.15s ease;
    }

        /* Icons slightly bigger than text */
        #sidebar-wrapper .list-group-item i[b-n9slrzzdeu],
        #sidebar-wrapper .nav-link i[b-n9slrzzdeu] {
            font-size: 1.1rem;
            opacity: 0.85;
        }

        /* Hover state for any menu item */
        #sidebar-wrapper .list-group-item:hover[b-n9slrzzdeu],
        #sidebar-wrapper .nav-link:hover[b-n9slrzzdeu] {
            background-color: #f5f7fb;
            color: #0d6efd;
            text-decoration: none;
        }

    /* CHILD items (inside collapse) � indent for clear hierarchy */
    #sidebar-wrapper .collapse .nav-link[b-n9slrzzdeu] {
        padding-left: 1.75rem; /* more than parent (1rem) */
        font-size: 0.9rem;
    }

        /* ACTIVE CHILD (current page) � very prominent */
        #sidebar-wrapper .collapse .nav-link.active[b-n9slrzzdeu] {
            background-color: #0d6efd !important; /* strong blue */
            color: #ffffff !important; /* white text */
            font-weight: 700;
            border-left: 5px solid #004bbd !important; /* darker blue accent */
            border-radius: 6px;
            padding-left: 1.4rem !important; /* align with border */
            box-shadow: 0 2px 4px rgba(0,0,0,0.25);
            letter-spacing: 0.02em;
        }

    /* Divider between top-level groups (including Account) */
    #sidebar-wrapper .list-group > a.list-group-item[b-n9slrzzdeu] {
        border-top: 1px solid #e6e6e6;
    }

        #sidebar-wrapper .list-group > a.list-group-item:first-child[b-n9slrzzdeu] {
            border-top: none;
        }

        /* ACTIVE PARENT group item � lighter "section" style */
        #sidebar-wrapper .list-group > a.list-group-item.active[b-n9slrzzdeu] {
            background-color: #f0f2f8;
            color: #0d47a1;
            font-weight: 600;
            border-left: 3px solid #90caf9;
            text-transform: uppercase;
            font-size: 0.82rem;
            letter-spacing: 0.04em;
        }

/* Default yellow folder */
.folder-icon[b-n9slrzzdeu] {
    color: #f4c542; /* normal yellow */
    transition: color 0.2s ease;
}

/* Hover - slightly darker yellow */
#sidebar-wrapper .list-group-item:hover .folder-icon[b-n9slrzzdeu] {
    color: #d9a81e;
}

/* Parent whose module is active (Has current child) = Blue folder */
#sidebar-wrapper .list-group > a.list-group-item.active .folder-icon[b-n9slrzzdeu] {
    color: #0d6efd !important;
}
/* _content/Mahrus.Laundry.Admin/Components/Layout/MainLayout.razor.rz.scp.css */
.page[b-jzxm7jefvo] {
    position: relative;
    display: flex;
    flex-direction: column;
}

main[b-jzxm7jefvo] {
    flex: 1;
}

/* Old Blazor default sidebar gradient (kept in case you still use .sidebar somewhere) */
.sidebar[b-jzxm7jefvo] {
    background-image: linear-gradient(180deg, rgb(5, 39, 103) 0%, #3a0647 70%);
}

/* Top row (header bar) */
.top-row[b-jzxm7jefvo] {
    background-color: #f7f7f7;
    border-bottom: 1px solid #d6d5d5;
    justify-content: flex-end;
    height: 3.5rem;
    display: flex;
    align-items: center;
}

    .top-row[b-jzxm7jefvo]  a,
    .top-row[b-jzxm7jefvo]  .btn-link {
        white-space: nowrap;
        margin-left: 1.5rem;
        text-decoration: none;
    }

        .top-row[b-jzxm7jefvo]  a:hover,
        .top-row[b-jzxm7jefvo]  .btn-link:hover {
            text-decoration: underline;
        }

        .top-row[b-jzxm7jefvo]  a:first-child {
            overflow: hidden;
            text-overflow: ellipsis;
        }

/* Small screens */
@media (max-width: 640.98px) {
    .top-row[b-jzxm7jefvo] {
        justify-content: space-between;
    }

        .top-row[b-jzxm7jefvo]  a,
        .top-row[b-jzxm7jefvo]  .btn-link {
            margin-left: 0;
        }
}

/* Desktop layout */
@media (min-width: 641px) {
    .page[b-jzxm7jefvo] {
        flex-direction: row;
    }

    .sidebar[b-jzxm7jefvo] {
        width: 250px;
        height: 100vh;
        position: sticky;
        top: 0;
    }

    .top-row[b-jzxm7jefvo] {
        position: sticky;
        top: 0;
        z-index: 1;
    }

        .top-row.auth[b-jzxm7jefvo]  a:first-child {
            flex: 1;
            text-align: right;
            width: 0;
        }

    .top-row[b-jzxm7jefvo],
    article[b-jzxm7jefvo] {
        padding-left: 2rem !important;
        padding-right: 1.5rem !important;
    }
}

/* Blazor error UI */
#blazor-error-ui[b-jzxm7jefvo] {
    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-jzxm7jefvo] {
        cursor: pointer;
        position: absolute;
        right: 0.75rem;
        top: 0.5rem;
    }

/* ===========================
   SIDEBAR + NAV STYLING
   =========================== */

/* Fixed-width sidebar so text length doesn't resize it */
#sidebar-wrapper[b-jzxm7jefvo] {
    width: 250px;
    min-width: 250px;
    max-width: 250px;
    flex: 0 0 250px;
    background-color: #ffffff;
    border-right: 1px solid #e5e5e5;
}

    /* Base look for menu items (parents + children) */
    #sidebar-wrapper .list-group-item[b-jzxm7jefvo],
    #sidebar-wrapper .nav-link[b-jzxm7jefvo] {
        white-space: nowrap; /* keep on one line */
        overflow: hidden;
        text-overflow: ellipsis;
        border: none;
        padding: 0.55rem 1rem;
        font-size: 0.92rem;
        display: flex;
        align-items: center;
        gap: 0.5rem; /* space between icon and text */
        transition: background-color 0.15s ease, color 0.15s ease, border-color 0.15s ease, box-shadow 0.15s ease;
    }

        /* Icons slightly bigger than text */
        #sidebar-wrapper .list-group-item i[b-jzxm7jefvo],
        #sidebar-wrapper .nav-link i[b-jzxm7jefvo] {
            font-size: 1.1rem;
            opacity: 0.85;
        }

        /* Hover state for any menu item */
        #sidebar-wrapper .list-group-item:hover[b-jzxm7jefvo],
        #sidebar-wrapper .nav-link:hover[b-jzxm7jefvo] {
            background-color: #f5f7fb;
            color: #0d6efd;
            text-decoration: none;
        }

    /* CHILD items (inside collapse) � indent for clear hierarchy */
    #sidebar-wrapper .collapse .nav-link[b-jzxm7jefvo] {
        padding-left: 1.75rem; /* more than parent (1rem) */
        font-size: 0.9rem;
    }

        /* ACTIVE CHILD (current page) � very prominent */
        #sidebar-wrapper .collapse .nav-link.active[b-jzxm7jefvo] {
            background-color: #0d6efd !important; /* strong blue */
            color: #ffffff !important; /* white text */
            font-weight: 700;
            border-left: 5px solid #004bbd !important; /* darker blue accent */
            border-radius: 6px;
            padding-left: 1.4rem !important; /* align with border */
            box-shadow: 0 2px 4px rgba(0,0,0,0.25);
            letter-spacing: 0.02em;
        }

    /* Divider between top-level groups (including Account) */
    #sidebar-wrapper .list-group > a.list-group-item[b-jzxm7jefvo] {
        border-top: 1px solid #e6e6e6;
    }

        #sidebar-wrapper .list-group > a.list-group-item:first-child[b-jzxm7jefvo] {
            border-top: none;
        }

        /* ACTIVE PARENT group item � lighter "section" style */
        #sidebar-wrapper .list-group > a.list-group-item.active[b-jzxm7jefvo] {
            background-color: #f0f2f8;
            color: #0d47a1;
            font-weight: 600;
            border-left: 3px solid #90caf9;
            text-transform: uppercase;
            font-size: 0.82rem;
            letter-spacing: 0.04em;
        }

/* Default yellow folder */
.folder-icon[b-jzxm7jefvo] {
    color: #f4c542; /* normal yellow */
    transition: color 0.2s ease;
}

/* Hover - slightly darker yellow */
#sidebar-wrapper .list-group-item:hover .folder-icon[b-jzxm7jefvo] {
    color: #d9a81e;
}

/* Parent whose module is active (Has current child) = Blue folder */
#sidebar-wrapper .list-group > a.list-group-item.active .folder-icon[b-jzxm7jefvo] {
    color: #0d6efd !important;
}
/* _content/Mahrus.Laundry.Admin/Components/Pages/Dashboard/Dashboard_Management - Copy (2).razor.rz.scp.css */
.mgmt-dashboard[b-x4l9fuy1e4] {
    padding: 8px 10px 28px;
    background: #f6f8fb;
}

/* =========================
   Header
========================= */

.dash-header[b-x4l9fuy1e4] {
    display: flex;
    justify-content: space-between;
    gap: 16px;
    align-items: center;
    margin-bottom: 14px;
}

    .dash-header h3[b-x4l9fuy1e4] {
        margin: 0;
        font-weight: 800;
    }

.dash-actions[b-x4l9fuy1e4] {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
}

    .dash-actions select[b-x4l9fuy1e4] {
        width: 92px;
    }

/* =========================
   Cards / Panels
========================= */

.filter-card[b-x4l9fuy1e4],
.dash-panel[b-x4l9fuy1e4] {
    background: #fff;
    border: 1px solid rgba(15, 23, 42, .08);
    border-radius: 18px;
    box-shadow: 0 8px 24px rgba(15, 23, 42, .06);
}

.filter-card[b-x4l9fuy1e4] {
    padding: 14px;
    margin-bottom: 14px;
}

.loading-box[b-x4l9fuy1e4] {
    background: #fff;
    border-radius: 14px;
    padding: 18px;
    color: #64748b;
}

/* =========================
   KPI Cards
========================= */

.kpi-grid[b-x4l9fuy1e4] {
    display: grid;
    grid-template-columns: minmax(145px, .85fr) minmax(145px, .85fr) minmax(390px, 2fr) minmax(165px, 1fr) minmax(175px, 1fr);
    gap: 12px;
    margin-bottom: 14px;
    align-items: stretch;
}

[b-x4l9fuy1e4] .kpi-card {
    display: block;
    text-decoration: none;
    padding: 14px 16px;
    position: relative;
    overflow: hidden;
    min-height: 118px;
    border-radius: 16px;
    border: 1px solid #e5e7eb;
    background: #fff;
    box-shadow: 0 8px 20px rgba(15, 23, 42, 0.08);
    color: inherit;
    transition: transform .15s ease, box-shadow .15s ease;
}

    [b-x4l9fuy1e4] .kpi-card:hover {
        transform: translateY(-1px);
        box-shadow: 0 12px 26px rgba(15, 23, 42, 0.12);
    }

    [b-x4l9fuy1e4] .kpi-card::before {
        content: "";
        position: absolute;
        left: 0;
        top: 0;
        bottom: 0;
        width: 5px;
        background: #2563eb;
    }

    /* KPI colors */

    [b-x4l9fuy1e4] .kpi-card.accent-blue {
        background: #eff6ff;
        border-color: #bfdbfe;
    }

        [b-x4l9fuy1e4] .kpi-card.accent-blue::before {
            background: #3b82f6;
        }

    [b-x4l9fuy1e4] .kpi-card.accent-purple {
        background: #faf5ff;
        border-color: #e9d5ff;
    }

        [b-x4l9fuy1e4] .kpi-card.accent-purple::before {
            background: #a855f7;
        }

    [b-x4l9fuy1e4] .kpi-card.accent-green {
        background: #f0fdf4;
        border-color: #bbf7d0;
    }

        [b-x4l9fuy1e4] .kpi-card.accent-green::before {
            background: #22c55e;
        }

    [b-x4l9fuy1e4] .kpi-card.accent-teal {
        background: #f0fdfa;
        border-color: #99f6e4;
    }

        [b-x4l9fuy1e4] .kpi-card.accent-teal::before {
            background: #14b8a6;
        }

    [b-x4l9fuy1e4] .kpi-card.accent-orange {
        background: #fff7ed;
        border-color: #fed7aa;
    }

        [b-x4l9fuy1e4] .kpi-card.accent-orange::before {
            background: #f97316;
        }

    [b-x4l9fuy1e4] .kpi-card.accent-red {
        background: #fef2f2;
        border-color: #fecaca;
    }

        [b-x4l9fuy1e4] .kpi-card.accent-red::before {
            background: #ef4444;
        }

[b-x4l9fuy1e4] .kpi-title {
    color: #334155;
    font-size: .82rem;
    font-weight: 800;
}

[b-x4l9fuy1e4] .kpi-value {
    font-size: 1.35rem;
    font-weight: 900;
    color: #0f172a;
    margin-top: 4px;
    line-height: 1.2;
}

[b-x4l9fuy1e4] .kpi-sub {
    display: flex;
    justify-content: space-between;
    gap: 8px;
    margin-top: 10px;
    color: #64748b;
    font-size: .82rem;
}

[b-x4l9fuy1e4] .kpi-sub-value {
    font-weight: 900;
    color: #0f172a;
    text-align: right;
}

[b-x4l9fuy1e4] .kpi-icon {
    position: absolute;
    top: 12px;
    right: 12px;
    font-size: 1.35rem;
    color: rgba(15, 23, 42, .22);
}
/* =========================
   Sales Statement KPI
========================= */

.sales-statement-card[b-x4l9fuy1e4] {
    position: relative;
    display: block;
    min-height: 118px;
    padding: 14px 16px;
    overflow: hidden;
    border-radius: 16px;
    background: #f0fdf4;
    border: 1px solid #bbf7d0;
    border-left: 5px solid #22c55e;
    box-shadow: 0 8px 20px rgba(15, 23, 42, 0.08);
    transition: transform .15s ease, box-shadow .15s ease;
}

    .sales-statement-card.clickable[b-x4l9fuy1e4] {
        cursor: pointer;
    }

        .sales-statement-card.clickable:hover[b-x4l9fuy1e4] {
            transform: translateY(-1px);
            box-shadow: 0 12px 26px rgba(15, 23, 42, 0.12);
        }

.sales-statement-title[b-x4l9fuy1e4] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    margin-bottom: 8px;
    color: #334155;
    font-size: .82rem;
    font-weight: 900;
}

    .sales-statement-title i[b-x4l9fuy1e4] {
        font-size: 1.35rem;
        color: rgba(15, 23, 42, .22);
    }

.statement-row[b-x4l9fuy1e4] {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 12px;
    padding: 3px 0;
    color: #64748b;
    font-size: .8rem;
    line-height: 1.25;
}

    .statement-row strong[b-x4l9fuy1e4] {
        color: #0f172a;
        font-weight: 900;
        text-align: right;
        white-space: nowrap;
    }

    .statement-row.deduction strong[b-x4l9fuy1e4] {
        color: #dc2626;
    }

    .statement-row.final[b-x4l9fuy1e4] {
        margin-top: 5px;
        padding-top: 8px;
        border-top: 1px dashed #94a3b8;
        font-size: .9rem;
    }

        .statement-row.final span[b-x4l9fuy1e4],
        .statement-row.final strong[b-x4l9fuy1e4] {
            color: #065f46;
            font-weight: 950;
        }
/* =========================
   Dashboard Panels
========================= */

.dash-panel[b-x4l9fuy1e4] {
    padding: 14px;
    min-height: 100%;
}

.panel-title[b-x4l9fuy1e4] {
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: 800;
    margin-bottom: 12px;
    color: #0f172a;
}

/* =========================
   Order Status
========================= */

.status-grid[b-x4l9fuy1e4] {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(145px, 1fr));
    gap: 10px;
}

.status-pill[b-x4l9fuy1e4] {
    border: 1px solid #e2e8f0;
    border-radius: 14px;
    padding: 10px 12px;
    display: flex;
    justify-content: space-between;
    background: #f8fafc;
}

    .status-pill span[b-x4l9fuy1e4] {
        color: #475569;
        font-weight: 700;
    }

    .status-pill b[b-x4l9fuy1e4] {
        color: #0f172a;
        font-weight: 900;
    }

    /* Colored Status Pills */

    .status-pill.status-good[b-x4l9fuy1e4] {
        background: #f0fdf4;
        border-color: #bbf7d0;
    }

        .status-pill.status-good span[b-x4l9fuy1e4],
        .status-pill.status-good b[b-x4l9fuy1e4] {
            color: #15803d;
        }

    .status-pill.status-ready[b-x4l9fuy1e4] {
        background: #f0fdfa;
        border-color: #99f6e4;
    }

        .status-pill.status-ready span[b-x4l9fuy1e4],
        .status-pill.status-ready b[b-x4l9fuy1e4] {
            color: #0f766e;
        }

    .status-pill.status-warning[b-x4l9fuy1e4] {
        background: #fff7ed;
        border-color: #fed7aa;
    }

        .status-pill.status-warning span[b-x4l9fuy1e4],
        .status-pill.status-warning b[b-x4l9fuy1e4] {
            color: #c2410c;
        }

    .status-pill.status-info[b-x4l9fuy1e4] {
        background: #eff6ff;
        border-color: #bfdbfe;
    }

        .status-pill.status-info span[b-x4l9fuy1e4],
        .status-pill.status-info b[b-x4l9fuy1e4] {
            color: #1d4ed8;
        }

    .status-pill.status-danger[b-x4l9fuy1e4] {
        background: #fef2f2;
        border-color: #fecaca;
    }

        .status-pill.status-danger span[b-x4l9fuy1e4],
        .status-pill.status-danger b[b-x4l9fuy1e4] {
            color: #b91c1c;
        }

    .status-pill.status-new[b-x4l9fuy1e4] {
        background: #f8fafc;
        border-color: #cbd5e1;
    }

        .status-pill.status-new span[b-x4l9fuy1e4],
        .status-pill.status-new b[b-x4l9fuy1e4] {
            color: #334155;
        }

    .status-pill.status-neutral[b-x4l9fuy1e4] {
        background: #f8fafc;
        border-color: #e2e8f0;
    }

/* =========================
   Alerts
========================= */

.alert-list[b-x4l9fuy1e4] {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.alert-row[b-x4l9fuy1e4] {
    border-radius: 14px;
    padding: 10px 12px;
    display: flex;
    justify-content: space-between;
    gap: 12px;
    border: 1px solid #e2e8f0;
}

    .alert-row span[b-x4l9fuy1e4] {
        font-weight: 900;
        font-size: 1.1rem;
    }

.alert-danger[b-x4l9fuy1e4] {
    background: #fef2f2;
    color: #991b1b;
    border-color: #fecaca;
}

.alert-warning[b-x4l9fuy1e4] {
    background: #fffbeb;
    color: #92400e;
    border-color: #fde68a;
}

.alert-info[b-x4l9fuy1e4] {
    background: #eff6ff;
    color: #1d4ed8;
    border-color: #bfdbfe;
}

/* =========================
   Mini Stats
========================= */

.mini-grid[b-x4l9fuy1e4] {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
}

    .mini-grid.two[b-x4l9fuy1e4] {
        grid-template-columns: repeat(2, 1fr);
    }

.mini-stat[b-x4l9fuy1e4] {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 14px;
    padding: 10px;
}

    .mini-stat .label[b-x4l9fuy1e4] {
        color: #64748b;
        font-size: .78rem;
        font-weight: 800;
    }

    .mini-stat .value[b-x4l9fuy1e4] {
        color: #0f172a;
        font-size: 1.05rem;
        font-weight: 900;
    }

/* =========================
   Tables
========================= */

.table.dashboard-table[b-x4l9fuy1e4] {
    margin-bottom: 0;
}

.dashboard-table thead th[b-x4l9fuy1e4] {
    color: #64748b;
    font-size: .78rem;
    text-transform: uppercase;
    border-bottom: 1px solid #e2e8f0;
    white-space: nowrap;
}

.dashboard-table td[b-x4l9fuy1e4] {
    vertical-align: middle;
    font-size: .9rem;
}

/* =========================
   Owner Attention Cards
========================= */

.attention-grid[b-x4l9fuy1e4] {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 12px;
    margin-bottom: 14px;
}

.attention-card[b-x4l9fuy1e4] {
    display: flex;
    gap: 12px;
    align-items: center;
    padding: 13px 14px;
    border-radius: 16px;
    border: 1px solid #e5e7eb;
    background: #fff;
    box-shadow: 0 8px 20px rgba(15, 23, 42, 0.06);
}

.attention-icon[b-x4l9fuy1e4] {
    width: 38px;
    height: 38px;
    border-radius: 14px;
    display: grid;
    place-items: center;
    font-size: 1.15rem;
    background: #f1f5f9;
    color: #334155;
    flex: 0 0 auto;
}

.attention-title[b-x4l9fuy1e4] {
    font-size: .78rem;
    font-weight: 900;
    color: #334155;
    text-transform: uppercase;
}

.attention-value[b-x4l9fuy1e4] {
    font-size: 1.12rem;
    font-weight: 950;
    color: #0f172a;
    line-height: 1.25;
}

.attention-sub[b-x4l9fuy1e4] {
    font-size: .76rem;
    color: #64748b;
}

.attention-card.good[b-x4l9fuy1e4] {
    background: #f0fdf4;
    border-color: #bbf7d0;
}

    .attention-card.good .attention-icon[b-x4l9fuy1e4] {
        background: #dcfce7;
        color: #15803d;
    }

.attention-card.warning[b-x4l9fuy1e4] {
    background: #fff7ed;
    border-color: #fed7aa;
}

    .attention-card.warning .attention-icon[b-x4l9fuy1e4] {
        background: #ffedd5;
        color: #c2410c;
    }

.attention-card.danger[b-x4l9fuy1e4] {
    background: #fef2f2;
    border-color: #fecaca;
}

    .attention-card.danger .attention-icon[b-x4l9fuy1e4] {
        background: #fee2e2;
        color: #b91c1c;
    }

/* =========================
   Responsive
========================= */

@media (max-width: 1500px) {
    .kpi-grid[b-x4l9fuy1e4] {
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }

    .sales-statement-card[b-x4l9fuy1e4] {
        grid-column: span 2;
    }

    .attention-grid[b-x4l9fuy1e4] {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

@media (max-width: 992px) {
    .kpi-grid[b-x4l9fuy1e4] {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .sales-statement-card[b-x4l9fuy1e4] {
        grid-column: span 2;
    }

    .attention-grid[b-x4l9fuy1e4] {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .mini-grid[b-x4l9fuy1e4] {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .dash-header[b-x4l9fuy1e4] {
        align-items: flex-start;
        flex-direction: column;
    }

    .kpi-grid[b-x4l9fuy1e4] {
        grid-template-columns: repeat(2, minmax(140px, 1fr));
    }

    .sales-statement-card[b-x4l9fuy1e4] {
        grid-column: span 2;
    }
}

@media (max-width: 520px) {
    .kpi-grid[b-x4l9fuy1e4],
    .attention-grid[b-x4l9fuy1e4],
    .mini-grid[b-x4l9fuy1e4],
    .mini-grid.two[b-x4l9fuy1e4] {
        grid-template-columns: 1fr;
    }

    .sales-statement-card[b-x4l9fuy1e4] {
        grid-column: span 1;
    }
}
/* =========================
   Drill-down Modal
========================= */

.drill-backdrop[b-x4l9fuy1e4] {
    position: fixed;
    inset: 0;
    z-index: 1040;
    background: rgba(15, 23, 42, .48);
    backdrop-filter: blur(2px);
}

.drill-modal[b-x4l9fuy1e4] {
    position: fixed;
    z-index: 1050;
    top: 5vh;
    left: 50%;
    transform: translateX(-50%);
    width: min(1280px, calc(100vw - 28px));
    max-height: 90vh;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    background: #fff;
    border-radius: 20px;
    border: 1px solid rgba(15, 23, 42, .12);
    box-shadow: 0 30px 80px rgba(15, 23, 42, .30);
}

.drill-header[b-x4l9fuy1e4] {
    padding: 14px 16px;
    border-bottom: 1px solid #e5e7eb;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
    background: #f8fafc;
}

    .drill-header h5[b-x4l9fuy1e4] {
        margin: 0;
        font-weight: 900;
        color: #0f172a;
    }

.drill-loading[b-x4l9fuy1e4] {
    padding: 28px;
    color: #64748b;
}

.drill-summary[b-x4l9fuy1e4] {
    display: grid;
    grid-template-columns: repeat(4, minmax(140px, 1fr));
    gap: 10px;
    padding: 12px 14px;
    border-bottom: 1px solid #e5e7eb;
    background: #ffffff;
}

.drill-table-wrap[b-x4l9fuy1e4] {
    overflow: auto;
    padding: 0 14px 14px;
}

.drill-table[b-x4l9fuy1e4] {
    min-width: 1100px;
}

    .drill-table thead th[b-x4l9fuy1e4] {
        position: sticky;
        top: 0;
        z-index: 1;
        background: #f8fafc;
    }

.status-pill-btn[b-x4l9fuy1e4] {
    width: 100%;
    text-align: left;
    cursor: pointer;
}

    .status-pill-btn:hover[b-x4l9fuy1e4] {
        filter: brightness(.98);
        transform: translateY(-1px);
    }

.drill-row[b-x4l9fuy1e4] {
    cursor: pointer;
}

    .drill-row:hover td[b-x4l9fuy1e4] {
        background: #f8fbff;
    }

.status-mini[b-x4l9fuy1e4] {
    display: inline-flex;
    align-items: center;
    border-radius: 999px;
    padding: .18rem .5rem;
    font-size: .74rem;
    font-weight: 900;
    border: 1px solid #e2e8f0;
    background: #f8fafc;
    color: #334155;
}

    .status-mini.status-good[b-x4l9fuy1e4] {
        background: #f0fdf4;
        border-color: #bbf7d0;
        color: #15803d;
    }

    .status-mini.status-ready[b-x4l9fuy1e4] {
        background: #f0fdfa;
        border-color: #99f6e4;
        color: #0f766e;
    }

    .status-mini.status-warning[b-x4l9fuy1e4] {
        background: #fff7ed;
        border-color: #fed7aa;
        color: #c2410c;
    }

    .status-mini.status-info[b-x4l9fuy1e4] {
        background: #eff6ff;
        border-color: #bfdbfe;
        color: #1d4ed8;
    }

    .status-mini.status-danger[b-x4l9fuy1e4] {
        background: #fef2f2;
        border-color: #fecaca;
        color: #b91c1c;
    }

    .status-mini.status-new[b-x4l9fuy1e4],
    .status-mini.status-neutral[b-x4l9fuy1e4] {
        background: #f8fafc;
        border-color: #cbd5e1;
        color: #334155;
    }

[b-x4l9fuy1e4] button.kpi-card {
    width: 100%;
    text-align: left;
    cursor: pointer;
}

@media (max-width: 768px) {
    .drill-modal[b-x4l9fuy1e4] {
        top: 2vh;
        width: calc(100vw - 14px);
        max-height: 96vh;
        border-radius: 16px;
    }

    .drill-summary[b-x4l9fuy1e4] {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

.attention-card.clickable[b-x4l9fuy1e4] {
    cursor: pointer;
}

    .attention-card.clickable:hover[b-x4l9fuy1e4] {
        transform: translateY(-1px);
        box-shadow: 0 12px 26px rgba(15, 23, 42, 0.12);
    }

.discount-chip[b-x4l9fuy1e4] {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 48px;
    padding: .18rem .45rem;
    border-radius: 999px;
    font-size: .74rem;
    font-weight: 900;
    border: 1px solid #fed7aa;
    background: #fff7ed;
    color: #c2410c;
}

    .discount-chip.danger[b-x4l9fuy1e4] {
        border-color: #fecaca;
        background: #fef2f2;
        color: #b91c1c;
    }

    .discount-chip.normal[b-x4l9fuy1e4] {
        border-color: #fed7aa;
        background: #fff7ed;
        color: #c2410c;
    }

/* =========================
   Drill-down Sorting
========================= */

.sort-btn[b-x4l9fuy1e4] {
    border: 0;
    background: transparent;
    padding: 0;
    margin: 0;
    width: 100%;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    font-size: .78rem;
    font-weight: 900;
    color: #64748b;
    text-transform: uppercase;
    cursor: pointer;
}

    .sort-btn:hover[b-x4l9fuy1e4] {
        color: #0f172a;
    }

    .sort-btn i[b-x4l9fuy1e4] {
        font-size: .8rem;
        opacity: .75;
    }

    .sort-btn.justify-end[b-x4l9fuy1e4] {
        justify-content: flex-end;
    }

/* =========================
   Price Type / Wash Speed
========================= */

.price-type-grid[b-x4l9fuy1e4] {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
}

.price-type-card[b-x4l9fuy1e4] {
    border-radius: 16px;
    border: 1px solid #e5e7eb;
    padding: 12px;
    background: #fff;
    box-shadow: 0 8px 18px rgba(15, 23, 42, 0.05);
}

.price-type-top[b-x4l9fuy1e4] {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 8px;
}

    .price-type-top i[b-x4l9fuy1e4] {
        font-size: 1.35rem;
        opacity: .85;
    }

.price-type-title[b-x4l9fuy1e4] {
    font-weight: 900;
    color: #0f172a;
    line-height: 1.15;
}

.price-type-code[b-x4l9fuy1e4] {
    font-size: .72rem;
    font-weight: 800;
    color: #64748b;
    text-transform: uppercase;
}

.price-type-value[b-x4l9fuy1e4] {
    margin-top: 8px;
    font-size: 1.55rem;
    font-weight: 950;
    color: #0f172a;
    line-height: 1.1;
}

.price-type-sub[b-x4l9fuy1e4] {
    margin-top: 8px;
    display: flex;
    justify-content: space-between;
    gap: 8px;
    font-size: .78rem;
    color: #64748b;
    font-weight: 700;
}

.price-type-amount[b-x4l9fuy1e4] {
    margin-top: 6px;
    font-size: .82rem;
    font-weight: 900;
    color: #334155;
}

.price-type-express[b-x4l9fuy1e4] {
    background: #fff7ed;
    border-color: #fed7aa;
}

    .price-type-express .price-type-value[b-x4l9fuy1e4],
    .price-type-express i[b-x4l9fuy1e4] {
        color: #c2410c;
    }

.price-type-normal[b-x4l9fuy1e4] {
    background: #eff6ff;
    border-color: #bfdbfe;
}

    .price-type-normal .price-type-value[b-x4l9fuy1e4],
    .price-type-normal i[b-x4l9fuy1e4] {
        color: #1d4ed8;
    }

.price-type-other[b-x4l9fuy1e4] {
    background: #f8fafc;
    border-color: #e2e8f0;
}

    .price-type-other .price-type-value[b-x4l9fuy1e4],
    .price-type-other i[b-x4l9fuy1e4] {
        color: #475569;
    }

.price-type-badge[b-x4l9fuy1e4] {
    display: inline-flex;
    align-items: center;
    border-radius: 999px;
    padding: .22rem .55rem;
    font-size: .78rem;
    font-weight: 900;
    border: 1px solid #e2e8f0;
}

@media (max-width: 520px) {
    .price-type-grid[b-x4l9fuy1e4] {
        grid-template-columns: 1fr;
    }
}

/* =========================
   Better Table Chips / Badges
========================= */

.soft-row td[b-x4l9fuy1e4] {
    padding-top: .55rem;
    padding-bottom: .55rem;
}

.soft-row:hover td[b-x4l9fuy1e4] {
    background: #f8fbff;
}

.category-chip[b-x4l9fuy1e4],
.service-chip[b-x4l9fuy1e4],
.payment-chip[b-x4l9fuy1e4],
.percent-chip[b-x4l9fuy1e4],
.price-type-badge[b-x4l9fuy1e4] {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 5px;
    border-radius: 999px;
    padding: .25rem .65rem;
    font-size: .78rem;
    font-weight: 900;
    border: 1px solid #e2e8f0;
    white-space: nowrap;
}

/* Category colors */
.cat-men[b-x4l9fuy1e4] {
    background: #eff6ff;
    border-color: #bfdbfe;
    color: #1d4ed8;
}

.cat-women[b-x4l9fuy1e4] {
    background: #fdf2f8;
    border-color: #fbcfe8;
    color: #be185d;
}

.cat-kids[b-x4l9fuy1e4] {
    background: #fefce8;
    border-color: #fde68a;
    color: #a16207;
}

.cat-home[b-x4l9fuy1e4] {
    background: #f0fdf4;
    border-color: #bbf7d0;
    color: #15803d;
}

.cat-shoes[b-x4l9fuy1e4] {
    background: #fff7ed;
    border-color: #fed7aa;
    color: #c2410c;
}

.cat-other[b-x4l9fuy1e4] {
    background: #f8fafc;
    border-color: #cbd5e1;
    color: #334155;
}

/* Service colors */
.service-wash-iron[b-x4l9fuy1e4] {
    background: #f0fdfa;
    border-color: #99f6e4;
    color: #0f766e;
}

.service-wash[b-x4l9fuy1e4] {
    background: #eff6ff;
    border-color: #bfdbfe;
    color: #1d4ed8;
}

.service-iron[b-x4l9fuy1e4] {
    background: #fff7ed;
    border-color: #fed7aa;
    color: #c2410c;
}

.service-dry[b-x4l9fuy1e4] {
    background: #faf5ff;
    border-color: #e9d5ff;
    color: #7e22ce;
}

.service-other[b-x4l9fuy1e4] {
    background: #f8fafc;
    border-color: #cbd5e1;
    color: #334155;
}

/* Payment colors */
.pay-cash[b-x4l9fuy1e4] {
    background: #f0fdf4;
    border-color: #bbf7d0;
    color: #15803d;
}

.pay-card[b-x4l9fuy1e4] {
    background: #eff6ff;
    border-color: #bfdbfe;
    color: #1d4ed8;
}

.pay-bank[b-x4l9fuy1e4] {
    background: #f0fdfa;
    border-color: #99f6e4;
    color: #0f766e;
}

.pay-wallet[b-x4l9fuy1e4] {
    background: #faf5ff;
    border-color: #e9d5ff;
    color: #7e22ce;
}

.pay-other[b-x4l9fuy1e4] {
    background: #f8fafc;
    border-color: #cbd5e1;
    color: #334155;
}

/* Percent chip */
.percent-chip[b-x4l9fuy1e4] {
    background: #f1f5f9;
    border-color: #cbd5e1;
    color: #334155;
    min-width: 54px;
}

/* Stronger price type badge */
.price-type-badge.price-type-express[b-x4l9fuy1e4] {
    background: #fff7ed;
    border-color: #fed7aa;
    color: #c2410c;
}

.price-type-badge.price-type-normal[b-x4l9fuy1e4] {
    background: #eff6ff;
    border-color: #bfdbfe;
    color: #1d4ed8;
}

.price-type-badge.price-type-other[b-x4l9fuy1e4] {
    background: #f8fafc;
    border-color: #cbd5e1;
    color: #334155;
}

/* =========================
   Extra Dashboard Chips
========================= */

.cloth-name-chip[b-x4l9fuy1e4],
.avg-chip[b-x4l9fuy1e4],
.inventory-item-chip[b-x4l9fuy1e4],
.inventory-category-chip[b-x4l9fuy1e4],
.reorder-chip[b-x4l9fuy1e4] {
    display: inline-flex;
    align-items: center;
    border-radius: 999px;
    padding: .25rem .6rem;
    font-size: .78rem;
    font-weight: 900;
    border: 1px solid #e2e8f0;
    white-space: nowrap;
}

.cloth-name-chip[b-x4l9fuy1e4] {
    background: #eef2ff;
    border-color: #c7d2fe;
    color: #3730a3;
}

.avg-chip[b-x4l9fuy1e4] {
    background: #f0fdf4;
    border-color: #bbf7d0;
    color: #15803d;
}

.inventory-item-chip[b-x4l9fuy1e4] {
    background: #eff6ff;
    border-color: #bfdbfe;
    color: #1d4ed8;
}

.inventory-category-chip[b-x4l9fuy1e4] {
    background: #f8fafc;
    border-color: #cbd5e1;
    color: #334155;
}

.reorder-chip[b-x4l9fuy1e4] {
    background: #fff7ed;
    border-color: #fed7aa;
    color: #c2410c;
}

/* Stronger table row hover */
.soft-row:hover td[b-x4l9fuy1e4] {
    background: #f8fbff !important;
}

/* =========================
   Executive Summary Strip
========================= */

.executive-strip[b-x4l9fuy1e4] {
    display: grid;
    grid-template-columns: 2fr repeat(4, 1fr);
    gap: 12px;
    margin-bottom: 14px;
}

.executive-main-card[b-x4l9fuy1e4],
.exec-metric-card[b-x4l9fuy1e4] {
    background: #fff;
    border: 1px solid #e8edf5;
    border-radius: 18px;
    padding: 16px;
    box-shadow: 0 8px 24px rgba(15, 23, 42, .06);
}

.executive-main-card[b-x4l9fuy1e4] {
    background: linear-gradient(135deg, #0f172a, #1d4ed8);
    color: #fff;
}

.exec-label[b-x4l9fuy1e4] {
    font-size: .75rem;
    opacity: .75;
    text-transform: uppercase;
    letter-spacing: .08em;
    margin-bottom: 8px;
}

.exec-title[b-x4l9fuy1e4] {
    font-size: 1.35rem;
    font-weight: 800;
    margin-bottom: 6px;
}

.exec-sub[b-x4l9fuy1e4] {
    font-size: .9rem;
    opacity: .9;
}

.exec-metric-card span[b-x4l9fuy1e4] {
    display: block;
    color: #64748b;
    font-size: .78rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .04em;
    margin-bottom: 8px;
}

.exec-metric-card strong[b-x4l9fuy1e4] {
    display: block;
    font-size: 1.45rem;
    color: #0f172a;
    line-height: 1.1;
}

.exec-metric-card small[b-x4l9fuy1e4] {
    color: #64748b;
    font-size: .78rem;
}

.exec-metric-card.risk[b-x4l9fuy1e4] {
    border-color: #fecaca;
    background: #fff7f7;
}

.exec-metric-card.good[b-x4l9fuy1e4] {
    border-color: #bbf7d0;
    background: #f0fdf4;
}

.mini-progress[b-x4l9fuy1e4] {
    height: 7px;
    margin-top: 10px;
    background: #e5e7eb;
    border-radius: 999px;
    overflow: hidden;
}

    .mini-progress .progress-bar[b-x4l9fuy1e4] {
        background: #2563eb;
    }

/* =========================
   Dashboard Charts
========================= */

.dash-chart[b-x4l9fuy1e4] {
    width: 100%;
    height: 300px;
}

.small-chart[b-x4l9fuy1e4] {
    height: 260px;
}

.empty-chart[b-x4l9fuy1e4] {
    min-height: 220px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #94a3b8;
    font-weight: 600;
    background: #f8fafc;
    border: 1px dashed #cbd5e1;
    border-radius: 16px;
}

/* =========================
   Status Visual Bars
========================= */

.status-bars[b-x4l9fuy1e4] {
    display: grid;
    gap: 10px;
}

.status-bar-row[b-x4l9fuy1e4] {
    border: 1px solid #e5e7eb;
    background: #fff;
    border-radius: 14px;
    padding: 10px 12px;
    text-align: left;
    cursor: pointer;
    transition: .15s ease;
}

    .status-bar-row:hover[b-x4l9fuy1e4] {
        transform: translateY(-1px);
        box-shadow: 0 8px 18px rgba(15, 23, 42, .08);
    }

.status-bar-head[b-x4l9fuy1e4] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 8px;
}

    .status-bar-head span[b-x4l9fuy1e4] {
        font-weight: 700;
        color: #334155;
    }

    .status-bar-head strong[b-x4l9fuy1e4] {
        font-size: 1.1rem;
        color: #0f172a;
    }

.status-bar-track[b-x4l9fuy1e4],
.top-item-track[b-x4l9fuy1e4] {
    height: 8px;
    background: #e5e7eb;
    border-radius: 999px;
    overflow: hidden;
}

.status-bar-fill[b-x4l9fuy1e4],
.top-item-fill[b-x4l9fuy1e4] {
    height: 100%;
    border-radius: 999px;
    background: #2563eb;
}

.status-good .status-bar-fill[b-x4l9fuy1e4] {
    background: #16a34a;
}

.status-ready .status-bar-fill[b-x4l9fuy1e4] {
    background: #0d9488;
}

.status-warning .status-bar-fill[b-x4l9fuy1e4] {
    background: #f59e0b;
}

.status-info .status-bar-fill[b-x4l9fuy1e4] {
    background: #3b82f6;
}

.status-danger .status-bar-fill[b-x4l9fuy1e4] {
    background: #dc2626;
}

.status-new .status-bar-fill[b-x4l9fuy1e4] {
    background: #7c3aed;
}

/* =========================
   Top Cloth / Item Visual Bars
========================= */

.top-items-list[b-x4l9fuy1e4] {
    display: grid;
    gap: 12px;
}

.top-item-row[b-x4l9fuy1e4] {
    border: 1px solid #e8edf5;
    border-radius: 16px;
    padding: 12px;
    background: #fff;
}

.top-item-head[b-x4l9fuy1e4] {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 10px;
}

    .top-item-head strong[b-x4l9fuy1e4] {
        display: block;
        color: #0f172a;
    }

    .top-item-head span[b-x4l9fuy1e4],
    .top-item-head small[b-x4l9fuy1e4] {
        display: block;
        color: #64748b;
        font-size: .78rem;
    }

    .top-item-head b[b-x4l9fuy1e4] {
        display: block;
        color: #0f172a;
    }

.top-item-fill[b-x4l9fuy1e4] {
    background: linear-gradient(90deg, #2563eb, #06b6d4);
}

/* =========================
   Responsive - New Visual Sections
========================= */

@media (max-width: 1200px) {
    .executive-strip[b-x4l9fuy1e4] {
        grid-template-columns: repeat(2, 1fr);
    }

    .executive-main-card[b-x4l9fuy1e4] {
        grid-column: 1 / -1;
    }
}

@media (max-width: 768px) {
    .executive-strip[b-x4l9fuy1e4] {
        grid-template-columns: 1fr;
    }

    .dash-chart[b-x4l9fuy1e4] {
        height: 240px;
    }

    .top-item-head[b-x4l9fuy1e4] {
        flex-direction: column;
    }
}

/* =========================
   Sales Double Bar Chart
========================= */

.sales-bar-chart[b-x4l9fuy1e4] {
    height: 340px;
}

/* =========================
   Payment Mix Visual
========================= */

.payment-mix-layout[b-x4l9fuy1e4] {
    display: grid;
    gap: 12px;
}

.payment-pie-chart[b-x4l9fuy1e4] {
    height: 245px;
}

.payment-mix-summary[b-x4l9fuy1e4] {
    display: grid;
    gap: 8px;
}

.payment-mix-row[b-x4l9fuy1e4] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    padding: 9px 10px;
    border: 1px solid #e2e8f0;
    border-radius: 14px;
    background: #f8fafc;
}

.payment-mix-values[b-x4l9fuy1e4] {
    text-align: right;
}

    .payment-mix-values strong[b-x4l9fuy1e4] {
        display: block;
        color: #0f172a;
        font-size: .82rem;
        font-weight: 900;
    }

    .payment-mix-values span[b-x4l9fuy1e4] {
        display: block;
        color: #334155;
        font-size: .8rem;
        font-weight: 800;
    }

    .payment-mix-values small[b-x4l9fuy1e4] {
        display: block;
        color: #64748b;
        font-size: .74rem;
        font-weight: 700;
    }

/* =========================
   Category Mix Visual
========================= */

.category-mix-layout[b-x4l9fuy1e4] {
    display: grid;
    gap: 12px;
}

.category-pie-chart[b-x4l9fuy1e4] {
    height: 260px;
}

.category-mix-summary[b-x4l9fuy1e4] {
    display: grid;
    gap: 8px;
}

.category-mix-row[b-x4l9fuy1e4] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    padding: 9px 10px;
    border: 1px solid #e2e8f0;
    border-radius: 14px;
    background: #f8fafc;
}

.category-mix-values[b-x4l9fuy1e4] {
    text-align: right;
}

    .category-mix-values strong[b-x4l9fuy1e4] {
        display: block;
        color: #0f172a;
        font-size: .9rem;
        font-weight: 950;
    }

    .category-mix-values span[b-x4l9fuy1e4] {
        display: block;
        color: #334155;
        font-size: .8rem;
        font-weight: 800;
    }

    .category-mix-values small[b-x4l9fuy1e4] {
        display: block;
        color: #64748b;
        font-size: .74rem;
        font-weight: 700;
    }
/* =========================
   Side-by-side Mix Pie Charts
========================= */

.mix-pie-chart[b-x4l9fuy1e4] {
    height: 320px;
}

@media (max-width: 768px) {
    .mix-pie-chart[b-x4l9fuy1e4] {
        height: 270px;
    }
}

/* =========================
   Customer Insight Card
========================= */

.customer-insight-card[b-x4l9fuy1e4] {
    display: grid;
    gap: 12px;
}

.customer-hero[b-x4l9fuy1e4] {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 14px;
    padding: 14px;
    border-radius: 18px;
    background: linear-gradient(135deg, #eff6ff, #eef2ff);
    border: 1px solid #bfdbfe;
}

    .customer-hero span[b-x4l9fuy1e4] {
        display: block;
        color: #475569;
        font-size: .78rem;
        font-weight: 900;
        text-transform: uppercase;
    }

    .customer-hero strong[b-x4l9fuy1e4] {
        display: block;
        color: #1d4ed8;
        font-size: 2rem;
        font-weight: 950;
        line-height: 1.1;
    }

    .customer-hero small[b-x4l9fuy1e4] {
        color: #64748b;
        font-size: .76rem;
        font-weight: 700;
    }

    .customer-hero i[b-x4l9fuy1e4] {
        font-size: 2.1rem;
        color: #2563eb;
        opacity: .85;
    }

.customer-insight-grid[b-x4l9fuy1e4] {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
}

.customer-mini[b-x4l9fuy1e4] {
    padding: 11px;
    border-radius: 16px;
    border: 1px solid #e2e8f0;
    background: #f8fafc;
}

    .customer-mini span[b-x4l9fuy1e4] {
        display: block;
        font-size: .74rem;
        font-weight: 900;
        color: #64748b;
        text-transform: uppercase;
    }

    .customer-mini strong[b-x4l9fuy1e4] {
        display: block;
        margin-top: 4px;
        font-size: 1.25rem;
        font-weight: 950;
        color: #0f172a;
    }

    .customer-mini small[b-x4l9fuy1e4] {
        color: #64748b;
        font-size: .72rem;
        font-weight: 800;
    }

    .customer-mini.new[b-x4l9fuy1e4] {
        background: #f0fdf4;
        border-color: #bbf7d0;
    }

        .customer-mini.new strong[b-x4l9fuy1e4] {
            color: #15803d;
        }

    .customer-mini.repeat[b-x4l9fuy1e4] {
        background: #eff6ff;
        border-color: #bfdbfe;
    }

        .customer-mini.repeat strong[b-x4l9fuy1e4] {
            color: #1d4ed8;
        }

    .customer-mini.due[b-x4l9fuy1e4] {
        background: #fef2f2;
        border-color: #fecaca;
    }

        .customer-mini.due strong[b-x4l9fuy1e4] {
            color: #b91c1c;
        }

.customer-repeat-bar[b-x4l9fuy1e4] {
    padding: 11px;
    border-radius: 16px;
    border: 1px solid #e2e8f0;
    background: #fff;
}

.customer-repeat-head[b-x4l9fuy1e4] {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 8px;
}

    .customer-repeat-head span[b-x4l9fuy1e4] {
        color: #475569;
        font-size: .78rem;
        font-weight: 900;
    }

    .customer-repeat-head strong[b-x4l9fuy1e4] {
        color: #1d4ed8;
        font-size: .9rem;
        font-weight: 950;
    }

.customer-repeat-track[b-x4l9fuy1e4] {
    height: 8px;
    border-radius: 999px;
    background: #e5e7eb;
    overflow: hidden;
}

.customer-repeat-fill[b-x4l9fuy1e4] {
    height: 100%;
    border-radius: 999px;
    background: linear-gradient(90deg, #2563eb, #06b6d4);
}

@media (max-width: 520px) {
    .customer-insight-grid[b-x4l9fuy1e4] {
        grid-template-columns: 1fr;
    }
}
/* =========================
   Clean Pie Chart Cards
========================= */

.clean-pie-card[b-x4l9fuy1e4] {
    display: grid;
    grid-template-columns: 210px 1fr;
    gap: 12px;
    align-items: center;
}

    .clean-pie-card.compact[b-x4l9fuy1e4] {
        grid-template-columns: 160px 1fr;
    }

.clean-pie-chart[b-x4l9fuy1e4] {
    width: 100%;
    height: 210px;
}

    .clean-pie-chart.small[b-x4l9fuy1e4] {
        height: 170px;
    }

.clean-pie-summary[b-x4l9fuy1e4] {
    display: grid;
    gap: 8px;
}

.clean-pie-row[b-x4l9fuy1e4] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    padding: 8px 10px;
    border: 1px solid #e2e8f0;
    border-radius: 14px;
    background: #f8fafc;
}

.clean-pie-values[b-x4l9fuy1e4] {
    text-align: right;
}

    .clean-pie-values strong[b-x4l9fuy1e4] {
        display: block;
        color: #0f172a;
        font-size: .9rem;
        font-weight: 950;
        line-height: 1.1;
    }

    .clean-pie-values small[b-x4l9fuy1e4] {
        display: block;
        margin-top: 2px;
        color: #64748b;
        font-size: .74rem;
        font-weight: 750;
        white-space: nowrap;
    }

@media (max-width: 768px) {
    .clean-pie-card[b-x4l9fuy1e4],
    .clean-pie-card.compact[b-x4l9fuy1e4] {
        grid-template-columns: 1fr;
    }

    .clean-pie-chart[b-x4l9fuy1e4],
    .clean-pie-chart.small[b-x4l9fuy1e4] {
        height: 220px;
    }
}
/* _content/Mahrus.Laundry.Admin/Components/Pages/Dashboard/Dashboard_Management - Copy.razor.rz.scp.css */
.mgmt-dashboard[b-phty6hgy3f] {
    padding: 8px 10px 28px;
    background: #f6f8fb;
}

/* =========================
   Header
========================= */

.dash-header[b-phty6hgy3f] {
    display: flex;
    justify-content: space-between;
    gap: 16px;
    align-items: center;
    margin-bottom: 14px;
}

    .dash-header h3[b-phty6hgy3f] {
        margin: 0;
        font-weight: 800;
    }

.dash-actions[b-phty6hgy3f] {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
}

    .dash-actions select[b-phty6hgy3f] {
        width: 92px;
    }

/* =========================
   Cards / Panels
========================= */

.filter-card[b-phty6hgy3f],
.dash-panel[b-phty6hgy3f] {
    background: #fff;
    border: 1px solid rgba(15, 23, 42, .08);
    border-radius: 18px;
    box-shadow: 0 8px 24px rgba(15, 23, 42, .06);
}

.filter-card[b-phty6hgy3f] {
    padding: 14px;
    margin-bottom: 14px;
}

.loading-box[b-phty6hgy3f] {
    background: #fff;
    border-radius: 14px;
    padding: 18px;
    color: #64748b;
}

/* =========================
   KPI Cards
========================= */

.kpi-grid[b-phty6hgy3f] {
    display: grid;
    grid-template-columns: minmax(145px, .85fr) minmax(145px, .85fr) minmax(390px, 2fr) minmax(165px, 1fr) minmax(175px, 1fr);
    gap: 12px;
    margin-bottom: 14px;
    align-items: stretch;
}

[b-phty6hgy3f] .kpi-card {
    display: block;
    text-decoration: none;
    padding: 14px 16px;
    position: relative;
    overflow: hidden;
    min-height: 118px;
    border-radius: 16px;
    border: 1px solid #e5e7eb;
    background: #fff;
    box-shadow: 0 8px 20px rgba(15, 23, 42, 0.08);
    color: inherit;
    transition: transform .15s ease, box-shadow .15s ease;
}

    [b-phty6hgy3f] .kpi-card:hover {
        transform: translateY(-1px);
        box-shadow: 0 12px 26px rgba(15, 23, 42, 0.12);
    }

    [b-phty6hgy3f] .kpi-card::before {
        content: "";
        position: absolute;
        left: 0;
        top: 0;
        bottom: 0;
        width: 5px;
        background: #2563eb;
    }

    /* KPI colors */

    [b-phty6hgy3f] .kpi-card.accent-blue {
        background: #eff6ff;
        border-color: #bfdbfe;
    }

        [b-phty6hgy3f] .kpi-card.accent-blue::before {
            background: #3b82f6;
        }

    [b-phty6hgy3f] .kpi-card.accent-purple {
        background: #faf5ff;
        border-color: #e9d5ff;
    }

        [b-phty6hgy3f] .kpi-card.accent-purple::before {
            background: #a855f7;
        }

    [b-phty6hgy3f] .kpi-card.accent-green {
        background: #f0fdf4;
        border-color: #bbf7d0;
    }

        [b-phty6hgy3f] .kpi-card.accent-green::before {
            background: #22c55e;
        }

    [b-phty6hgy3f] .kpi-card.accent-teal {
        background: #f0fdfa;
        border-color: #99f6e4;
    }

        [b-phty6hgy3f] .kpi-card.accent-teal::before {
            background: #14b8a6;
        }

    [b-phty6hgy3f] .kpi-card.accent-orange {
        background: #fff7ed;
        border-color: #fed7aa;
    }

        [b-phty6hgy3f] .kpi-card.accent-orange::before {
            background: #f97316;
        }

    [b-phty6hgy3f] .kpi-card.accent-red {
        background: #fef2f2;
        border-color: #fecaca;
    }

        [b-phty6hgy3f] .kpi-card.accent-red::before {
            background: #ef4444;
        }

[b-phty6hgy3f] .kpi-title {
    color: #334155;
    font-size: .82rem;
    font-weight: 800;
}

[b-phty6hgy3f] .kpi-value {
    font-size: 1.35rem;
    font-weight: 900;
    color: #0f172a;
    margin-top: 4px;
    line-height: 1.2;
}

[b-phty6hgy3f] .kpi-sub {
    display: flex;
    justify-content: space-between;
    gap: 8px;
    margin-top: 10px;
    color: #64748b;
    font-size: .82rem;
}

[b-phty6hgy3f] .kpi-sub-value {
    font-weight: 900;
    color: #0f172a;
    text-align: right;
}

[b-phty6hgy3f] .kpi-icon {
    position: absolute;
    top: 12px;
    right: 12px;
    font-size: 1.35rem;
    color: rgba(15, 23, 42, .22);
}
/* =========================
   Sales Statement KPI
========================= */

.sales-statement-card[b-phty6hgy3f] {
    position: relative;
    display: block;
    min-height: 118px;
    padding: 14px 16px;
    overflow: hidden;
    border-radius: 16px;
    background: #f0fdf4;
    border: 1px solid #bbf7d0;
    border-left: 5px solid #22c55e;
    box-shadow: 0 8px 20px rgba(15, 23, 42, 0.08);
    transition: transform .15s ease, box-shadow .15s ease;
}

    .sales-statement-card.clickable[b-phty6hgy3f] {
        cursor: pointer;
    }

        .sales-statement-card.clickable:hover[b-phty6hgy3f] {
            transform: translateY(-1px);
            box-shadow: 0 12px 26px rgba(15, 23, 42, 0.12);
        }

.sales-statement-title[b-phty6hgy3f] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    margin-bottom: 8px;
    color: #334155;
    font-size: .82rem;
    font-weight: 900;
}

    .sales-statement-title i[b-phty6hgy3f] {
        font-size: 1.35rem;
        color: rgba(15, 23, 42, .22);
    }

.statement-row[b-phty6hgy3f] {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 12px;
    padding: 3px 0;
    color: #64748b;
    font-size: .8rem;
    line-height: 1.25;
}

    .statement-row strong[b-phty6hgy3f] {
        color: #0f172a;
        font-weight: 900;
        text-align: right;
        white-space: nowrap;
    }

    .statement-row.deduction strong[b-phty6hgy3f] {
        color: #dc2626;
    }

    .statement-row.final[b-phty6hgy3f] {
        margin-top: 5px;
        padding-top: 8px;
        border-top: 1px dashed #94a3b8;
        font-size: .9rem;
    }

        .statement-row.final span[b-phty6hgy3f],
        .statement-row.final strong[b-phty6hgy3f] {
            color: #065f46;
            font-weight: 950;
        }
/* =========================
   Dashboard Panels
========================= */

.dash-panel[b-phty6hgy3f] {
    padding: 14px;
    min-height: 100%;
}

.panel-title[b-phty6hgy3f] {
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: 800;
    margin-bottom: 12px;
    color: #0f172a;
}

/* =========================
   Order Status
========================= */

.status-grid[b-phty6hgy3f] {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(145px, 1fr));
    gap: 10px;
}

.status-pill[b-phty6hgy3f] {
    border: 1px solid #e2e8f0;
    border-radius: 14px;
    padding: 10px 12px;
    display: flex;
    justify-content: space-between;
    background: #f8fafc;
}

    .status-pill span[b-phty6hgy3f] {
        color: #475569;
        font-weight: 700;
    }

    .status-pill b[b-phty6hgy3f] {
        color: #0f172a;
        font-weight: 900;
    }

    /* Colored Status Pills */

    .status-pill.status-good[b-phty6hgy3f] {
        background: #f0fdf4;
        border-color: #bbf7d0;
    }

        .status-pill.status-good span[b-phty6hgy3f],
        .status-pill.status-good b[b-phty6hgy3f] {
            color: #15803d;
        }

    .status-pill.status-ready[b-phty6hgy3f] {
        background: #f0fdfa;
        border-color: #99f6e4;
    }

        .status-pill.status-ready span[b-phty6hgy3f],
        .status-pill.status-ready b[b-phty6hgy3f] {
            color: #0f766e;
        }

    .status-pill.status-warning[b-phty6hgy3f] {
        background: #fff7ed;
        border-color: #fed7aa;
    }

        .status-pill.status-warning span[b-phty6hgy3f],
        .status-pill.status-warning b[b-phty6hgy3f] {
            color: #c2410c;
        }

    .status-pill.status-info[b-phty6hgy3f] {
        background: #eff6ff;
        border-color: #bfdbfe;
    }

        .status-pill.status-info span[b-phty6hgy3f],
        .status-pill.status-info b[b-phty6hgy3f] {
            color: #1d4ed8;
        }

    .status-pill.status-danger[b-phty6hgy3f] {
        background: #fef2f2;
        border-color: #fecaca;
    }

        .status-pill.status-danger span[b-phty6hgy3f],
        .status-pill.status-danger b[b-phty6hgy3f] {
            color: #b91c1c;
        }

    .status-pill.status-new[b-phty6hgy3f] {
        background: #f8fafc;
        border-color: #cbd5e1;
    }

        .status-pill.status-new span[b-phty6hgy3f],
        .status-pill.status-new b[b-phty6hgy3f] {
            color: #334155;
        }

    .status-pill.status-neutral[b-phty6hgy3f] {
        background: #f8fafc;
        border-color: #e2e8f0;
    }

/* =========================
   Alerts
========================= */

.alert-list[b-phty6hgy3f] {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.alert-row[b-phty6hgy3f] {
    border-radius: 14px;
    padding: 10px 12px;
    display: flex;
    justify-content: space-between;
    gap: 12px;
    border: 1px solid #e2e8f0;
}

    .alert-row span[b-phty6hgy3f] {
        font-weight: 900;
        font-size: 1.1rem;
    }

.alert-danger[b-phty6hgy3f] {
    background: #fef2f2;
    color: #991b1b;
    border-color: #fecaca;
}

.alert-warning[b-phty6hgy3f] {
    background: #fffbeb;
    color: #92400e;
    border-color: #fde68a;
}

.alert-info[b-phty6hgy3f] {
    background: #eff6ff;
    color: #1d4ed8;
    border-color: #bfdbfe;
}

/* =========================
   Mini Stats
========================= */

.mini-grid[b-phty6hgy3f] {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
}

    .mini-grid.two[b-phty6hgy3f] {
        grid-template-columns: repeat(2, 1fr);
    }

.mini-stat[b-phty6hgy3f] {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 14px;
    padding: 10px;
}

    .mini-stat .label[b-phty6hgy3f] {
        color: #64748b;
        font-size: .78rem;
        font-weight: 800;
    }

    .mini-stat .value[b-phty6hgy3f] {
        color: #0f172a;
        font-size: 1.05rem;
        font-weight: 900;
    }

/* =========================
   Tables
========================= */

.table.dashboard-table[b-phty6hgy3f] {
    margin-bottom: 0;
}

.dashboard-table thead th[b-phty6hgy3f] {
    color: #64748b;
    font-size: .78rem;
    text-transform: uppercase;
    border-bottom: 1px solid #e2e8f0;
    white-space: nowrap;
}

.dashboard-table td[b-phty6hgy3f] {
    vertical-align: middle;
    font-size: .9rem;
}

/* =========================
   Owner Attention Cards
========================= */

.attention-grid[b-phty6hgy3f] {
    display: grid;
    grid-template-columns: repeat(5, minmax(150px, 1fr));
    gap: 12px;
    margin-bottom: 14px;
}

.attention-card[b-phty6hgy3f] {
    display: flex;
    gap: 12px;
    align-items: center;
    padding: 13px 14px;
    border-radius: 16px;
    border: 1px solid #e5e7eb;
    background: #fff;
    box-shadow: 0 8px 20px rgba(15, 23, 42, 0.06);
}

.attention-icon[b-phty6hgy3f] {
    width: 38px;
    height: 38px;
    border-radius: 14px;
    display: grid;
    place-items: center;
    font-size: 1.15rem;
    background: #f1f5f9;
    color: #334155;
    flex: 0 0 auto;
}

.attention-title[b-phty6hgy3f] {
    font-size: .78rem;
    font-weight: 900;
    color: #334155;
    text-transform: uppercase;
}

.attention-value[b-phty6hgy3f] {
    font-size: 1.12rem;
    font-weight: 950;
    color: #0f172a;
    line-height: 1.25;
}

.attention-sub[b-phty6hgy3f] {
    font-size: .76rem;
    color: #64748b;
}

.attention-card.good[b-phty6hgy3f] {
    background: #f0fdf4;
    border-color: #bbf7d0;
}

    .attention-card.good .attention-icon[b-phty6hgy3f] {
        background: #dcfce7;
        color: #15803d;
    }

.attention-card.warning[b-phty6hgy3f] {
    background: #fff7ed;
    border-color: #fed7aa;
}

    .attention-card.warning .attention-icon[b-phty6hgy3f] {
        background: #ffedd5;
        color: #c2410c;
    }

.attention-card.danger[b-phty6hgy3f] {
    background: #fef2f2;
    border-color: #fecaca;
}

    .attention-card.danger .attention-icon[b-phty6hgy3f] {
        background: #fee2e2;
        color: #b91c1c;
    }

/* =========================
   Responsive
========================= */

@media (max-width: 1500px) {
    .kpi-grid[b-phty6hgy3f] {
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }

    .sales-statement-card[b-phty6hgy3f] {
        grid-column: span 2;
    }

    .attention-grid[b-phty6hgy3f] {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

@media (max-width: 992px) {
    .kpi-grid[b-phty6hgy3f] {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .sales-statement-card[b-phty6hgy3f] {
        grid-column: span 2;
    }

    .attention-grid[b-phty6hgy3f] {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .mini-grid[b-phty6hgy3f] {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .dash-header[b-phty6hgy3f] {
        align-items: flex-start;
        flex-direction: column;
    }

    .kpi-grid[b-phty6hgy3f] {
        grid-template-columns: repeat(2, minmax(140px, 1fr));
    }

    .sales-statement-card[b-phty6hgy3f] {
        grid-column: span 2;
    }
}

@media (max-width: 520px) {
    .kpi-grid[b-phty6hgy3f],
    .attention-grid[b-phty6hgy3f],
    .mini-grid[b-phty6hgy3f],
    .mini-grid.two[b-phty6hgy3f] {
        grid-template-columns: 1fr;
    }

    .sales-statement-card[b-phty6hgy3f] {
        grid-column: span 1;
    }
}
/* =========================
   Drill-down Modal
========================= */

.drill-backdrop[b-phty6hgy3f] {
    position: fixed;
    inset: 0;
    z-index: 1040;
    background: rgba(15, 23, 42, .48);
    backdrop-filter: blur(2px);
}

.drill-modal[b-phty6hgy3f] {
    position: fixed;
    z-index: 1050;
    top: 5vh;
    left: 50%;
    transform: translateX(-50%);
    width: min(1280px, calc(100vw - 28px));
    max-height: 90vh;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    background: #fff;
    border-radius: 20px;
    border: 1px solid rgba(15, 23, 42, .12);
    box-shadow: 0 30px 80px rgba(15, 23, 42, .30);
}

.drill-header[b-phty6hgy3f] {
    padding: 14px 16px;
    border-bottom: 1px solid #e5e7eb;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
    background: #f8fafc;
}

    .drill-header h5[b-phty6hgy3f] {
        margin: 0;
        font-weight: 900;
        color: #0f172a;
    }

.drill-loading[b-phty6hgy3f] {
    padding: 28px;
    color: #64748b;
}

.drill-summary[b-phty6hgy3f] {
    display: grid;
    grid-template-columns: repeat(4, minmax(140px, 1fr));
    gap: 10px;
    padding: 12px 14px;
    border-bottom: 1px solid #e5e7eb;
    background: #ffffff;
}

.drill-table-wrap[b-phty6hgy3f] {
    overflow: auto;
    padding: 0 14px 14px;
}

.drill-table[b-phty6hgy3f] {
    min-width: 1100px;
}

    .drill-table thead th[b-phty6hgy3f] {
        position: sticky;
        top: 0;
        z-index: 1;
        background: #f8fafc;
    }

.status-pill-btn[b-phty6hgy3f] {
    width: 100%;
    text-align: left;
    cursor: pointer;
}

    .status-pill-btn:hover[b-phty6hgy3f] {
        filter: brightness(.98);
        transform: translateY(-1px);
    }

.drill-row[b-phty6hgy3f] {
    cursor: pointer;
}

    .drill-row:hover td[b-phty6hgy3f] {
        background: #f8fbff;
    }

.status-mini[b-phty6hgy3f] {
    display: inline-flex;
    align-items: center;
    border-radius: 999px;
    padding: .18rem .5rem;
    font-size: .74rem;
    font-weight: 900;
    border: 1px solid #e2e8f0;
    background: #f8fafc;
    color: #334155;
}

    .status-mini.status-good[b-phty6hgy3f] {
        background: #f0fdf4;
        border-color: #bbf7d0;
        color: #15803d;
    }

    .status-mini.status-ready[b-phty6hgy3f] {
        background: #f0fdfa;
        border-color: #99f6e4;
        color: #0f766e;
    }

    .status-mini.status-warning[b-phty6hgy3f] {
        background: #fff7ed;
        border-color: #fed7aa;
        color: #c2410c;
    }

    .status-mini.status-info[b-phty6hgy3f] {
        background: #eff6ff;
        border-color: #bfdbfe;
        color: #1d4ed8;
    }

    .status-mini.status-danger[b-phty6hgy3f] {
        background: #fef2f2;
        border-color: #fecaca;
        color: #b91c1c;
    }

    .status-mini.status-new[b-phty6hgy3f],
    .status-mini.status-neutral[b-phty6hgy3f] {
        background: #f8fafc;
        border-color: #cbd5e1;
        color: #334155;
    }

[b-phty6hgy3f] button.kpi-card {
    width: 100%;
    text-align: left;
    cursor: pointer;
}

@media (max-width: 768px) {
    .drill-modal[b-phty6hgy3f] {
        top: 2vh;
        width: calc(100vw - 14px);
        max-height: 96vh;
        border-radius: 16px;
    }

    .drill-summary[b-phty6hgy3f] {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

.attention-card.clickable[b-phty6hgy3f] {
    cursor: pointer;
}

    .attention-card.clickable:hover[b-phty6hgy3f] {
        transform: translateY(-1px);
        box-shadow: 0 12px 26px rgba(15, 23, 42, 0.12);
    }

.discount-chip[b-phty6hgy3f] {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 48px;
    padding: .18rem .45rem;
    border-radius: 999px;
    font-size: .74rem;
    font-weight: 900;
    border: 1px solid #fed7aa;
    background: #fff7ed;
    color: #c2410c;
}

    .discount-chip.danger[b-phty6hgy3f] {
        border-color: #fecaca;
        background: #fef2f2;
        color: #b91c1c;
    }

    .discount-chip.normal[b-phty6hgy3f] {
        border-color: #fed7aa;
        background: #fff7ed;
        color: #c2410c;
    }

/* =========================
   Drill-down Sorting
========================= */

.sort-btn[b-phty6hgy3f] {
    border: 0;
    background: transparent;
    padding: 0;
    margin: 0;
    width: 100%;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    font-size: .78rem;
    font-weight: 900;
    color: #64748b;
    text-transform: uppercase;
    cursor: pointer;
}

    .sort-btn:hover[b-phty6hgy3f] {
        color: #0f172a;
    }

    .sort-btn i[b-phty6hgy3f] {
        font-size: .8rem;
        opacity: .75;
    }

    .sort-btn.justify-end[b-phty6hgy3f] {
        justify-content: flex-end;
    }

/* =========================
   Price Type / Wash Speed
========================= */

.price-type-grid[b-phty6hgy3f] {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
}

.price-type-card[b-phty6hgy3f] {
    border-radius: 16px;
    border: 1px solid #e5e7eb;
    padding: 12px;
    background: #fff;
    box-shadow: 0 8px 18px rgba(15, 23, 42, 0.05);
}

.price-type-top[b-phty6hgy3f] {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 8px;
}

    .price-type-top i[b-phty6hgy3f] {
        font-size: 1.35rem;
        opacity: .85;
    }

.price-type-title[b-phty6hgy3f] {
    font-weight: 900;
    color: #0f172a;
    line-height: 1.15;
}

.price-type-code[b-phty6hgy3f] {
    font-size: .72rem;
    font-weight: 800;
    color: #64748b;
    text-transform: uppercase;
}

.price-type-value[b-phty6hgy3f] {
    margin-top: 8px;
    font-size: 1.55rem;
    font-weight: 950;
    color: #0f172a;
    line-height: 1.1;
}

.price-type-sub[b-phty6hgy3f] {
    margin-top: 8px;
    display: flex;
    justify-content: space-between;
    gap: 8px;
    font-size: .78rem;
    color: #64748b;
    font-weight: 700;
}

.price-type-amount[b-phty6hgy3f] {
    margin-top: 6px;
    font-size: .82rem;
    font-weight: 900;
    color: #334155;
}

.price-type-express[b-phty6hgy3f] {
    background: #fff7ed;
    border-color: #fed7aa;
}

    .price-type-express .price-type-value[b-phty6hgy3f],
    .price-type-express i[b-phty6hgy3f] {
        color: #c2410c;
    }

.price-type-normal[b-phty6hgy3f] {
    background: #eff6ff;
    border-color: #bfdbfe;
}

    .price-type-normal .price-type-value[b-phty6hgy3f],
    .price-type-normal i[b-phty6hgy3f] {
        color: #1d4ed8;
    }

.price-type-other[b-phty6hgy3f] {
    background: #f8fafc;
    border-color: #e2e8f0;
}

    .price-type-other .price-type-value[b-phty6hgy3f],
    .price-type-other i[b-phty6hgy3f] {
        color: #475569;
    }

.price-type-badge[b-phty6hgy3f] {
    display: inline-flex;
    align-items: center;
    border-radius: 999px;
    padding: .22rem .55rem;
    font-size: .78rem;
    font-weight: 900;
    border: 1px solid #e2e8f0;
}

@media (max-width: 520px) {
    .price-type-grid[b-phty6hgy3f] {
        grid-template-columns: 1fr;
    }
}

/* =========================
   Better Table Chips / Badges
========================= */

.soft-row td[b-phty6hgy3f] {
    padding-top: .55rem;
    padding-bottom: .55rem;
}

.soft-row:hover td[b-phty6hgy3f] {
    background: #f8fbff;
}

.category-chip[b-phty6hgy3f],
.service-chip[b-phty6hgy3f],
.payment-chip[b-phty6hgy3f],
.percent-chip[b-phty6hgy3f],
.price-type-badge[b-phty6hgy3f] {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 5px;
    border-radius: 999px;
    padding: .25rem .65rem;
    font-size: .78rem;
    font-weight: 900;
    border: 1px solid #e2e8f0;
    white-space: nowrap;
}

/* Category colors */
.cat-men[b-phty6hgy3f] {
    background: #eff6ff;
    border-color: #bfdbfe;
    color: #1d4ed8;
}

.cat-women[b-phty6hgy3f] {
    background: #fdf2f8;
    border-color: #fbcfe8;
    color: #be185d;
}

.cat-kids[b-phty6hgy3f] {
    background: #fefce8;
    border-color: #fde68a;
    color: #a16207;
}

.cat-home[b-phty6hgy3f] {
    background: #f0fdf4;
    border-color: #bbf7d0;
    color: #15803d;
}

.cat-shoes[b-phty6hgy3f] {
    background: #fff7ed;
    border-color: #fed7aa;
    color: #c2410c;
}

.cat-other[b-phty6hgy3f] {
    background: #f8fafc;
    border-color: #cbd5e1;
    color: #334155;
}

/* Service colors */
.service-wash-iron[b-phty6hgy3f] {
    background: #f0fdfa;
    border-color: #99f6e4;
    color: #0f766e;
}

.service-wash[b-phty6hgy3f] {
    background: #eff6ff;
    border-color: #bfdbfe;
    color: #1d4ed8;
}

.service-iron[b-phty6hgy3f] {
    background: #fff7ed;
    border-color: #fed7aa;
    color: #c2410c;
}

.service-dry[b-phty6hgy3f] {
    background: #faf5ff;
    border-color: #e9d5ff;
    color: #7e22ce;
}

.service-other[b-phty6hgy3f] {
    background: #f8fafc;
    border-color: #cbd5e1;
    color: #334155;
}

/* Payment colors */
.pay-cash[b-phty6hgy3f] {
    background: #f0fdf4;
    border-color: #bbf7d0;
    color: #15803d;
}

.pay-card[b-phty6hgy3f] {
    background: #eff6ff;
    border-color: #bfdbfe;
    color: #1d4ed8;
}

.pay-bank[b-phty6hgy3f] {
    background: #f0fdfa;
    border-color: #99f6e4;
    color: #0f766e;
}

.pay-wallet[b-phty6hgy3f] {
    background: #faf5ff;
    border-color: #e9d5ff;
    color: #7e22ce;
}

.pay-other[b-phty6hgy3f] {
    background: #f8fafc;
    border-color: #cbd5e1;
    color: #334155;
}

/* Percent chip */
.percent-chip[b-phty6hgy3f] {
    background: #f1f5f9;
    border-color: #cbd5e1;
    color: #334155;
    min-width: 54px;
}

/* Stronger price type badge */
.price-type-badge.price-type-express[b-phty6hgy3f] {
    background: #fff7ed;
    border-color: #fed7aa;
    color: #c2410c;
}

.price-type-badge.price-type-normal[b-phty6hgy3f] {
    background: #eff6ff;
    border-color: #bfdbfe;
    color: #1d4ed8;
}

.price-type-badge.price-type-other[b-phty6hgy3f] {
    background: #f8fafc;
    border-color: #cbd5e1;
    color: #334155;
}

/* =========================
   Extra Dashboard Chips
========================= */

.cloth-name-chip[b-phty6hgy3f],
.avg-chip[b-phty6hgy3f],
.inventory-item-chip[b-phty6hgy3f],
.inventory-category-chip[b-phty6hgy3f],
.reorder-chip[b-phty6hgy3f] {
    display: inline-flex;
    align-items: center;
    border-radius: 999px;
    padding: .25rem .6rem;
    font-size: .78rem;
    font-weight: 900;
    border: 1px solid #e2e8f0;
    white-space: nowrap;
}

.cloth-name-chip[b-phty6hgy3f] {
    background: #eef2ff;
    border-color: #c7d2fe;
    color: #3730a3;
}

.avg-chip[b-phty6hgy3f] {
    background: #f0fdf4;
    border-color: #bbf7d0;
    color: #15803d;
}

.inventory-item-chip[b-phty6hgy3f] {
    background: #eff6ff;
    border-color: #bfdbfe;
    color: #1d4ed8;
}

.inventory-category-chip[b-phty6hgy3f] {
    background: #f8fafc;
    border-color: #cbd5e1;
    color: #334155;
}

.reorder-chip[b-phty6hgy3f] {
    background: #fff7ed;
    border-color: #fed7aa;
    color: #c2410c;
}

/* Stronger table row hover */
.soft-row:hover td[b-phty6hgy3f] {
    background: #f8fbff !important;
}
/* _content/Mahrus.Laundry.Admin/Components/Pages/Dashboard/Dashboard_Management.razor.rz.scp.css */
.mgmt-dashboard[b-u8jwdb0oda] {
    padding: 8px 10px 28px;
    background: #f6f8fb;
}

/* =========================
   Header
========================= */

.dash-header[b-u8jwdb0oda] {
    display: flex;
    justify-content: space-between;
    gap: 16px;
    align-items: center;
    margin-bottom: 14px;
}

    .dash-header h3[b-u8jwdb0oda] {
        margin: 0;
        font-weight: 800;
    }

.dash-actions[b-u8jwdb0oda] {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
}

    .dash-actions select[b-u8jwdb0oda] {
        width: 92px;
    }

/* =========================
   Cards / Panels
========================= */

.filter-card[b-u8jwdb0oda],
.dash-panel[b-u8jwdb0oda] {
    background: #fff;
    border: 1px solid rgba(15, 23, 42, .08);
    border-radius: 18px;
    box-shadow: 0 8px 24px rgba(15, 23, 42, .06);
}

.filter-card[b-u8jwdb0oda] {
    padding: 14px;
    margin-bottom: 14px;
}

.loading-box[b-u8jwdb0oda] {
    background: #fff;
    border-radius: 14px;
    padding: 18px;
    color: #64748b;
}

/* =========================
   KPI Cards
========================= */

.kpi-grid[b-u8jwdb0oda] {
    display: grid;
    grid-template-columns: minmax(145px, .85fr) minmax(145px, .85fr) minmax(390px, 2fr) minmax(165px, 1fr) minmax(175px, 1fr);
    gap: 12px;
    margin-bottom: 14px;
    align-items: stretch;
}

[b-u8jwdb0oda] .kpi-card {
    display: block;
    text-decoration: none;
    padding: 14px 16px;
    position: relative;
    overflow: hidden;
    min-height: 118px;
    border-radius: 16px;
    border: 1px solid #e5e7eb;
    background: #fff;
    box-shadow: 0 8px 20px rgba(15, 23, 42, 0.08);
    color: inherit;
    transition: transform .15s ease, box-shadow .15s ease;
}

    [b-u8jwdb0oda] .kpi-card:hover {
        transform: translateY(-1px);
        box-shadow: 0 12px 26px rgba(15, 23, 42, 0.12);
    }

    [b-u8jwdb0oda] .kpi-card::before {
        content: "";
        position: absolute;
        left: 0;
        top: 0;
        bottom: 0;
        width: 5px;
        background: #2563eb;
    }

    /* KPI colors */

    [b-u8jwdb0oda] .kpi-card.accent-blue {
        background: #eff6ff;
        border-color: #bfdbfe;
    }

        [b-u8jwdb0oda] .kpi-card.accent-blue::before {
            background: #3b82f6;
        }

    [b-u8jwdb0oda] .kpi-card.accent-purple {
        background: #faf5ff;
        border-color: #e9d5ff;
    }

        [b-u8jwdb0oda] .kpi-card.accent-purple::before {
            background: #a855f7;
        }

    [b-u8jwdb0oda] .kpi-card.accent-green {
        background: #f0fdf4;
        border-color: #bbf7d0;
    }

        [b-u8jwdb0oda] .kpi-card.accent-green::before {
            background: #22c55e;
        }

    [b-u8jwdb0oda] .kpi-card.accent-teal {
        background: #f0fdfa;
        border-color: #99f6e4;
    }

        [b-u8jwdb0oda] .kpi-card.accent-teal::before {
            background: #14b8a6;
        }

    [b-u8jwdb0oda] .kpi-card.accent-orange {
        background: #fff7ed;
        border-color: #fed7aa;
    }

        [b-u8jwdb0oda] .kpi-card.accent-orange::before {
            background: #f97316;
        }

    [b-u8jwdb0oda] .kpi-card.accent-red {
        background: #fef2f2;
        border-color: #fecaca;
    }

        [b-u8jwdb0oda] .kpi-card.accent-red::before {
            background: #ef4444;
        }

[b-u8jwdb0oda] .kpi-title {
    color: #334155;
    font-size: .82rem;
    font-weight: 800;
}

[b-u8jwdb0oda] .kpi-value {
    font-size: 1.35rem;
    font-weight: 900;
    color: #0f172a;
    margin-top: 4px;
    line-height: 1.2;
}

[b-u8jwdb0oda] .kpi-sub {
    display: flex;
    justify-content: space-between;
    gap: 8px;
    margin-top: 10px;
    color: #64748b;
    font-size: .82rem;
}

[b-u8jwdb0oda] .kpi-sub-value {
    font-weight: 900;
    color: #0f172a;
    text-align: right;
}

[b-u8jwdb0oda] .kpi-icon {
    position: absolute;
    top: 12px;
    right: 12px;
    font-size: 1.35rem;
    color: rgba(15, 23, 42, .22);
}
/* =========================
   Sales Statement KPI
========================= */

.sales-statement-card[b-u8jwdb0oda] {
    position: relative;
    display: block;
    min-height: 118px;
    padding: 14px 16px;
    overflow: hidden;
    border-radius: 16px;
    background: #f0fdf4;
    border: 1px solid #bbf7d0;
    border-left: 5px solid #22c55e;
    box-shadow: 0 8px 20px rgba(15, 23, 42, 0.08);
    transition: transform .15s ease, box-shadow .15s ease;
}

    .sales-statement-card.clickable[b-u8jwdb0oda] {
        cursor: pointer;
    }

        .sales-statement-card.clickable:hover[b-u8jwdb0oda] {
            transform: translateY(-1px);
            box-shadow: 0 12px 26px rgba(15, 23, 42, 0.12);
        }

.sales-statement-title[b-u8jwdb0oda] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    margin-bottom: 8px;
    color: #334155;
    font-size: .82rem;
    font-weight: 900;
}

    .sales-statement-title i[b-u8jwdb0oda] {
        font-size: 1.35rem;
        color: rgba(15, 23, 42, .22);
    }

.statement-row[b-u8jwdb0oda] {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 12px;
    padding: 3px 0;
    color: #64748b;
    font-size: .8rem;
    line-height: 1.25;
}

    .statement-row strong[b-u8jwdb0oda] {
        color: #0f172a;
        font-weight: 900;
        text-align: right;
        white-space: nowrap;
    }

    .statement-row.deduction strong[b-u8jwdb0oda] {
        color: #dc2626;
    }

    .statement-row.final[b-u8jwdb0oda] {
        margin-top: 5px;
        padding-top: 8px;
        border-top: 1px dashed #94a3b8;
        font-size: .9rem;
    }

        .statement-row.final span[b-u8jwdb0oda],
        .statement-row.final strong[b-u8jwdb0oda] {
            color: #065f46;
            font-weight: 950;
        }
/* =========================
   Dashboard Panels
========================= */

.dash-panel[b-u8jwdb0oda] {
    padding: 14px;
    min-height: 100%;
}

.panel-title[b-u8jwdb0oda] {
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: 800;
    margin-bottom: 12px;
    color: #0f172a;
}

/* =========================
   Order Status
========================= */

.status-grid[b-u8jwdb0oda] {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(145px, 1fr));
    gap: 10px;
}

.status-pill[b-u8jwdb0oda] {
    border: 1px solid #e2e8f0;
    border-radius: 14px;
    padding: 10px 12px;
    display: flex;
    justify-content: space-between;
    background: #f8fafc;
}

    .status-pill span[b-u8jwdb0oda] {
        color: #475569;
        font-weight: 700;
    }

    .status-pill b[b-u8jwdb0oda] {
        color: #0f172a;
        font-weight: 900;
    }

    /* Colored Status Pills */

    .status-pill.status-good[b-u8jwdb0oda] {
        background: #f0fdf4;
        border-color: #bbf7d0;
    }

        .status-pill.status-good span[b-u8jwdb0oda],
        .status-pill.status-good b[b-u8jwdb0oda] {
            color: #15803d;
        }

    .status-pill.status-ready[b-u8jwdb0oda] {
        background: #f0fdfa;
        border-color: #99f6e4;
    }

        .status-pill.status-ready span[b-u8jwdb0oda],
        .status-pill.status-ready b[b-u8jwdb0oda] {
            color: #0f766e;
        }

    .status-pill.status-warning[b-u8jwdb0oda] {
        background: #fff7ed;
        border-color: #fed7aa;
    }

        .status-pill.status-warning span[b-u8jwdb0oda],
        .status-pill.status-warning b[b-u8jwdb0oda] {
            color: #c2410c;
        }

    .status-pill.status-info[b-u8jwdb0oda] {
        background: #eff6ff;
        border-color: #bfdbfe;
    }

        .status-pill.status-info span[b-u8jwdb0oda],
        .status-pill.status-info b[b-u8jwdb0oda] {
            color: #1d4ed8;
        }

    .status-pill.status-danger[b-u8jwdb0oda] {
        background: #fef2f2;
        border-color: #fecaca;
    }

        .status-pill.status-danger span[b-u8jwdb0oda],
        .status-pill.status-danger b[b-u8jwdb0oda] {
            color: #b91c1c;
        }

    .status-pill.status-new[b-u8jwdb0oda] {
        background: #f8fafc;
        border-color: #cbd5e1;
    }

        .status-pill.status-new span[b-u8jwdb0oda],
        .status-pill.status-new b[b-u8jwdb0oda] {
            color: #334155;
        }

    .status-pill.status-neutral[b-u8jwdb0oda] {
        background: #f8fafc;
        border-color: #e2e8f0;
    }

/* =========================
   Alerts
========================= */

.alert-list[b-u8jwdb0oda] {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.alert-row[b-u8jwdb0oda] {
    border-radius: 14px;
    padding: 10px 12px;
    display: flex;
    justify-content: space-between;
    gap: 12px;
    border: 1px solid #e2e8f0;
}

    .alert-row span[b-u8jwdb0oda] {
        font-weight: 900;
        font-size: 1.1rem;
    }

.alert-danger[b-u8jwdb0oda] {
    background: #fef2f2;
    color: #991b1b;
    border-color: #fecaca;
}

.alert-warning[b-u8jwdb0oda] {
    background: #fffbeb;
    color: #92400e;
    border-color: #fde68a;
}

.alert-info[b-u8jwdb0oda] {
    background: #eff6ff;
    color: #1d4ed8;
    border-color: #bfdbfe;
}

/* =========================
   Mini Stats
========================= */

.mini-grid[b-u8jwdb0oda] {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
}

    .mini-grid.two[b-u8jwdb0oda] {
        grid-template-columns: repeat(2, 1fr);
    }

.mini-stat[b-u8jwdb0oda] {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 14px;
    padding: 10px;
}

    .mini-stat .label[b-u8jwdb0oda] {
        color: #64748b;
        font-size: .78rem;
        font-weight: 800;
    }

    .mini-stat .value[b-u8jwdb0oda] {
        color: #0f172a;
        font-size: 1.05rem;
        font-weight: 900;
    }

/* =========================
   Tables
========================= */

.table.dashboard-table[b-u8jwdb0oda] {
    margin-bottom: 0;
}

.dashboard-table thead th[b-u8jwdb0oda] {
    color: #64748b;
    font-size: .78rem;
    text-transform: uppercase;
    border-bottom: 1px solid #e2e8f0;
    white-space: nowrap;
}

.dashboard-table td[b-u8jwdb0oda] {
    vertical-align: middle;
    font-size: .9rem;
}

/* =========================
   Owner Attention Cards
========================= */

.attention-grid[b-u8jwdb0oda] {
    display: grid;
    grid-template-columns: repeat(5, minmax(150px, 1fr));
    gap: 12px;
    margin-bottom: 14px;
}

.attention-card[b-u8jwdb0oda] {
    display: flex;
    gap: 12px;
    align-items: center;
    padding: 13px 14px;
    border-radius: 16px;
    border: 1px solid #e5e7eb;
    background: #fff;
    box-shadow: 0 8px 20px rgba(15, 23, 42, 0.06);
}

.attention-icon[b-u8jwdb0oda] {
    width: 38px;
    height: 38px;
    border-radius: 14px;
    display: grid;
    place-items: center;
    font-size: 1.15rem;
    background: #f1f5f9;
    color: #334155;
    flex: 0 0 auto;
}

.attention-title[b-u8jwdb0oda] {
    font-size: .78rem;
    font-weight: 900;
    color: #334155;
    text-transform: uppercase;
}

.attention-value[b-u8jwdb0oda] {
    font-size: 1.12rem;
    font-weight: 950;
    color: #0f172a;
    line-height: 1.25;
}

.attention-sub[b-u8jwdb0oda] {
    font-size: .76rem;
    color: #64748b;
}

.attention-card.good[b-u8jwdb0oda] {
    background: #f0fdf4;
    border-color: #bbf7d0;
}

    .attention-card.good .attention-icon[b-u8jwdb0oda] {
        background: #dcfce7;
        color: #15803d;
    }

.attention-card.warning[b-u8jwdb0oda] {
    background: #fff7ed;
    border-color: #fed7aa;
}

    .attention-card.warning .attention-icon[b-u8jwdb0oda] {
        background: #ffedd5;
        color: #c2410c;
    }

.attention-card.danger[b-u8jwdb0oda] {
    background: #fef2f2;
    border-color: #fecaca;
}

    .attention-card.danger .attention-icon[b-u8jwdb0oda] {
        background: #fee2e2;
        color: #b91c1c;
    }

/* =========================
   Responsive
========================= */

@media (max-width: 1500px) {
    .kpi-grid[b-u8jwdb0oda] {
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }

    .sales-statement-card[b-u8jwdb0oda] {
        grid-column: span 2;
    }

    .attention-grid[b-u8jwdb0oda] {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

@media (max-width: 992px) {
    .kpi-grid[b-u8jwdb0oda] {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .sales-statement-card[b-u8jwdb0oda] {
        grid-column: span 2;
    }

    .attention-grid[b-u8jwdb0oda] {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .mini-grid[b-u8jwdb0oda] {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .dash-header[b-u8jwdb0oda] {
        align-items: flex-start;
        flex-direction: column;
    }

    .kpi-grid[b-u8jwdb0oda] {
        grid-template-columns: repeat(2, minmax(140px, 1fr));
    }

    .sales-statement-card[b-u8jwdb0oda] {
        grid-column: span 2;
    }
}

@media (max-width: 520px) {
    .kpi-grid[b-u8jwdb0oda],
    .attention-grid[b-u8jwdb0oda],
    .mini-grid[b-u8jwdb0oda],
    .mini-grid.two[b-u8jwdb0oda] {
        grid-template-columns: 1fr;
    }

    .sales-statement-card[b-u8jwdb0oda] {
        grid-column: span 1;
    }
}
/* =========================
   Drill-down Modal
========================= */

.drill-backdrop[b-u8jwdb0oda] {
    position: fixed;
    inset: 0;
    z-index: 1040;
    background: rgba(15, 23, 42, .48);
    backdrop-filter: blur(2px);
}

.drill-modal[b-u8jwdb0oda] {
    position: fixed;
    z-index: 1050;
    top: 5vh;
    left: 50%;
    transform: translateX(-50%);
    width: min(1280px, calc(100vw - 28px));
    max-height: 90vh;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    background: #fff;
    border-radius: 20px;
    border: 1px solid rgba(15, 23, 42, .12);
    box-shadow: 0 30px 80px rgba(15, 23, 42, .30);
}

.drill-header[b-u8jwdb0oda] {
    padding: 14px 16px;
    border-bottom: 1px solid #e5e7eb;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
    background: #f8fafc;
}

    .drill-header h5[b-u8jwdb0oda] {
        margin: 0;
        font-weight: 900;
        color: #0f172a;
    }

.drill-loading[b-u8jwdb0oda] {
    padding: 28px;
    color: #64748b;
}

.drill-summary[b-u8jwdb0oda] {
    display: grid;
    grid-template-columns: repeat(4, minmax(140px, 1fr));
    gap: 10px;
    padding: 12px 14px;
    border-bottom: 1px solid #e5e7eb;
    background: #ffffff;
}

.drill-table-wrap[b-u8jwdb0oda] {
    overflow: auto;
    padding: 0 14px 14px;
}

.drill-table[b-u8jwdb0oda] {
    min-width: 1100px;
}

    .drill-table thead th[b-u8jwdb0oda] {
        position: sticky;
        top: 0;
        z-index: 1;
        background: #f8fafc;
    }

.status-pill-btn[b-u8jwdb0oda] {
    width: 100%;
    text-align: left;
    cursor: pointer;
}

    .status-pill-btn:hover[b-u8jwdb0oda] {
        filter: brightness(.98);
        transform: translateY(-1px);
    }

.drill-row[b-u8jwdb0oda] {
    cursor: pointer;
}

    .drill-row:hover td[b-u8jwdb0oda] {
        background: #f8fbff;
    }

.status-mini[b-u8jwdb0oda] {
    display: inline-flex;
    align-items: center;
    border-radius: 999px;
    padding: .18rem .5rem;
    font-size: .74rem;
    font-weight: 900;
    border: 1px solid #e2e8f0;
    background: #f8fafc;
    color: #334155;
}

    .status-mini.status-good[b-u8jwdb0oda] {
        background: #f0fdf4;
        border-color: #bbf7d0;
        color: #15803d;
    }

    .status-mini.status-ready[b-u8jwdb0oda] {
        background: #f0fdfa;
        border-color: #99f6e4;
        color: #0f766e;
    }

    .status-mini.status-warning[b-u8jwdb0oda] {
        background: #fff7ed;
        border-color: #fed7aa;
        color: #c2410c;
    }

    .status-mini.status-info[b-u8jwdb0oda] {
        background: #eff6ff;
        border-color: #bfdbfe;
        color: #1d4ed8;
    }

    .status-mini.status-danger[b-u8jwdb0oda] {
        background: #fef2f2;
        border-color: #fecaca;
        color: #b91c1c;
    }

    .status-mini.status-new[b-u8jwdb0oda],
    .status-mini.status-neutral[b-u8jwdb0oda] {
        background: #f8fafc;
        border-color: #cbd5e1;
        color: #334155;
    }

[b-u8jwdb0oda] button.kpi-card {
    width: 100%;
    text-align: left;
    cursor: pointer;
}

@media (max-width: 768px) {
    .drill-modal[b-u8jwdb0oda] {
        top: 2vh;
        width: calc(100vw - 14px);
        max-height: 96vh;
        border-radius: 16px;
    }

    .drill-summary[b-u8jwdb0oda] {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

.attention-card.clickable[b-u8jwdb0oda] {
    cursor: pointer;
}

    .attention-card.clickable:hover[b-u8jwdb0oda] {
        transform: translateY(-1px);
        box-shadow: 0 12px 26px rgba(15, 23, 42, 0.12);
    }

.discount-chip[b-u8jwdb0oda] {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 48px;
    padding: .18rem .45rem;
    border-radius: 999px;
    font-size: .74rem;
    font-weight: 900;
    border: 1px solid #fed7aa;
    background: #fff7ed;
    color: #c2410c;
}

    .discount-chip.danger[b-u8jwdb0oda] {
        border-color: #fecaca;
        background: #fef2f2;
        color: #b91c1c;
    }

    .discount-chip.normal[b-u8jwdb0oda] {
        border-color: #fed7aa;
        background: #fff7ed;
        color: #c2410c;
    }

/* =========================
   Drill-down Sorting
========================= */

.sort-btn[b-u8jwdb0oda] {
    border: 0;
    background: transparent;
    padding: 0;
    margin: 0;
    width: 100%;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    font-size: .78rem;
    font-weight: 900;
    color: #64748b;
    text-transform: uppercase;
    cursor: pointer;
}

    .sort-btn:hover[b-u8jwdb0oda] {
        color: #0f172a;
    }

    .sort-btn i[b-u8jwdb0oda] {
        font-size: .8rem;
        opacity: .75;
    }

    .sort-btn.justify-end[b-u8jwdb0oda] {
        justify-content: flex-end;
    }

/* =========================
   Price Type / Wash Speed
========================= */

.price-type-grid[b-u8jwdb0oda] {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
}

.price-type-card[b-u8jwdb0oda] {
    border-radius: 16px;
    border: 1px solid #e5e7eb;
    padding: 12px;
    background: #fff;
    box-shadow: 0 8px 18px rgba(15, 23, 42, 0.05);
}

.price-type-top[b-u8jwdb0oda] {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 8px;
}

    .price-type-top i[b-u8jwdb0oda] {
        font-size: 1.35rem;
        opacity: .85;
    }

.price-type-title[b-u8jwdb0oda] {
    font-weight: 900;
    color: #0f172a;
    line-height: 1.15;
}

.price-type-code[b-u8jwdb0oda] {
    font-size: .72rem;
    font-weight: 800;
    color: #64748b;
    text-transform: uppercase;
}

.price-type-value[b-u8jwdb0oda] {
    margin-top: 8px;
    font-size: 1.55rem;
    font-weight: 950;
    color: #0f172a;
    line-height: 1.1;
}

.price-type-sub[b-u8jwdb0oda] {
    margin-top: 8px;
    display: flex;
    justify-content: space-between;
    gap: 8px;
    font-size: .78rem;
    color: #64748b;
    font-weight: 700;
}

.price-type-amount[b-u8jwdb0oda] {
    margin-top: 6px;
    font-size: .82rem;
    font-weight: 900;
    color: #334155;
}

.price-type-express[b-u8jwdb0oda] {
    background: #fff7ed;
    border-color: #fed7aa;
}

    .price-type-express .price-type-value[b-u8jwdb0oda],
    .price-type-express i[b-u8jwdb0oda] {
        color: #c2410c;
    }

.price-type-normal[b-u8jwdb0oda] {
    background: #eff6ff;
    border-color: #bfdbfe;
}

    .price-type-normal .price-type-value[b-u8jwdb0oda],
    .price-type-normal i[b-u8jwdb0oda] {
        color: #1d4ed8;
    }

.price-type-other[b-u8jwdb0oda] {
    background: #f8fafc;
    border-color: #e2e8f0;
}

    .price-type-other .price-type-value[b-u8jwdb0oda],
    .price-type-other i[b-u8jwdb0oda] {
        color: #475569;
    }

.price-type-badge[b-u8jwdb0oda] {
    display: inline-flex;
    align-items: center;
    border-radius: 999px;
    padding: .22rem .55rem;
    font-size: .78rem;
    font-weight: 900;
    border: 1px solid #e2e8f0;
}

@media (max-width: 520px) {
    .price-type-grid[b-u8jwdb0oda] {
        grid-template-columns: 1fr;
    }
}

/* =========================
   Better Table Chips / Badges
========================= */

.soft-row td[b-u8jwdb0oda] {
    padding-top: .55rem;
    padding-bottom: .55rem;
}

.soft-row:hover td[b-u8jwdb0oda] {
    background: #f8fbff;
}

.category-chip[b-u8jwdb0oda],
.service-chip[b-u8jwdb0oda],
.payment-chip[b-u8jwdb0oda],
.percent-chip[b-u8jwdb0oda],
.price-type-badge[b-u8jwdb0oda] {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 5px;
    border-radius: 999px;
    padding: .25rem .65rem;
    font-size: .78rem;
    font-weight: 900;
    border: 1px solid #e2e8f0;
    white-space: nowrap;
}

/* Category colors */
.cat-men[b-u8jwdb0oda] {
    background: #eff6ff;
    border-color: #bfdbfe;
    color: #1d4ed8;
}

.cat-women[b-u8jwdb0oda] {
    background: #fdf2f8;
    border-color: #fbcfe8;
    color: #be185d;
}

.cat-kids[b-u8jwdb0oda] {
    background: #fefce8;
    border-color: #fde68a;
    color: #a16207;
}

.cat-home[b-u8jwdb0oda] {
    background: #f0fdf4;
    border-color: #bbf7d0;
    color: #15803d;
}

.cat-shoes[b-u8jwdb0oda] {
    background: #fff7ed;
    border-color: #fed7aa;
    color: #c2410c;
}

.cat-other[b-u8jwdb0oda] {
    background: #f8fafc;
    border-color: #cbd5e1;
    color: #334155;
}

/* Service colors */
.service-wash-iron[b-u8jwdb0oda] {
    background: #f0fdfa;
    border-color: #99f6e4;
    color: #0f766e;
}

.service-wash[b-u8jwdb0oda] {
    background: #eff6ff;
    border-color: #bfdbfe;
    color: #1d4ed8;
}

.service-iron[b-u8jwdb0oda] {
    background: #fff7ed;
    border-color: #fed7aa;
    color: #c2410c;
}

.service-dry[b-u8jwdb0oda] {
    background: #faf5ff;
    border-color: #e9d5ff;
    color: #7e22ce;
}

.service-other[b-u8jwdb0oda] {
    background: #f8fafc;
    border-color: #cbd5e1;
    color: #334155;
}

/* Payment colors */
.pay-cash[b-u8jwdb0oda] {
    background: #f0fdf4;
    border-color: #bbf7d0;
    color: #15803d;
}

.pay-card[b-u8jwdb0oda] {
    background: #eff6ff;
    border-color: #bfdbfe;
    color: #1d4ed8;
}

.pay-bank[b-u8jwdb0oda] {
    background: #f0fdfa;
    border-color: #99f6e4;
    color: #0f766e;
}

.pay-wallet[b-u8jwdb0oda] {
    background: #faf5ff;
    border-color: #e9d5ff;
    color: #7e22ce;
}

.pay-other[b-u8jwdb0oda] {
    background: #f8fafc;
    border-color: #cbd5e1;
    color: #334155;
}

/* Percent chip */
.percent-chip[b-u8jwdb0oda] {
    background: #f1f5f9;
    border-color: #cbd5e1;
    color: #334155;
    min-width: 54px;
}

/* Stronger price type badge */
.price-type-badge.price-type-express[b-u8jwdb0oda] {
    background: #fff7ed;
    border-color: #fed7aa;
    color: #c2410c;
}

.price-type-badge.price-type-normal[b-u8jwdb0oda] {
    background: #eff6ff;
    border-color: #bfdbfe;
    color: #1d4ed8;
}

.price-type-badge.price-type-other[b-u8jwdb0oda] {
    background: #f8fafc;
    border-color: #cbd5e1;
    color: #334155;
}

/* =========================
   Extra Dashboard Chips
========================= */

.cloth-name-chip[b-u8jwdb0oda],
.avg-chip[b-u8jwdb0oda],
.inventory-item-chip[b-u8jwdb0oda],
.inventory-category-chip[b-u8jwdb0oda],
.reorder-chip[b-u8jwdb0oda] {
    display: inline-flex;
    align-items: center;
    border-radius: 999px;
    padding: .25rem .6rem;
    font-size: .78rem;
    font-weight: 900;
    border: 1px solid #e2e8f0;
    white-space: nowrap;
}

.cloth-name-chip[b-u8jwdb0oda] {
    background: #eef2ff;
    border-color: #c7d2fe;
    color: #3730a3;
}

.avg-chip[b-u8jwdb0oda] {
    background: #f0fdf4;
    border-color: #bbf7d0;
    color: #15803d;
}

.inventory-item-chip[b-u8jwdb0oda] {
    background: #eff6ff;
    border-color: #bfdbfe;
    color: #1d4ed8;
}

.inventory-category-chip[b-u8jwdb0oda] {
    background: #f8fafc;
    border-color: #cbd5e1;
    color: #334155;
}

.reorder-chip[b-u8jwdb0oda] {
    background: #fff7ed;
    border-color: #fed7aa;
    color: #c2410c;
}

/* Stronger table row hover */
.soft-row:hover td[b-u8jwdb0oda] {
    background: #f8fbff !important;
}

/* =========================
   Executive Summary Strip
========================= */

.executive-strip[b-u8jwdb0oda] {
    display: grid;
    grid-template-columns: 2fr repeat(4, 1fr);
    gap: 12px;
    margin-bottom: 14px;
}

.executive-main-card[b-u8jwdb0oda],
.exec-metric-card[b-u8jwdb0oda] {
    background: #fff;
    border: 1px solid #e8edf5;
    border-radius: 18px;
    padding: 16px;
    box-shadow: 0 8px 24px rgba(15, 23, 42, .06);
}

.executive-main-card[b-u8jwdb0oda] {
    background: linear-gradient(135deg, #0f172a, #1d4ed8);
    color: #fff;
}

.exec-label[b-u8jwdb0oda] {
    font-size: .75rem;
    opacity: .75;
    text-transform: uppercase;
    letter-spacing: .08em;
    margin-bottom: 8px;
}

.exec-title[b-u8jwdb0oda] {
    font-size: 1.35rem;
    font-weight: 800;
    margin-bottom: 6px;
}

.exec-sub[b-u8jwdb0oda] {
    font-size: .9rem;
    opacity: .9;
}

.exec-metric-card span[b-u8jwdb0oda] {
    display: block;
    color: #64748b;
    font-size: .78rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .04em;
    margin-bottom: 8px;
}

.exec-metric-card strong[b-u8jwdb0oda] {
    display: block;
    font-size: 1.45rem;
    color: #0f172a;
    line-height: 1.1;
}

.exec-metric-card small[b-u8jwdb0oda] {
    color: #64748b;
    font-size: .78rem;
}

.exec-metric-card.risk[b-u8jwdb0oda] {
    border-color: #fecaca;
    background: #fff7f7;
}

.exec-metric-card.good[b-u8jwdb0oda] {
    border-color: #bbf7d0;
    background: #f0fdf4;
}

.mini-progress[b-u8jwdb0oda] {
    height: 7px;
    margin-top: 10px;
    background: #e5e7eb;
    border-radius: 999px;
    overflow: hidden;
}

    .mini-progress .progress-bar[b-u8jwdb0oda] {
        background: #2563eb;
    }

/* =========================
   Dashboard Charts
========================= */

.dash-chart[b-u8jwdb0oda] {
    width: 100%;
    height: 300px;
}

.small-chart[b-u8jwdb0oda] {
    height: 260px;
}

.empty-chart[b-u8jwdb0oda] {
    min-height: 220px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #94a3b8;
    font-weight: 600;
    background: #f8fafc;
    border: 1px dashed #cbd5e1;
    border-radius: 16px;
}

/* =========================
   Status Visual Bars
========================= */

.status-bars[b-u8jwdb0oda] {
    display: grid;
    gap: 10px;
}

.status-bar-row[b-u8jwdb0oda] {
    border: 1px solid #e5e7eb;
    background: #fff;
    border-radius: 14px;
    padding: 10px 12px;
    text-align: left;
    cursor: pointer;
    transition: .15s ease;
}

    .status-bar-row:hover[b-u8jwdb0oda] {
        transform: translateY(-1px);
        box-shadow: 0 8px 18px rgba(15, 23, 42, .08);
    }

.status-bar-head[b-u8jwdb0oda] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 8px;
}

    .status-bar-head span[b-u8jwdb0oda] {
        font-weight: 700;
        color: #334155;
    }

    .status-bar-head strong[b-u8jwdb0oda] {
        font-size: 1.1rem;
        color: #0f172a;
    }

.status-bar-track[b-u8jwdb0oda],
.top-item-track[b-u8jwdb0oda] {
    height: 8px;
    background: #e5e7eb;
    border-radius: 999px;
    overflow: hidden;
}

.status-bar-fill[b-u8jwdb0oda],
.top-item-fill[b-u8jwdb0oda] {
    height: 100%;
    border-radius: 999px;
    background: #2563eb;
}

.status-good .status-bar-fill[b-u8jwdb0oda] {
    background: #16a34a;
}

.status-ready .status-bar-fill[b-u8jwdb0oda] {
    background: #0d9488;
}

.status-warning .status-bar-fill[b-u8jwdb0oda] {
    background: #f59e0b;
}

.status-info .status-bar-fill[b-u8jwdb0oda] {
    background: #3b82f6;
}

.status-danger .status-bar-fill[b-u8jwdb0oda] {
    background: #dc2626;
}

.status-new .status-bar-fill[b-u8jwdb0oda] {
    background: #7c3aed;
}

/* =========================
   Top Cloth / Item Visual Bars
========================= */

.top-items-list[b-u8jwdb0oda] {
    display: grid;
    gap: 12px;
}

.top-item-row[b-u8jwdb0oda] {
    border: 1px solid #e8edf5;
    border-radius: 16px;
    padding: 12px;
    background: #fff;
}

.top-item-head[b-u8jwdb0oda] {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 10px;
}

    .top-item-head strong[b-u8jwdb0oda] {
        display: block;
        color: #0f172a;
    }

    .top-item-head span[b-u8jwdb0oda],
    .top-item-head small[b-u8jwdb0oda] {
        display: block;
        color: #64748b;
        font-size: .78rem;
    }

    .top-item-head b[b-u8jwdb0oda] {
        display: block;
        color: #0f172a;
    }

.top-item-fill[b-u8jwdb0oda] {
    background: linear-gradient(90deg, #2563eb, #06b6d4);
}

/* =========================
   Responsive - New Visual Sections
========================= */

@media (max-width: 1200px) {
    .executive-strip[b-u8jwdb0oda] {
        grid-template-columns: repeat(2, 1fr);
    }

    .executive-main-card[b-u8jwdb0oda] {
        grid-column: 1 / -1;
    }
}

@media (max-width: 768px) {
    .executive-strip[b-u8jwdb0oda] {
        grid-template-columns: 1fr;
    }

    .dash-chart[b-u8jwdb0oda] {
        height: 240px;
    }

    .top-item-head[b-u8jwdb0oda] {
        flex-direction: column;
    }
}

/* =========================
   Sales Double Bar Chart
========================= */

.sales-bar-chart[b-u8jwdb0oda] {
    height: 340px;
}

/* =========================
   Payment Mix Visual
========================= */

.payment-mix-layout[b-u8jwdb0oda] {
    display: grid;
    gap: 12px;
}

.payment-pie-chart[b-u8jwdb0oda] {
    height: 245px;
}

.payment-mix-summary[b-u8jwdb0oda] {
    display: grid;
    gap: 8px;
}

.payment-mix-row[b-u8jwdb0oda] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    padding: 9px 10px;
    border: 1px solid #e2e8f0;
    border-radius: 14px;
    background: #f8fafc;
}

.payment-mix-values[b-u8jwdb0oda] {
    text-align: right;
}

    .payment-mix-values strong[b-u8jwdb0oda] {
        display: block;
        color: #0f172a;
        font-size: .82rem;
        font-weight: 900;
    }

    .payment-mix-values span[b-u8jwdb0oda] {
        display: block;
        color: #334155;
        font-size: .8rem;
        font-weight: 800;
    }

    .payment-mix-values small[b-u8jwdb0oda] {
        display: block;
        color: #64748b;
        font-size: .74rem;
        font-weight: 700;
    }
/* =========================================================
   FINAL MANAGEMENT DASHBOARD THEME OVERRIDES
   Paste at the bottom of Dashboard_Management.razor.css
========================================================= */

.mgmt-dashboard[b-u8jwdb0oda] {
    padding: 10px 12px 32px;
    background: #f4f7fb;
}

.dash-panel[b-u8jwdb0oda],
.filter-card[b-u8jwdb0oda] {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 18px;
    box-shadow: 0 10px 28px rgba(15, 23, 42, .055);
}

.dash-panel[b-u8jwdb0oda] {
    padding: 14px;
}

.panel-title[b-u8jwdb0oda] {
    font-size: .92rem;
    font-weight: 950;
    color: #0f172a;
    letter-spacing: -.01em;
}

/* Executive strip */
.executive-strip[b-u8jwdb0oda] {
    display: grid;
    grid-template-columns: minmax(260px, 2fr) repeat(4, minmax(150px, 1fr));
    gap: 12px;
    margin-bottom: 14px;
}

.executive-main-card[b-u8jwdb0oda],
.exec-metric-card[b-u8jwdb0oda] {
    border-radius: 18px;
    padding: 16px;
    border: 1px solid #e2e8f0;
    box-shadow: 0 8px 22px rgba(15, 23, 42, .055);
}

.executive-main-card[b-u8jwdb0oda] {
    background: linear-gradient(135deg, #0f172a, #1d4ed8);
    color: #fff;
}

.exec-label[b-u8jwdb0oda],
.exec-metric-card span[b-u8jwdb0oda] {
    display: block;
    font-size: .72rem;
    font-weight: 950;
    text-transform: uppercase;
    letter-spacing: .07em;
}

.exec-label[b-u8jwdb0oda] {
    opacity: .78;
    margin-bottom: 8px;
}

.exec-title[b-u8jwdb0oda] {
    font-size: 1.25rem;
    font-weight: 950;
    margin-bottom: 6px;
}

.exec-sub[b-u8jwdb0oda] {
    font-size: .85rem;
    opacity: .9;
}

.exec-metric-card[b-u8jwdb0oda] {
    background: #fff;
}

    .exec-metric-card span[b-u8jwdb0oda] {
        color: #64748b;
        margin-bottom: 8px;
    }

    .exec-metric-card strong[b-u8jwdb0oda] {
        display: block;
        color: #0f172a;
        font-size: 1.35rem;
        font-weight: 950;
        line-height: 1.1;
    }

    .exec-metric-card small[b-u8jwdb0oda] {
        color: #64748b;
        font-size: .75rem;
        font-weight: 750;
    }

    .exec-metric-card.risk[b-u8jwdb0oda] {
        background: #fff7f7;
        border-color: #fecaca;
    }

    .exec-metric-card.good[b-u8jwdb0oda] {
        background: #f0fdf4;
        border-color: #bbf7d0;
    }

.mini-progress[b-u8jwdb0oda] {
    height: 7px;
    margin-top: 10px;
    border-radius: 999px;
    overflow: hidden;
    background: #e5e7eb;
}

    .mini-progress .progress-bar[b-u8jwdb0oda] {
        background: linear-gradient(90deg, #2563eb, #06b6d4);
    }

/* KPI / Attention controls */
.attention-grid[b-u8jwdb0oda] {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 12px;
    margin-bottom: 14px;
}

.attention-card[b-u8jwdb0oda] {
    min-height: 94px;
    border-radius: 18px;
    transition: transform .15s ease, box-shadow .15s ease;
}

    .attention-card.clickable:hover[b-u8jwdb0oda],
    [b-u8jwdb0oda] .kpi-card:hover,
    .sales-statement-card.clickable:hover[b-u8jwdb0oda] {
        transform: translateY(-2px);
        box-shadow: 0 14px 30px rgba(15, 23, 42, .12);
    }

/* Sales chart */
.sales-bar-chart[b-u8jwdb0oda] {
    height: 340px;
}

[b-u8jwdb0oda] .sales-bar-chart .rz-series-data-label text {
    font-size: 11px;
    font-weight: 800;
    fill: #64748b;
}

/* Clean compact pie widgets */
.clean-pie-card[b-u8jwdb0oda] {
    display: grid;
    grid-template-columns: 92px 1fr;
    gap: 10px;
    align-items: center;
    min-height: 145px;
}

    .clean-pie-card.compact[b-u8jwdb0oda] {
        grid-template-columns: 92px 1fr;
    }

.clean-pie-chart[b-u8jwdb0oda],
.clean-pie-chart.small[b-u8jwdb0oda] {
    width: 100%;
    height: 112px;
    min-height: 112px;
}

[b-u8jwdb0oda] .no-chart-legend .rz-legend {
    display: none !important;
}

.clean-pie-summary[b-u8jwdb0oda] {
    display: grid;
    gap: 7px;
}

.clean-pie-row[b-u8jwdb0oda] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    padding: 8px 10px;
    border-radius: 14px;
    border: 1px solid #e2e8f0;
    background: #f8fafc;
}

.clean-pie-values[b-u8jwdb0oda] {
    text-align: right;
    min-width: 110px;
}

    .clean-pie-values strong[b-u8jwdb0oda] {
        display: block;
        color: #0f172a;
        font-size: .9rem;
        font-weight: 950;
        line-height: 1.05;
    }

    .clean-pie-values small[b-u8jwdb0oda] {
        display: block;
        margin-top: 3px;
        color: #64748b;
        font-size: .68rem;
        font-weight: 800;
        white-space: nowrap;
    }

/* Status and price type side-by-side */
.status-bars[b-u8jwdb0oda] {
    display: grid;
    gap: 10px;
}

    .status-bars.compact[b-u8jwdb0oda] {
        gap: 8px;
    }

.status-bar-row[b-u8jwdb0oda] {
    border: 1px solid #e5e7eb;
    background: #fff;
    border-radius: 14px;
    padding: 10px 12px;
    text-align: left;
    cursor: pointer;
    transition: .15s ease;
}

.status-bars.compact .status-bar-row[b-u8jwdb0oda] {
    padding: 9px 11px;
}

.status-bar-row:hover[b-u8jwdb0oda] {
    transform: translateY(-1px);
    box-shadow: 0 8px 18px rgba(15, 23, 42, .08);
}

.status-bar-head[b-u8jwdb0oda] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 8px;
}

    .status-bar-head span[b-u8jwdb0oda] {
        font-weight: 900;
        color: #334155;
    }

    .status-bar-head strong[b-u8jwdb0oda] {
        color: #0f172a;
        font-weight: 950;
    }

.status-bar-track[b-u8jwdb0oda],
.top-item-track[b-u8jwdb0oda] {
    height: 8px;
    background: #e5e7eb;
    border-radius: 999px;
    overflow: hidden;
}

.status-bar-fill[b-u8jwdb0oda],
.top-item-fill[b-u8jwdb0oda] {
    height: 100%;
    border-radius: 999px;
    background: #2563eb;
}

.status-good .status-bar-fill[b-u8jwdb0oda] {
    background: #16a34a;
}

.status-ready .status-bar-fill[b-u8jwdb0oda] {
    background: #0d9488;
}

.status-warning .status-bar-fill[b-u8jwdb0oda] {
    background: #f59e0b;
}

.status-info .status-bar-fill[b-u8jwdb0oda] {
    background: #3b82f6;
}

.status-danger .status-bar-fill[b-u8jwdb0oda] {
    background: #dc2626;
}

.status-new .status-bar-fill[b-u8jwdb0oda] {
    background: #7c3aed;
}

.price-type-grid[b-u8jwdb0oda] {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
}

.price-type-card[b-u8jwdb0oda] {
    border-radius: 16px;
    border: 1px solid #e5e7eb;
    padding: 12px;
    background: #fff;
    box-shadow: 0 8px 18px rgba(15, 23, 42, .045);
}

/* Top items: two-column responsive list instead of long vertical list */
.top-items-list[b-u8jwdb0oda] {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(360px, 1fr));
    gap: 12px;
}

.top-item-row[b-u8jwdb0oda] {
    border: 1px solid #e8edf5;
    border-radius: 16px;
    padding: 12px;
    background: #fff;
}

.top-item-head[b-u8jwdb0oda] {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 10px;
}

    .top-item-head strong[b-u8jwdb0oda] {
        display: block;
        color: #0f172a;
        font-weight: 950;
    }

    .top-item-head span[b-u8jwdb0oda],
    .top-item-head small[b-u8jwdb0oda] {
        display: block;
        color: #64748b;
        font-size: .76rem;
        font-weight: 750;
    }

    .top-item-head b[b-u8jwdb0oda] {
        display: block;
        color: #0f172a;
        font-weight: 950;
    }

.top-item-fill[b-u8jwdb0oda] {
    background: linear-gradient(90deg, #2563eb, #06b6d4);
}

/* Pickup / Delivery */
.pd-grid[b-u8jwdb0oda] {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
}

.pd-card[b-u8jwdb0oda] {
    border-radius: 18px;
    padding: 14px;
    border: 1px solid #e2e8f0;
    background: #f8fafc;
}

    .pd-card.pickup[b-u8jwdb0oda] {
        background: #eff6ff;
        border-color: #bfdbfe;
    }

    .pd-card.delivery[b-u8jwdb0oda] {
        background: #f0fdfa;
        border-color: #99f6e4;
    }

.pd-top[b-u8jwdb0oda] {
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: #475569;
    font-size: .76rem;
    font-weight: 950;
    text-transform: uppercase;
}

    .pd-top i[b-u8jwdb0oda] {
        font-size: 1.35rem;
        opacity: .8;
    }

.pd-card strong[b-u8jwdb0oda] {
    display: block;
    margin-top: 10px;
    font-size: 2.1rem;
    line-height: 1;
    color: #0f172a;
    font-weight: 950;
}

.pd-card small[b-u8jwdb0oda] {
    color: #64748b;
    font-size: .76rem;
    font-weight: 750;
}

.pd-open[b-u8jwdb0oda] {
    margin-top: 12px;
    padding: 8px 10px;
    border-radius: 12px;
    background: rgba(255,255,255,.78);
    display: flex;
    justify-content: space-between;
    font-weight: 950;
    color: #334155;
}

/* Customer insight */
.customer-insight-card[b-u8jwdb0oda] {
    display: grid;
    gap: 12px;
}

.customer-hero[b-u8jwdb0oda] {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 14px;
    padding: 14px;
    border-radius: 18px;
    background: linear-gradient(135deg, #eff6ff, #eef2ff);
    border: 1px solid #bfdbfe;
}

    .customer-hero span[b-u8jwdb0oda],
    .customer-mini span[b-u8jwdb0oda] {
        display: block;
        color: #475569;
        font-size: .72rem;
        font-weight: 950;
        text-transform: uppercase;
        letter-spacing: .04em;
    }

    .customer-hero strong[b-u8jwdb0oda] {
        display: block;
        color: #1d4ed8;
        font-size: 2rem;
        font-weight: 950;
        line-height: 1.1;
    }

    .customer-hero small[b-u8jwdb0oda],
    .customer-mini small[b-u8jwdb0oda] {
        color: #64748b;
        font-size: .72rem;
        font-weight: 800;
    }

    .customer-hero i[b-u8jwdb0oda] {
        font-size: 2.1rem;
        color: #2563eb;
        opacity: .86;
    }

.customer-insight-grid[b-u8jwdb0oda] {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
}

.customer-mini[b-u8jwdb0oda] {
    padding: 11px;
    border-radius: 16px;
    border: 1px solid #e2e8f0;
    background: #f8fafc;
}

    .customer-mini strong[b-u8jwdb0oda] {
        display: block;
        margin-top: 4px;
        font-size: 1.25rem;
        font-weight: 950;
        color: #0f172a;
    }

    .customer-mini.new[b-u8jwdb0oda] {
        background: #f0fdf4;
        border-color: #bbf7d0;
    }

        .customer-mini.new strong[b-u8jwdb0oda] {
            color: #15803d;
        }

    .customer-mini.repeat[b-u8jwdb0oda] {
        background: #eff6ff;
        border-color: #bfdbfe;
    }

        .customer-mini.repeat strong[b-u8jwdb0oda] {
            color: #1d4ed8;
        }

    .customer-mini.due[b-u8jwdb0oda] {
        background: #fef2f2;
        border-color: #fecaca;
    }

        .customer-mini.due strong[b-u8jwdb0oda] {
            color: #b91c1c;
        }

.customer-repeat-bar[b-u8jwdb0oda] {
    padding: 11px;
    border-radius: 16px;
    border: 1px solid #e2e8f0;
    background: #fff;
}

.customer-repeat-head[b-u8jwdb0oda] {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 8px;
}

    .customer-repeat-head span[b-u8jwdb0oda] {
        color: #475569;
        font-size: .76rem;
        font-weight: 950;
    }

    .customer-repeat-head strong[b-u8jwdb0oda] {
        color: #1d4ed8;
        font-size: .9rem;
        font-weight: 950;
    }

.customer-repeat-track[b-u8jwdb0oda] {
    height: 8px;
    border-radius: 999px;
    background: #e5e7eb;
    overflow: hidden;
}

.customer-repeat-fill[b-u8jwdb0oda] {
    height: 100%;
    border-radius: 999px;
    background: linear-gradient(90deg, #2563eb, #06b6d4);
}

/* Inventory / Expense cards */
.finance-op-grid[b-u8jwdb0oda] {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
}

.op-card[b-u8jwdb0oda] {
    border-radius: 16px;
    padding: 12px;
    border: 1px solid #e2e8f0;
    background: #f8fafc;
}

    .op-card.wide[b-u8jwdb0oda] {
        grid-column: 1 / -1;
    }

    .op-card span[b-u8jwdb0oda] {
        display: block;
        color: #64748b;
        font-size: .72rem;
        font-weight: 950;
        text-transform: uppercase;
    }

    .op-card strong[b-u8jwdb0oda] {
        display: block;
        margin-top: 5px;
        color: #0f172a;
        font-size: 1.05rem;
        font-weight: 950;
    }

    .op-card.info[b-u8jwdb0oda] {
        background: #eff6ff;
        border-color: #bfdbfe;
    }

    .op-card.blue[b-u8jwdb0oda] {
        background: #eef2ff;
        border-color: #c7d2fe;
    }

    .op-card.good[b-u8jwdb0oda] {
        background: #f0fdf4;
        border-color: #bbf7d0;
    }

    .op-card.warning[b-u8jwdb0oda] {
        background: #fff7ed;
        border-color: #fed7aa;
    }

    .op-card.danger[b-u8jwdb0oda] {
        background: #fef2f2;
        border-color: #fecaca;
    }

    .op-card.muted[b-u8jwdb0oda] {
        background: #f8fafc;
        border-color: #e2e8f0;
    }

/* Responsive */
@media (max-width: 1200px) {
    .executive-strip[b-u8jwdb0oda] {
        grid-template-columns: repeat(2, 1fr);
    }

    .executive-main-card[b-u8jwdb0oda] {
        grid-column: 1 / -1;
    }
}

@media (max-width: 992px) {
    .clean-pie-card[b-u8jwdb0oda],
    .clean-pie-card.compact[b-u8jwdb0oda] {
        grid-template-columns: 110px 1fr;
    }
}

@media (max-width: 768px) {
    .executive-strip[b-u8jwdb0oda],
    .pd-grid[b-u8jwdb0oda],
    .customer-insight-grid[b-u8jwdb0oda],
    .finance-op-grid[b-u8jwdb0oda] {
        grid-template-columns: 1fr;
    }

    .clean-pie-card[b-u8jwdb0oda],
    .clean-pie-card.compact[b-u8jwdb0oda] {
        grid-template-columns: 1fr;
    }

    .clean-pie-chart[b-u8jwdb0oda],
    .clean-pie-chart.small[b-u8jwdb0oda] {
        height: 190px;
    }

    .clean-pie-values small[b-u8jwdb0oda] {
        white-space: normal;
    }

    .top-items-list[b-u8jwdb0oda] {
        grid-template-columns: 1fr;
    }

    .top-item-head[b-u8jwdb0oda] {
        flex-direction: column;
    }
}

/* =========================================================
   FINAL FIX - Sales Trend + Larger Pie Charts
========================================================= */

/* Sales Trend Custom Chart */

.sales-trend-card[b-u8jwdb0oda] {
    display: grid;
    gap: 14px;
}

.sales-trend-summary[b-u8jwdb0oda] {
    display: grid;
    grid-template-columns: repeat(3, minmax(160px, 1fr));
    gap: 10px;
}

.trend-summary-item[b-u8jwdb0oda] {
    border: 1px solid #e2e8f0;
    background: #f8fafc;
    border-radius: 16px;
    padding: 11px 12px;
}

    .trend-summary-item span[b-u8jwdb0oda] {
        display: block;
        color: #64748b;
        font-size: .74rem;
        font-weight: 950;
        text-transform: uppercase;
        letter-spacing: .04em;
    }

    .trend-summary-item strong[b-u8jwdb0oda] {
        display: block;
        margin-top: 4px;
        color: #0f172a;
        font-size: 1.15rem;
        font-weight: 950;
    }

.sales-trend-scroll[b-u8jwdb0oda] {
    overflow-x: auto;
    padding-bottom: 4px;
}

.sales-trend-bars[b-u8jwdb0oda] {
    min-height: 310px;
    display: grid;
    grid-auto-flow: column;
    grid-auto-columns: minmax(54px, 1fr);
    gap: 8px;
    align-items: end;
    padding: 8px 4px 0;
}

.sales-trend-day[b-u8jwdb0oda] {
    min-width: 54px;
    display: grid;
    grid-template-rows: 1fr auto;
    gap: 7px;
}

.sales-trend-bar-area[b-u8jwdb0oda] {
    height: 260px;
    position: relative;
    display: flex;
    align-items: end;
    justify-content: center;
    border-bottom: 1px solid #cbd5e1;
}

.sales-trend-bar-fill[b-u8jwdb0oda] {
    width: 100%;
    max-width: 34px;
    min-height: 2px;
    border-radius: 8px 8px 2px 2px;
    background: linear-gradient(180deg, #4f46e5, #1d4ed8);
    box-shadow: 0 7px 14px rgba(37, 99, 235, .18);
}

.sales-trend-label[b-u8jwdb0oda] {
    position: absolute;
    bottom: calc(var(--bar-height, 100%) + 6px);
    transform: translateY(-2px);
    text-align: center;
    line-height: 1.05;
    white-space: nowrap;
    pointer-events: none;
}

    .sales-trend-label strong[b-u8jwdb0oda] {
        display: block;
        color: #64748b;
        font-size: .7rem;
        font-weight: 950;
    }

    .sales-trend-label span[b-u8jwdb0oda] {
        display: block;
        margin-top: 2px;
        color: #94a3b8;
        font-size: .62rem;
        font-weight: 850;
    }

.sales-trend-day-label[b-u8jwdb0oda] {
    text-align: center;
    color: #64748b;
    font-size: .68rem;
    font-weight: 800;
    white-space: nowrap;
}

/* Bigger clean pie charts */

.clean-pie-card[b-u8jwdb0oda],
.clean-pie-card.compact[b-u8jwdb0oda] {
    grid-template-columns: 165px minmax(0, 1fr) !important;
    min-height: 210px;
    gap: 14px;
}

.clean-pie-chart[b-u8jwdb0oda],
.clean-pie-chart.small[b-u8jwdb0oda] {
    height: 185px !important;
    min-height: 185px !important;
    width: 100%;
}

[b-u8jwdb0oda] .clean-pie-chart .rz-legend,
[b-u8jwdb0oda] .no-chart-legend .rz-legend {
    display: none !important;
}

.clean-pie-row[b-u8jwdb0oda] {
    padding: 9px 11px;
}

.clean-pie-values[b-u8jwdb0oda] {
    min-width: 120px;
}

    .clean-pie-values strong[b-u8jwdb0oda] {
        font-size: .95rem;
    }

    .clean-pie-values small[b-u8jwdb0oda] {
        font-size: .72rem;
    }

@media (max-width: 992px) {
    .sales-trend-summary[b-u8jwdb0oda] {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .clean-pie-card[b-u8jwdb0oda],
    .clean-pie-card.compact[b-u8jwdb0oda] {
        grid-template-columns: 145px minmax(0, 1fr) !important;
    }

    .clean-pie-chart[b-u8jwdb0oda],
    .clean-pie-chart.small[b-u8jwdb0oda] {
        height: 165px !important;
        min-height: 165px !important;
    }
}

@media (max-width: 768px) {
    .sales-trend-summary[b-u8jwdb0oda] {
        grid-template-columns: 1fr;
    }

    .clean-pie-card[b-u8jwdb0oda],
    .clean-pie-card.compact[b-u8jwdb0oda] {
        grid-template-columns: 1fr !important;
    }

    .clean-pie-chart[b-u8jwdb0oda],
    .clean-pie-chart.small[b-u8jwdb0oda] {
        height: 220px !important;
        min-height: 220px !important;
    }
}
/* =========================================================
   FINAL FIX - Sales Trend Label Gap + Strong Section Headers
========================================================= */

/* Give all dashboard panels better section separation */
.dash-panel[b-u8jwdb0oda] {
    padding: 0 !important;
    overflow: visible !important;
    border-radius: 18px;
    background: #ffffff;
    border: 1px solid #e2e8f0;
    box-shadow: 0 10px 28px rgba(15, 23, 42, .055);
}

/* Strong visible section header */
.panel-title[b-u8jwdb0oda],
[b-u8jwdb0oda] .panel-title {
    margin: 0 !important;
    padding: 12px 14px !important;
    min-height: 46px;
    display: flex !important;
    align-items: center !important;
    gap: 10px !important;
    font-size: .98rem !important;
    font-weight: 950 !important;
    color: #0f172a !important;
    background: linear-gradient(135deg, #f8fafc, #eef2ff);
    border-bottom: 1px solid #dbeafe;
    border-radius: 18px 18px 0 0;
    letter-spacing: -.01em;
}

    /* Icon box in section header */
    .panel-title i[b-u8jwdb0oda],
    [b-u8jwdb0oda] .panel-title i {
        width: 28px;
        height: 28px;
        display: inline-grid;
        place-items: center;
        border-radius: 10px;
        background: #e0ecff;
        color: #1d4ed8;
        font-size: .95rem;
    }

/* Panel body spacing after stronger header */
.dash-panel > :not(.panel-title)[b-u8jwdb0oda],
[b-u8jwdb0oda] .dash-panel > :not(.panel-title) {
    margin-left: 14px;
    margin-right: 14px;
}

.dash-panel > :last-child[b-u8jwdb0oda],
[b-u8jwdb0oda] .dash-panel > :last-child {
    margin-bottom: 14px;
}

/* Sales Trend should have enough room for labels above tallest bar */
.sales-trend-card[b-u8jwdb0oda] {
    padding: 14px;
    overflow: visible;
}

.sales-trend-scroll[b-u8jwdb0oda] {
    overflow-x: auto;
    overflow-y: visible;
    padding-top: 18px;
    padding-bottom: 8px;
}

.sales-trend-bars[b-u8jwdb0oda] {
    min-height: 350px;
    display: grid;
    grid-auto-flow: column;
    grid-auto-columns: minmax(58px, 1fr);
    gap: 9px;
    align-items: end;
    padding: 34px 6px 0;
    overflow: visible;
}

.sales-trend-day[b-u8jwdb0oda] {
    min-width: 58px;
    display: grid;
    grid-template-rows: 1fr auto;
    gap: 7px;
    overflow: visible;
}

.sales-trend-bar-area[b-u8jwdb0oda] {
    height: 270px;
    position: relative;
    display: flex;
    align-items: end;
    justify-content: center;
    border-bottom: 1px solid #cbd5e1;
    overflow: visible;
}

/* Important: label is capped inside chart area, so it will not cut at top */
.sales-trend-label[b-u8jwdb0oda] {
    position: absolute;
    bottom: clamp(24px, calc(var(--bar-height) + 12px), 238px);
    left: 50%;
    transform: translateX(-50%);
    z-index: 3;
    min-width: 54px;
    padding: 2px 3px;
    text-align: center;
    line-height: 1.05;
    white-space: nowrap;
    pointer-events: none;
    background: rgba(246, 248, 251, .88);
    border-radius: 6px;
}

    .sales-trend-label strong[b-u8jwdb0oda] {
        display: block;
        color: #475569;
        font-size: .72rem;
        font-weight: 950;
    }

    .sales-trend-label span[b-u8jwdb0oda] {
        display: block;
        margin-top: 2px;
        color: #64748b;
        font-size: .62rem;
        font-weight: 850;
    }

.sales-trend-bar-fill[b-u8jwdb0oda] {
    width: 100%;
    max-width: 36px;
    min-height: 2px;
    border-radius: 9px 9px 2px 2px;
    background: linear-gradient(180deg, #4f46e5, #1d4ed8);
    box-shadow: 0 7px 14px rgba(37, 99, 235, .18);
}

.sales-trend-day-label[b-u8jwdb0oda] {
    text-align: center;
    color: #64748b;
    font-size: .68rem;
    font-weight: 850;
    white-space: nowrap;
}

/* Better section spacing between cards */
.row.g-3.mt-1[b-u8jwdb0oda] {
    margin-top: 14px !important;
}

/* Mobile adjustment */
@media (max-width: 768px) {
    .panel-title[b-u8jwdb0oda],
    [b-u8jwdb0oda] .panel-title {
        font-size: .9rem !important;
        padding: 11px 12px !important;
    }

    .sales-trend-bars[b-u8jwdb0oda] {
        grid-auto-columns: minmax(62px, 62px);
    }

    .sales-trend-label strong[b-u8jwdb0oda] {
        font-size: .68rem;
    }

    .sales-trend-label span[b-u8jwdb0oda] {
        font-size: .58rem;
    }
}
/* =========================================================
   FINAL MIX SECTIONS - Horizontal Contribution Bars
========================================================= */

.mix-hbar-list[b-u8jwdb0oda] {
    display: grid;
    gap: 10px;
    padding: 14px;
}

.mix-hbar-row[b-u8jwdb0oda] {
    padding: 11px 12px;
    border-radius: 16px;
    border: 1px solid #e2e8f0;
    background: #f8fafc;
}

.mix-hbar-head[b-u8jwdb0oda] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    margin-bottom: 8px;
}

    .mix-hbar-head strong[b-u8jwdb0oda] {
        color: #0f172a;
        font-size: 1rem;
        font-weight: 950;
    }

.mix-hbar-track[b-u8jwdb0oda] {
    height: 11px;
    border-radius: 999px;
    background: #e5e7eb;
    overflow: hidden;
}

.mix-hbar-fill[b-u8jwdb0oda] {
    height: 100%;
    border-radius: 999px;
    transition: width .25s ease;
}

    .mix-hbar-fill.payment[b-u8jwdb0oda] {
        background: linear-gradient(90deg, #2563eb, #06b6d4);
    }

    .mix-hbar-fill.category[b-u8jwdb0oda] {
        background: linear-gradient(90deg, #4f46e5, #a855f7);
    }

    .mix-hbar-fill.service[b-u8jwdb0oda] {
        background: linear-gradient(90deg, #0d9488, #22c55e);
    }

.mix-hbar-meta[b-u8jwdb0oda] {
    display: flex;
    justify-content: space-between;
    gap: 10px;
    margin-top: 7px;
    color: #64748b;
    font-size: .76rem;
    font-weight: 850;
}

    .mix-hbar-meta span:last-child[b-u8jwdb0oda] {
        color: #334155;
        font-weight: 950;
        text-align: right;
    }

/* Stop old pie card space if any old class remains */
.clean-pie-card[b-u8jwdb0oda],
.clean-pie-card.compact[b-u8jwdb0oda],
.clean-pie-chart[b-u8jwdb0oda],
.clean-pie-chart.small[b-u8jwdb0oda] {
    display: none !important;
}

@media (max-width: 992px) {
    .mix-hbar-list[b-u8jwdb0oda] {
        padding: 12px;
    }
}

/* =========================================================
   FINAL LAYOUT - Mix + Category + Status Alignment
========================================================= */

.mix-hbar-list[b-u8jwdb0oda],
.status-bars.compact[b-u8jwdb0oda] {
    min-height: 100%;
}

.status-bars.compact[b-u8jwdb0oda] {
    padding: 14px;
}

    .status-bars.compact .status-bar-row[b-u8jwdb0oda] {
        padding: 12px 13px;
        border-radius: 16px;
    }

    .status-bars.compact .status-bar-head[b-u8jwdb0oda] {
        margin-bottom: 9px;
    }

        .status-bars.compact .status-bar-head span[b-u8jwdb0oda] {
            font-size: .9rem;
            font-weight: 950;
        }

        .status-bars.compact .status-bar-head strong[b-u8jwdb0oda] {
            font-size: 1.1rem;
            font-weight: 950;
        }

    .status-bars.compact .status-bar-track[b-u8jwdb0oda] {
        height: 11px;
    }

@media (max-width: 992px) {
    .status-bars.compact[b-u8jwdb0oda] {
        padding: 12px;
    }
}
/* =========================================================
   FORCE 2-COLUMN DASHBOARD SECTIONS
   Use this instead of Bootstrap col-lg/col-xl for management cards
========================================================= */

.dashboard-two-grid[b-u8jwdb0oda] {
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) !important;
    gap: 14px !important;
    align-items: stretch !important;
    width: 100% !important;
    margin-top: 14px !important;
}

    .dashboard-two-grid > div[b-u8jwdb0oda] {
        min-width: 0 !important;
        width: 100% !important;
    }

    .dashboard-two-grid .dash-panel[b-u8jwdb0oda] {
        height: 100%;
    }

    .dashboard-two-grid .mix-hbar-list[b-u8jwdb0oda],
    .dashboard-two-grid .status-bars.compact[b-u8jwdb0oda] {
        padding: 14px;
    }

    /* Make rows slightly compact so both cards look balanced */
    .dashboard-two-grid .mix-hbar-row[b-u8jwdb0oda] {
        padding: 10px 12px;
    }

    .dashboard-two-grid .status-bars.compact .status-bar-row[b-u8jwdb0oda] {
        padding: 10px 12px;
    }

@media (max-width: 760px) {
    .dashboard-two-grid[b-u8jwdb0oda] {
        grid-template-columns: 1fr !important;
    }
}
/* =========================================================
   FORCE 2-COLUMN FOR OPERATIONS SECTIONS
   Pickup+Customer and Inventory+Expense
========================================================= */

.dashboard-two-grid[b-u8jwdb0oda] {
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) !important;
    gap: 14px !important;
    align-items: stretch !important;
    width: 100% !important;
    margin-top: 14px !important;
}

    .dashboard-two-grid > div[b-u8jwdb0oda] {
        min-width: 0 !important;
        width: 100% !important;
    }

    .dashboard-two-grid .dash-panel[b-u8jwdb0oda] {
        height: 100%;
    }

    /* Keep inner cards nice inside half-width panels */
    .dashboard-two-grid .pd-grid[b-u8jwdb0oda] {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        padding: 14px;
    }

    .dashboard-two-grid .customer-insight-card[b-u8jwdb0oda],
    .dashboard-two-grid .finance-op-grid[b-u8jwdb0oda] {
        padding: 14px;
    }

    .dashboard-two-grid .finance-op-grid[b-u8jwdb0oda] {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

/* At small width only, stack vertically */
@media (max-width: 760px) {
    .dashboard-two-grid[b-u8jwdb0oda] {
        grid-template-columns: 1fr !important;
    }

        .dashboard-two-grid .pd-grid[b-u8jwdb0oda],
        .dashboard-two-grid .finance-op-grid[b-u8jwdb0oda] {
            grid-template-columns: 1fr;
        }
}
/* =========================================================
   ORDER LOAD TREND CHARTS
   Weekday + Working-hour order load
========================================================= */

.order-load-card[b-u8jwdb0oda] {
    display: grid;
    gap: 12px;
    padding: 14px;
}

.order-load-summary[b-u8jwdb0oda] {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 10px;
}

.order-load-mini[b-u8jwdb0oda] {
    border: 1px solid #e2e8f0;
    background: #f8fafc;
    border-radius: 14px;
    padding: 10px 11px;
}

    .order-load-mini span[b-u8jwdb0oda] {
        display: block;
        color: #64748b;
        font-size: .68rem;
        font-weight: 950;
        text-transform: uppercase;
        letter-spacing: .04em;
    }

    .order-load-mini strong[b-u8jwdb0oda] {
        display: block;
        margin-top: 4px;
        color: #0f172a;
        font-size: .95rem;
        font-weight: 950;
        white-space: nowrap;
    }

.order-load-note[b-u8jwdb0oda] {
    color: #64748b;
    font-size: .74rem;
    font-weight: 800;
    background: #f8fafc;
    border: 1px dashed #cbd5e1;
    border-radius: 12px;
    padding: 8px 10px;
}

.order-load-scroll[b-u8jwdb0oda] {
    overflow-x: auto;
    overflow-y: visible;
    padding-top: 16px;
    padding-bottom: 4px;
}

.order-load-bars[b-u8jwdb0oda] {
    min-height: 245px;
    display: grid;
    grid-auto-flow: column;
    grid-auto-columns: minmax(46px, 1fr);
    gap: 8px;
    align-items: end;
    padding: 22px 4px 0;
}

.weekday-load-bars[b-u8jwdb0oda] {
    grid-template-columns: repeat(7, minmax(42px, 1fr));
    grid-auto-flow: initial;
    grid-auto-columns: initial;
}

.hour-order-load[b-u8jwdb0oda] {
    grid-auto-columns: minmax(42px, 1fr);
}

.order-load-bar[b-u8jwdb0oda] {
    min-width: 42px;
    display: grid;
    grid-template-rows: 1fr auto;
    gap: 7px;
    overflow: visible;
}

.order-load-bar-area[b-u8jwdb0oda] {
    height: 190px;
    position: relative;
    display: flex;
    align-items: end;
    justify-content: center;
    border-bottom: 1px solid #cbd5e1;
    overflow: visible;
}

.order-load-fill[b-u8jwdb0oda] {
    width: 100%;
    max-width: 30px;
    min-height: 2px;
    border-radius: 9px 9px 2px 2px;
    box-shadow: 0 7px 14px rgba(37, 99, 235, .15);
}

    .order-load-fill.day[b-u8jwdb0oda] {
        background: linear-gradient(180deg, #2563eb, #06b6d4);
    }

    .order-load-fill.hour[b-u8jwdb0oda] {
        background: linear-gradient(180deg, #7c3aed, #a855f7);
    }

.order-load-value[b-u8jwdb0oda] {
    position: absolute;
    bottom: clamp(18px, calc(var(--h) + 8px), 168px);
    left: 50%;
    transform: translateX(-50%);
    z-index: 2;
    color: #334155;
    font-size: .72rem;
    font-weight: 950;
    background: rgba(246, 248, 251, .9);
    border-radius: 6px;
    padding: 1px 4px;
    white-space: nowrap;
    text-align: center;
}

    .order-load-value small[b-u8jwdb0oda] {
        display: block;
        margin-top: 1px;
        color: #64748b;
        font-size: .55rem;
        font-weight: 850;
    }

.order-load-axis[b-u8jwdb0oda] {
    text-align: center;
    color: #64748b;
    font-size: .68rem;
    font-weight: 850;
    white-space: nowrap;
    line-height: 1.1;
}

    .order-load-axis small[b-u8jwdb0oda] {
        display: block;
        margin-top: 2px;
        color: #94a3b8;
        font-size: .55rem;
        font-weight: 850;
    }

@media (max-width: 992px) {
    .order-load-summary[b-u8jwdb0oda] {
        grid-template-columns: 1fr;
    }

    .weekday-load-bars[b-u8jwdb0oda] {
        grid-template-columns: repeat(7, minmax(48px, 1fr));
    }

    .hour-order-load[b-u8jwdb0oda] {
        grid-auto-columns: minmax(48px, 48px);
    }
}
/* _content/Mahrus.Laundry.Admin/Components/Pages/Print/PriceList_Print.razor.rz.scp.css */
/* ============================================================
   PriceList_Print.razor.css
   Clean professional layout for price list report / PDF export
   ============================================================ */

/* ---------- Adjustable widths ---------- */
#price-root[b-21f1kqtidg] {
    --w-cloth: 36%;
    --w-size: 14%;
    --w-svc1: 16%;
    --w-svc2: 16%;
    --w-svc3: 18%;
    font-family: "Inter", "Noto Sans Arabic", system-ui, -apple-system, Segoe UI, Roboto, "Helvetica Neue", Arial, sans-serif;
    font-size: 13px;
    color: #222;
    background: #fff;
    padding: 12px 14px;
    border: 1px solid #e9ecef;
    border-radius: 8px;
}

/* ---------- Table base ---------- */
.report-table[b-21f1kqtidg] {
    width: 100%;
    border-collapse: collapse;
    table-layout: fixed;
}

    .report-table .col-cloth[b-21f1kqtidg] {
        width: var(--w-cloth);
    }

    .report-table .col-size[b-21f1kqtidg] {
        width: var(--w-size);
    }

    .report-table .col-svc1[b-21f1kqtidg] {
        width: var(--w-svc1);
    }

    .report-table .col-svc2[b-21f1kqtidg] {
        width: var(--w-svc2);
    }

    .report-table .col-svc3[b-21f1kqtidg] {
        width: var(--w-svc3);
    }

    .report-table th[b-21f1kqtidg],
    .report-table td[b-21f1kqtidg] {
        vertical-align: middle;
        border: 1px solid #e4e6eb;
        padding: 6px 8px;
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
    }

    .report-table thead th[b-21f1kqtidg] {
        background: #f7f9fc;
        font-weight: 700;
    }

    .report-table tbody tr:nth-child(even)[b-21f1kqtidg] {
        background: #fcfdff;
    }

/* ---------- Text and numeric alignment ---------- */
.price[b-21f1kqtidg] {
    font-weight: 700;
    font-variant-numeric: tabular-nums;
}

.text-muted[b-21f1kqtidg] {
    color: #777 !important;
}

/* ---------- Service Arabic label (below English) ---------- */
.svc-ar[b-21f1kqtidg] {
    display: block;
    font-size: 0.85em;
    color: #333;
    margin-top: 2px;
    line-height: 1.1;
}

/* ---------- Cloth EN/AR same line ---------- */
.cloth-name[b-21f1kqtidg] {
    font-weight: 600;
    font-size: 13px;
    white-space: nowrap;
}

/* ---------- Highlight inactive row ---------- */
.table-warning[b-21f1kqtidg] {
    background-color: #fff8e1 !important;
}

/* ---------- Page break / PDF no-split control ---------- */
.no-split[b-21f1kqtidg],
.report-table tr.no-split[b-21f1kqtidg],
.report-table tbody.no-split[b-21f1kqtidg],
.report-table td .no-split[b-21f1kqtidg] {
    break-inside: avoid !important;
    page-break-inside: avoid !important;
    -webkit-region-break-inside: avoid !important;
}

    .report-table tr.no-split > td[b-21f1kqtidg] {
        padding-bottom: 7px;
    }

/* ---------- Header info ---------- */
.print-header[b-21f1kqtidg] {
    margin-bottom: 8px;
}

    .print-header h5[b-21f1kqtidg], .print-header h4[b-21f1kqtidg], .print-header h3[b-21f1kqtidg] {
        margin: 0 0 6px;
        letter-spacing: .2px;
    }

    .print-header .small[b-21f1kqtidg] {
        color: #667085;
    }

/* ---------- Screen-only toolbar ---------- */
.no-print[b-21f1kqtidg] {
    margin-bottom: 8px;
}

/* ---------- Print / PDF optimization ---------- */
@media print {
    .no-print[b-21f1kqtidg] {
        display: none !important;
    }

    .report-table thead[b-21f1kqtidg] {
        display: table-header-group;
    }

    .report-table tfoot[b-21f1kqtidg] {
        display: table-footer-group;
    }

    .report-table tr[b-21f1kqtidg] {
        page-break-inside: avoid;
        break-inside: avoid;
    }

    /* Keep colors and borders consistent */
    *[b-21f1kqtidg] {
        -webkit-print-color-adjust: exact;
        print-color-adjust: exact;
    }

    /* Page setup */
    @page {
        size: A4 landscape;
        margin: 12mm;
    }

    #price-root[b-21f1kqtidg] {
        border: none;
        border-radius: 0;
        padding: 0;
    }
}

/* ---------- Optional: refine for PDF rendering ---------- */
@media screen {
    body[b-21f1kqtidg] {
        background: #f8f9fa;
    }

    #price-root[b-21f1kqtidg] {
        box-shadow: 0 0 8px rgba(0,0,0,.08);
    }
}
/* _content/Mahrus.Laundry.Admin/Components/Pages/Reports/PriceList_Rpt.razor.rz.scp.css */
/* Clean, brand-friendly look for PNG export */
#price-root[b-5o0wnh6swz] {
    background: #fff;
    padding: 16px 20px;
    border: 1px solid #e9ecef;
    border-radius: 8px;
}

.print-header h4[b-5o0wnh6swz] {
    margin: 0 0 4px 0;
    letter-spacing: .2px;
}

.report-table[b-5o0wnh6swz] {
    width: 100%;
    border-collapse: collapse;
    table-layout: fixed;
}

    .report-table th[b-5o0wnh6swz], .report-table td[b-5o0wnh6swz] {
        border: 1px solid #e4e6eb;
        padding: 8px 10px;
        vertical-align: middle;
    }

    .report-table thead th[b-5o0wnh6swz] {
        background: #f7f9fc;
        font-weight: 700;
    }

    .report-table tbody tr:nth-child(even)[b-5o0wnh6swz] {
        background: #fcfdff;
    }

    .report-table .mono[b-5o0wnh6swz] {
        font-variant-numeric: tabular-nums;
    }

.row-has-inactive[b-5o0wnh6swz] {
    background: #fffaf2;
}

.small.text-muted[b-5o0wnh6swz] {
    color: #6c757d !important;
}
