/* Each business document keeps a layout identity independent of the chosen colour template. */
.bdk-document.type-quotation{border-top:8px solid #0f766e}.bdk-document.type-quotation header{border-bottom-style:dashed}.bdk-document.type-quotation .doc-chip{background:#e7f8f3;color:#087f5b;border:0}.bdk-document.type-quotation .totals .grand{border-radius:10px}
.bdk-document.type-invoice{border-top:10px solid #1d4ed8}.bdk-document.type-invoice .doc-title h1{color:#1d4ed8}.bdk-document.type-invoice .doc-chip{background:#dbeafe;color:#1d4ed8;border:0}.bdk-document.type-invoice .totals .grand{background:#eff6ff;color:#1e3a8a;border-left-color:#1d4ed8}
.bdk-document.type-tax-invoice{border:2px solid #4338ca}.bdk-document.type-tax-invoice header{margin:-22px -22px 22px;padding:22px;background:#312e81;color:#fff}.bdk-document.type-tax-invoice header h1,.bdk-document.type-tax-invoice header h2,.bdk-document.type-tax-invoice header p,.bdk-document.type-tax-invoice .doc-title>b{color:#fff}.bdk-document.type-tax-invoice .doc-chip{color:#fff}.bdk-document.type-tax-invoice th{background:#312e81}
.bdk-document.type-proforma-invoice{border-top:9px double #7c3aed}.bdk-document.type-proforma-invoice .doc-chip{background:#f3e8ff;color:#6d28d9;border:0}.bdk-document.type-proforma-invoice .doc-title h1{color:#6d28d9}.bdk-document.type-proforma-invoice .meta{border:1px dashed #c4b5fd;padding:8px}
.bdk-document.type-receipt{border:2px solid #15803d;background:linear-gradient(180deg,#f0fdf4 0,#fff 22%)}.bdk-document.type-receipt header{display:flex;flex-direction:column;align-items:center;text-align:center}.bdk-document.type-receipt header .brand,.bdk-document.type-receipt header .doc-title{text-align:center}.bdk-document.type-receipt .doc-chip{background:#15803d;color:#fff;border:0}.bdk-document.type-receipt .doc-title h1:before{content:"✓";display:inline-grid;place-items:center;width:28px;height:28px;margin-right:9px;border-radius:50%;background:#dcfce7;color:#15803d}.bdk-document.type-receipt .totals .grand{font-size:14px;background:#dcfce7;color:#14532d;border:2px solid #22c55e}.bdk-document.type-receipt .signature-grid>div:first-child{display:none}.bdk-document.type-receipt .signature-grid{grid-template-columns:1fr;margin-left:52%}
.bdk-document.type-purchase-order,.bdk-document.type-local-purchase-order{border-left:12px solid #0369a1}.bdk-document.type-purchase-order header,.bdk-document.type-local-purchase-order header{border-bottom:3px solid #0369a1}.bdk-document.type-purchase-order .doc-chip,.bdk-document.type-local-purchase-order .doc-chip{background:#e0f2fe;color:#075985;border:0}.bdk-document.type-purchase-order .meta>div:first-child,.bdk-document.type-local-purchase-order .meta>div:first-child{border-left:5px solid #0284c7}
.bdk-document.type-delivery-note,.bdk-document.type-goods-received-note,.bdk-document.type-stock-issue-note{border:2px solid #475569}.bdk-document.type-delivery-note header,.bdk-document.type-goods-received-note header,.bdk-document.type-stock-issue-note header{background:#f1f5f9;padding:18px;border-bottom:4px solid #475569}.bdk-document.type-delivery-note .doc-chip,.bdk-document.type-goods-received-note .doc-chip,.bdk-document.type-stock-issue-note .doc-chip{background:#334155;color:#fff;border:0}.bdk-document.type-delivery-note th,.bdk-document.type-goods-received-note th,.bdk-document.type-stock-issue-note th{background:#475569}
.bdk-document.type-credit-note{border-top:10px solid #be123c}.bdk-document.type-credit-note .doc-chip{background:#ffe4e6;color:#9f1239;border:0}.bdk-document.type-credit-note .doc-title h1{color:#be123c}.bdk-document.type-credit-note .totals .grand{background:#fff1f2;color:#9f1239;border-left-color:#be123c}
.bdk-document.type-debit-note{border-top:10px solid #c2410c}.bdk-document.type-debit-note .doc-chip{background:#ffedd5;color:#9a3412;border:0}.bdk-document.type-debit-note .doc-title h1{color:#c2410c}.bdk-document.type-debit-note .totals .grand{background:#fff7ed;color:#9a3412;border-left-color:#c2410c}
.bdk-document.type-sales-order{border-top:8px solid #0891b2}.bdk-document.type-sales-order .doc-chip{background:#cffafe;color:#155e75;border:0}.bdk-document.type-sales-order .meta>div{border-bottom:3px solid #06b6d4}
.bdk-document.type-expense-voucher{border:2px solid #b45309;background:#fffbeb}.bdk-document.type-expense-voucher header{border-bottom:2px dotted #b45309}.bdk-document.type-expense-voucher .doc-chip{background:#fef3c7;color:#92400e;border:0}.bdk-document.type-expense-voucher .signature-grid{padding:14px;border:1px solid #f59e0b;background:#fff}
.bdk-document.type-work-order,.bdk-document.type-job-card{border-top:12px solid #334155;background:linear-gradient(90deg,#f8fafc 0 7px,#fff 7px)}.bdk-document.type-work-order .doc-chip,.bdk-document.type-job-card .doc-chip{background:#e2e8f0;color:#1e293b;border:0}.bdk-document.type-work-order .meta,.bdk-document.type-job-card .meta{grid-template-columns:1.15fr .85fr}.bdk-document.type-work-order .signature-grid,.bdk-document.type-job-card .signature-grid{padding-top:12px;border-top:3px double #64748b}
.bdk-document.type-payment-reminder{border:3px solid #dc2626}.bdk-document.type-payment-reminder header{border-bottom:4px solid #dc2626}.bdk-document.type-payment-reminder .doc-chip{background:#dc2626;color:#fff;border:0}.bdk-document.type-payment-reminder .doc-title h1{color:#b91c1c}.bdk-document.type-payment-reminder .totals .grand{font-size:15px;background:#fee2e2;color:#991b1b;border-left-color:#dc2626}
.bdk-document.type-customer-statement{border-top:12px solid #172554}.bdk-document.type-customer-statement header{border-bottom:1px solid #172554}.bdk-document.type-customer-statement .doc-chip{background:#172554;color:#fff;border:0}.bdk-document.type-customer-statement th{background:#172554}.bdk-document.type-customer-statement .totals .grand{background:#e0e7ff;color:#172554;border-left-color:#172554}
@media(max-width:520px){.bdk-document.type-receipt .signature-grid{margin-left:0}}
