/* ============================================================
   SIMLAB - Custom CSS
   Sistem Informasi Laboratorium Keperawatan
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800&display=swap');

/* ── CSS Variables ──────────────────────────────────────────── */
:root {
  --primary:        #0d6efd;
  --primary-dark:   #0952cc;
  --primary-light:  #e8f0fe;
  --success:        #198754;
  --warning:        #ffc107;
  --danger:         #dc3545;
  --info:           #0dcaf0;

  --sidebar-bg:     #0f1117;
  --sidebar-width:  260px;
  --sidebar-text:   #a9afc3;
  --sidebar-active: #1a1d2e;
  --sidebar-hover:  rgba(255,255,255,.06);

  --topbar-height:  64px;
  --body-bg:        #f0f2f8;
  --card-bg:        #ffffff;
  --card-shadow:    0 2px 20px rgba(0,0,0,.07);
  --border-color:   #e5e9f0;
  --text-primary:   #1a2035;
  --text-muted:     #7b8aa1;
  --border-radius:  12px;
  --border-radius-sm: 8px;
  --transition:     all .2s ease;
}

[data-theme="dark"] {
  --body-bg:       #0f1117;
  --card-bg:       #1a1d2e;
  --card-shadow:   0 2px 20px rgba(0,0,0,.3);
  --border-color:  #2a2d3e;
  --text-primary:  #e2e8f0;
  --text-muted:    #7b8aa1;
  --sidebar-bg:    #0a0c12;
  --sidebar-active:#111420;
}

/* ── Reset & Base ────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; }
body {
  font-family: 'Inter', sans-serif;
  background: var(--body-bg);
  color: var(--text-primary);
  font-size: 14px;
  line-height: 1.6;
  transition: background .3s;
  overflow-x: hidden;
}
a { text-decoration: none; }
img { max-width: 100%; }

/* ── Sidebar ─────────────────────────────────────────────────── */
.sidebar {
  position: fixed;
  top: 0; left: 0;
  width: var(--sidebar-width);
  height: 100vh;
  background: var(--sidebar-bg);
  display: flex;
  flex-direction: column;
  z-index: 1040;
  transition: transform .3s ease, width .3s ease;
  overflow: hidden;
}
.sidebar-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 20px 20px;
  border-bottom: 1px solid rgba(255,255,255,.06);
  min-height: var(--topbar-height);
}
.sidebar-brand-icon {
  width: 40px;
  height: auto;

  margin: 0 auto 20px;
  display: flex;
  justify-content: center;
  align-items: center;
}
.sidebar-brand-text { overflow: hidden; }
.sidebar-brand-title { font-weight: 700; color: #fff; font-size: 15px; line-height: 1.2; }
.sidebar-brand-sub   { font-size: 10px; color: var(--sidebar-text); text-transform: uppercase; letter-spacing: 1px; }

.sidebar-nav { flex: 1; overflow-y: auto; padding: 12px 0; scrollbar-width: thin; scrollbar-color: rgba(255,255,255,.1) transparent; }
.sidebar-section-title {
  font-size: 10px; font-weight: 600; text-transform: uppercase;
  letter-spacing: 1.2px; color: #555e7d; padding: 16px 20px 6px;
}
.sidebar-item { position: relative; }
.sidebar-link {
  display: flex; align-items: center; gap: 12px;
  padding: 10px 20px;
  color: var(--sidebar-text);
  transition: var(--transition);
  border-radius: 0;
  font-size: 13.5px; font-weight: 500;
  position: relative;
}
.sidebar-link:hover { background: var(--sidebar-hover); color: #fff; }
.sidebar-link.active {
  background: linear-gradient(90deg, rgba(13,110,253,.15) 0%, transparent 100%);
  color: var(--primary) !important;
  border-left: 3px solid var(--primary);
}
.sidebar-link .si-icon {
  font-size: 17px; width: 22px; flex-shrink: 0; text-align: center;
}
.sidebar-link .badge-count {
  margin-left: auto;
  background: var(--danger);
  color: #fff; font-size: 10px;
  padding: 2px 6px; border-radius: 20px;
  font-weight: 600;
}
.sidebar-footer {
  padding: 16px 20px;
  border-top: 1px solid rgba(255,255,255,.06);
}
.sidebar-user {
  display: flex; align-items: center; gap: 10px;
  padding: 8px 10px; border-radius: var(--border-radius-sm);
  cursor: pointer; transition: var(--transition);
}
.sidebar-user:hover { background: var(--sidebar-hover); }
.sidebar-user img {
  width: 36px; height: 36px; border-radius: 50%; object-fit: cover;
  border: 2px solid rgba(255,255,255,.2);
}
.sidebar-user-name { color: #fff; font-size: 13px; font-weight: 600; }
.sidebar-user-role { color: var(--sidebar-text); font-size: 11px; }

/* ── Main Content ────────────────────────────────────────────── */
.main-wrapper {
  margin-left: var(--sidebar-width);
  min-height: 100vh;
  transition: margin .3s ease;
  display: flex; flex-direction: column;
}
.main-content { flex: 1; padding: 24px; }

/* ── Topbar ──────────────────────────────────────────────────── */
.topbar {
  height: var(--topbar-height);
  background: var(--card-bg);
  border-bottom: 1px solid var(--border-color);
  display: flex; align-items: center;
  padding: 0 24px; gap: 16px;
  position: sticky; top: 0; z-index: 1030;
  box-shadow: 0 2px 10px rgba(0,0,0,.05);
  transition: background .3s;
}
.topbar-toggle {
  background: none; border: none; color: var(--text-muted);
  font-size: 20px; cursor: pointer; padding: 4px;
  border-radius: 6px; transition: var(--transition);
  display: none;
}
.topbar-toggle:hover { background: var(--primary-light); color: var(--primary); }
.topbar-search {
  flex: 1; max-width: 400px;
  position: relative;
}
.topbar-search input {
  width: 100%; padding: 8px 16px 8px 40px;
  background: var(--body-bg); border: 1px solid var(--border-color);
  border-radius: 20px; font-size: 13px; color: var(--text-primary);
  outline: none; transition: var(--transition);
}
.topbar-search input:focus { border-color: var(--primary); box-shadow: 0 0 0 3px rgba(13,110,253,.1); }
.topbar-search-icon {
  position: absolute; left: 13px; top: 50%; transform: translateY(-50%);
  color: var(--text-muted); font-size: 14px;
}
.topbar-actions { margin-left: auto; display: flex; align-items: center; gap: 8px; }
.topbar-btn {
  width: 38px; height: 38px; border-radius: 50%;
  border: none; background: var(--body-bg);
  color: var(--text-muted); cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  font-size: 16px; transition: var(--transition); position: relative;
}
.topbar-btn:hover { background: var(--primary-light); color: var(--primary); }
.topbar-btn .notif-badge {
  position: absolute; top: 4px; right: 4px;
  width: 16px; height: 16px; border-radius: 50%;
  background: var(--danger); color: #fff; font-size: 9px;
  display: flex; align-items: center; justify-content: center; font-weight: 700;
}
.topbar-divider { width: 1px; height: 30px; background: var(--border-color); }

/* Page Header */
.page-header {
  display: flex; align-items: flex-start; justify-content: space-between;
  margin-bottom: 24px; flex-wrap: wrap; gap: 12px;
}
.page-title { font-size: 22px; font-weight: 700; color: var(--text-primary); margin: 0; }
.page-subtitle { color: var(--text-muted); font-size: 13px; margin: 2px 0 0; }
.page-header-actions { display: flex; gap: 8px; flex-wrap: wrap; }

/* ── Cards ──────────────────────────────────────────────────── */
.card {
  background: var(--card-bg);
  border-radius: var(--border-radius);
  border: 1px solid var(--border-color);
  box-shadow: var(--card-shadow);
  transition: var(--transition);
  overflow: hidden;
}
.card:hover { box-shadow: 0 4px 30px rgba(0,0,0,.1); }
.card-header {
  padding: 16px 20px;
  border-bottom: 1px solid var(--border-color);
  display: flex; align-items: center; justify-content: space-between;
  background: transparent;
}
.card-title { font-size: 15px; font-weight: 600; margin: 0; }
.card-body  { padding: 20px; }
.card-footer {
  padding: 14px 20px;
  border-top: 1px solid var(--border-color);
  background: transparent;
}

/* ── Stat Cards ─────────────────────────────────────────────── */
.stat-card {
  position: relative; overflow: hidden;
  border-radius: var(--border-radius);
  padding: 22px;
  color: #fff;
  transition: transform .2s ease, box-shadow .2s ease;
}
.stat-card:hover { transform: translateY(-3px); box-shadow: 0 8px 30px rgba(0,0,0,.2) !important; }
.stat-card-1 { background: linear-gradient(135deg, #0d6efd 0%, #6610f2 100%); }
.stat-card-2 { background: linear-gradient(135deg, #198754 0%, #20c997 100%); }
.stat-card-3 { background: linear-gradient(135deg, #fd7e14 0%, #ffc107 100%); }
.stat-card-4 { background: linear-gradient(135deg, #dc3545 0%, #e91e63 100%); }
.stat-card-5 { background: linear-gradient(135deg, #0dcaf0 0%, #0d6efd 100%); }
.stat-card-6 { background: linear-gradient(135deg, #6f42c1 0%, #e83e8c 100%); }

.stat-card-icon {
  position: absolute; right: 20px; top: 50%; transform: translateY(-50%);
  font-size: 60px; opacity: .15;
}
.stat-card-value { font-size: 32px; font-weight: 800; line-height: 1; }
.stat-card-label { font-size: 13px; opacity: .85; margin-top: 6px; }
.stat-card-change { font-size: 12px; margin-top: 12px; opacity: .8; }
.stat-card-change.up   { color: #a8f5c5; }
.stat-card-change.down { color: #ffb3b3; }

/* ── Buttons ─────────────────────────────────────────────────── */
.btn { border-radius: var(--border-radius-sm); font-weight: 500; font-size: 13px; transition: var(--transition); }
.btn-primary  { background: var(--primary); border-color: var(--primary); }
.btn-primary:hover { background: var(--primary-dark); border-color: var(--primary-dark); }
.btn-sm { padding: 5px 12px; font-size: 12px; }
.btn-icon { width: 34px; height: 34px; padding: 0; display: inline-flex; align-items: center; justify-content: center; border-radius: 8px; }

/* ── Tables ──────────────────────────────────────────────────── */
.table-card .card-body { padding: 0; }
.table { margin: 0; color: var(--text-primary); }
.table th { font-size: 11px; font-weight: 600; text-transform: uppercase; letter-spacing: .8px; color: var(--text-muted); border-bottom: 1px solid var(--border-color); padding: 13px 16px; background: transparent; }
.table td { padding: 12px 16px; vertical-align: middle; border-bottom: 1px solid var(--border-color); font-size: 13.5px; }
.table tbody tr:last-child td { border-bottom: none; }
.table-hover tbody tr:hover { background: rgba(13,110,253,.04); }

/* ── Badges ──────────────────────────────────────────────────── */
.badge { font-size: 11px; font-weight: 600; padding: 4px 10px; border-radius: 20px; }

/* ── Forms ───────────────────────────────────────────────────── */
.form-label { font-weight: 500; font-size: 13px; color: var(--text-primary); margin-bottom: 6px; }
.form-control, .form-select {
  border: 1px solid var(--border-color);
  background: var(--card-bg);
  color: var(--text-primary);
  border-radius: var(--border-radius-sm);
  font-size: 13.5px; padding: 9px 14px;
  transition: var(--transition);
}
.form-control:focus, .form-select:focus {
  border-color: var(--primary); box-shadow: 0 0 0 3px rgba(13,110,253,.1);
  background: var(--card-bg); color: var(--text-primary);
}
.form-control::placeholder { color: var(--text-muted); }
.input-group-text { background: var(--body-bg); border-color: var(--border-color); color: var(--text-muted); }

/* ── Alerts / Flash ─────────────────────────────────────────── */
.alert { border: none; border-radius: var(--border-radius-sm); border-left: 4px solid; font-size: 13.5px; }
.alert-success { background: #d1fae5; border-left-color: var(--success); color: #065f46; }
.alert-danger  { background: #fee2e2; border-left-color: var(--danger);  color: #991b1b; }
.alert-warning { background: #fef3c7; border-left-color: var(--warning); color: #92400e; }
.alert-info    { background: #e0f2fe; border-left-color: var(--info);    color: #075985; }

/* ── Avatar ──────────────────────────────────────────────────── */
.avatar { width: 36px; height: 36px; border-radius: 50%; object-fit: cover; }
.avatar-sm { width: 28px; height: 28px; }
.avatar-lg { width: 56px; height: 56px; }
.avatar-initial {
  display: inline-flex; align-items: center; justify-content: center;
  border-radius: 50%; font-weight: 700; color: #fff;
  background: linear-gradient(135deg, var(--primary), #6610f2);
}

/* ── Breadcrumb ──────────────────────────────────────────────── */
.breadcrumb { font-size: 12px; margin: 0; }
.breadcrumb-item + .breadcrumb-item::before { content: '›'; color: var(--text-muted); }

/* ── Status Timeline ─────────────────────────────────────────── */
.timeline { position: relative; padding-left: 24px; }
.timeline::before { content: ''; position: absolute; left: 8px; top: 0; bottom: 0; width: 2px; background: var(--border-color); }
.timeline-item { position: relative; padding-bottom: 20px; }
.timeline-dot {
  position: absolute; left: -20px; top: 4px;
  width: 12px; height: 12px; border-radius: 50%;
  background: var(--primary); border: 2px solid var(--card-bg);
  box-shadow: 0 0 0 2px var(--primary);
}

/* ── Custom Scrollbar ─────────────────────────────────────────── */
::-webkit-scrollbar { width: 6px; height: 6px; }
::-webkit-scrollbar-track { background: transparent; }
::-webkit-scrollbar-thumb { background: #c1c9d6; border-radius: 3px; }
::-webkit-scrollbar-thumb:hover { background: #9aa5b4; }

/* ── Loading / Skeleton ──────────────────────────────────────── */
@keyframes shimmer { from { background-position: -468px 0; } to { background-position: 468px 0; } }
.skeleton {
  background: linear-gradient(90deg, #f0f0f0 25%, #e8e8e8 50%, #f0f0f0 75%);
  background-size: 936px 100%;
  animation: shimmer 1.5s infinite linear;
  border-radius: 4px;
}

/* ── Animations ──────────────────────────────────────────────── */
@keyframes fadeInUp { from { opacity: 0; transform: translateY(20px); } to { opacity: 1; transform: translateY(0); } }
@keyframes fadeIn   { from { opacity: 0; } to { opacity: 1; } }
@keyframes pulse    { 0%,100% { transform: scale(1); } 50% { transform: scale(1.05); } }
.fade-in-up { animation: fadeInUp .4s ease both; }
.fade-in    { animation: fadeIn .3s ease both; }

/* Stagger children */
.stagger > *:nth-child(1) { animation-delay: .05s; }
.stagger > *:nth-child(2) { animation-delay: .1s; }
.stagger > *:nth-child(3) { animation-delay: .15s; }
.stagger > *:nth-child(4) { animation-delay: .2s; }
.stagger > *:nth-child(5) { animation-delay: .25s; }
.stagger > *:nth-child(6) { animation-delay: .3s; }

/* ── Login Page ──────────────────────────────────────────────── */
.auth-wrapper {
  min-height: 100vh;
  display: flex; align-items: center; justify-content: center;
  background: linear-gradient(135deg, #0a0f2e 0%, #0d1b4d 40%, #0d2e6e 100%);
  position: relative; overflow: hidden;
}
.auth-wrapper::before {
  content: '';
  position: absolute; width: 600px; height: 600px;
  background: radial-gradient(circle, rgba(13,110,253,.2) 0%, transparent 70%);
  top: -200px; right: -100px; border-radius: 50%;
}
.auth-wrapper::after {
  content: '';
  position: absolute; width: 400px; height: 400px;
  background: radial-gradient(circle, rgba(102,16,242,.15) 0%, transparent 70%);
  bottom: -100px; left: -50px; border-radius: 50%;
}
.auth-card {
  background: rgba(255,255,255,.95);
  backdrop-filter: blur(20px);
  border-radius: 20px;
  padding: 48px 40px;
  width: 100%; max-width: 420px;
  box-shadow: 0 20px 60px rgba(0,0,0,.3);
  position: relative; z-index: 1;
  animation: fadeInUp .5s ease;
}
.auth-logo {
  width: 100px;
  height: auto;

  margin: 0 auto 20px;
  display: flex;
  justify-content: center;
  align-items: center;
}

.auth-logo img {
  width: 100%;
  height: auto;

  display: block;
}
.auth-title { font-size: 24px; font-weight: 800; text-align: center; color: var(--text-primary); }
.auth-subtitle { font-size: 13px; color: var(--text-muted); text-align: center; margin-bottom: 28px; }

/* ── Notification Toast ──────────────────────────────────────── */
.toast-container { position: fixed; top: 80px; right: 20px; z-index: 9999; }
.toast-item {
  min-width: 300px; padding: 14px 18px;
  border-radius: var(--border-radius-sm);
  background: var(--card-bg); border: 1px solid var(--border-color);
  box-shadow: 0 4px 20px rgba(0,0,0,.12);
  display: flex; align-items: flex-start; gap: 12px;
  animation: fadeInUp .3s ease;
}

/* ── Charts ──────────────────────────────────────────────────── */
.chart-container { position: relative; height: 260px; }

/* ── Responsive ──────────────────────────────────────────────── */
@media (max-width: 991.98px) {
  .sidebar { transform: translateX(-100%); }
  .sidebar.open { transform: translateX(0); }
  .main-wrapper { margin-left: 0; }
  .topbar-toggle { display: flex; }
  .sidebar-overlay {
    position: fixed; inset: 0; background: rgba(0,0,0,.5);
    z-index: 1039; display: none;
  }
  .sidebar-overlay.show { display: block; }
}
@media (max-width: 575.98px) {
  .main-content { padding: 16px; }
  .topbar { padding: 0 16px; }
  .auth-card { padding: 32px 24px; }
  .page-header { flex-direction: column; }
  .stat-card-value { font-size: 26px; }
}

/* ── Print ───────────────────────────────────────────────────── */
@media print {
  .sidebar, .topbar, .no-print { display: none !important; }
  .main-wrapper { margin: 0; }
  .main-content { padding: 0; }
  .card { box-shadow: none; border: 1px solid #dee2e6; }
  body { background: #fff; color: #000; }
}

/* ── DataTables ──────────────────────────────────────────────── */
.dataTables_wrapper .dataTables_filter input,
.dataTables_wrapper .dataTables_length select {
  border: 1px solid var(--border-color);
  border-radius: var(--border-radius-sm);
  background: var(--card-bg);
  color: var(--text-primary); padding: 6px 12px;
}
.dataTables_wrapper .dataTables_paginate .paginate_button.current {
  background: var(--primary) !important;
  color: #fff !important; border-radius: 6px;
  border: none !important;
}

/* ── QR Code ─────────────────────────────────────────────────── */
.qr-wrapper {
  display: flex; flex-direction: column; align-items: center;
  padding: 30px; background: #fff; border-radius: var(--border-radius);
  border: 2px solid var(--border-color);
}

/* ── Progress ────────────────────────────────────────────────── */
.progress { border-radius: 20px; height: 8px; background: var(--body-bg); }
.progress-bar { border-radius: 20px; }

/* ── Dropzone ────────────────────────────────────────────────── */
.dropzone {
  border: 2px dashed var(--border-color);
  border-radius: var(--border-radius);
  padding: 40px; text-align: center;
  cursor: pointer; transition: var(--transition);
  color: var(--text-muted);
}
.dropzone:hover, .dropzone.active {
  border-color: var(--primary);
  background: var(--primary-light);
  color: var(--primary);
}

/* ── Calendar ────────────────────────────────────────────────── */
.fc { font-family: 'Inter', sans-serif; }
.fc-toolbar-title { font-size: 16px !important; font-weight: 700 !important; }
.fc-button-primary { background: var(--primary) !important; border-color: var(--primary) !important; border-radius: 6px !important; }
.fc-event { border-radius: 4px; border: none; padding: 2px 6px; font-size: 12px; }

/* == Extra Utilities == */
.btn-xs { padding: 2px 10px; font-size: 11px; border-radius: 6px; }
.fw-500 { font-weight: 500 !important; }
.fw-600 { font-weight: 600 !important; }
.fw-700 { font-weight: 700 !important; }
.fw-800 { font-weight: 800 !important; }
.hover-lift { transition: transform .2s ease, box-shadow .2s ease !important; }
.hover-lift:hover { transform: translateY(-4px) !important; box-shadow: 0 10px 32px rgba(0,0,0,.12) !important; }

/* == Dark Mode Forms == */
[data-theme="dark"] .form-control,
[data-theme="dark"] .form-select,
[data-theme="dark"] .input-group-text {
  background: #1e2130;
  border-color: var(--border-color);
  color: var(--text-primary);
}
[data-theme="dark"] .form-control:focus,
[data-theme="dark"] .form-select:focus { background: #252840; color: var(--text-primary); }
[data-theme="dark"] .form-control::placeholder { color: #555e7d; }

/* == Dark Mode Alerts == */
[data-theme="dark"] .alert-success { background: #0a2e1e; color: #6ee7b7; border-left-color: #198754; }
[data-theme="dark"] .alert-danger  { background: #2e0a0e; color: #fca5a5; border-left-color: #dc3545; }
[data-theme="dark"] .alert-warning { background: #2e230a; color: #fde68a; border-left-color: #ffc107; }
[data-theme="dark"] .alert-info    { background: #0a1e2e; color: #7dd3fc; border-left-color: #0dcaf0; }

/* == Dark Mode Tables == */
[data-theme="dark"] .table-danger { background: rgba(220,53,69,.15); }
[data-theme="dark"] .table-hover tbody tr:hover { background: rgba(255,255,255,.04); }

/* == Dark Mode Modals == */
[data-theme="dark"] .modal-content { background: var(--card-bg); border-color: var(--border-color); }
[data-theme="dark"] .modal-header  { border-color: var(--border-color); }
[data-theme="dark"] .modal-footer  { border-color: var(--border-color); }

/* == Dark Mode Dropdowns == */
[data-theme="dark"] .btn-light { background: #2a2d3e; border-color: #2a2d3e; color: var(--text-primary); }
[data-theme="dark"] .dropdown-menu { background: #1a1d2e; border-color: var(--border-color); box-shadow: 0 8px 30px rgba(0,0,0,.4); }
[data-theme="dark"] .dropdown-item { color: var(--text-primary); }
[data-theme="dark"] .dropdown-item:hover { background: rgba(255,255,255,.07); }
[data-theme="dark"] .dropdown-divider { border-color: var(--border-color); }
[data-theme="dark"] .text-bg-light { background: #2a2d3e !important; color: var(--text-primary) !important; }

/* == Dark Mode DataTables == */
[data-theme="dark"] .dataTables_wrapper .dataTables_filter input,
[data-theme="dark"] .dataTables_wrapper .dataTables_length select {
  background: #1e2130; border-color: var(--border-color); color: var(--text-primary);
}
[data-theme="dark"] .dataTables_wrapper .dataTables_info,
[data-theme="dark"] .dataTables_wrapper .dataTables_paginate { color: var(--text-muted); }

/* == Global Search Dropdown == */
#search-dropdown {
  position: absolute; top: calc(100% + 6px); left: 0; right: 0;
  background: var(--card-bg); border: 1px solid var(--border-color);
  border-radius: 8px; box-shadow: 0 8px 24px rgba(0,0,0,.12);
  z-index: 9999; max-height: 320px; overflow-y: auto; display: none;
}
#search-dropdown.show { display: block; animation: fadeInUp .2s ease; }
.search-result-item {
  padding: 10px 16px; cursor: pointer; font-size: 13px;
  transition: background .15s; display: flex; align-items: center; gap: 10px;
  border-bottom: 1px solid var(--border-color);
}
.search-result-item:last-child { border-bottom: none; }
.search-result-item:hover { background: rgba(13,110,253,.07); }
.topbar-search { position: relative; }

/* == Loading Bar == */
#loading-bar {
  position: fixed; top: 0; left: 0; height: 3px; width: 0;
  background: linear-gradient(90deg, var(--primary), #6610f2);
  z-index: 9999; transition: width .3s ease; border-radius: 0 2px 2px 0;
  pointer-events: none;
}

/* == Enhanced Print Styles == */
@media print {
  .sidebar, .topbar, .no-print, .card-footer,
  .dataTables_wrapper .dataTables_filter,
  .dataTables_wrapper .dataTables_length,
  .dataTables_wrapper .dataTables_paginate,
  .dataTables_wrapper .dataTables_info { display: none !important; }
  .main-wrapper { margin: 0; }
  .main-content { padding: 0; }
  .card { box-shadow: none !important; border: 1px solid #dee2e6 !important; page-break-inside: avoid; }
  .card-header { background: #f8f9fa !important; }
  body { background: #fff !important; color: #000 !important; font-size: 12px; }
  .table th, .table td { font-size: 11px; padding: 6px 10px; }
  h1.page-title { font-size: 18px; }
}
