html {
  font-size: 14px;
}
@media (min-width: 768px) {
  html {
    font-size: 16px;
  }
}

html {
  position: relative;
  min-height: 100%;
}

body {
  margin-bottom: 60px;
  direction: rtl;
  text-align: right;
}

.footer {
  position: absolute;
  bottom: 0;
  width: 100%;
  white-space: nowrap;
  line-height: 60px;
}

/* Print - توحيد واجهة الطباعة */
@media print {
  header, .navbar, nav, .footer, .no-print, .btn, button, [data-print-hide], [data-print-btn], .pagination-controls {
    display: none !important;
  }
  body { margin-bottom: 0; font-size: 12px; }
  .container { max-width: 100%; }
  .container-fluid { padding: 0; }
  table { font-size: 11px; page-break-inside: auto; }
  tr { page-break-inside: avoid; page-break-after: auto; }
  thead { display: table-header-group; }
  @page { margin: 1.5cm; }
  h1, h2, h3 { page-break-after: avoid; }
}

.table-filter-input { max-width: 300px; }
.pagination-controls { margin-top: 1rem; }
