:root {
  /* ── Primary: #085F6A ─────────────────────────── */
  --tblr-primary:                #085F6A;
  --tblr-primary-rgb:            8, 95, 106;
  --tblr-primary-fg:             #ffffff;
  --tblr-primary-darken:         #064f59;
  --tblr-primary-lt:             rgba(8, 95, 106, 0.1);
  --tblr-primary-lt-rgb:         8, 95, 106;
  --tblr-primary-bg-subtle:      rgba(8, 95, 106, 0.08);
  --tblr-primary-border-subtle:  rgba(8, 95, 106, 0.3);
  --tblr-primary-text-emphasis:  #064f59;

  /* ── Secondary: #5C4033 (cokelat tua) ─────────── */
  --tblr-secondary:              #5C4033;
  --tblr-secondary-rgb:          92, 64, 51;
  --tblr-secondary-fg:           #ffffff;
  --tblr-secondary-darken:       #463026;
  --tblr-secondary-lt:           rgba(92, 64, 51, 0.15);
  --tblr-secondary-lt-rgb:       92, 64, 51;
  --tblr-secondary-bg-subtle:    rgba(92, 64, 51, 0.1);
  --tblr-secondary-border-subtle:rgba(92, 64, 51, 0.4);
  --tblr-secondary-text-emphasis:#3d2b22;

  /* ── Link ────────────────────────────────────── */
  --tblr-link-color:             #085F6A;
  --tblr-link-hover-color:       #064f59;

  --tblr-font-sans-serif: 'Inter Var', -apple-system, BlinkMacSystemFont, San Francisco, Segoe UI, Roboto, Helvetica Neue, sans-serif;

  /* ── Body & dark text ───────────────────────── */
  --tblr-body-color:             #191919;
  --tblr-body-color-rgb:         25, 25, 25;
  --tblr-dark:                   #191919;
  --tblr-dark-rgb:               25, 25, 25;
}

body,
.text-dark,
.text-body,
.text-secondary,
.text-muted,
.text-reset {
  color: #191919 !important;
}

.text-yellowV{
color: #FFDE42;
}

h1, h2, h3, h4, h5, h6,
.h1, .h2, .h3, .h4, .h5, .h6,
.page-title,
.card-title,
.page-pretitle,
.subheader {
  color: #191919;
}

:root {
  --tblr-secondary-color: #191919;
  --tblr-text-muted: #191919;
}

/* DataTable header */
table.dataTable thead th,
table.dataTable thead td,
.table thead th,
.table thead td,
.dataTables_wrapper thead th,
.dataTables_wrapper thead td {
  color: #191919 !important;
}

/* Custom Card Gradient */
.card-gradient {
  background: linear-gradient(135deg, #085F6A 0%, #0d8a9a 100%);
  color: #fff !important;
  border: none;
  box-shadow: 0 10px 15px -3px rgba(8, 95, 106, 0.2), 0 4px 6px -2px rgba(8, 95, 106, 0.1);
}

.card-gradient .card-body {
  padding: 1.5rem;
}

.card-gradient h3, 
.card-gradient .h2, 
.card-gradient .text-secondary,
.card-gradient .subheader {
  color: rgba(255, 255, 255, 0.9) !important;
}

.card-gradient .progress {
  background-color: rgba(255, 255, 255, 0.2);
}

.card-gradient .progress-bar {
  background-color: #fff;
}

/* Glassmorphism effects */
.glass-card {
  background: rgba(255, 255, 255, 0.7);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.2);
}

/* Sidebar Customizations */
.navbar-vertical.navbar-expand-lg .navbar-nav .nav-link.active {
  background: rgba(var(--tblr-primary-rgb), 0.1);
  color: var(--tblr-primary);
  border-right: 3px solid var(--tblr-primary);
}

.navbar-vertical.navbar-expand-lg .navbar-nav .nav-link:hover {
  background: rgba(var(--tblr-primary-rgb), 0.05);
}

/* Custom Scrollbar */
::-webkit-scrollbar {
  width: 6px;
  height: 6px;
}

::-webkit-scrollbar-track {
  background: transparent;
}

::-webkit-scrollbar-thumb {
  background: rgba(0, 0, 0, 0.1);
  border-radius: 10px;
}

::-webkit-scrollbar-thumb:hover {
  background: rgba(0, 0, 0, 0.2);
}

/* Animations */
@keyframes fadeIn {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}

.page-body {
  animation: fadeIn 0.5s ease-out;
}

.card {
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.card:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.05), 0 4px 6px -2px rgba(0, 0, 0, 0.02);
}

/* ── Secondary button/badge: teks putih agar terbaca di bg cokelat tua ── */
.btn-secondary,
.btn-secondary:hover,
.btn-secondary:focus,
.btn-secondary:active {
  background-color: #5C4033;
  border-color: #5C4033;
  color: #ffffff !important;
}
.btn-secondary:hover { background-color: #463026; border-color: #463026; }

.btn-outline-secondary {
  color: #5C4033;
  border-color: #5C4033;
}
.btn-outline-secondary:hover {
  background-color: #5C4033;
  border-color: #5C4033;
  color: #ffffff;
}

.badge.bg-secondary { background-color: #5C4033 !important; color: #ffffff !important; }
