
:root{
  --erp-ui-font:Inter,"Segoe UI",Roboto,Arial,sans-serif;
  --erp-page:#f3f7fb;
  --erp-card:#fff;
  --erp-line:#dfe7f0;
  --erp-head:#dfe9f4;
  --erp-text:#172033;
  --erp-muted:#64748b;
  --erp-blue:#2563eb;
}
.main-content,.tab-content,.modal,button,input,select,textarea,table{
  font-family:var(--erp-ui-font)!important;
}

/* Shared form rhythm */
.tab-content .form-group label{
  color:#334155;font-size:10.5px;font-weight:600;
}
.tab-content .form-control{
  border-color:#d8e2ee;border-radius:7px;box-shadow:none;
}
.tab-content .form-control:focus{
  border-color:#93b8f4;box-shadow:0 0 0 3px rgba(37,99,235,.07);
}

/* Shared button family */
.tab-content .btn{
  border-radius:7px;font-weight:600;
}
.tab-content .btn-primary{
  background:#2563eb;border-color:#2563eb;color:#fff;
}
.tab-content .btn-outline{
  background:#fff;border-color:#d8e2ee;color:#334155;
}
.tab-content .btn-danger{
  background:#fff1f2;border-color:#fecdd3;color:#dc2626;
}

/* Shared table rhythm; module-specific rules remain more specific */
.tab-content .table-container{
  border-color:#dfe7f0;border-radius:10px;background:#fff;
}
.tab-content table th{
  background:#dfe9f4;color:#172554;font-weight:650;
  border-bottom-color:#cbd8e6;
}
.tab-content table td{
  color:#334155;border-bottom-color:#edf2f7;
}
.tab-content table tbody tr:hover{
  background:#f8fbff;
}

/* Shared cards */
.tab-content .card{
  background:#fff;border-color:#dfe7f0;border-radius:12px;
}

/* Keep destructive, success and warning semantics consistent */
.tab-content .btn-success{background:#16a34a;border-color:#16a34a;color:#fff}
.tab-content .btn-warning{background:#fff7e6;border-color:#fde3a7;color:#b66b00}

/* Do NOT alter sidebar, its dimensions, nav rows, icons or grouping in this phase. */
