/* =============================================================================
   EduSales CRM — Custom Stylesheet
   Clean, modern, premium Education Sales / Enrolment Management System UI
   ============================================================================= */

:root {
  --color-primary: #19A9F4;
  --color-primary-dark: #0F8FD6;
  --color-primary-light: #E6F6FE;
  --color-dark: #1F2937;
  --color-secondary-text: #6B7280;
  --color-border: #E5E7EB;
  --color-bg: #F5F7FA;
  --color-card: #FFFFFF;
  --color-success: #16A34A;
  --color-success-light: #E9F9EF;
  --color-warning: #F59E0B;
  --color-warning-light: #FEF6E7;
  --color-danger: #EF4444;
  --color-danger-light: #FDEDED;
  --color-info: #0EA5E9;
  --color-info-light: #E6F6FE;

  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 16px;
  --shadow-sm: 0 1px 2px rgba(16, 24, 40, 0.05);
  --shadow-md: 0 4px 14px rgba(16, 24, 40, 0.08);
  --shadow-lg: 0 10px 30px rgba(16, 24, 40, 0.12);

  --sidebar-width: 264px;
  --sidebar-collapsed-width: 84px;
  --navbar-height: 68px;
  --transition-speed: 0.25s;
}

* { box-sizing: border-box; }

html, body {
  height: 100%;
}

body {
  background-color: var(--color-bg);
  color: var(--color-dark);
  font-family: "Segoe UI", "Inter", system-ui, -apple-system, "Helvetica Neue", Arial, sans-serif;
  font-size: 14.5px;
  -webkit-font-smoothing: antialiased;
}

a { text-decoration: none; }
.text-secondary-custom { color: var(--color-secondary-text) !important; }
.small-label { font-size: 12px; text-transform: uppercase; letter-spacing: .04em; color: var(--color-secondary-text); }

/* =============================================================================
   LAYOUT
   ============================================================================= */
.app-wrapper {
  display: flex;
  min-height: 100vh;
}

.main-content {
  flex: 1;
  margin-left: var(--sidebar-width);
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  transition: margin-left var(--transition-speed) ease;
  width: calc(100% - var(--sidebar-width));
}

body.sidebar-collapsed .main-content {
  margin-left: var(--sidebar-collapsed-width);
  width: calc(100% - var(--sidebar-collapsed-width));
}

.page-content {
  padding: 24px;
  flex: 1;
}

@media (max-width: 991.98px) {
  .main-content, body.sidebar-collapsed .main-content {
    margin-left: 0;
    width: 100%;
  }
  .page-content { padding: 16px; }
}

/* =============================================================================
   SIDEBAR
   ============================================================================= */
.sidebar {
  position: fixed;
  top: 0;
  left: 0;
  bottom: 0;
  width: var(--sidebar-width);
  background: #ffffff;
  border-right: 1px solid var(--color-border);
  z-index: 1030;
  display: flex;
  flex-direction: column;
  transition: width var(--transition-speed) ease;
  overflow: hidden;
}

body.sidebar-collapsed .sidebar { width: var(--sidebar-collapsed-width); }

.sidebar-brand {
  height: var(--navbar-height);
  display: flex;
  align-items: center;
  padding: 0 20px;
  border-bottom: 1px solid var(--color-border);
  flex-shrink: 0;
  gap: 10px;
}

.sidebar-brand img.brand-mark { width: 36px; height: 36px; border-radius: 10px; flex-shrink: 0; }
.sidebar-brand .brand-text { display: flex; flex-direction: column; overflow: hidden; white-space: nowrap; }
.sidebar-brand .brand-text strong { font-size: 16px; color: var(--color-dark); line-height: 1.2; }
.sidebar-brand .brand-text span { font-size: 11px; color: var(--color-secondary-text); }

body.sidebar-collapsed .sidebar-brand .brand-text { display: none; }

.sidebar-menu {
  flex: 1;
  overflow-y: auto;
  padding: 12px 12px 24px;
}

.sidebar-menu::-webkit-scrollbar { width: 5px; }
.sidebar-menu::-webkit-scrollbar-thumb { background: #d7dce2; border-radius: 10px; }

.sidebar-item { margin-bottom: 2px; }

.sidebar-link {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 8px 14px;
  border-radius: var(--radius-sm);
  color: #4B5563;
  font-weight: 500;
  font-size: 13.5px;
  white-space: nowrap;
  transition: background var(--transition-speed), color var(--transition-speed);
}

.sidebar-link i { font-size: 18px; width: 20px; text-align: center; flex-shrink: 0; }

.sidebar-link:hover { background: var(--color-primary-light); color: var(--color-primary-dark); }

.sidebar-item.active .sidebar-link {
  background: var(--color-primary);
  color: #fff;
  box-shadow: var(--shadow-sm);
}

body.sidebar-collapsed .sidebar-link span { display: none; }
body.sidebar-collapsed .sidebar-link { justify-content: center; padding: 12px; }
body.sidebar-collapsed .sidebar-item { position: relative; }

.sidebar-footer {
  padding: 14px 16px;
  border-top: 1px solid var(--color-border);
  flex-shrink: 0;
}

.sidebar-logout {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--color-danger);
  font-weight: 600;
  font-size: 14px;
  padding: 10px 14px;
  border-radius: var(--radius-sm);
  cursor: pointer;
}
.sidebar-logout:hover { background: var(--color-danger-light); }
body.sidebar-collapsed .sidebar-logout span { display: none; }
body.sidebar-collapsed .sidebar-logout { justify-content: center; }

/* Mobile offcanvas sidebar reuses .sidebar inside offcanvas element */
@media (max-width: 991.98px) {
  .sidebar { display: none; }
  .offcanvas .sidebar { display: flex; position: static; width: 100% !important; height: 100%; border-right: none; }
}

/* =============================================================================
   TOP NAVBAR
   ============================================================================= */
.topnav {
  height: var(--navbar-height);
  background: #fff;
  border-bottom: 1px solid var(--color-border);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 20px;
  position: sticky;
  top: 0;
  z-index: 1020;
  gap: 16px;
}

.topnav-left { display: flex; align-items: center; gap: 16px; min-width: 0; }
.topnav-right { display: flex; align-items: center; gap: 8px; flex-shrink: 0; }

.sidebar-toggle-btn, .mobile-menu-btn {
  border: 1px solid var(--color-border);
  background: #fff;
  width: 38px;
  height: 38px;
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-dark);
  flex-shrink: 0;
}
.sidebar-toggle-btn:hover, .mobile-menu-btn:hover { background: var(--color-primary-light); border-color: var(--color-primary); color: var(--color-primary-dark); }

.page-title-block { min-width: 0; }
.page-title-block h1 {
  font-size: 18px;
  font-weight: 700;
  margin: 0;
  color: var(--color-dark);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.page-title-block .breadcrumb-custom {
  font-size: 12px;
  color: var(--color-secondary-text);
  margin: 0;
}

.global-search {
  position: relative;
  width: 280px;
}
.global-search input {
  border-radius: 20px;
  padding-left: 38px;
  border: 1px solid var(--color-border);
  background: var(--color-bg);
  font-size: 13.5px;
}
.global-search i {
  position: absolute;
  left: 14px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--color-secondary-text);
}

@media (max-width: 767.98px) {
  .global-search { display: none; }
}

.icon-btn {
  position: relative;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-dark);
  background: transparent;
  border: none;
}
.icon-btn:hover { background: var(--color-bg); }
.icon-btn .badge-dot {
  position: absolute;
  top: 6px;
  right: 6px;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--color-danger);
  border: 2px solid #fff;
}
.icon-btn .badge-count {
  position: absolute;
  top: 0;
  right: 0;
  font-size: 10px;
  font-weight: 700;
  background: var(--color-danger);
  color: #fff;
  border-radius: 10px;
  padding: 1px 5px;
  min-width: 16px;
  text-align: center;
  border: 2px solid #fff;
}

.branch-pill {
  display: flex;
  align-items: center;
  gap: 6px;
  border: 1px solid var(--color-border);
  border-radius: 20px;
  padding: 6px 14px;
  font-size: 12.5px;
  font-weight: 600;
  color: var(--color-dark);
  background: var(--color-bg);
}
.branch-pill i { color: var(--color-primary); }

@media (max-width: 767.98px) { .branch-pill { display: none; } }

.user-menu-trigger {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 4px 10px 4px 4px;
  border-radius: 24px;
  cursor: pointer;
}
.user-menu-trigger:hover { background: var(--color-bg); }
.user-menu-trigger img {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid var(--color-primary-light);
}
.user-menu-trigger .user-meta { line-height: 1.15; text-align: left; }
.user-menu-trigger .user-meta strong { font-size: 13.5px; display: block; color: var(--color-dark); }
.user-menu-trigger .user-meta span { font-size: 11.5px; color: var(--color-secondary-text); }
@media (max-width: 575.98px) { .user-menu-trigger .user-meta { display: none; } }

.dropdown-menu-wide { min-width: 320px; }

/* =============================================================================
   BUTTONS
   ============================================================================= */
.btn-primary-custom {
  background: var(--color-primary);
  border: 1px solid var(--color-primary);
  color: #fff;
  border-radius: var(--radius-sm);
  font-weight: 600;
  padding: 9px 18px;
  font-size: 13.5px;
  transition: all 0.2s ease;
}
.btn-primary-custom:hover {
  background: var(--color-primary-dark);
  border-color: var(--color-primary-dark);
  color: #fff;
  transform: translateY(-1px);
  box-shadow: var(--shadow-md);
}

.btn-outline-custom {
  background: #fff;
  border: 1.5px solid var(--color-primary);
  color: var(--color-primary-dark);
  border-radius: var(--radius-sm);
  font-weight: 600;
  padding: 8px 17px;
  font-size: 13.5px;
  transition: all 0.2s ease;
}
.btn-outline-custom:hover {
  background: var(--color-primary-light);
  color: var(--color-primary-dark);
}

/* ---- FILTER TOGGLE BUTTON (Hide/Show Filters) --------------------------- */
.btn-filter-toggle {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--color-primary);
  color: #fff;
  border: none;
  border-radius: 9px;
  padding: 10px 20px;
  font-size: 12.5px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .05em;
  box-shadow: var(--shadow-sm);
  transition: all 0.2s ease;
}
.btn-filter-toggle:hover {
  background: var(--color-primary-dark);
  transform: translateY(-1px);
  box-shadow: var(--shadow-md);
  color: #fff;
}
.btn-filter-toggle i { font-size: 15px; transition: transform 0.3s ease; }
.btn-filter-toggle.filters-hidden i.bi-chevron-icon { transform: rotate(180deg); }

.filter-panel {
  overflow: hidden;
  transition: max-height 0.35s ease, opacity 0.3s ease, margin 0.3s ease;
}

/* =============================================================================
   CARDS
   ============================================================================= */
.card-custom {
  background: var(--color-card);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  transition: box-shadow 0.2s ease;
}
.card-custom:hover { box-shadow: var(--shadow-md); }
.card-custom .card-header-custom {
  padding: 16px 20px;
  border-bottom: 1px solid var(--color-border);
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.card-custom .card-header-custom h6 { margin: 0; font-weight: 700; font-size: 15px; }
.card-body-custom { padding: 20px; }

/* KPI Card */
.kpi-card {
  background: var(--color-card);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: 18px 20px;
  box-shadow: var(--shadow-sm);
  height: 100%;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.kpi-card:hover { transform: translateY(-2px); box-shadow: var(--shadow-md); }
.kpi-card .kpi-top { display: flex; align-items: flex-start; justify-content: space-between; margin-bottom: 10px; }
.kpi-card .kpi-icon {
  width: 44px; height: 44px;
  border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  font-size: 20px;
  flex-shrink: 0;
}
.kpi-card .kpi-title { font-size: 12.5px; color: var(--color-secondary-text); font-weight: 600; text-transform: uppercase; letter-spacing: .03em; margin-bottom: 6px; }
.kpi-card .kpi-value { font-size: 24px; font-weight: 800; color: var(--color-dark); line-height: 1.1; }
.kpi-card .kpi-compare { font-size: 12px; color: var(--color-secondary-text); margin-top: 8px; }
.kpi-card .kpi-trend { font-weight: 700; font-size: 12.5px; }
.kpi-card .kpi-trend.up { color: var(--color-success); }
.kpi-card .kpi-trend.down { color: var(--color-danger); }
.kpi-card .kpi-trend.flat { color: var(--color-secondary-text); }

.bg-primary-soft { background: var(--color-primary-light); color: var(--color-primary-dark); }
.bg-success-soft { background: var(--color-success-light); color: var(--color-success); }
.bg-warning-soft { background: var(--color-warning-light); color: var(--color-warning); }
.bg-danger-soft { background: var(--color-danger-light); color: var(--color-danger); }
.bg-info-soft { background: var(--color-info-light); color: var(--color-info); }

/* =============================================================================
   BADGES
   ============================================================================= */
.badge-soft { font-weight: 600; font-size: 11.5px; padding: 5px 10px; border-radius: 20px; border: 1px solid transparent; }
.badge-soft-primary { background: var(--color-primary-light); color: var(--color-primary-dark); }
.badge-soft-success { background: var(--color-success-light); color: var(--color-success); }
.badge-soft-warning { background: var(--color-warning-light); color: #B45309; }
.badge-soft-danger { background: var(--color-danger-light); color: var(--color-danger); }
.badge-soft-info { background: var(--color-info-light); color: #0369A1; }
.badge-soft-secondary { background: #F3F4F6; color: #4B5563; }

/* =============================================================================
   TABLES
   ============================================================================= */
.table-card { background: #fff; border: 1px solid var(--color-border); border-radius: var(--radius-md); overflow: hidden; }
.table-responsive-custom { overflow-x: auto; }
.table-custom { margin: 0; min-width: 720px; }
.table-custom thead th {
  background: #FAFBFC;
  font-size: 11.5px;
  text-transform: uppercase;
  letter-spacing: .04em;
  color: var(--color-secondary-text);
  font-weight: 700;
  border-bottom: 1px solid var(--color-border);
  padding: 12px 16px;
  white-space: nowrap;
}
.table-custom tbody td { padding: 13px 16px; vertical-align: middle; font-size: 13.5px; border-bottom: 1px solid #F1F2F4; }
.table-custom tbody tr:last-child td { border-bottom: none; }
.table-custom tbody tr:hover { background: #FAFBFF; }
.table-custom th.sortable { cursor: pointer; user-select: none; }
.table-custom th.sortable i { font-size: 11px; margin-left: 4px; color: #C0C5CC; }
.table-custom th.sortable.sort-asc i, .table-custom th.sortable.sort-desc i { color: var(--color-primary); }

.table-toolbar { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 16px 20px; flex-wrap: wrap; border-bottom: 1px solid var(--color-border); }
.table-search-box { position: relative; width: 260px; max-width: 100%; }
.table-search-box input { padding-left: 34px; border-radius: var(--radius-sm); font-size: 13px; }
.table-search-box i { position: absolute; left: 12px; top: 50%; transform: translateY(-50%); color: var(--color-secondary-text); font-size: 14px; }

.table-footer-custom { display: flex; align-items: center; justify-content: space-between; padding: 14px 20px; flex-wrap: wrap; gap: 10px; }
.table-footer-custom .result-count { font-size: 12.5px; color: var(--color-secondary-text); }

.action-icon-btn {
  width: 32px; height: 32px;
  border-radius: 8px;
  display: inline-flex; align-items: center; justify-content: center;
  border: 1px solid var(--color-border);
  background: #fff;
  color: var(--color-secondary-text);
  margin-right: 4px;
  font-size: 14px;
}
.action-icon-btn:hover { background: var(--color-primary-light); color: var(--color-primary-dark); border-color: var(--color-primary); }
.action-icon-btn.text-danger:hover { background: var(--color-danger-light); color: var(--color-danger); border-color: var(--color-danger); }

/* =============================================================================
   FORMS / MODALS
   ============================================================================= */
.form-label-custom { font-size: 12.5px; font-weight: 700; color: var(--color-dark); margin-bottom: 6px; text-transform: uppercase; letter-spacing: .02em; }
.form-control, .form-select {
  border-radius: var(--radius-sm);
  border: 1px solid var(--color-border);
  font-size: 13.5px;
  padding: 9px 12px;
}
.form-control:focus, .form-select:focus {
  border-color: var(--color-primary);
  box-shadow: 0 0 0 3px rgba(25, 169, 244, 0.15);
}
.modal-content { border-radius: var(--radius-lg); border: none; box-shadow: var(--shadow-lg); }
.modal-header { border-bottom: 1px solid var(--color-border); padding: 18px 24px; }
.modal-header .modal-title { font-weight: 700; font-size: 17px; }
.modal-body { padding: 22px 24px; }
.modal-footer { border-top: 1px solid var(--color-border); padding: 16px 24px; }

/* =============================================================================
   PROGRESS BARS
   ============================================================================= */
.progress-custom { height: 9px; border-radius: 20px; background: #EEF0F3; overflow: hidden; }
.progress-custom .progress-bar { border-radius: 20px; }
.target-block { margin-bottom: 14px; }
.target-block .target-labels { display: flex; justify-content: space-between; font-size: 12.5px; margin-bottom: 6px; }
.target-block .target-labels .target-name { font-weight: 600; color: var(--color-dark); }
.target-block .target-labels .target-pct { font-weight: 700; }

/* =============================================================================
   TIMELINE (Lead detail activities)
   ============================================================================= */
.activity-timeline { list-style: none; margin: 0; padding: 0; position: relative; }
.activity-timeline::before {
  content: "";
  position: absolute;
  left: 19px; top: 6px; bottom: 6px;
  width: 2px;
  background: var(--color-border);
}
.activity-timeline li { position: relative; padding: 0 0 24px 52px; }
.activity-timeline li:last-child { padding-bottom: 0; }
.activity-timeline .timeline-icon {
  position: absolute; left: 0; top: 0;
  width: 40px; height: 40px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 16px;
  z-index: 1;
  border: 3px solid #fff;
}
.activity-timeline .timeline-time { font-size: 11.5px; color: var(--color-secondary-text); font-weight: 600; text-transform: uppercase; }
.activity-timeline .timeline-text { font-size: 13.5px; color: var(--color-dark); margin-top: 2px; }

/* =============================================================================
   LEADERBOARD
   ============================================================================= */
.leaderboard-item {
  display: flex; align-items: center; gap: 14px;
  padding: 14px 16px;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  margin-bottom: 10px;
  background: #fff;
}
.leaderboard-rank {
  width: 34px; height: 34px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-weight: 800; font-size: 14px;
  background: #F3F4F6; color: var(--color-dark);
  flex-shrink: 0;
}
.leaderboard-item.rank-1 .leaderboard-rank { background: #FEF3C7; color: #B45309; }
.leaderboard-item.rank-2 .leaderboard-rank { background: #E5E7EB; color: #374151; }
.leaderboard-item.rank-3 .leaderboard-rank { background: #FCE7D6; color: #9A3412; }
.leaderboard-name { font-weight: 700; font-size: 14px; flex: 1; min-width: 120px; }
.leaderboard-achievement { font-weight: 800; font-size: 15px; width: 70px; text-align: right; }

/* =============================================================================
   PERMISSION MATRIX
   ============================================================================= */
.permission-table th, .permission-table td { text-align: center; vertical-align: middle; }
.permission-table td:first-child, .permission-table th:first-child { text-align: left; }
.form-check-input.permission-check { width: 20px; height: 20px; cursor: pointer; }
.form-check-input.permission-check:checked { background-color: var(--color-primary); border-color: var(--color-primary); }

/* =============================================================================
   LOGIN PAGE
   ============================================================================= */
.login-wrapper { min-height: 100vh; display: flex; }
.login-brand-panel {
  flex: 1.1;
  background: linear-gradient(160deg, var(--color-primary) 0%, #0C7DBE 100%);
  color: #fff;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 60px;
  position: relative;
  overflow: hidden;
}
.login-brand-panel h2 { font-weight: 800; font-size: 32px; margin-bottom: 16px; }
.login-brand-panel p { font-size: 15px; opacity: .92; max-width: 420px; line-height: 1.7; }
.login-brand-panel .login-illustration { position: absolute; right: -60px; bottom: -60px; width: 420px; opacity: .9; }
.login-feature-list { list-style: none; padding: 0; margin: 28px 0 0; }
.login-feature-list li { display: flex; align-items: center; gap: 10px; margin-bottom: 12px; font-size: 14px; }
.login-feature-list i { font-size: 18px; }

.login-form-panel { flex: 1; display: flex; align-items: center; justify-content: center; padding: 40px; background: #fff; }
.login-form-box { width: 100%; max-width: 380px; }
@media (max-width: 991.98px) { .login-brand-panel { display: none; } }

/* =============================================================================
   MISC
   ============================================================================= */
.section-title { font-weight: 800; font-size: 16px; margin-bottom: 4px; }
.section-subtitle { font-size: 13px; color: var(--color-secondary-text); margin-bottom: 18px; }

.avatar-sm { width: 34px; height: 34px; border-radius: 50%; object-fit: cover; }
.avatar-xs { width: 26px; height: 26px; border-radius: 50%; object-fit: cover; }

.mobile-overlay {
  display: none;
}

.role-switch-note {
  font-size: 11px;
  line-height: 1.35;
  color: var(--color-secondary-text);
  padding: 6px 12px;
  background: var(--color-primary-light);
  border-radius: var(--radius-sm);
  margin: 4px 12px 8px;
}

.tab-pane-custom { padding-top: 18px; }

.nav-tabs-custom { border-bottom: 1px solid var(--color-border); }
.nav-tabs-custom .nav-link {
  border: none;
  color: var(--color-secondary-text);
  font-weight: 600;
  font-size: 13.5px;
  padding: 10px 4px;
  margin-right: 24px;
  border-bottom: 2px solid transparent;
  border-radius: 0;
}
.nav-tabs-custom .nav-link.active { color: var(--color-primary-dark); border-bottom-color: var(--color-primary); background: transparent; }

.stat-mini { display: flex; align-items: center; gap: 10px; }
.stat-mini .stat-mini-icon { width: 36px; height: 36px; border-radius: 9px; display: flex; align-items: center; justify-content: center; font-size: 16px; }

.report-card { cursor: pointer; }
.report-card:hover { border-color: var(--color-primary); }
.report-card .report-icon { width: 46px; height: 46px; border-radius: 12px; background: var(--color-primary-light); color: var(--color-primary-dark); display: flex; align-items: center; justify-content: center; font-size: 20px; margin-bottom: 12px; }

.settings-tabs .nav-link {
  border-radius: var(--radius-sm);
  color: var(--color-dark);
  font-weight: 600;
  font-size: 13.5px;
  padding: 11px 16px;
  text-align: left;
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 4px;
}
.settings-tabs .nav-link.active { background: var(--color-primary); color: #fff; }
.settings-tabs .nav-link:not(.active):hover { background: var(--color-bg); }

.toast-container-custom { z-index: 1080; }

.chart-card-body { position: relative; height: 300px; }
.chart-card-body.chart-sm { height: 240px; }

.divider-label { display: flex; align-items: center; gap: 12px; color: var(--color-secondary-text); font-size: 12px; margin: 18px 0; }
.divider-label::before, .divider-label::after { content: ""; flex: 1; height: 1px; background: var(--color-border); }

.filter-collapsed-hide { display: none !important; }

.cursor-pointer { cursor: pointer; }

@media (min-width: 992px) {
  .col-lg-2dot4 { flex: 0 0 auto; width: 20%; }
}

.text-truncate-2 {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
