:root{
  --dash-bg: #f5f6f8;
  --dash-surface: #ffffff;
  --dash-border: #e2e3e7;
  --dash-text: #1d1f23;
  --dash-muted: #6b6f76;
  --dash-accent: #2f6f8f;

  --dash-radius: 12px;
  --dash-shadow: 0 1px 3px rgba(0,0,0,0.07);
}

/* global surfaces */
.content-wrapper{ background: var(--dash-bg) !important; }
body,
.content-wrapper,
.content,
.wrapper {
  color: var(--dash-text);
}

/* navbar */
.main-header.navbar,
.main-header .navbar{
  background: var(--dash-navbar-bg) !important;
  color: var(--dash-navbar-text) !important;
  border-bottom: 1px solid var(--dash-border) !important;
}

.main-header .navbar-nav .nav-link,
.main-header .navbar-nav .nav-link i,
.main-header .navbar-brand,
.main-header .brand-link {
  color: var(--dash-navbar-text) !important;
}

.main-header .navbar-nav .nav-link:hover,
.main-header .navbar-nav .nav-link:focus {
  background: var(--dash-accent-soft) !important;
  color: var(--dash-text) !important;
}

/* sidebar */
.main-sidebar,
.main-sidebar::before,
.main-sidebar .sidebar {
  background: var(--dash-sidebar-bg) !important;
}

.main-sidebar .nav-sidebar .nav-link,
.main-sidebar .brand-link,
.main-sidebar .brand-link .dash-brand-label,
.main-sidebar .brand-link .dash-brand-icon {
  color: var(--dash-sidebar-text) !important;
}

.main-sidebar .nav-sidebar .nav-link:hover,
.main-sidebar .nav-sidebar .nav-link:focus,
.main-sidebar .nav-sidebar .nav-item > .nav-link.active {
  background: var(--dash-sidebar-hover) !important;
  color: var(--dash-text) !important;
}

.main-sidebar .nav-sidebar .nav-item > .nav-link.active .nav-icon,
.main-sidebar .nav-sidebar .nav-link:hover .nav-icon {
  color: var(--dash-accent) !important;
}

/* footer */
.main-footer {
  background: var(--dash-footer-bg) !important;
  color: var(--dash-footer-text) !important;
  border-top: 1px solid var(--dash-border) !important;
}

/* cards */
.card{
  border:none;
  box-shadow: var(--dash-shadow);
  border-radius: var(--dash-radius);
  margin-bottom:20px;
  background: var(--dash-surface);
}
.card-header{
  background: var(--dash-surface);
  border-bottom:1px solid var(--dash-border);
  border-radius: var(--dash-radius) var(--dash-radius) 0 0 !important;
  padding:14px 18px;
}
.card-title{
  font-size:16px;
  font-weight:600;
  color: var(--dash-text);
  letter-spacing:-0.02em;
  margin:0;
  display:flex;
  align-items:center;
  gap:8px;
}
.card-body{
  background: var(--dash-surface);
  padding:20px;
  border-radius:0 0 var(--dash-radius) var(--dash-radius);
}

a,
.content a {
  color: var(--dash-accent);
}

a:hover,
a:focus,
.content a:hover,
.content a:focus {
  color: var(--dash-text);
}

/* buttons (subtle) */
.btn{ border-radius:8px; font-weight:500; box-shadow:none !important; }
.btn-primary{
  background: var(--dash-accent);
  border-color: var(--dash-accent);
  color:#fff;
}
.btn-primary:hover,
.btn-primary:focus{
  filter: brightness(0.92);
  color:#fff;
}
.btn-outline-secondary{
  border-color:var(--dash-border);
  color: var(--dash-text);
  background: transparent;
}
.btn-outline-secondary:hover,
.btn-outline-secondary:focus{
  background: var(--dash-accent-soft);
  border-color: var(--dash-accent);
  color: var(--dash-text);
}

.btn-light,
.btn-default {
  background: var(--dash-accent-soft);
  border-color: var(--dash-border);
  color: var(--dash-text);
}

.text-muted,
.small,
.text-secondary {
  color: var(--dash-muted) !important;
}

.badge-success,
.alert-success {
  background: var(--dash-success) !important;
  color: #fff !important;
}

.badge-warning,
.alert-warning {
  background: var(--dash-warning) !important;
  color: #fff !important;
}

.badge-danger,
.alert-danger {
  background: var(--dash-danger) !important;
  color: #fff !important;
}
