/* Compact/minimal density theme for laptops with limited screen resolution. Optional stylesheet, not auto-loaded — include after sb-admin-2.min.css and style.css to shrink font sizes, table row padding and buttons. */
body { font-size: 0.8rem; line-height: 1.0;}

h1 { font-size: 1.5rem; }
h2 { font-size: 1.3rem; }
h3 { font-size: 1.15rem; }
h4 { font-size: 1.05rem; }
h5 { font-size: 0.95rem; }
h6 { font-size: 0.85rem; }
h6 a, h6 a:visited { color: #000; text-decoration: underline; }
h6.frontend a, h6.frontend a:visited { color: #000; text-decoration: underline; }

.container-fluid { padding: 0.75rem; }

.card { margin-bottom: 0.75rem; }
.card-header { padding: 0.5rem 0.75rem; font-size: 0.85rem; }
.card-body { padding: 0.75rem; }

.table { font-size: 0.78rem; }
.table th, .table td { padding: 0.3rem 0.5rem; vertical-align: middle; }
.table thead th { padding: 0.35rem 0.5rem; }
.table-sm th, .table-sm td { padding: 0.2rem 0.4rem; }

.btn { padding: 0.25rem 0.6rem; font-size: 0.78rem; line-height: 1.4; }
.btn-sm { padding: 0.15rem 0.4rem; font-size: 0.7rem; }
.btn-lg { padding: 0.35rem 0.8rem; font-size: 0.85rem; }
.btn i, .btn .fa, .btn .fas, .btn .far { font-size: 0.85em; }

.form-control, .form-select { padding: 0.25rem 0.5rem; font-size: 0.78rem; height: calc(1.6em + 0.5rem + 2px); }
.form-control-sm, .form-select-sm { padding: 0.15rem 0.4rem; font-size: 0.72rem; }
.form-label, .form-check-label { font-size: 0.78rem; }
.form-group { margin-bottom: 0.5rem; }
.form-text { font-size: 0.7rem; }
.input-group-text { padding: 0.25rem 0.5rem; font-size: 0.78rem; }

.form-check-input { width: 0.9rem; height: 0.9rem; }

.dataTables_wrapper .dataTables_length, .dataTables_wrapper .dataTables_filter, .dataTables_wrapper .dataTables_info, .dataTables_wrapper .dataTables_paginate { font-size: 0.75rem; }
.pagination { font-size: 0.75rem; }
.page-link { padding: 0.25rem 0.5rem; }

.badge { font-size: 0.68rem; padding: 0.25em 0.5em; }

.nav-link { padding: 0.35rem 0.75rem; font-size: 0.8rem; }
.breadcrumb { padding: 0.4rem 0.75rem; font-size: 0.75rem; }

.modal-header { padding: 0.6rem 0.9rem; }
.modal-body { padding: 0.9rem; }
.modal-footer { padding: 0.5rem 0.9rem; }

label { font-size: 0.78rem; }

@media (min-width: 768px) {
  .sidebar {
    width: 11rem !important;
  }
}