/* /Components/Layout/MainLayout.razor.rz.scp.css */
#blazor-error-ui[b-drolfdlmoy] {
    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-drolfdlmoy] {
        cursor: pointer;
        position: absolute;
        right: 0.75rem;
        top: 0.5rem;
    }
/* /Components/Shared/Documents/DocumentBase.razor.rz.scp.css */
.document-container[b-syawaj0obn] { font-family:"Inter",-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,"Helvetica Neue",Arial,sans-serif; color:#1f2937; font-size:13.5px; line-height:1.6; max-width:800px; margin:0 auto; background:#fff; padding:45px; border-radius:8px; box-shadow:0 4px 6px -1px rgba(0,0,0,0.1), 0 2px 4px -1px rgba(0,0,0,0.06); }
.document-header[b-syawaj0obn] { display:flex; flex-direction:column; gap:8px; border-bottom:2px solid #e5e7eb; padding-bottom:28px; margin-bottom:28px; }
.header-left-column[b-syawaj0obn] { display:flex; flex-direction:column; gap:8px; }
.header-row[b-syawaj0obn] { display:flex; justify-content:space-between; align-items:flex-start; gap:40px; }
.header-row-left[b-syawaj0obn] { flex:1; min-width:0; display:flex; flex-direction:column; gap:6px; }
.header-row-right[b-syawaj0obn] { flex:1; min-width:0; display:flex; flex-direction:column; align-items:flex-end; text-align:right; gap:6px; }
.company-logo img[b-syawaj0obn] { max-height:55px; width:auto; max-width:180px; display:block; margin-bottom:2px; }
.company-name[b-syawaj0obn] { font-weight:700; font-size:17px; color:#0f172a; margin-bottom:0; letter-spacing:-0.01em; }
.company-address[b-syawaj0obn] { font-size:13px; color:#4b5563; line-height:1.6; white-space:pre-line; }
.company-contact[b-syawaj0obn] { font-size:13px; color:#4b5563; line-height:1.5; }
.document-title[b-syawaj0obn] { font-weight:700; font-size:17px; color:#0f172a; text-transform:uppercase; letter-spacing:-0.01em; margin:0; }
.document-meta[b-syawaj0obn] { display:flex; flex-direction:column; gap:6px; align-items:flex-end; margin-top:4px; }
[b-syawaj0obn] .doc-meta-grid { display:flex; flex-direction:column; gap:6px; align-items:flex-end; }
[b-syawaj0obn] .doc-meta-item { display:flex; gap:12px; align-items:center; justify-content:flex-end; }
[b-syawaj0obn] .doc-meta-label { font-weight:400; color:#4b5563; font-size:13px; min-width:100px; text-align:right; }
[b-syawaj0obn] .doc-meta-value { font-weight:400; color:#4b5563; font-size:13px; text-align:right; }
[b-syawaj0obn] .doc-remarks { margin-bottom:28px; }
[b-syawaj0obn] .doc-card { border:none; padding:0; background:none; box-shadow:none; border-radius:0; }
[b-syawaj0obn] .doc-card-title { font-size:11px; font-weight:700; text-transform:uppercase; color:#9ca3af; margin-bottom:10px; letter-spacing:0.08em; border-bottom:1px solid #e5e7eb; padding-bottom:5px; display:inline-block; }
[b-syawaj0obn] .doc-card-body { font-size:13.5px; color:#374151; display:flex; flex-direction:column; gap:4px; line-height:1.5; }
[b-syawaj0obn] .doc-multiline { white-space:pre-wrap; font-family:inherit; margin:0; }
[b-syawaj0obn] .doc-table-wrapper { border:none; border-radius:0; box-shadow:none; margin-top:0; margin-bottom:8px; width:100%; }
[b-syawaj0obn] .doc-table { width:100% !important; border-collapse:collapse; margin:0; }
[b-syawaj0obn] .doc-table th { text-align:left; padding:6px 4px; border-bottom:2px solid #d1d5db; font-weight:700; font-size:9px; text-transform:uppercase; color:#374151; letter-spacing:0.04em; background:#f9fafb; white-space:nowrap; }
[b-syawaj0obn] .doc-table th.text-end, [b-syawaj0obn] .doc-table td.text-end { text-align:right; }
[b-syawaj0obn] .doc-table td { padding:3px 4px; border-bottom:1px solid #f3f4f6; font-size:10.5px; color:#1f2937; vertical-align:top; }
[b-syawaj0obn] .doc-table th:first-child, [b-syawaj0obn] .doc-table td:first-child { padding-left:0; }
[b-syawaj0obn] .doc-table th:last-child, [b-syawaj0obn] .doc-table td:last-child { padding-right:0; }
[b-syawaj0obn] .doc-table tbody tr:last-child td { border-bottom:none; }
[b-syawaj0obn] .doc-table tr { page-break-inside: avoid; break-inside: avoid; }
[b-syawaj0obn] .doc-table td, [b-syawaj0obn] .doc-table th { page-break-inside: avoid; break-inside: avoid; }
[b-syawaj0obn] .doc-section-row { page-break-after: avoid; break-after: avoid; }
.text-end[b-syawaj0obn] { text-align:right; }
[b-syawaj0obn] .doc-summary-section { display:flex; justify-content:space-between; align-items:flex-start; margin-top:24px; gap:40px; }
[b-syawaj0obn] .doc-summary-left { flex:1; display:flex; flex-direction:column; gap:20px; }
[b-syawaj0obn] .doc-terms-section { display:flex; flex-direction:column; gap:12px; }
[b-syawaj0obn] .doc-terms-item { display:flex; flex-direction:column; gap:3px; }
[b-syawaj0obn] .doc-terms-label { font-weight:600; font-size:12px; color:#374151; text-transform:uppercase; letter-spacing:0.03em; }
[b-syawaj0obn] .doc-terms-value { font-size:13px; color:#4b5563; line-height:1.5; }
[b-syawaj0obn] .doc-totals { display:flex; justify-content:flex-end; }
[b-syawaj0obn] .doc-totals-card { width:320px; border:none; background:none; box-shadow:none; padding:0; display:flex; flex-direction:column; gap:2px; }
[b-syawaj0obn] .doc-totals-line { display:flex; justify-content:space-between; font-size:13.5px; color:#4b5563; padding:1px 0; }
[b-syawaj0obn] .doc-totals-line strong { color:#111827; font-weight:600; font-size:14px; }
[b-syawaj0obn] .doc-totals-card hr { border:0; border-top:1px solid #d1d5db; margin:10px 0; }
[b-syawaj0obn] .doc-totals-emphasis { font-size:17px; color:#0f172a; font-weight:800; border-top:2.5px solid #374151; padding-top:14px; margin-top:6px; }
[b-syawaj0obn] .doc-terms { margin-top:0; padding-top:0; border-top:none; font-size:12px; color:#6b7280; background:none; border:none; border-radius:0; }
[b-syawaj0obn] .doc-terms-title { font-weight:600; margin-bottom:4px; color:#374151; text-transform:uppercase; font-size:11px; }
[b-syawaj0obn] .doc-terms-body { white-space:pre-line; }
.print-footer-content[b-syawaj0obn] { margin-top:40px; text-align:center; font-size:11px; color:#9ca3af; border-top:1px solid #f3f4f6; padding-top:20px; }
.page-footer[b-syawaj0obn] { display:none; } 
.no-screen[b-syawaj0obn] { display:none; }

@media print {
	.no-print[b-syawaj0obn] { display:none !important; }
    .no-screen[b-syawaj0obn] { display:flex !important; }
	body[b-syawaj0obn],html[b-syawaj0obn] { background:#fff; }
	.document-container[b-syawaj0obn] { max-width:none; margin:0; padding:0; border:none; border-radius:0; box-shadow:none; } /* Removed padding-bottom to avoid extra blank page */
	.document-header[b-syawaj0obn] { border-bottom:1px solid #e5e7eb; padding-bottom:20px; margin-bottom:20px; }
    
    .page-footer[b-syawaj0obn] {
        position: fixed;
        bottom: 0;
        left: 0;
        right: 0;
        height: 38px;
        display: flex !important;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        font-size: 9px;
        color: #666;
        background: #fff; /* Ensure it covers content behind it */
        padding-top: 5px;
        border-top: 1px solid #eee;
        z-index: 1000;
        width: 100%;
        gap: 2px;
    }
    .pf-content[b-syawaj0obn] {
        display: flex;
        justify-content: space-between;
        width: 100%;
    }
    .pf-left[b-syawaj0obn] { flex: 1; text-align: left; }
    .pf-center[b-syawaj0obn] { flex: 1; text-align: center; display: none; }
    .pf-center.show-page-numbers[b-syawaj0obn] { display: block; }
    .pf-center.show-page-numbers[b-syawaj0obn]::after {
        content: "Page " counter(page) " of " attr(data-total);
    }
    .pf-right[b-syawaj0obn] { flex: 1; text-align: right; }
}
@page { 
    size: A4; 
    margin: 10mm 15mm 15mm 15mm; 
}
/* /Components/Shared/Documents/DocumentStyles.razor.rz.scp.css */
.document-container[b-czxabzqo6r] { font-family:"Inter",-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,"Helvetica Neue",Arial,sans-serif; color:#1f2937; font-size:13.5px; line-height:1.6; max-width:800px; margin:0 auto; background:#fff; padding:45px; border-radius:8px; box-shadow:0 4px 6px -1px rgba(0,0,0,0.1), 0 2px 4px -1px rgba(0,0,0,0.06); }
.document-header[b-czxabzqo6r] { display:flex; justify-content:space-between; align-items:flex-start; gap:40px; border-bottom:2px solid #e5e7eb; padding-bottom:28px; margin-bottom:28px; }
.header-left-column[b-czxabzqo6r] { flex:1; display:flex; flex-direction:column; gap:8px; }
.header-right-column[b-czxabzqo6r] { flex:1; display:flex; flex-direction:column; align-items:flex-end; text-align:right; }
.company-logo img[b-czxabzqo6r] { max-height:55px; width:auto; max-width:180px; display:block; margin-bottom:8px; }
.company-name[b-czxabzqo6r] { font-weight:700; font-size:17px; color:#0f172a; margin-bottom:6px; letter-spacing:-0.01em; }
.company-address[b-czxabzqo6r] { font-size:13px; color:#4b5563; line-height:1.6; white-space:pre-line; }
.company-contact[b-czxabzqo6r] { font-size:13px; color:#4b5563; line-height:1.5; }
.document-title[b-czxabzqo6r] { font-size:32px; font-weight:800; color:#0f172a; text-transform:uppercase; letter-spacing:-0.03em; margin:0 0 18px 0; }
.document-meta[b-czxabzqo6r] { display:flex; flex-direction:column; gap:6px; align-items:flex-end; margin-top:4px; }
.doc-meta-grid[b-czxabzqo6r] { display:flex; flex-direction:column; gap:6px; align-items:flex-end; }
.doc-meta-item[b-czxabzqo6r] { display:flex; gap:12px; align-items:center; justify-content:flex-end; }
.doc-meta-label[b-czxabzqo6r] { font-weight:500; color:#6b7280; font-size:12.5px; min-width:100px; text-align:right; }
.doc-meta-value[b-czxabzqo6r] { font-weight:600; color:#111827; font-size:13px; text-align:right; }
.doc-remarks[b-czxabzqo6r] { margin-bottom:28px; }
.doc-card[b-czxabzqo6r] { border:none; padding:0; background:none; box-shadow:none; border-radius:0; }
.doc-card-title[b-czxabzqo6r] { font-size:11px; font-weight:700; text-transform:uppercase; color:#9ca3af; margin-bottom:10px; letter-spacing:0.08em; border-bottom:1px solid #e5e7eb; padding-bottom:5px; display:inline-block; }
.doc-card-body[b-czxabzqo6r] { font-size:13.5px; color:#374151; display:flex; flex-direction:column; gap:4px; line-height:1.5; }
.doc-multiline[b-czxabzqo6r] { white-space:pre-wrap; font-family:inherit; margin:0; }
.doc-table-wrapper[b-czxabzqo6r] { border:none; border-radius:0; box-shadow:none; margin-top:0; margin-bottom:8px; }
.doc-table[b-czxabzqo6r] { width:100%; border-collapse:collapse; }
.doc-table th[b-czxabzqo6r] { text-align:left; padding:10px 8px; border-bottom:2px solid #d1d5db; font-weight:700; font-size:11px; text-transform:uppercase; color:#374151; letter-spacing:0.06em; background:#f9fafb; }
.doc-table td[b-czxabzqo6r] { padding:11px 8px; border-bottom:1px solid #f3f4f6; font-size:13px; color:#1f2937; vertical-align:top; }
.doc-table tbody tr:last-child td[b-czxabzqo6r] { border-bottom:1px solid #e5e7eb; }
.text-end[b-czxabzqo6r] { text-align:right; }
.doc-summary-section[b-czxabzqo6r] { display:flex; justify-content:space-between; align-items:flex-start; margin-top:24px; gap:40px; }
.doc-summary-left[b-czxabzqo6r] { flex:1; display:flex; flex-direction:column; gap:20px; }
.doc-terms-section[b-czxabzqo6r] { display:flex; flex-direction:column; gap:12px; }
.doc-terms-item[b-czxabzqo6r] { display:flex; flex-direction:column; gap:3px; }
.doc-terms-label[b-czxabzqo6r] { font-weight:600; font-size:12px; color:#374151; text-transform:uppercase; letter-spacing:0.03em; }
.doc-terms-value[b-czxabzqo6r] { font-size:13px; color:#4b5563; line-height:1.5; }
.doc-totals[b-czxabzqo6r] { display:flex; justify-content:flex-end; }
.doc-totals-card[b-czxabzqo6r] { width:320px; border:none; background:none; box-shadow:none; padding:0; display:flex; flex-direction:column; gap:9px; }
.doc-totals-line[b-czxabzqo6r] { display:flex; justify-content:space-between; font-size:13.5px; color:#4b5563; padding:5px 0; }
.doc-totals-line strong[b-czxabzqo6r] { color:#111827; font-weight:600; font-size:14px; }
.doc-totals-card hr[b-czxabzqo6r] { border:0; border-top:1px solid #d1d5db; margin:10px 0; }
.doc-totals-emphasis[b-czxabzqo6r] { font-size:17px; color:#0f172a; font-weight:800; border-top:2.5px solid #374151; padding-top:14px; margin-top:6px; }
.doc-terms[b-czxabzqo6r] { margin-top:0; padding-top:0; border-top:none; font-size:12px; color:#6b7280; background:none; border:none; border-radius:0; }
.doc-terms-title[b-czxabzqo6r] { font-weight:600; margin-bottom:4px; color:#374151; text-transform:uppercase; font-size:11px; }
.doc-terms-body[b-czxabzqo6r] { white-space:pre-line; }
.print-footer[b-czxabzqo6r] { margin-top:40px; text-align:center; font-size:11px; color:#9ca3af; border-top:1px solid #f3f4f6; padding-top:20px; }
.watermark[b-czxabzqo6r] { position:fixed; top:50%; left:50%; transform:translate(-50%,-50%) rotate(-45deg); font-size:120px; font-weight:700; color:rgba(0,0,0,0.03); pointer-events:none; z-index:0; border:4px solid rgba(0,0,0,0.03); padding:20px 40px; border-radius:20px; white-space:nowrap; }
.document-container[b-czxabzqo6r], .document-container *[b-czxabzqo6r] { position:relative; z-index:1; }
@media print {
	.no-print[b-czxabzqo6r] { display:none !important; }
	body[b-czxabzqo6r],html[b-czxabzqo6r] { background:#fff; }
	.document-container[b-czxabzqo6r] { max-width:none; margin:0; padding:0; border:none; border-radius:0; box-shadow:none; }
	.document-header[b-czxabzqo6r] { border-bottom:1px solid #e5e7eb; padding-bottom:20px; margin-bottom:20px; }
}
@page { size: A4; margin: 15mm; }
/* /Components/Shared/PdfActions.razor.rz.scp.css */
.pdf-modal-backdrop[b-52l7s3jyjp]{position:fixed;inset:0;background:rgba(0,0,0,.45);display:flex;align-items:center;justify-content:center;z-index:1100;}
.pdf-modal[b-52l7s3jyjp]{background:#fff;border-radius:12px;box-shadow:0 4px 28px -4px rgba(0,0,0,.35);width:90%;max-width:1400px;max-height:95vh;display:flex;flex-direction:column;overflow:hidden;font-family:-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,sans-serif;}
.pdf-modal-header[b-52l7s3jyjp]{padding:.65rem .9rem;border-bottom:1px solid #e3e6ea;background:#f8f9fa;}
.pdf-modal-body[b-52l7s3jyjp]{flex:1;display:flex;}
.pdf-modal-body iframe[b-52l7s3jyjp]{border:0;flex:1;width:100%;height:100%;background:#fff;}
.pdf-modal-body[b-52l7s3jyjp]{position:relative;}
.pdf-loading-overlay[b-52l7s3jyjp]{position:absolute;inset:0;display:flex;align-items:center;justify-content:center;background:rgba(255,255,255,.65);backdrop-filter:blur(2px);}
