/* _content/MahrusLaundry_Admin/Components/Layout/MainLayout.razor.rz.scp.css */
.page[b-epwlxu3x0f] {
    position: relative;
    display: flex;
    flex-direction: column;
}

main[b-epwlxu3x0f] {
    flex: 1;
}

/* Old Blazor default sidebar gradient (kept in case you still use .sidebar somewhere) */
.sidebar[b-epwlxu3x0f] {
    background-image: linear-gradient(180deg, rgb(5, 39, 103) 0%, #3a0647 70%);
}

/* Top row (header bar) */
.top-row[b-epwlxu3x0f] {
    background-color: #f7f7f7;
    border-bottom: 1px solid #d6d5d5;
    justify-content: flex-end;
    height: 3.5rem;
    display: flex;
    align-items: center;
}

    .top-row[b-epwlxu3x0f]  a,
    .top-row[b-epwlxu3x0f]  .btn-link {
        white-space: nowrap;
        margin-left: 1.5rem;
        text-decoration: none;
    }

        .top-row[b-epwlxu3x0f]  a:hover,
        .top-row[b-epwlxu3x0f]  .btn-link:hover {
            text-decoration: underline;
        }

        .top-row[b-epwlxu3x0f]  a:first-child {
            overflow: hidden;
            text-overflow: ellipsis;
        }

/* Small screens */
@media (max-width: 640.98px) {
    .top-row[b-epwlxu3x0f] {
        justify-content: space-between;
    }

        .top-row[b-epwlxu3x0f]  a,
        .top-row[b-epwlxu3x0f]  .btn-link {
            margin-left: 0;
        }
}

/* Desktop layout */
@media (min-width: 641px) {
    .page[b-epwlxu3x0f] {
        flex-direction: row;
    }

    .sidebar[b-epwlxu3x0f] {
        width: 250px;
        height: 100vh;
        position: sticky;
        top: 0;
    }

    .top-row[b-epwlxu3x0f] {
        position: sticky;
        top: 0;
        z-index: 1;
    }

        .top-row.auth[b-epwlxu3x0f]  a:first-child {
            flex: 1;
            text-align: right;
            width: 0;
        }

    .top-row[b-epwlxu3x0f],
    article[b-epwlxu3x0f] {
        padding-left: 2rem !important;
        padding-right: 1.5rem !important;
    }
}

/* Blazor error UI */
#blazor-error-ui[b-epwlxu3x0f] {
    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-epwlxu3x0f] {
        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-epwlxu3x0f] {
    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-epwlxu3x0f],
    #sidebar-wrapper .nav-link[b-epwlxu3x0f] {
        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-epwlxu3x0f],
        #sidebar-wrapper .nav-link i[b-epwlxu3x0f] {
            font-size: 1.1rem;
            opacity: 0.85;
        }

        /* Hover state for any menu item */
        #sidebar-wrapper .list-group-item:hover[b-epwlxu3x0f],
        #sidebar-wrapper .nav-link:hover[b-epwlxu3x0f] {
            background-color: #f5f7fb;
            color: #0d6efd;
            text-decoration: none;
        }

    /* CHILD items (inside collapse) � indent for clear hierarchy */
    #sidebar-wrapper .collapse .nav-link[b-epwlxu3x0f] {
        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-epwlxu3x0f] {
            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-epwlxu3x0f] {
        border-top: 1px solid #e6e6e6;
    }

        #sidebar-wrapper .list-group > a.list-group-item:first-child[b-epwlxu3x0f] {
            border-top: none;
        }

        /* ACTIVE PARENT group item � lighter "section" style */
        #sidebar-wrapper .list-group > a.list-group-item.active[b-epwlxu3x0f] {
            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-epwlxu3x0f] {
    color: #f4c542; /* normal yellow */
    transition: color 0.2s ease;
}

/* Hover - slightly darker yellow */
#sidebar-wrapper .list-group-item:hover .folder-icon[b-epwlxu3x0f] {
    color: #d9a81e;
}

/* Parent whose module is active (Has current child) = Blue folder */
#sidebar-wrapper .list-group > a.list-group-item.active .folder-icon[b-epwlxu3x0f] {
    color: #0d6efd !important;
}
/* _content/MahrusLaundry_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-h3u2xni733] {
    --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-h3u2xni733] {
    width: 100%;
    border-collapse: collapse;
    table-layout: fixed;
}

    .report-table .col-cloth[b-h3u2xni733] {
        width: var(--w-cloth);
    }

    .report-table .col-size[b-h3u2xni733] {
        width: var(--w-size);
    }

    .report-table .col-svc1[b-h3u2xni733] {
        width: var(--w-svc1);
    }

    .report-table .col-svc2[b-h3u2xni733] {
        width: var(--w-svc2);
    }

    .report-table .col-svc3[b-h3u2xni733] {
        width: var(--w-svc3);
    }

    .report-table th[b-h3u2xni733],
    .report-table td[b-h3u2xni733] {
        vertical-align: middle;
        border: 1px solid #e4e6eb;
        padding: 6px 8px;
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
    }

    .report-table thead th[b-h3u2xni733] {
        background: #f7f9fc;
        font-weight: 700;
    }

    .report-table tbody tr:nth-child(even)[b-h3u2xni733] {
        background: #fcfdff;
    }

/* ---------- Text and numeric alignment ---------- */
.price[b-h3u2xni733] {
    font-weight: 700;
    font-variant-numeric: tabular-nums;
}

.text-muted[b-h3u2xni733] {
    color: #777 !important;
}

/* ---------- Service Arabic label (below English) ---------- */
.svc-ar[b-h3u2xni733] {
    display: block;
    font-size: 0.85em;
    color: #333;
    margin-top: 2px;
    line-height: 1.1;
}

/* ---------- Cloth EN/AR same line ---------- */
.cloth-name[b-h3u2xni733] {
    font-weight: 600;
    font-size: 13px;
    white-space: nowrap;
}

/* ---------- Highlight inactive row ---------- */
.table-warning[b-h3u2xni733] {
    background-color: #fff8e1 !important;
}

/* ---------- Page break / PDF no-split control ---------- */
.no-split[b-h3u2xni733],
.report-table tr.no-split[b-h3u2xni733],
.report-table tbody.no-split[b-h3u2xni733],
.report-table td .no-split[b-h3u2xni733] {
    break-inside: avoid !important;
    page-break-inside: avoid !important;
    -webkit-region-break-inside: avoid !important;
}

    .report-table tr.no-split > td[b-h3u2xni733] {
        padding-bottom: 7px;
    }

/* ---------- Header info ---------- */
.print-header[b-h3u2xni733] {
    margin-bottom: 8px;
}

    .print-header h5[b-h3u2xni733], .print-header h4[b-h3u2xni733], .print-header h3[b-h3u2xni733] {
        margin: 0 0 6px;
        letter-spacing: .2px;
    }

    .print-header .small[b-h3u2xni733] {
        color: #667085;
    }

/* ---------- Screen-only toolbar ---------- */
.no-print[b-h3u2xni733] {
    margin-bottom: 8px;
}

/* ---------- Print / PDF optimization ---------- */
@media print {
    .no-print[b-h3u2xni733] {
        display: none !important;
    }

    .report-table thead[b-h3u2xni733] {
        display: table-header-group;
    }

    .report-table tfoot[b-h3u2xni733] {
        display: table-footer-group;
    }

    .report-table tr[b-h3u2xni733] {
        page-break-inside: avoid;
        break-inside: avoid;
    }

    /* Keep colors and borders consistent */
    *[b-h3u2xni733] {
        -webkit-print-color-adjust: exact;
        print-color-adjust: exact;
    }

    /* Page setup */
    @page {
        size: A4 landscape;
        margin: 12mm;
    }

    #price-root[b-h3u2xni733] {
        border: none;
        border-radius: 0;
        padding: 0;
    }
}

/* ---------- Optional: refine for PDF rendering ---------- */
@media screen {
    body[b-h3u2xni733] {
        background: #f8f9fa;
    }

    #price-root[b-h3u2xni733] {
        box-shadow: 0 0 8px rgba(0,0,0,.08);
    }
}
/* _content/MahrusLaundry_Admin/Components/Pages/Reports/PriceList_Rpt.razor.rz.scp.css */
/* Clean, brand-friendly look for PNG export */
#price-root[b-2yk3ruof7t] {
    background: #fff;
    padding: 16px 20px;
    border: 1px solid #e9ecef;
    border-radius: 8px;
}

.print-header h4[b-2yk3ruof7t] {
    margin: 0 0 4px 0;
    letter-spacing: .2px;
}

.report-table[b-2yk3ruof7t] {
    width: 100%;
    border-collapse: collapse;
    table-layout: fixed;
}

    .report-table th[b-2yk3ruof7t], .report-table td[b-2yk3ruof7t] {
        border: 1px solid #e4e6eb;
        padding: 8px 10px;
        vertical-align: middle;
    }

    .report-table thead th[b-2yk3ruof7t] {
        background: #f7f9fc;
        font-weight: 700;
    }

    .report-table tbody tr:nth-child(even)[b-2yk3ruof7t] {
        background: #fcfdff;
    }

    .report-table .mono[b-2yk3ruof7t] {
        font-variant-numeric: tabular-nums;
    }

.row-has-inactive[b-2yk3ruof7t] {
    background: #fffaf2;
}

.small.text-muted[b-2yk3ruof7t] {
    color: #6c757d !important;
}
