:root {
  --app-font: 'Sarabun', sans-serif;
  --app-primary: #0f766e;
  --app-accent: #0ea5e9;
  --app-bg: #f1f5f9;
  --app-card: #ffffff;
  --app-text: #0f172a;
  --app-muted: #475569;
}

body {
  font-family: var(--app-font);
  color: var(--app-text);
  background:
    radial-gradient(circle at 12% 18%, rgba(14, 165, 233, 0.12), transparent 35%),
    radial-gradient(circle at 88% 84%, rgba(15, 118, 110, 0.12), transparent 38%),
    var(--app-bg);
}

.main-header .logo,
.main-header .navbar {
  background: linear-gradient(90deg, var(--app-primary), #0f766e) !important;
}

.skin-yellow .main-sidebar,
.skin-yellow .left-side {
  background: #0b1324;
}

.skin-yellow .sidebar-menu > li > a {
  color: #cbd5e1;
  border-left: 4px solid transparent;
  transition: background-color 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}

.skin-yellow .sidebar-menu > li.active > a,
.skin-yellow .sidebar-menu > li:hover > a {
  background: linear-gradient(90deg, rgba(14, 165, 233, 0.2), rgba(15, 118, 110, 0.25));
  color: #ffffff;
  border-left-color: var(--app-accent);
}

.content-wrapper,
.right-side {
  background: linear-gradient(180deg, #f8fbff 0%, #f3f7fb 100%);
}

.content-header {
  background: transparent !important;
  padding-top: 18px;
  padding-bottom: 10px;
}

.content-header > h1 {
  color: #0f172a;
  text-shadow: none;
}

.content-header > h1 > small {
  color: #475569;
}

.skin-yellow .sidebar-menu > li > .treeview-menu {
  background: #111a2e;
  border-top: 1px solid rgba(148, 163, 184, 0.12);
  border-bottom: 1px solid rgba(148, 163, 184, 0.12);
  padding: 6px 0;
}

.skin-yellow .treeview-menu > li > a {
  color: #c7d2fe;
  padding-top: 8px;
  padding-bottom: 8px;
}

.skin-yellow .treeview-menu > li.active > a,
.skin-yellow .treeview-menu > li > a:hover {
  color: #ffffff;
  background: rgba(14, 165, 233, 0.16);
}

.box {
  border-radius: 14px;
  border-top: 0;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(15, 23, 42, 0.08);
}

.box-header {
  border-bottom: 1px solid #e2e8f0;
}

.box.box-success > .box-header,
.box.box-warning > .box-header,
.box.box-primary > .box-header,
.box.box-info > .box-header {
  color: #fff;
  background: linear-gradient(90deg, var(--app-primary), var(--app-accent));
}

.btn-success,
.btn-primary,
.btn-info {
  border: 0;
  border-radius: 10px;
  background: linear-gradient(90deg, var(--app-primary), var(--app-accent));
}

.btn-success:hover,
.btn-primary:hover,
.btn-info:hover {
  opacity: 0.92;
}

.table > thead > tr.success > th,
.table > tbody > tr.success > td {
  background: #dbeafe !important;
}

@media (max-width: 768px) {
  .content-header > h1 {
    font-size: 20px;
    line-height: 1.3;
  }
}
