/* _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.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: repeat(7, minmax(145px, 1fr));
    gap: 12px;
    margin-bottom: 14px;
}

[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);
}

/* =========================
   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));
    }

    .attention-grid[b-u8jwdb0oda] {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

@media (max-width: 992px) {
    .kpi-grid[b-u8jwdb0oda] {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .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));
    }
}

@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;
    }
}
/* =========================
   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;
}
/* _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;
}
