:root {
  /* =========================
     BACKGROUNDS
  ========================= */
  --bg-page: #f5f6fa;
  --bg-sidebar: #ffffff;
  --bg-card: #ffffff;
  --bg-soft: #f9fafc;
  --bg-hover: #f3f4f6;

  /* =========================
     PRIMARY / BRAND
  ========================= */
  --primary: #7c3aed;
  --primary-hover: #6d28d9;
  --primary-light: #a78bfa;
  --primary-soft: #ede9fe;
  --primary-gradient: linear-gradient(135deg, #7c3aed 0%, #9233ea 100%);
  --secondary-gradient: linear-gradient(135deg, #b7adda, #c8bee678);

  /* =========================
     TEXT
  ========================= */
  --text-primary: #111827;
  --text-secondary: #6b7280;
  --text-muted: #9ca3af;
  --text-light: #d1d5db;
  --text-white: #ffffff;
  --text-over: #0f172a;
  --text-header: #64748b;

  /* =========================
     BORDERS / LINES
  ========================= */
  --border-light: #e5e7eb;
  --border-soft: #eef1f5;
  --divider: #f1f3f7;

  /* =========================
     SUCCESS
  ========================= */
  --success: #10b981;
  --success-dark: #059669;
  --success-bg: #d1fae5;

  /* =========================
     WARNING
  ========================= */
  --warning: #f59e0b;
  --warning-dark: #d97706;
  --warning-bg: #fef3c7;

  /* =========================
     DANGER
  ========================= */
  --danger: #ef4444;
  --danger-dark: #dc2626;
  --danger-bg: #fee2e2;

  /* =========================
     INFO
  ========================= */
  --info: #3b82f6;
  --info-dark: #2563eb;
  --info-bg: #dbeafe;

  /* =========================
     ACTIVITY / ICON BACKGROUNDS
  ========================= */
  --icon-purple-bg: #ede9fe;
  --icon-blue-bg: #dbeafe;
  --icon-green-bg: #d1fae5;
  --icon-yellow-bg: #fef3c7;
  --icon-red-bg: #fee2e2;

  /* =========================
     ACTIVITY DOT / ACCENT COLORS
  ========================= */
  --activity-blue: #60a5fa;
  --activity-green: #34d399;
  --activity-yellow: #fbbf24;
  --activity-red: #f87171;

  /* =========================
     CHART / DATA VISUALS
  ========================= */
  --chart-primary: #7c3aed;
  --chart-secondary: #a78bfa;

  /* =========================
     SHADOWS
  ========================= */
  --shadow-sm: 0 1px 2px rgba(16, 24, 40, 0.05);
  --shadow-md: 0 4px 12px rgba(16, 24, 40, 0.08);

  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 16px;
  --radius-xl: 20px;

  --space-1: 4px;
  --space-2: 8px;
  --space-3: 12px;
  --space-4: 16px;
  --space-5: 20px;
  --space-6: 24px;
  --space-8: 32px;

  --topbar-height: 64px;
  --subnav-height: 52px;
  --page-width: 1280px;

  --transition-fast: 0.2s ease;
}

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

html {
  scroll-behavior: smooth;
  font-size: 14px;
}

body {
  margin: 0;
  font-family: var(--font-family);
  background: var(--bg-page);
  color: var(--text-primary);
}

img {
  display: block;
  max-width: 100%;
}

button,
input,
select,
textarea {
  font: inherit;
}

.card {
  border-radius: var(--radius-md);
}
.dataNotMatch {
  text-align: center;
  color: var(--text-secondary);
  width: 100%;
  font-size: 18px;
  font-weight: bold;
  padding-top: 20px;
  overflow-x: hidden;
}

/*y NavBar */
#second-navbar .nav-link {
  color: var(--text-muted) !important;
  border-radius: var(--radius-sm);
  padding: 6px 14px;
  transition: var(--transition-fast);
  display: flex;
  align-items: center;
}

#second-navbar .nav-link:hover {
  background-color: var(--primary-light);
  color: var(--text-primary) !important;
}

#second-navbar .nav-link.active {
  border-color: var(--primary-light);
  color: var(--primary) !important;
  font-weight: 600;
}
td {
  vertical-align: middle;
}
.sorting {
  cursor: pointer;
}

table {
  margin-bottom: 0px !important;
}
/*y Pagination  */
.table-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 16px;
  border-top: 1px solid #eee;
  color: var(--text-secondary);
  font-size: 13px;
}

.pagination button {
  border: none;
  background: none;
  margin: 0 4px;
  padding: 6px 10px;
  border-radius: 6px;
  cursor: pointer;
  color: var(--text-secondary);
  transition: var(--transition-fast);
}

.pagination button:hover {
  background-color: var(--bg-hover);
}

.pagination .active {
  background: var(--primary-soft);
  color: var(--primary);
  font-weight: bold;
}

/* .prevBtn {
  background: var(--primary);
  color: white;
  border: none;
  padding: 6px 16px;
  width: fit-content;
  min-width: fit-content;
  border-radius: 20px;
  font-weight: bold;
  transition: var(--transition-fast);
}

.prevBtn:hover {
  background-color: var(--primary-hover);
}

.pagePaginateBtn {
  background: var(--primary-light);
  color: white;
  border: none;
  padding: 6px 16px;
  width: fit-content;
  min-width: fit-content;
  border-radius: 20px;
  font-weight: bold;
  transition: var(--transition-fast);
} */

/* .colored {
  background-color: var(--primary-hover);
}

.nextBtn {
  background: var(--primary);
  color: white;
  border: none;
  padding: 6px 16px;
  width: fit-content;
  min-width: fit-content;
  border-radius: 20px;
  font-weight: bold;
  transition: var(--transition-fast);
}
.nextBtn:hover {
  background-color: var(--primary-hover);
} */
footer {
  background-color: var(--primary);
  min-height: 80px;
  margin-top: 30px;
}
footer .container {
  width: 100%;
  height: 100%;
  display: flex;
  justify-content: center;
}
footer p {
  align-self: center;
  margin-top: 30px;
  color: var(--bs-light);
}
