/**
 * Global admin readability baseline — minimum 16px body/UI text.
 * Loaded after theme CSS in app/Admin/bootstrap.php.
 */
html {
  font-size: 16px;
  -webkit-text-size-adjust: 100%;
}

body,
.wrapper,
.content-wrapper,
.main-header,
.main-sidebar,
.main-footer,
.login-page,
.register-page {
  font-size: 16px !important;
  line-height: 1.5;
}

/* AdminLTE / laravel-admin defaults often ship 12–14px UI text */
.wrapper :is(
  .sidebar-menu > li > a,
  .sidebar-menu .treeview-menu > li > a,
  .navbar-nav > li > a,
  .dropdown-menu > li > a,
  .table,
  .table > thead > tr > th,
  .table > tbody > tr > td,
  .grid-table,
  .grid-table th,
  .grid-table td,
  .form-control,
  .input-sm,
  .btn,
  .btn-sm,
  .input-group-addon,
  .box,
  .box-body,
  .box-title,
  .box-header,
  .content-header > h1,
  .content-header > h1 > small,
  .label,
  .badge,
  .pagination,
  .pagination > li > a,
  .small-box .inner p,
  .select2-container--default .select2-selection--single .select2-selection__rendered,
  .select2-results__option,
  .help-block,
  .text-muted,
  small,
  p,
  li,
  td,
  th,
  label
) {
  font-size: max(16px, inherit) !important;
}

/* laravel-admin input.label uses 14px !important */
.wrapper input.label {
  font-size: 16px !important;
}

/* Notification bell dropdown */
.wrapper .admin-notification-dropdown,
.wrapper .admin-notification-dropdown * {
  font-size: max(16px, inherit) !important;
}

/* Keep page titles visually above body minimum */
.wrapper :is(
  .content-header > h1,
  h1,
  h2,
  h3
) {
  font-size: max(20px, inherit);
}

/* Scoped feature pages (invoice list, dashboards) */
.wrapper :is(
  .cio-wrap,
  .cio-wrap *,
  .lid-dashboard,
  .lid-dashboard *,
  .sd-dashboard,
  .sd-dashboard *,
  .cie-wrap,
  .cie-wrap *
) {
  font-size: max(16px, inherit) !important;
}
