/* ══════════════════════════════════════════════════════
   KOAF SmartSchool Pro — Premium UI v2
   ══════════════════════════════════════════════════════ */

:root {
  --primary:        #2563eb;
  --primary-dark:   #1d4ed8;
  --primary-light:  #eff6ff;
  --secondary:      #64748b;
  --success:        #16a34a;
  --danger:         #dc2626;
  --warning:        #d97706;
  --info:           #0891b2;
  --light:          #f8fafc;
  --dark:           #0f172a;
  --sidebar-w:      260px;
  --topbar-h:       62px;
  --radius:         12px;
  --shadow:         0 1px 6px rgba(0,0,0,.08);
  --shadow-md:      0 4px 20px rgba(0,0,0,.12);
  --transition:     .2s ease;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

body {
  font-family: 'Segoe UI', system-ui, -apple-system, sans-serif;
  background: #f1f5f9;
  color: #334155;
  font-size: 14px;
  overflow-x: hidden;
}

/* ══ SIDEBAR ══════════════════════════════════════════ */
.sidebar {
  position: fixed;
  top: 0; left: 0;
  width: var(--sidebar-w);
  height: 100vh;
  background: linear-gradient(180deg, #0f172a 0%, #1e293b 100%);
  display: flex;
  flex-direction: column;
  z-index: 1040;
  transition: transform var(--transition);
  overflow-y: auto;
  overflow-x: hidden;
}

.sidebar::-webkit-scrollbar { width: 4px; }
.sidebar::-webkit-scrollbar-thumb { background: rgba(255,255,255,.1); border-radius: 2px; }

.sidebar-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 20px 20px 16px;
  border-bottom: 1px solid rgba(255,255,255,.06);
  text-decoration: none;
  flex-shrink: 0;
}

.sidebar-logo {
  width: 38px; height: 38px;
  background: linear-gradient(135deg, #2563eb, #0891b2);
  border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.sidebar-logo i { color: #fff; font-size: 18px; }

.sidebar-title { color: #fff; font-size: 14px; font-weight: 700; line-height: 1.2; }
.sidebar-title small { display: block; font-size: 10px; font-weight: 400; color: #94a3b8; margin-top: 1px; }

.sidebar-nav { flex: 1; padding: 12px 0; }

.sidebar-section-label {
  padding: 12px 20px 4px;
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: #475569;
}

.sidebar-item {
  display: block;
  padding: 9px 20px;
  color: #94a3b8;
  text-decoration: none;
  font-size: 13px;
  display: flex;
  align-items: center;
  gap: 10px;
  border-radius: 0;
  transition: all var(--transition);
  cursor: pointer;
  border: none;
  background: none;
  width: 100%;
  position: relative;
}

.sidebar-item i.nav-icon {
  width: 18px;
  text-align: center;
  font-size: 14px;
  flex-shrink: 0;
}

.sidebar-item:hover {
  color: #fff;
  background: rgba(255,255,255,.06);
}

.sidebar-item.active {
  color: #fff;
  background: rgba(37,99,235,.25);
  border-right: 3px solid #2563eb;
}

.sidebar-item .badge-count {
  margin-left: auto;
  background: #dc2626;
  color: #fff;
  font-size: 10px;
  padding: 2px 6px;
  border-radius: 20px;
  font-weight: 700;
}

/* Submenu */
.sidebar-submenu { display: none; }
.sidebar-submenu.open { display: block; }
.sidebar-submenu .sidebar-item {
  padding-left: 48px;
  font-size: 12.5px;
  color: #7f8ea3;
}
.sidebar-submenu .sidebar-item:hover { color: #fff; }
.sidebar-submenu .sidebar-item.active { color: #93c5fd; background: rgba(37,99,235,.15); border-right-color: #93c5fd; }

.sidebar-toggle-icon { margin-left: auto; font-size: 11px; transition: transform var(--transition); }
.sidebar-parent.open .sidebar-toggle-icon { transform: rotate(180deg); }

.sidebar-footer {
  padding: 16px 20px;
  border-top: 1px solid rgba(255,255,255,.06);
  flex-shrink: 0;
}
.sidebar-user {
  display: flex;
  align-items: center;
  gap: 10px;
}
.sidebar-user-avatar {
  width: 34px; height: 34px;
  border-radius: 50%;
  background: linear-gradient(135deg, #2563eb, #0891b2);
  display: flex; align-items: center; justify-content: center;
  color: #fff; font-size: 13px; font-weight: 700;
  flex-shrink: 0;
  overflow: hidden;
}
.sidebar-user-avatar img { width: 100%; height: 100%; object-fit: cover; }
.sidebar-user-info { flex: 1; overflow: hidden; }
.sidebar-user-name { color: #fff; font-size: 13px; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.sidebar-user-role { color: #64748b; font-size: 11px; text-transform: capitalize; }

/* ══ TOPBAR ═══════════════════════════════════════════ */
.topbar {
  position: fixed;
  top: 0;
  left: var(--sidebar-w);
  right: 0;
  height: var(--topbar-h);
  background: #fff;
  border-bottom: 1px solid #e2e8f0;
  display: flex;
  align-items: center;
  padding: 0 24px;
  gap: 12px;
  z-index: 1030;
  transition: left var(--transition);
  box-shadow: 0 1px 0 #e2e8f0;
}

.topbar-toggle {
  display: none;
  background: none;
  border: none;
  color: #475569;
  font-size: 18px;
  cursor: pointer;
  padding: 4px 8px;
  border-radius: 8px;
}
.topbar-toggle:hover { background: #f1f5f9; }

.topbar-school-name {
  font-weight: 700;
  color: #1e293b;
  font-size: 15px;
  white-space: nowrap;
}

.topbar-date {
  color: #64748b;
  font-size: 12px;
  white-space: nowrap;
}

.topbar-spacer { flex: 1; }

.topbar-actions { display: flex; align-items: center; gap: 8px; }

.topbar-icon-btn {
  position: relative;
  width: 36px; height: 36px;
  border-radius: 10px;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  color: #475569;
  display: flex; align-items: center; justify-content: center;
  text-decoration: none;
  cursor: pointer;
  transition: all var(--transition);
  font-size: 14px;
}
.topbar-icon-btn:hover { background: #eff6ff; border-color: #bfdbfe; color: var(--primary); }
.topbar-icon-btn .badge-dot {
  position: absolute;
  top: 4px; right: 4px;
  width: 8px; height: 8px;
  background: #dc2626;
  border-radius: 50%;
  border: 2px solid #fff;
}
.topbar-icon-btn .badge-num {
  position: absolute;
  top: -4px; right: -4px;
  background: #dc2626;
  color: #fff;
  font-size: 9px;
  font-weight: 700;
  min-width: 16px;
  height: 16px;
  border-radius: 8px;
  display: flex; align-items: center; justify-content: center;
  padding: 0 3px;
}

.topbar-user-btn {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 4px 10px 4px 4px;
  border-radius: 10px;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  color: #1e293b;
  cursor: pointer;
  text-decoration: none;
  transition: all var(--transition);
}
.topbar-user-btn:hover { background: #eff6ff; border-color: #bfdbfe; }

.topbar-avatar {
  width: 28px; height: 28px;
  border-radius: 8px;
  background: linear-gradient(135deg, #2563eb, #0891b2);
  display: flex; align-items: center; justify-content: center;
  color: #fff; font-size: 11px; font-weight: 700;
  overflow: hidden; flex-shrink: 0;
}
.topbar-avatar img { width: 100%; height: 100%; object-fit: cover; }
.topbar-user-name { font-size: 13px; font-weight: 600; }
.topbar-user-role { font-size: 11px; color: #64748b; }

/* ══ MAIN CONTENT ═════════════════════════════════════ */
.main-wrapper {
  margin-left: var(--sidebar-w);
  margin-top: var(--topbar-h);
  min-height: calc(100vh - var(--topbar-h));
  transition: margin-left var(--transition);
}

.main-content {
  padding: 24px;
}

/* Sidebar overlay for mobile */
.sidebar-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,.4);
  z-index: 1035;
}
.sidebar-overlay.active { display: block; }

/* ══ PAGE HEADER ═══════════════════════════════════════ */
.page-header { margin-bottom: 24px; }
.page-header h4 { font-weight: 700; margin: 0; color: #1e293b; font-size: 20px; }
.page-header .breadcrumb { font-size: 12px; margin-top: 4px; }
.breadcrumb-item a { color: var(--primary); text-decoration: none; }

/* ══ STAT CARDS ════════════════════════════════════════ */
.stat-card {
  border-radius: var(--radius);
  color: #fff;
  padding: 22px;
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow-md);
  transition: transform var(--transition);
}
.stat-card:hover { transform: translateY(-2px); }
.stat-card .stat-icon { font-size: 3rem; opacity: .15; position: absolute; right: 16px; bottom: 12px; }
.stat-card h3 { font-size: 2.1rem; font-weight: 800; margin: 8px 0 2px; }
.stat-card p { margin: 0; font-size: 12px; opacity: .88; font-weight: 500; text-transform: uppercase; letter-spacing: .5px; }
.stat-card .stat-change { font-size: 11px; opacity: .85; margin-top: 6px; }
.stat-card .stat-change i { margin-right: 3px; }

.stat-card.blue   { background: linear-gradient(135deg, #1d4ed8 0%, #2563eb 60%, #60a5fa 100%); }
.stat-card.green  { background: linear-gradient(135deg, #15803d 0%, #16a34a 60%, #4ade80 100%); }
.stat-card.orange { background: linear-gradient(135deg, #b45309 0%, #d97706 60%, #fbbf24 100%); }
.stat-card.purple { background: linear-gradient(135deg, #6d28d9 0%, #7c3aed 60%, #a78bfa 100%); }
.stat-card.red    { background: linear-gradient(135deg, #b91c1c 0%, #dc2626 60%, #f87171 100%); }
.stat-card.teal   { background: linear-gradient(135deg, #0e7490 0%, #0891b2 60%, #22d3ee 100%); }
.stat-card.pink   { background: linear-gradient(135deg, #be185d 0%, #db2777 60%, #f472b6 100%); }
.stat-card.indigo { background: linear-gradient(135deg, #3730a3 0%, #4338ca 60%, #818cf8 100%); }

/* ══ CARDS ═════════════════════════════════════════════ */
.card { border: none; border-radius: var(--radius); box-shadow: var(--shadow); background: #fff; }
.card-header {
  background: transparent;
  border-bottom: 1px solid #f1f5f9;
  font-weight: 600;
  padding: 14px 18px;
  color: #1e293b;
  display: flex;
  align-items: center;
}
.card-body { padding: 18px; }
.card-footer { background: transparent; border-top: 1px solid #f1f5f9; padding: 12px 18px; }

/* ══ CHARTS ════════════════════════════════════════════ */
.chart-container { position: relative; }
.chart-container canvas { max-height: 250px; }
.chart-empty {
  min-height: 180px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: #94a3b8;
  gap: 8px;
}
.chart-empty i { font-size: 2rem; opacity: .4; }
.chart-empty p { font-size: 13px; margin: 0; }

/* ══ QUICK ACTIONS ═════════════════════════════════════ */
.quick-actions { display: flex; flex-wrap: wrap; gap: 10px; }
.quick-action-btn {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 14px 10px;
  border-radius: var(--radius);
  border: 1.5px solid #e2e8f0;
  background: #fff;
  color: #334155;
  text-decoration: none;
  font-size: 11px;
  font-weight: 600;
  text-align: center;
  min-width: 80px;
  flex: 1;
  transition: all var(--transition);
  cursor: pointer;
}
.quick-action-btn i {
  width: 36px; height: 36px;
  border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  font-size: 16px;
  color: #fff;
}
.quick-action-btn:hover { border-color: var(--primary); color: var(--primary); transform: translateY(-2px); box-shadow: var(--shadow-md); }
.qa-blue   i { background: linear-gradient(135deg, #2563eb, #60a5fa); }
.qa-green  i { background: linear-gradient(135deg, #16a34a, #4ade80); }
.qa-orange i { background: linear-gradient(135deg, #d97706, #fbbf24); }
.qa-purple i { background: linear-gradient(135deg, #7c3aed, #a78bfa); }
.qa-red    i { background: linear-gradient(135deg, #dc2626, #f87171); }
.qa-teal   i { background: linear-gradient(135deg, #0891b2, #22d3ee); }
.qa-pink   i { background: linear-gradient(135deg, #db2777, #f472b6); }

/* ══ ACTIVITY TIMELINE ═════════════════════════════════ */
.activity-timeline { padding: 4px 0; }
.activity-item {
  display: flex;
  gap: 12px;
  padding: 10px 18px;
  border-bottom: 1px solid #f8fafc;
  transition: background var(--transition);
}
.activity-item:hover { background: #f8fafc; }
.activity-item:last-child { border-bottom: none; }
.activity-dot {
  width: 32px; height: 32px;
  border-radius: 50%;
  background: #eff6ff;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
  margin-top: 2px;
}
.activity-dot i { font-size: 12px; color: var(--primary); }
.activity-body { flex: 1; }
.activity-text { font-size: 13px; color: #334155; line-height: 1.4; }
.activity-time { font-size: 11px; color: #94a3b8; margin-top: 2px; }
.activity-user { font-weight: 600; color: #1e293b; }

/* ══ TABLES ════════════════════════════════════════════ */
.table { font-size: 13px; margin: 0; }
.table thead th {
  background: #f8fafc;
  font-weight: 600;
  border-bottom: 2px solid #e2e8f0;
  white-space: nowrap;
  color: #475569;
  font-size: 12px;
  padding: 10px 14px;
}
.table td { vertical-align: middle; padding: 10px 14px; border-color: #f1f5f9; }
.table-hover tbody tr:hover { background: #fafbff; }

/* ══ BADGES ════════════════════════════════════════════ */
.badge { font-size: 11px; padding: 4px 9px; border-radius: 6px; font-weight: 600; }

/* ══ BUTTONS ═══════════════════════════════════════════ */
.btn { font-size: 13px; border-radius: 8px; font-weight: 500; }
.btn-sm { font-size: 12px; padding: 4px 12px; }
.btn-xs { font-size: 11px; padding: 2px 8px; border-radius: 6px; }
.btn-primary { background: var(--primary); border-color: var(--primary); }
.btn-primary:hover { background: var(--primary-dark); border-color: var(--primary-dark); }

/* ══ FORMS ══════════════════════════════════════════════ */
.form-control, .form-select {
  font-size: 13px;
  border-radius: 8px;
  border-color: #e2e8f0;
  padding: 8px 12px;
  transition: border-color var(--transition), box-shadow var(--transition);
}
.form-control:focus, .form-select:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(37,99,235,.12);
}
.form-label { font-weight: 600; font-size: 12.5px; color: #475569; margin-bottom: 5px; }
.input-group-text { background: #f8fafc; border-color: #e2e8f0; font-size: 13px; }

/* ══ LOGIN PAGE ════════════════════════════════════════ */
.login-page {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #0f172a 0%, #1e3a8a 50%, #0891b2 100%);
  position: relative;
  overflow: hidden;
}
.login-page::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.03'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}
.login-card {
  width: 100%;
  max-width: 440px;
  border-radius: 20px;
  box-shadow: 0 25px 60px rgba(0,0,0,.4);
  position: relative;
  z-index: 1;
}
.login-card .card-header { text-align: center; padding: 32px 32px 0; border: none; background: transparent; }
.login-logo {
  width: 72px; height: 72px;
  background: linear-gradient(135deg, #2563eb, #0891b2);
  border-radius: 18px;
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 16px;
  box-shadow: 0 8px 24px rgba(37,99,235,.4);
}
.login-logo i { font-size: 2.2rem; color: #fff; }

/* ══ ALERTS ════════════════════════════════════════════ */
.alert { border-radius: 10px; font-size: 13px; border: none; }
.alert-success { background: #f0fdf4; color: #166534; }
.alert-danger  { background: #fef2f2; color: #991b1b; }
.alert-info    { background: #f0f9ff; color: #075985; }
.alert-warning { background: #fffbeb; color: #92400e; }

/* ══ TIMETABLE ══════════════════════════════════════════ */
.timetable-grid { overflow-x: auto; }
.timetable-grid table { min-width: 700px; }
.timetable-cell { min-height: 60px; vertical-align: top; padding: 4px !important; }
.timetable-item { background: #dbeafe; border-left: 3px solid #2563eb; border-radius: 6px; padding: 5px 8px; font-size: 12px; margin-bottom: 3px; }

/* ══ ATTENDANCE ═════════════════════════════════════════ */
.att-present { color: #16a34a; font-weight: 600; }
.att-absent  { color: #dc2626; font-weight: 600; }
.att-late    { color: #d97706; font-weight: 600; }
.att-excused { color: #0891b2; font-weight: 600; }

/* ══ GRADES ═════════════════════════════════════════════ */
.grade-A { color: #16a34a; font-weight: 700; }
.grade-B { color: #2563eb; font-weight: 700; }
.grade-C { color: #d97706; font-weight: 700; }
.grade-D { color: #ea580c; font-weight: 700; }
.grade-F { color: #dc2626; font-weight: 700; }

/* ══ AVATAR ═════════════════════════════════════════════ */
.avatar { width: 36px; height: 36px; border-radius: 50%; object-fit: cover; }
.avatar-placeholder {
  width: 36px; height: 36px; border-radius: 50%;
  background: #e2e8f0;
  display: inline-flex; align-items: center; justify-content: center;
  color: #94a3b8; font-size: 14px;
}

/* ══ MESSAGES ═══════════════════════════════════════════ */
.message-unread { background: #f0f9ff; font-weight: 600; }
.message-item { border-bottom: 1px solid #f1f5f9; padding: 12px 18px; cursor: pointer; transition: background var(--transition); }
.message-item:hover { background: #f8fafc; }

/* ══ NOTICE CARDS ═══════════════════════════════════════ */
.notice-card { border-left: 4px solid var(--primary); }
.notice-card.target-all      { border-color: #2563eb; }
.notice-card.target-teachers  { border-color: #7c3aed; }
.notice-card.target-parents   { border-color: #d97706; }
.notice-card.target-students  { border-color: #16a34a; }

/* ══ OUTSTANDING FEES ═══════════════════════════════════ */
.outstanding-row td:last-child { color: #dc2626; font-weight: 600; }
.progress { border-radius: 20px; overflow: hidden; }
.progress-bar { border-radius: 20px; }

/* ══ WARNING CARD ═══════════════════════════════════════ */
.warning-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 18px;
  border-bottom: 1px solid #fef3c7;
}
.warning-item:last-child { border-bottom: none; }
.warning-badge {
  width: 36px; height: 36px;
  border-radius: 10px;
  background: #fef3c7;
  display: flex; align-items: center; justify-content: center;
  color: #d97706;
  font-size: 14px;
  flex-shrink: 0;
}

/* ══ TOP STUDENTS ════════════════════════════════════════ */
.top-student-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 18px;
  border-bottom: 1px solid #f1f5f9;
}
.top-student-item:last-child { border-bottom: none; }
.rank-badge {
  width: 28px; height: 28px;
  border-radius: 8px;
  display: flex; align-items: center; justify-content: center;
  font-size: 12px; font-weight: 800;
  flex-shrink: 0;
}
.rank-1 { background: linear-gradient(135deg, #fbbf24, #f59e0b); color: #fff; }
.rank-2 { background: linear-gradient(135deg, #9ca3af, #6b7280); color: #fff; }
.rank-3 { background: linear-gradient(135deg, #f97316, #ea580c); color: #fff; }
.rank-other { background: #f1f5f9; color: #475569; }

/* ══ COMPLAINT STATUS ════════════════════════════════════ */
.status-open        { color: #dc2626; }
.status-in_progress { color: #d97706; }
.status-resolved    { color: #16a34a; }

/* ══ USER MANAGEMENT ════════════════════════════════════ */
.user-row td { vertical-align: middle; }
.user-avatar-cell {
  width: 36px; height: 36px;
  border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  font-size: 13px; font-weight: 700; color: #fff;
  flex-shrink: 0;
}

/* ══ API SETTINGS TABS ══════════════════════════════════ */
.integration-tab-icon {
  width: 42px; height: 42px;
  border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  font-size: 18px;
  margin-bottom: 6px;
  flex-shrink: 0;
}
.nav-pills .nav-link {
  border-radius: 10px;
  color: #475569;
  font-size: 13px;
  padding: 10px 14px;
  display: flex;
  align-items: center;
  gap: 10px;
}
.nav-pills .nav-link.active { background: var(--primary); color: #fff; }
.nav-pills .nav-link:hover:not(.active) { background: #f1f5f9; }

/* ══ SCROLLBAR ═══════════════════════════════════════════ */
::-webkit-scrollbar { width: 6px; height: 6px; }
::-webkit-scrollbar-track { background: #f1f5f9; }
::-webkit-scrollbar-thumb { background: #cbd5e1; border-radius: 3px; }
::-webkit-scrollbar-thumb:hover { background: #94a3b8; }

/* ══ UTILITY ═════════════════════════════════════════════ */
.text-truncate-2 { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.cursor-pointer  { cursor: pointer; }
.rounded-lg      { border-radius: var(--radius) !important; }
.fw-800          { font-weight: 800; }
.bg-primary-soft { background: #eff6ff; color: var(--primary); }
.bg-success-soft { background: #f0fdf4; color: var(--success); }
.bg-danger-soft  { background: #fef2f2; color: var(--danger); }
.bg-warning-soft { background: #fffbeb; color: var(--warning); }

/* ══ RESPONSIVE ══════════════════════════════════════════ */
@media (max-width: 991px) {
  .sidebar { transform: translateX(-100%); }
  .sidebar.open { transform: translateX(0); }

  .topbar { left: 0; }
  .topbar-toggle { display: flex; }
  .topbar-school-name { font-size: 13px; }
  .topbar-date { display: none; }

  .main-wrapper { margin-left: 0; }

  .quick-action-btn { min-width: 70px; }
}

@media (max-width: 576px) {
  .main-content { padding: 14px; }
  .stat-card h3 { font-size: 1.6rem; }
  .stat-card { padding: 16px; }
  .quick-actions { gap: 8px; }
  .quick-action-btn { font-size: 10px; padding: 10px 6px; min-width: 60px; }
  .quick-action-btn i { width: 30px; height: 30px; font-size: 14px; }
  .card-body { padding: 14px; }
  .topbar { padding: 0 14px; gap: 8px; }
}

@media print {
  .sidebar, .topbar, .no-print { display: none !important; }
  .main-wrapper { margin: 0; }
}
