/* ============================================================
   ERP THEME v5 — colour only, no functional changes
   ============================================================ */

:root {
  --q-primary:   #1A6ED8;
  --q-secondary: #0F766E;
  --q-accent:    #7C3AED;
  --q-dark:      #0A2540;
  --q-info:      #0284C7;
  --q-warning:   #F59E0B;
  --q-negative:  #DC2626;
  --q-positive:  #16A34A;
}

/* --- Header: dark navy ERP top bar --- */
.q-header {
  background: #0A2540 !important;
  color: #ffffff;
  border-bottom: 1px solid #123456;
}
.q-header .q-toolbar__title { color: #ffffff; }
.q-header .q-btn { color: #ffffff; }
.q-header .q-icon { color: #ffffff; }

/* --- Sidebar / drawer: dark navy ERP navigation --- */
.q-drawer {
  background: #0E2D55 !important;
  border-right: 1px solid #1A4070;
}
.q-drawer .q-item {
  color: #B9CBE2;
}
.q-drawer .q-item .q-icon { color: #8FABCC; }
.q-drawer .q-item:hover {
  background: rgba(255, 255, 255, 0.07) !important;
  color: #ffffff;
}
.q-drawer .q-item:hover .q-icon { color: #ffffff; }
.q-drawer .q-item.q-router-link--active,
.q-drawer .q-item--active {
  background: #1D4ED8 !important;
  color: #ffffff !important;
}
.q-drawer .q-item.q-router-link--active .q-icon,
.q-drawer .q-item--active .q-icon { color: #ffffff !important; }
.q-drawer .q-item__label { color: inherit; }

/* --- Content area: soft ERP grey --- */
.q-layout { background: #F4F7FB; }
.q-page, .q-page-container { background: transparent; }
.q-card { background: #ffffff; }

/* --- Tables: ERP light slate header --- */
.q-table thead th {
  background: #E8EEF6 !important;
  color: #1E3A5F !important;
  font-weight: 600;
  border-bottom: 2px solid #D2DDEC;
}
.q-table thead th .q-icon { color: #5B7394; }
.q-table tbody td { background: #ffffff; }
.q-table tbody tr:nth-child(even) td { background: #F7FAFD; }

/* --- Filter / toolbar areas on list pages --- */
.q-table__card { background: #ffffff; border: 1px solid #E3E9F1; }
.q-table__bottom { background: #ffffff; color: #4A607F; }

/* --- Print: force white (no theme colours in printed bills) --- */
@media print {
  .q-header, .q-drawer { display: none !important; }
  .q-layout, .q-page-container, .q-card, .q-table__card { background: #ffffff !important; }
  .q-table thead th { background: #ffffff !important; color: #000000 !important; }
}