
/* ERP Reports — align report center shell with the approved application theme */
body:has(#erpReportsTab.active) .top-company-bar{display:none!important}
body:has(#erpReportsTab.active) .main-content{background:#f3f7fb!important}
#erpReportsTab{font-family:Inter,"Segoe UI",Roboto,Arial,sans-serif!important;background:#f3f7fb!important}

/* Dynamic report-center header */
#erpReportsTab .erp-reports-header,
#erpReportsTab>.header-bar{
  min-height:68px!important;margin:0 0 12px!important;padding:4px 0!important;
  display:flex!important;align-items:center!important;justify-content:space-between!important;gap:14px!important;
  background:transparent!important;border:0!important;box-shadow:none!important;
}
#erpReportsTab>.header-bar .title,
#erpReportsTab .erp-reports-title{
  color:#111827!important;font-size:24px!important;font-weight:600!important;letter-spacing:-.3px!important;
}
#erpReportsTab .btn{border-radius:7px!important;font-size:10.5px!important;font-weight:600!important}

/* Report selector/navigation */
#erpReportsTab select.form-control,
#erpReportsTab input.form-control{
  height:35px!important;border:1px solid #d8e2ee!important;border-radius:7px!important;
  background:#fff!important;color:#334155!important;font-size:10.5px!important;
}
#erpReportsTab .card{
  border:1px solid #dfe7f0!important;border-radius:12px!important;
  box-shadow:0 3px 12px rgba(15,23,42,.04)!important;background:#fff!important;
}

/* Report tables: preserve existing report logic and columns, unify presentation */
#erpReportsTab .table-container{
  border:1px solid #dfe7f0!important;border-radius:10px!important;
  box-shadow:0 3px 12px rgba(15,23,42,.035)!important;background:#fff!important;
}
#erpReportsTab table{font-size:10.5px!important}
#erpReportsTab th{
  background:#dfe9f4!important;color:#172554!important;font-size:10px!important;font-weight:650!important;
  padding:9px 9px!important;border-bottom:1px solid #cbd8e6!important;white-space:nowrap!important;
}
#erpReportsTab td{
  padding:8px 9px!important;color:#334155!important;border-bottom:1px solid #edf2f7!important;
}
#erpReportsTab tbody tr:hover{background:#f8fbff!important}

/* Report action buttons */
#erpReportsTab .btn-primary{background:#2563eb!important;color:#fff!important;border:1px solid #2563eb!important}
#erpReportsTab .btn-outline{background:#fff!important;color:#334155!important;border:1px solid #d8e2ee!important}
#erpReportsTab .btn-success{background:#16a34a!important;color:#fff!important;border:1px solid #16a34a!important}

/* Keep each report compact and printable */
@media print{
 body:has(#erpReportsTab.active) .sidebar,
 body:has(#erpReportsTab.active) .top-company-bar{display:none!important}
 body:has(#erpReportsTab.active) .main-content{padding:0!important;overflow:visible!important;background:#fff!important}
 #erpReportsTab{background:#fff!important}
 #erpReportsTab .table-container{box-shadow:none!important;overflow:visible!important}
 #erpReportsTab th{position:static!important}
}
