/* Erp1C-ə xas əlavə qaydalar (CorporateERP design-tokens.css-ə toxunmadan).
   Əsas dizayn: css/design-tokens.css (CorporateERP-də təsdiqlənmiş). */

/* Mövcud Erp1C səhifələrində işlədilən "no-print" sinfi = Bootstrap "d-print-none" */
@media print {
  .no-print, .erp-sidebar, .erp-topbar { display: none !important; }
  body { background: #fff !important; }
}

/* Blazor xəta paneli */
#blazor-error-ui {
  color-scheme: light only; background: #fff8e1; border-top: 1px solid var(--erp-border);
  bottom: 0; display: none; left: 0; padding: .6rem 1.25rem; position: fixed; width: 100%; z-index: 1000;
}
#blazor-error-ui .dismiss { cursor: pointer; position: absolute; right: .75rem; top: .5rem; }
.blazor-error-boundary { background: #b32121; padding: 1rem; color: #fff; }
.blazor-error-boundary::after { content: "Xəta baş verdi."; }
.valid.modified:not([type=checkbox]) { outline: 1px solid #26b050; }
.invalid { outline: 1px solid #e50000; }
.validation-message { color: #e50000; }
h1:focus { outline: none; }

/* Mövcud səhifələrdəki inline qalın etiketlər də vahid qaydaya tabe olsun (qalın yoxdur) */
[style*="font-weight:600"], [style*="font-weight: 600"], [style*="font-weight:bold"], [style*="font-weight: bold"] { font-weight: 400 !important; }

/* Yuxarı panel */
.erp-topbar { background: var(--erp-white); border-bottom: 1px solid var(--erp-border); }
.erp-user { font-size: 13px; color: var(--erp-text); }
.erp-user small { color: var(--erp-muted); }

/* =========================================================================
   VAHİD ŞRİFT ÖLÇÜLƏRİ (13px) — mətn, cədvəl, düymə, giriş sahələri eyni ölçüdə.
   Başlıqlar: səhifə başlığı 20px, bölmə başlığı 15px.
   ========================================================================= */
:root {
  --bs-body-font-size: 13px;
  --erp-control-h: 32px;
}
body, p, label, .form-label, .form-text, .form-check-label, .text-muted { font-size: 13px; }
h3 { font-size: 20px; margin-bottom: 12px; }
h4 { font-size: 17px; }
h5, h6 { font-size: 15px; }
.content p { margin-bottom: 12px; }

.btn { --bs-btn-font-size: 13px; font-size: 13px; height: var(--erp-control-h); padding-top: 0; padding-bottom: 0; display: inline-flex; align-items: center; justify-content: center; }
.btn-sm { --bs-btn-font-size: 13px; height: 26px; }
.form-control, .form-select { font-size: 13px; height: var(--erp-control-h); padding-top: 0; padding-bottom: 0; }
textarea.form-control { height: auto; padding-top: 6px; padding-bottom: 6px; }
.form-control-sm, .form-select-sm { font-size: 13px; height: 28px; }
.form-label, label { margin-bottom: 4px; color: var(--erp-muted-2); }
.badge { font-size: 11px; font-weight: 400; }
table.table td, table.table th { padding: 6px 10px; vertical-align: middle; }
