:root {
  --alvindo-navy: #040e26;
  --alvindo-navy-2: #0f2742;
  --alvindo-accent: #fc5e28;
  --alvindo-blue: #4f8ef7;
  --alvindo-ink: #10233d;
  --alvindo-muted: #64748b;
  --alvindo-line: rgb(205, 3, 224);
  --alvindo-surface: #ffffff;
  --alvindo-surface-soft: #f4f8ff;
  --alvindo-radius: 18px;
}

@media (max-width: 991.98px) {
  body.dashboard-shell,
  body.hold-transition.sidebar-mini.dashboard-shell {
    padding-bottom: 112px !important;
  }

  .mobile-dashboard-nav {
    position: fixed !important;
    left: 0 !important;
    right: 0 !important;
    bottom: 0 !important;
    transform: none !important;
    width: 100vw !important;
    max-width: none !important;
    display: grid !important;
    grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
    gap: 6px !important;
    padding: 10px 10px calc(10px + env(safe-area-inset-bottom)) !important;
    margin: 0 !important;
    box-sizing: border-box !important;
    border-radius: 18px 18px 0 0 !important;
    z-index: 2000 !important;
  }

  .mobile-dashboard-nav a {
    max-width: none !important;
    min-width: 0 !important;
  }
}

/* Force full-width mobile dock after legacy rules */
@media (max-width: 991.98px) {
  body.dashboard-shell,
  body.hold-transition.sidebar-mini.dashboard-shell {
    padding-bottom: 108px !important;
  }

  .mobile-dashboard-nav {
    display: grid !important;
    grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
    position: fixed !important;
    left: 0 !important;
    right: 0 !important;
    bottom: 0 !important;
    width: 100vw !important;
    max-width: none !important;
    margin: 0 !important;
    padding: 10px 10px calc(10px + env(safe-area-inset-bottom)) !important;
    gap: 6px !important;
    z-index: 1070 !important;
    box-sizing: border-box !important;
    border-radius: 20px 20px 0 0 !important;
  }

  .mobile-dashboard-nav a {
    min-width: 0 !important;
    max-width: none !important;
    flex: initial !important;
  }

  .mobile-dashboard-nav a .mobile-nav-icon,
  .mobile-dashboard-nav i {
    width: 34px !important;
    height: 34px !important;
  }
}

* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
}
body {
  overflow-x: clip;
  color: var(--alvindo-ink);
  background:
    radial-gradient(
      circle at top right,
      rgba(79, 142, 247, 0.08),
      transparent 24%
    ),
    linear-gradient(180deg, #eef5ff 0%, #f7fbff 100%);
}
body.dashboard-shell {
  position: relative;
  isolation: isolate;
  background:
    radial-gradient(
      circle at top left,
      rgba(32, 107, 239, 0.22),
      transparent 24%
    ),
    radial-gradient(
      circle at top right,
      rgba(252, 94, 40, 0.16),
      transparent 22%
    ),
    linear-gradient(180deg, #08101b 0%, #0b1220 52%, #0d1526 100%);
}

body.dashboard-shell.sidebar-open,
body.dashboard-shell.sidebar-collapse {
  overflow-x: hidden;
}
img {
  max-width: 100%;
}
a {
  color: inherit;
}

.brand-link {
  position: relative;
  min-height: 84px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 14px 12px !important;
  overflow: hidden;
  border-bottom: 1px solid rgba(255, 255, 255, 0.03) !important;
  color: transparent !important;
  font-size: 0;
  text-indent: -9999px;
  background: rgba(230, 7, 7, 0.02);
}
.brand-link::before {
  content: "";
  width: min(180px, 100%);
  height: 54px;
  background: url("alvindo-logo.svg") center / contain no-repeat;
  display: block;
  text-indent: 0;
}
.brand-link .brand-text {
  display: none !important;
}

.main-sidebar {
  background: linear-gradient(
    180deg,
    var(--sikompro-sidebar-bg) 0%,
    var(--sikompro-sidebar-soft) 100%
  );
  overflow: visible;
}
.main-sidebar .brand-link {
  background: var(--sikompro-sidebar-bg);
}
.main-sidebar .sidebar {
  overflow: visible;
}
.sidebar-profile {
  text-align: center;
  padding: 12px 10px;
  color: #fff;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}
.sidebar-profile img {
  width: 68px;
  height: 68px;
  object-fit: cover;
  border-radius: 50%;
  border: 3px solid rgba(255, 255, 255, 0.45);
}
.nav-sidebar .nav-link {
  display: flex;
  align-items: center;
  gap: 10px;
  border-radius: 10px;
  margin: 2px 8px;
  padding: 10px 12px;
  transition:
    background 0.2s ease,
    transform 0.2s ease;
}
.nav-sidebar .nav-link .nav-icon {
  margin-right: 0;
  min-width: 18px;
  text-align: center;
}
.nav-sidebar .nav-link .badge {
  margin-left: auto;
  float: none !important;
  flex: 0 0 auto;
}
.nav-sidebar .nav-link:hover {
  background: transparent !important;
  color: inherit !important;
  transform: none;
}
.nav-sidebar .nav-link:focus-visible,
.nav-sidebar .nav-link:active,
.nav-sidebar .nav-link.active {
  background: rgba(252, 94, 40, 0.18) !important;
  color: #fff !important;
  transform: translateX(2px);
}
.nav-sidebar .nav-link.active {
  box-shadow: inset 0 0 0 1px rgba(252, 94, 40, 0.42);
}
.nav-sidebar .nav-link:focus-visible .nav-icon,
.nav-sidebar .nav-link:active .nav-icon,
.nav-sidebar .nav-link.active .nav-icon {
  color: #fff;
}

.main-header .nav-link:hover,
.main-header .nav-link:focus:not(:focus-visible),
.sidebar .nav-link:hover,
.sidebar .nav-link:focus:not(:focus-visible) {
  background: transparent !important;
  color: inherit !important;
}

.main-header .nav-link:focus-visible,
.main-header .nav-link:active,
.sidebar .nav-link:focus-visible,
.sidebar .nav-link:active {
  background: rgba(252, 94, 40, 0.18) !important;
  color: #fff !important;
}

.btn:hover,
.btn:focus:not(:focus-visible) {
  background-color: transparent !important;
}
.btn:focus-visible,
.btn:active {
  background-color: rgba(252, 94, 40, 0.14) !important;
}
.btn:focus-visible {
  outline: 2px solid rgba(252, 94, 40, 0.55);
  outline-offset: 2px;
}

.page-hero,
.content-header-card,
.form-hero,
.hero,
.detail-hero,
.salary-hero,
.user-hero,
.profile-hero {
  position: relative;
  background: linear-gradient(
    135deg,
    var(--sikompro-surface) 0%,
    var(--sikompro-surface-alt) 100%
  );
  border-radius: 20px;
  box-shadow: 0 12px 35px rgba(34, 48, 71, 0.08);
  padding: 24px 28px;
  margin-bottom: 22px;
  overflow: hidden;
  border: 1px solid var(--sikompro-line);
}
.page-hero::before,
.content-header-card::before,
.form-hero::before {
  content: "";
  position: absolute;
  inset: 0 auto auto 0;
  width: 160px;
  height: 160px;
  background: radial-gradient(
    circle,
    rgba(79, 142, 247, 0.12),
    rgba(79, 142, 247, 0)
  );
  pointer-events: none;
}
.page-hero h3,
.content-header-card h3,
.hero h3,
.detail-hero h3,
.salary-hero h3,
.user-hero h3,
.profile-hero h3,
.form-hero h3 {
  letter-spacing: -0.03em;
}

.card {
  border: 0;
  border-radius: 18px;
  box-shadow: 0 12px 28px rgba(31, 45, 61, 0.08);
  overflow: hidden;
  transition:
    transform 0.18s ease,
    box-shadow 0.18s ease;
}
.card:hover {
  box-shadow: 0 16px 34px rgba(31, 45, 61, 0.1);
}
.card-header {
  background: #fff;
  border-bottom: 1px solid #edf2f7;
}
.card-header .card-title,
.card-header span {
  font-weight: 700;
  color: #1a2c45;
}

.small-box,
.stat-box {
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 14px 30px rgba(0, 0, 0, 0.08);
}
.small-box .inner {
  padding: 18px;
}
.small-box h3 {
  font-size: clamp(1.7rem, 4vw, 2.35rem);
  line-height: 1;
}
.small-box p {
  margin-bottom: 0;
}
.small-box-footer {
  display: block;
  color: rgba(255, 255, 255, 0.9);
  text-decoration: none;
  background: rgba(0, 0, 0, 0.12);
  padding: 10px 14px;
}
.small-box-footer:hover {
  color: #fff;
  text-decoration: none;
}

.stat-link {
  display: block;
  color: inherit;
  text-decoration: none;
  transition: transform 0.18s ease;
}
.stat-link:hover {
  color: inherit;
  text-decoration: none;
  transform: translateY(-2px);
}
.stat-link .small-box {
  transition:
    transform 0.18s ease,
    box-shadow 0.18s ease;
}
.stat-link:hover .small-box {
  box-shadow: 0 18px 40px rgba(15, 23, 42, 0.18);
}

.quick-links {
  margin-bottom: 22px;
}
.quick-links .card-body {
  padding: 16px;
}
.quick-link-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 12px;
}
.quick-link {
  display: flex;
  align-items: center;
  gap: 12px;
  min-height: 84px;
  padding: 14px;
  border-radius: 16px;
  text-decoration: none;
  color: var(--sikompro-ink);
  background: linear-gradient(
    135deg,
    var(--sikompro-surface) 0%,
    var(--sikompro-surface-alt) 100%
  );
  border: 1px solid var(--sikompro-line);
  box-shadow: 0 10px 24px rgba(31, 45, 61, 0.06);
  transition:
    transform 0.2s ease,
    box-shadow 0.2s ease,
    border-color 0.2s ease;
}
.quick-link:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 28px rgba(31, 45, 61, 0.1);
  text-decoration: none;
  color: var(--alvindo-blue);
  border-color: var(--sikompro-line);
}
.quick-link .ql-icon {
  width: 44px;
  height: 44px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: hsl(0, 89%, 46%);
  background: linear-gradient(135deg, #4f8ef7, #2e67d8);
  flex: 0 0 auto;
  font-size: 1.08rem;
}
.quick-link .ql-title {
  font-weight: 700;
  margin-bottom: 2px;
  line-height: 1.2;
}
.quick-link .ql-desc {
  font-size: 0.85rem;
  line-height: 1.35;
  color: #64748b;
}

.badge {
  border-radius: 999px;
  padding: 0.45em 0.75em;
}
.alert {
  border-radius: 14px;
}
.table thead th {
  border-top: 0;
  white-space: nowrap;
}
.table td,
.table th {
  vertical-align: middle;
}
.table-responsive {
  border-radius: 12px;
  -webkit-overflow-scrolling: touch;
}
.table-klik tbody tr {
  cursor: pointer;
}

.photo-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(110px, 1fr));
  gap: 8px;
  margin: 8px 0;
  max-width: 100%;
}
.photo-grid img,
.img-thumb,
.preview-img,
.thumb {
  width: 100%;
  height: 90px;
  object-fit: cover;
  border-radius: 10px;
  border: 1px solid #dee2e6;
  box-shadow: 0 8px 22px rgba(31, 45, 61, 0.08);
}
.js-view-image {
  cursor: zoom-in;
}
.js-after-preview {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(92px, 1fr));
  gap: 8px;
  margin-top: 8px;
}
.js-after-preview img {
  width: 100%;
  height: 92px;
  object-fit: cover;
  border-radius: 12px;
  border: 1px solid hsl(19, 90%, 53%);
  box-shadow: 0 8px 22px rgba(31, 45, 61, 0.08);
}

.image-viewer {
  position: fixed;
  inset: 0;
  display: none;
  align-items: center;
  justify-content: center;
  gap: 12px;
  background: rgba(15, 23, 42, 0.82);
  padding: 18px;
  z-index: 9999;
  backdrop-filter: blur(8px);
}
.image-viewer img {
  max-width: min(94vw, 1100px);
  max-height: 88vh;
  border-radius: 14px;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.35);
  background: lch(100% 0.01 296.81 / 0.516);
}
.image-viewer button {
  position: absolute;
  top: 18px;
  right: 18px;
  z-index: 1;
}

.dashboard-shell .wrapper {
  position: relative;
  z-index: 1;
}
.dashboard-shell .content-wrapper {
  background: linear-gradient(
    180deg,
    var(--sikompro-page-bg-top),
    var(--sikompro-page-bg-bottom)
  );
  backdrop-filter: blur(8px);
}
.dashboard-shell .main-header.navbar,
.dashboard-shell .main-sidebar {
  background: linear-gradient(
    180deg,
    #07e7eaf0 0%,
    rgba(10, 18, 38, 0.94) 100%
  );
  backdrop-filter: blur(16px);
}
.dashboard-shell .page-hero,
.dashboard-shell .content-header-card {
  background:
    radial-gradient(
      circle at top right,
      rgba(79, 142, 247, 0.16),
      transparent 24%
    ),
    linear-gradient(135deg, rgba(11, 19, 34, 0.92), rgba(22, 34, 62, 0.82));
  color: #f8fbff;
  border: 1px solid rgba(148, 163, 184, 0.12);
}
.dashboard-shell .page-hero h3,
.dashboard-shell .content-header-card h3 {
  font-size: clamp(1.45rem, 2.2vw, 2.1rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  color: #fff;
}
.dashboard-shell .page-hero p,
.dashboard-shell .content-header-card p {
  color: rgba(241, 245, 249, 0.82);
  max-width: 72ch;
}

.dashboard-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(280px, 0.9fr);
  gap: 18px;
  align-items: stretch;
}
.dashboard-shell .dashboard-hero-grid--single {
  grid-template-columns: 1fr;
}
.dashboard-hero-panel {
  border-radius: 20px;
  padding: 18px;
  background:
    linear-gradient(
      180deg,
      rgba(255, 255, 255, 0.1),
      rgba(255, 255, 255, 0.04)
    ),
    linear-gradient(135deg, rgba(252, 94, 40, 0.14), rgba(79, 142, 247, 0.08));
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.08),
    0 18px 40px rgba(2, 8, 23, 0.18);
}
.dashboard-hero-compact {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 168px;
}
.dashboard-hero-kicker {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 12px;
  margin-bottom: 12px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.12);
  color: #dbeafe;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.dashboard-hero-grid .hero-note {
  margin-top: 14px;
  font-size: 0.94rem;
  color: rgba(241, 245, 249, 0.78);
}
.dashboard-shell .content-header-card h6 {
  font-size: clamp(0.95rem, 1.15vw, 1.02rem);
  font-weight: 500;
  line-height: 1.5;
  color: rgba(241, 245, 249, 0.84);
}
.dashboard-discover-strip {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.35fr);
  gap: 14px;
  margin-top: 14px;
  padding: 16px;
  border-radius: 22px;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.14), rgba(255, 255, 255, 0.05)),
    radial-gradient(circle at top right, rgba(139, 92, 246, 0.22), transparent 34%);
  border: 1px solid rgba(255, 255, 255, 0.12);
}
.dashboard-discover-copy {
  display: grid;
  align-content: start;
  gap: 8px;
}
.dashboard-discover-kicker {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  padding: 6px 12px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.16);
  color: #fff;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.dashboard-discover-copy h5 {
  margin: 0;
  color: #fff;
  font-size: clamp(1rem, 1.8vw, 1.25rem);
  font-weight: 800;
}
.dashboard-discover-copy p {
  margin: 0;
  color: rgba(241, 245, 249, 0.8);
  line-height: 1.55;
  font-size: clamp(0.9rem, 1.2vw, 0.98rem);
}
.dashboard-discover-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}
.dashboard-discover-card {
  display: flex;
  align-items: center;
  gap: 12px;
  min-height: 92px;
  padding: 12px 14px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.08);
}
.dashboard-discover-icon {
  width: 40px;
  height: 40px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  background: rgba(255, 255, 255, 0.14);
  color: #fff;
  flex: 0 0 auto;
}
.dashboard-discover-card strong {
  display: block;
  color: #fff;
  font-size: 0.96rem;
  line-height: 1.2;
}
.dashboard-discover-card span {
  display: block;
  margin-top: 4px;
  color: rgba(226, 232, 240, 0.78);
  font-size: 0.8rem;
  line-height: 1.35;
}
.dashboard-hero-metrics {
  display: grid;
  gap: 12px;
}
.dashboard-hero-metric {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  padding: 14px 16px;
  border-radius: 18px;
  background: linear-gradient(
    135deg,
    rgba(15, 23, 42, 0.74),
    rgba(30, 41, 59, 0.56)
  );
  border: 1px solid rgba(255, 255, 255, 0.1);
}
.dashboard-hero-metric strong {
  display: block;
  font-size: clamp(1.15rem, 2vw, 1.6rem);
  line-height: 1;
  color: #fff;
}
.dashboard-hero-metric span {
  display: block;
  margin-top: 4px;
  color: rgba(226, 232, 240, 0.74);
  font-size: 0.86rem;
}
.dashboard-hero-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin-top: 16px;
  padding: 11px 16px;
  border-radius: 14px;
  background: linear-gradient(135deg, #38bdf8 0%, #6366f1 100%);
  color: #fff;
  font-weight: 700;
  text-decoration: none;
  box-shadow: 0 12px 22px rgba(56, 189, 248, 0.22);
}
.dashboard-hero-cta:hover {
  color: #fff;
  text-decoration: none;
}
.dashboard-shell .complaint-card {
  scroll-margin-top: 88px;
}
.dashboard-shell .complaint-card.is-target {
  outline: 3px solid rgba(13, 110, 253, 0.18);
  box-shadow:
    0 0 0 6px rgba(13, 110, 253, 0.08),
    0 12px 28px rgba(31, 45, 61, 0.12);
  animation: targetPulse 1.4s ease-out 1;
}
@keyframes targetPulse {
  0% {
    transform: scale(0.985);
    box-shadow: 0 0 0 0 rgba(13, 110, 253, 0.22);
  }
  60% {
    transform: scale(1);
    box-shadow: 0 0 0 10px rgba(13, 110, 253, 0.04);
  }
}

.dashboard-shell .dashboard-theme-toggle,
.dashboard-shell .sidebar-theme-toggle,
.theme-fab,
.navbar-theme-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  min-height: 44px;
  padding: 10px 16px;
  font-weight: 700;
  white-space: nowrap;
  transition:
    transform 0.18s ease,
    background 0.18s ease,
    border-color 0.18s ease;
}
.dashboard-shell .dashboard-theme-toggle,
.dashboard-shell .sidebar-theme-toggle {
  width: 46px;
  min-width: 46px;
  padding: 0;
}
.dashboard-shell .dashboard-theme-toggle [data-theme-toggle-label],
.dashboard-shell .sidebar-theme-toggle [data-theme-toggle-label],
.dashboard-shell .theme-fab [data-theme-toggle-label] {
  display: none !important;
}
.dashboard-shell .dashboard-theme-toggle [data-theme-toggle-icon],
.dashboard-shell .sidebar-theme-toggle [data-theme-toggle-icon],
.dashboard-shell .theme-fab [data-theme-toggle-icon] {
  font-size: 1rem;
}
.dashboard-shell .dashboard-theme-toggle,
.dashboard-shell .sidebar-theme-toggle {
  color: #fff;
  background: linear-gradient(135deg, #0ea5e9 0%, #6366f1 100%);
}
.dashboard-shell .dashboard-theme-toggle {
  color: #fff;
  background: linear-gradient(135deg, #0ea5e9 0%, #6366f1 100%);
}
.dashboard-shell .dashboard-theme-toggle:hover,
.dashboard-shell .dashboard-theme-toggle:focus,
.dashboard-shell .sidebar-theme-toggle:hover,
.dashboard-shell .sidebar-theme-toggle:focus,
.theme-fab:hover,
.navbar-theme-toggle:hover,
.navbar-theme-toggle:focus {
  transform: translateY(-1px);
  color: #fff;
}
.theme-fab {
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 1045;
  box-shadow: 0 16px 30px rgba(15, 23, 42, 0.22);
  background: linear-gradient(135deg, #0f2742 0%, #214b7b 100%);
  color: #fff;
}

.site-top {
  background: var(--alvindo-navy);
  color: rgba(255, 255, 255, 0.74);
}
.site-top .social-media p a {
  background: rgba(255, 255, 255, 0.08);
}
.header-band {
  background: #fff;
}
.page-top-cap {
  overflow: hidden;
  border-radius: 30px 30px 0 0;
}
.navbar-brand {
  gap: 14px;
  text-decoration: none;
}
.navbar-brand img {
  width: 58px;
  height: 58px;
  object-fit: contain;
}
.navbar-brand span {
  color: #111827;
  line-height: 1;
}
.navbar-brand span small {
  color: var(--alvindo-accent);
}
.header-meta {
  display: flex;
  align-items: center;
  gap: 12px;
  justify-content: flex-end;
  flex-wrap: wrap;
}
.header-meta .meta-box {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 10px 14px;
  border-radius: 999px;
  background: #fff;
  border: 1px solid rgba(4, 14, 38, 0.1);
  color: #0f172a;
  box-shadow: 0 8px 22px rgba(15, 23, 42, 0.06);
}
.header-meta .meta-box i {
  color: var(--alvindo-accent);
}
.mode-toggle {
  border: 0;
  cursor: pointer;
}

.ftco-navbar-light {
  position: sticky;
  top: 0;
  z-index: 50;
  background: var(--alvindo-navy) !important;
  box-shadow: 0 14px 38px rgba(4, 14, 38, 0.2);
}
.ftco-navbar-light .container {
  background: transparent !important;
  flex-wrap: wrap;
  row-gap: 8px;
}
.ftco-navbar-light .navbar-collapse {
  display: flex !important;
  align-items: center;
  justify-content: flex-start;
  flex-basis: auto;
  flex-wrap: wrap;
  row-gap: 8px;
  column-gap: 14px;
  padding: 8px 0;
}
.ftco-navbar-light .navbar-nav {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  list-style: none;
  margin: 0 !important;
  padding: 0;
}
.ftco-navbar-light .navbar-nav > .nav-item {
  list-style: none;
}
.ftco-navbar-light .navbar-nav > .nav-item > .nav-link {
  display: block;
  padding: 12px 18px;
  border-radius: 999px;
  letter-spacing: 0.08em;
  font-weight: 700;
}
.ftco-navbar-light .navbar-toggler {
  display: none;
  order: 1;
}
.ftco-navbar-light .navbar-nav > .nav-item.active > a,
.ftco-navbar-light .navbar-nav > .nav-item .nav-link.active {
  color: #fff;
  background: var(--alvindo-accent);
}
.navbar-utilities {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-left: auto;
  order: 2;
}
.navbar-utilities .btn-custom {
  min-height: 44px;
  padding: 10px 18px;
  margin-right: 0;
  border-radius: 999px;
}
.navbar-theme-toggle {
  border: 1px solid rgba(255, 255, 255, 0.18);
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
}
.navbar-theme-toggle:hover,
.navbar-theme-toggle:focus {
  background: rgba(255, 255, 255, 0.14);
  border-color: rgba(255, 255, 255, 0.28);
}
.ftco-navbar-light .btn-custom,
.hero-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border-radius: 999px;
  padding: 12px 18px;
  font-weight: 700;
  text-decoration: none;
}
.ftco-navbar-light .btn-custom {
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
  margin-right: 0;
}
.ftco-navbar-light .btn-custom.login {
  background: var(--alvindo-accent);
}

.hero-wrap {
  position: relative;
  min-height: calc(100vh - 170px);
  background: #07111d;
  overflow: hidden;
}
.hero-wrap .hero-video-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
  pointer-events: none;
  transform: scale(1.08);
  animation: heroPan 22s ease-in-out infinite alternate;
  filter: saturate(1.05) contrast(1.02) brightness(0.54);
}
@keyframes heroPan {
  from {
    transform: scale(1.08) translateX(-1.5%);
  }
  to {
    transform: scale(1.08) translateX(1.5%);
  }
}
.hero-wrap .overlay {
  opacity: 0.72;
  background: linear-gradient(
    90deg,
    rgba(4, 14, 38, 0.88) 0%,
    rgba(4, 14, 38, 0.58) 52%,
    rgba(4, 14, 38, 0.24) 100%
  );
  z-index: 1;
}
.hero-wrap .container {
  position: relative;
  z-index: 2;
}
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 24px;
}
.hero-cta.primary {
  background: var(--alvindo-accent);
  color: #fff;
}
.hero-cta.secondary {
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.18);
}
.media-strip {
  position: relative;
  margin-top: 28px;
  overflow: hidden;
  border-radius: 24px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(4, 14, 38, 0.64);
  box-shadow: 0 24px 60px rgba(1, 7, 18, 0.26);
}
.media-strip-track {
  display: flex;
  gap: 14px;
  width: max-content;
  padding: 14px;
  animation: stripScroll 34s linear infinite;
}
.media-strip-card {
  width: 320px;
  flex: 0 0 auto;
  border-radius: 18px;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
}
.media-strip-card img {
  display: block;
  width: 100%;
  height: 180px;
  object-fit: cover;
  transition: transform 0.5s ease;
}
.media-strip-card:hover img {
  transform: scale(1.06);
}
@keyframes stripScroll {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-50%);
  }
}

.ftco-section {
  padding-top: 70px;
  padding-bottom: 70px;
}
.section-soft {
  background: linear-gradient(180deg, #f8fbff 0%, #eef4fb 100%);
}
.section-dark {
  background: linear-gradient(180deg, #07111d 0%, #091423 100%);
  color: #eef5ff;
}
.section-dark .heading-section h2,
.section-dark .heading-section h3,
.section-dark .heading-section p,
.section-dark .subheading {
  color: #eef5ff;
}
.section-dark .services,
.section-dark .project,
.section-dark .blog-entry,
.section-dark .counter-wrap .block-18,
.section-dark .testimony-wrap,
.section-dark .about-wrap {
  background: rgba(4, 14, 38, 0.86);
  color: #eef5ff;
}
.project .img {
  min-height: 260px;
}
.block-18 {
  border-radius: 18px;
  padding: 22px;
  background: #fff;
  box-shadow: 0 12px 28px rgba(31, 45, 61, 0.08);
  gap: 14px;
}
.section-dark .block-18 {
  background: rgba(255, 255, 255, 0.06);
}
.footer-brand {
  display: flex;
  align-items: center;
  gap: 12px;
}
.footer-brand img {
  width: 48px;
  height: 48px;
}
.footer-note {
  color: rgba(255, 255, 255, 0.68);
}

.dashboard-shell .dashboard-panel,
.dashboard-shell .complaint-card,
.dashboard-shell .small-box.stat-box {
  box-shadow: 0 18px 44px rgba(2, 8, 23, 0.22);
}
.dashboard-shell .card-header,
.dashboard-shell .dashboard-panel .card-header {
  background: rgba(255, 255, 255, 0.92);
}
.dashboard-shell .small-box.stat-box {
  position: relative;
  color: #fff;
}
.dashboard-shell .small-box.stat-box::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(255, 255, 255, 0.06),
    rgba(255, 255, 255, 0.02)
  );
  pointer-events: none;
}
.dashboard-shell .small-box.stat-box .inner {
  position: relative;
  z-index: 1;
}
.dashboard-shell .small-box.stat-box h3 {
  font-size: clamp(1.8rem, 3vw, 2.4rem);
  font-weight: 800;
}
.dashboard-shell .small-box.stat-box p {
  opacity: 0.92;
}
.dashboard-shell .small-box.stat-box .small-box-footer {
  position: relative;
  z-index: 1;
}
.dashboard-shell .table {
  color: inherit;
}
.dashboard-shell .table thead th {
  background: rgba(255, 255, 255, 0.88);
  color: #10233d;
  border-color: rgba(148, 163, 184, 0.16);
}

html[data-theme="dark"] body,
html[data-theme="dark"] .content-wrapper {
  background: linear-gradient(
    180deg,
    rgba(8, 15, 28, 0.8),
    rgba(15, 23, 42, 0.92)
  );
  color: #e5eefb;
}
html[data-theme="dark"] .card,
html[data-theme="dark"] .dashboard-panel,
html[data-theme="dark"] .quick-link,
html[data-theme="dark"] .dashboard-shell .small-box.stat-box {
  box-shadow: 0 18px 44px rgba(2, 8, 23, 0.35);
}
html[data-theme="dark"] .dashboard-panel .card-header,
html[data-theme="dark"] .dashboard-table-card .table thead th {
  background: rgba(15, 23, 42, 0.78);
  color: #e5eefb;
  border-color: rgba(148, 163, 184, 0.14);
}
html[data-theme="dark"] .quick-link {
  background: linear-gradient(180deg, #111b2e 0%, #0f172a 100%);
  color: #eff5ff;
  border-color: rgba(148, 163, 184, 0.16);
}
html[data-theme="dark"] .quick-link .ql-desc,
html[data-theme="dark"] .dashboard-table-card .table,
html[data-theme="dark"] .dashboard-shell .table,
html[data-theme="dark"] .dashboard-shell .content-wrapper {
  color: #c9d8ee;
}
html[data-theme="dark"] .page-hero,
html[data-theme="dark"] .content-header-card {
  background: linear-gradient(
    135deg,
    rgba(8, 15, 28, 0.9),
    rgba(21, 32, 55, 0.84)
  );
  color: #f8fbff;
}
html[data-theme="dark"] .page-hero p,
html[data-theme="dark"] .content-header-card p,
html[data-theme="dark"] .quick-link .ql-desc,
html[data-theme="dark"] .dashboard-hero-grid .hero-note,
html[data-theme="dark"] .dashboard-hero-panel span,
html[data-theme="dark"] .dashboard-hero-panel .hero-note {
  color: rgba(226, 232, 240, 0.76);
}
html[data-theme="dark"] .theme-fab {
  background: linear-gradient(135deg, #f8fbff 0%, #dbeafe 100%);
  color: #0f172a;
}

html[data-theme="light"] body,
html[data-theme="light"] .content-wrapper {
  background: linear-gradient(
    180deg,
    rgba(246, 249, 255, 0.82),
    rgba(237, 243, 251, 0.94)
  );
  color: #1f2d3d;
}
html[data-theme="light"] .dashboard-shell .main-header.navbar,
html[data-theme="light"] .dashboard-shell .main-sidebar {
  background: rgba(4, 14, 38, 0.96);
}
html[data-theme="light"] .dashboard-shell .main-header .nav-link,
html[data-theme="light"] .dashboard-shell .main-header .navbar-brand,
html[data-theme="light"] .dashboard-shell .main-header .nav-item,
html[data-theme="light"] .dashboard-shell .main-header .text,
html[data-theme="light"] .dashboard-shell .main-header a,
html[data-theme="light"] .dashboard-shell .sidebar-profile,
html[data-theme="light"] .dashboard-shell .brand-link,
html[data-theme="light"] .dashboard-shell .nav-sidebar .nav-link {
  color: #eef5ff !important;
}
html[data-theme="light"] .dashboard-shell .nav-sidebar .nav-link.active,
html[data-theme="light"] .dashboard-shell .nav-sidebar .nav-link:hover {
  background: rgba(252, 94, 40, 0.18) !important;
  color: #fff !important;
}
html[data-theme="light"] .dashboard-shell .content-wrapper {
  background: rgba(248, 251, 255, 0.96);
  color: #eef5ff;
}
html[data-theme="dark"] .dashboard-shell .content-wrapper,
html[data-theme="dark"] .dashboard-shell .main-header.navbar,
html[data-theme="dark"] .dashboard-shell .main-sidebar {
  color: #eaf2ff;
}
html[data-theme="dark"] .dashboard-shell .card,
html[data-theme="dark"] .dashboard-shell .hero,
html[data-theme="dark"] .dashboard-shell .detail-hero,
html[data-theme="dark"] .dashboard-shell .salary-hero,
html[data-theme="dark"] .dashboard-shell .user-hero,
html[data-theme="dark"] .dashboard-shell .profile-hero,
html[data-theme="dark"] .dashboard-shell .form-hero,
html[data-theme="dark"] .dashboard-shell .content-header-card,
html[data-theme="dark"] .dashboard-shell .page-hero,
html[data-theme="dark"] .dashboard-shell .complaint-card,
html[data-theme="dark"] .dashboard-shell .quick-link,
html[data-theme="dark"] .dashboard-shell .small-box,
html[data-theme="dark"] .dashboard-shell .dashboard-panel {
  background: rgba(8, 15, 28, 0.92);
  color: #eef5ff;
  border-color: rgba(148, 163, 184, 0.14);
}
html[data-theme="dark"] .dashboard-shell .card-title,
html[data-theme="dark"] .dashboard-shell .card-header,
html[data-theme="dark"] .dashboard-shell .card-header .card-title,
html[data-theme="dark"] .dashboard-shell .card-header span,
html[data-theme="dark"] .dashboard-shell .form-hero h3,
html[data-theme="dark"] .dashboard-shell .hero h3,
html[data-theme="dark"] .dashboard-shell .detail-hero h3,
html[data-theme="dark"] .dashboard-shell .salary-hero h3,
html[data-theme="dark"] .dashboard-shell .user-hero h3,
html[data-theme="dark"] .dashboard-shell .profile-hero h3,
html[data-theme="dark"] .dashboard-shell .page-hero h3,
html[data-theme="dark"] .dashboard-shell .content-header-card h3 {
  color: #ffffff;
}
html[data-theme="dark"] .dashboard-shell .text-muted,
html[data-theme="dark"] .dashboard-shell .table .text-muted,
html[data-theme="dark"] .dashboard-shell small,
html[data-theme="dark"] .dashboard-shell .quick-link .ql-desc,
html[data-theme="dark"] .dashboard-shell .hero p,
html[data-theme="dark"] .dashboard-shell .detail-hero p,
html[data-theme="dark"] .dashboard-shell .salary-hero p,
html[data-theme="dark"] .dashboard-shell .user-hero p,
html[data-theme="dark"] .dashboard-shell .profile-hero p,
html[data-theme="dark"] .dashboard-shell .page-hero p,
html[data-theme="dark"] .dashboard-shell .content-header-card p {
  color: rgba(226, 232, 240, 0.78) !important;
}
html[data-theme="dark"] .dashboard-shell .table,
html[data-theme="dark"] .dashboard-shell .table td,
html[data-theme="dark"] .dashboard-shell .table th,
html[data-theme="dark"] .dashboard-shell .form-control,
html[data-theme="dark"] .dashboard-shell select.form-control,
html[data-theme="dark"] .dashboard-shell textarea.form-control,
html[data-theme="dark"] .dashboard-shell .custom-control-label,
html[data-theme="dark"] .dashboard-shell .input-group-text {
  color: #eef5ff;
}
html[data-theme="dark"] .dashboard-shell .table thead th,
html[data-theme="dark"] .dashboard-shell .table-responsive .table thead th {
  background: rgba(15, 23, 42, 0.94);
  color: #f8fbff;
  border-color: rgba(148, 163, 184, 0.16);
}
html[data-theme="dark"] .dashboard-shell .form-control,
html[data-theme="dark"] .dashboard-shell select.form-control,
html[data-theme="dark"] .dashboard-shell textarea.form-control {
  background: rgba(15, 23, 42, 0.75);
  border-color: rgba(148, 163, 184, 0.24);
}
html[data-theme="dark"] .dashboard-shell .form-control::placeholder,
html[data-theme="dark"] .dashboard-shell textarea.form-control::placeholder {
  color: rgba(203, 213, 225, 0.82);
}
html[data-theme="dark"] .dashboard-shell .nav-sidebar .nav-link,
html[data-theme="dark"] .dashboard-shell .sidebar-profile,
html[data-theme="dark"] .dashboard-shell .brand-link {
  color: #eef5ff !important;
}
html[data-theme="dark"] .dashboard-shell .sidebar-profile small,
html[data-theme="dark"] .dashboard-shell .brand-link .brand-text {
  color: rgba(226, 232, 240, 0.8) !important;
}
html[data-theme="light"] .dashboard-shell .dashboard-hero-kicker,
html[data-theme="light"] .dashboard-shell .dashboard-hero-metric,
html[data-theme="light"] .dashboard-shell .dashboard-hero-panel,
html[data-theme="light"] .dashboard-shell .quick-link,
html[data-theme="light"] .dashboard-shell .small-box.stat-box,
html[data-theme="light"] .dashboard-shell .card,
html[data-theme="light"] .dashboard-shell .hero-panel,
html[data-theme="light"] .dashboard-shell .dashboard-panel,
html[data-theme="light"] .dashboard-shell .complaint-card,
html[data-theme="light"] .dashboard-shell .page-hero,
html[data-theme="light"] .dashboard-shell .content-header-card {
  background: rgba(8, 15, 28, 0.92);
  color: #eef5ff;
  border-color: rgba(148, 163, 184, 0.14);
}
html[data-theme="light"] .dashboard-shell .page-hero h3,
html[data-theme="light"] .dashboard-shell .page-hero h4,
html[data-theme="light"] .dashboard-shell .page-hero p,
html[data-theme="light"] .dashboard-shell .page-hero span,
html[data-theme="light"] .dashboard-shell .content-header-card h3,
html[data-theme="light"] .dashboard-shell .content-header-card h4,
html[data-theme="light"] .dashboard-shell .content-header-card p,
html[data-theme="light"] .dashboard-shell .content-header-card span,
html[data-theme="light"] .dashboard-shell .dashboard-hero-metric strong,
html[data-theme="light"] .dashboard-shell .dashboard-hero-metric span,
html[data-theme="light"] .dashboard-shell .quick-link .ql-title,
html[data-theme="light"] .dashboard-shell .quick-link .ql-desc,
html[data-theme="light"] .dashboard-shell .small-box.stat-box h3,
html[data-theme="light"] .dashboard-shell .small-box.stat-box p {
  color: #eef5ff !important;
}
html[data-theme="light"] .dashboard-shell .page-hero p,
html[data-theme="light"] .dashboard-shell .content-header-card p,
html[data-theme="light"] .dashboard-shell .dashboard-hero-panel span,
html[data-theme="light"] .dashboard-shell .dashboard-hero-grid .hero-note,
html[data-theme="light"] .dashboard-shell .quick-link .ql-desc {
  color: rgba(226, 232, 240, 0.76);
}
html[data-theme="light"] .dashboard-shell .dashboard-hero-kicker {
  background: rgba(255, 255, 255, 0.1);
  color: #dbeafe;
}
html[data-theme="light"] .dashboard-shell .dashboard-hero-metric {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.12);
}
html[data-theme="light"] .dashboard-shell .dashboard-hero-cta {
  color: #fff;
}
html[data-theme="light"] .dashboard-shell .small-box.stat-box,
html[data-theme="light"] .dashboard-shell .dashboard-hero-panel,
html[data-theme="light"] .dashboard-shell .dashboard-hero-metric,
html[data-theme="light"] .dashboard-shell .quick-link,
html[data-theme="light"] .dashboard-shell .card,
html[data-theme="light"] .dashboard-shell .hero-panel,
html[data-theme="light"] .dashboard-shell .dashboard-panel,
html[data-theme="light"] .dashboard-shell .complaint-card {
  background: rgba(8, 15, 28, 0.92);
  border-color: rgba(148, 163, 184, 0.14);
}

html[data-theme="light"] .dashboard-shell .main-header.navbar,
html[data-theme="light"] .dashboard-shell .content-wrapper,
html[data-theme="light"] .dashboard-shell .hero,
html[data-theme="light"] .dashboard-shell .card,
html[data-theme="light"] .dashboard-shell .salary-card,
html[data-theme="light"] .dashboard-shell .profile-card,
html[data-theme="light"] .dashboard-shell .form-hero,
html[data-theme="light"] .dashboard-shell .hero-panel,
html[data-theme="light"] .dashboard-shell .content-header-card,
html[data-theme="light"] .dashboard-shell .page-hero,
html[data-theme="light"] .dashboard-shell .complaint-card,
html[data-theme="light"] .dashboard-shell .small-box,
html[data-theme="light"] .dashboard-shell .status-tile,
html[data-theme="light"] .dashboard-shell .hero-panel {
  color: #eef5ff !important;
}

html[data-theme="light"] .dashboard-shell .hero,
html[data-theme="light"] .dashboard-shell .card,
html[data-theme="light"] .dashboard-shell .salary-card,
html[data-theme="light"] .dashboard-shell .profile-card,
html[data-theme="light"] .dashboard-shell .form-hero,
html[data-theme="light"] .dashboard-shell .hero-panel,
html[data-theme="light"] .dashboard-shell .small-box,
html[data-theme="light"] .dashboard-shell .status-tile {
  background: rgba(8, 15, 28, 0.92) !important;
  border-color: rgba(148, 163, 184, 0.14) !important;
}

html[data-theme="light"] .dashboard-shell .content-wrapper .text-muted,
html[data-theme="light"] .dashboard-shell .hero .text-muted,
html[data-theme="light"] .dashboard-shell .hero-panel .text-muted,
html[data-theme="light"] .dashboard-shell .card .text-muted,
html[data-theme="light"] .dashboard-shell .profile-card .text-muted,
html[data-theme="light"] .dashboard-shell .salary-card .text-muted,
html[data-theme="light"] .dashboard-shell .form-hero .text-muted {
  color: rgba(226, 232, 240, 0.72) !important;
}
html[data-theme="light"] .dashboard-shell .content-wrapper,
html[data-theme="light"] .dashboard-shell .main-header.navbar,
html[data-theme="light"] .dashboard-shell .main-sidebar {
  color: #eef5ff;
}
html[data-theme="light"] .dashboard-shell .table,
html[data-theme="light"] .dashboard-shell .table td,
html[data-theme="light"] .dashboard-shell .table th,
html[data-theme="light"] .dashboard-shell .form-control,
html[data-theme="light"] .dashboard-shell select.form-control,
html[data-theme="light"] .dashboard-shell textarea.form-control,
html[data-theme="light"] .dashboard-shell .custom-control-label,
html[data-theme="light"] .dashboard-shell .input-group-text {
  color: #eef5ff;
}
html[data-theme="light"] .dashboard-shell .form-control::placeholder,
html[data-theme="light"] .dashboard-shell textarea.form-control::placeholder {
  color: rgba(203, 213, 225, 0.82);
}
html[data-theme="light"] .dashboard-shell .table thead th {
  background: rgba(15, 23, 42, 0.94);
  color: #f8fbff;
}
html[data-theme="light"] .theme-fab {
  background: linear-gradient(135deg, #0f2742 0%, #214b7b 100%);
  color: #fff;
}

@media (min-width: 1024px) {
  .dashboard-shell .dashboard-hero-grid {
    grid-template-columns: minmax(0, 1.4fr) minmax(280px, 0.9fr);
  }
  .dashboard-shell .quick-link-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}
@media (min-width: 768px) and (max-width: 1023.98px) {
  .dashboard-shell .dashboard-hero-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }
  .dashboard-discover-strip {
    grid-template-columns: 1fr;
  }
  .dashboard-discover-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .dashboard-shell .quick-link-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .dashboard-shell .content-wrapper {
    padding: 14px !important;
  }
  .dashboard-shell .page-hero,
  .dashboard-shell .content-header-card,
  .dashboard-shell .hero,
  .dashboard-shell .detail-hero,
  .dashboard-shell .salary-hero,
  .dashboard-shell .user-hero,
  .dashboard-shell .profile-hero,
  .dashboard-shell .form-hero {
    padding: 18px !important;
  }
  .dashboard-shell .small-box.stat-box h3 {
    font-size: 2rem;
  }
}
@media (max-width: 767.98px) {
  .dashboard-shell .dashboard-hero-grid {
    grid-template-columns: 1fr;
    gap: 14px;
  }
  .dashboard-discover-strip {
    grid-template-columns: 1fr;
    padding: 14px;
  }
  .dashboard-discover-grid {
    grid-template-columns: 1fr;
  }
  .dashboard-shell .dashboard-hero-metric {
    padding: 12px 14px;
  }
  .dashboard-shell .dashboard-hero-cta {
    width: 100%;
  }
  .dashboard-shell .quick-link-grid {
    grid-template-columns: 1fr;
  }
  .dashboard-shell .page-hero,
  .dashboard-shell .content-header-card,
  .dashboard-shell .hero,
  .dashboard-shell .detail-hero,
  .dashboard-shell .salary-hero,
  .dashboard-shell .user-hero,
  .dashboard-shell .profile-hero,
  .dashboard-shell .form-hero {
    padding: 14px !important;
    border-radius: 16px !important;
  }
  .dashboard-shell .content-wrapper {
    padding: 12px !important;
  }
  .dashboard-shell .card-body {
    padding: 14px;
  }
  .dashboard-shell .btn,
  .dashboard-shell .card-body .btn,
  .dashboard-shell .complaint-card .btn {
    width: 100%;
    margin-bottom: 8px;
  }
  .dashboard-shell .photo-grid,
  .dashboard-shell .js-after-preview {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .dashboard-shell .main-sidebar {
    width: 100vw;
    border-radius: 0;
    box-shadow: 20px 0 54px rgba(15, 23, 42, 0.36);
    top: 0;
    bottom: 0;
    height: 100dvh;
    transform: translateX(-100%);
    transition:
      transform 0.24s ease,
      box-shadow 0.24s ease;
    will-change: transform;
  }
  body.dashboard-shell.sidebar-open .main-sidebar {
    transform: translateX(0);
  }
  body.dashboard-shell.sidebar-collapse .main-sidebar {
    transform: translateX(-100%);
  }
  .dashboard-shell .content-wrapper,
  .dashboard-shell .main-header.navbar {
    margin-left: 0 !important;
    width: 100%;
  }
  .dashboard-shell .sidebar {
    padding-bottom: 22px;
  }
  .dashboard-shell .nav-sidebar .nav-link {
    margin: 5px 10px;
    padding: 12px 13px;
    border-radius: 16px;
  }
  .dashboard-shell .sidebar-theme-toggle {
    padding: 0.7rem 1rem;
  }
}
@media (max-width: 575.98px) {
  .dashboard-shell .page-hero h3,
  .dashboard-shell .content-header-card h3 {
    font-size: 1.2rem;
  }
  .dashboard-shell .small-box.stat-box .inner {
    padding: 14px;
  }
  .dashboard-hero-metric {
    padding: 12px 14px;
  }
  .dashboard-hero-cta {
    width: 100%;
  }
  .brand-link {
    min-height: 64px;
    padding: 10px 8px !important;
  }
  .brand-link::before {
    width: min(150px, 100%);
    height: 40px;
  }
  .sidebar-profile {
    padding: 10px 8px;
  }
  .sidebar-profile img {
    width: 56px;
    height: 56px;
  }
  .nav-sidebar .nav-link {
    margin: 1px 6px;
    padding: 8px 10px;
    font-size: 0.93rem;
  }
  .nav-sidebar .nav-link .nav-icon {
    min-width: 16px;
  }
  .page-hero,
  .content-header-card,
  .form-hero,
  .hero,
  .detail-hero,
  .salary-hero,
  .user-hero,
  .profile-hero {
    padding: 16px 14px;
    border-radius: 14px;
    margin-bottom: 16px;
  }
  .small-box .inner {
    padding: 14px;
  }
}

/* Bootstrap 4 compatibility helpers for legacy markup. */
.ml-auto {
  margin-left: auto !important;
}
.mr-0 {
  margin-right: 0 !important;
}
.mr-1 {
  margin-right: 0.25rem !important;
}
.mr-2 {
  margin-right: 0.5rem !important;
}
.ml-1 {
  margin-left: 0.25rem !important;
}
.ml-2 {
  margin-left: 0.5rem !important;
}
.mt-1 {
  margin-top: 0.25rem !important;
}
.mt-2 {
  margin-top: 0.5rem !important;
}
.mb-0 {
  margin-bottom: 0 !important;
}
.mb-1 {
  margin-bottom: 0.25rem !important;
}
.mb-2 {
  margin-bottom: 0.5rem !important;
}
.float-right {
  float: right !important;
}
.dropdown-menu-right {
  right: 0;
  left: auto;
}
.text-right {
  text-align: right !important;
}
.text-left {
  text-align: left !important;
}
.form-inline {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem;
}
.form-inline .form-control,
.form-inline .btn {
  width: auto;
}

/* Common responsive rules for admin / pelaksana / teknisi pages */
.salary-shell,
.profile-shell,
.form-shell {
  max-width: 1180px;
  margin: 0 auto;
}

.page-actions,
.filter-toolbar,
.salary-toolbar,
.auth-chip-row,
.auth-links {
  gap: 10px;
  flex-wrap: wrap;
}

.page-actions .btn,
.filter-toolbar .btn,
.salary-toolbar .btn {
  border-radius: 999px;
}

.camera-box {
  display: grid;
  grid-template-columns: minmax(220px, 360px) 1fr;
  gap: 14px;
  align-items: start;
}

.camera-box video,
.camera-box img {
  width: 100%;
  border-radius: 12px;
  border: 1px solid #dbe4f0;
  background: #111;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.status-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(170px, 1fr));
  gap: 12px;
}

.status-tile {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(148, 163, 184, 0.16);
  border-radius: 12px;
  padding: 14px;
}

.profile-card,
.salary-card,
.hero,
.card,
.content-header-card,
.page-hero {
  border-radius: 16px;
}

.dashboard-shell .dashboard-grid-2 {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.dashboard-shell .dashboard-grid-2 .card-body {
  min-height: 220px;
}

.dashboard-shell canvas {
  max-height: 220px;
}

.dashboard-shell .chart-wrap {
  position: relative;
  height: 220px;
}

.dashboard-shell .chart-wrap canvas {
  max-height: 100% !important;
}

.thumb {
  width: 72px;
  height: 72px;
  object-fit: cover;
  border-radius: 10px;
}

@media (max-width: 1023.98px) {
  .camera-box {
    grid-template-columns: 1fr;
  }

  .page-actions .btn,
  .filter-toolbar .btn,
  .salary-toolbar .btn {
    width: auto;
  }

  .dashboard-shell .dashboard-grid-2 {
    grid-template-columns: 1fr;
  }

  .dashboard-shell .dashboard-grid-2 .card-body,
  .dashboard-shell .chart-wrap {
    height: 210px;
    min-height: 210px;
  }
}

@media (max-width: 767.98px) {
  .dashboard-shell .content-wrapper,
  .content-wrapper {
    padding: 12px !important;
  }

  .page-actions .btn,
  .filter-toolbar .btn,
  .salary-toolbar .btn,
  .camera-box .btn,
  .card-body .btn {
    width: 100%;
    margin-bottom: 8px;
  }

  .camera-box {
    gap: 12px;
  }

  .status-grid {
    grid-template-columns: 1fr;
  }

  .dashboard-shell .dashboard-grid-2 .card-body,
  .dashboard-shell .chart-wrap {
    height: 200px;
    min-height: 200px;
  }
}

.dashboard-shell .img-thumb {
  width: 72px;
  height: 72px;
  object-fit: cover;
  border-radius: 10px;
  border: 1px solid #d9e4f2;
  background: #fff;
}

.dashboard-shell .group-row td {
  background: rgba(230, 240, 255, 0.86) !important;
  font-weight: 700;
  color: #16324f;
}

.dashboard-shell .pill {
  border-radius: 999px;
}

/* Final contrast overrides for all role dashboards */
html[data-theme="light"] body.dashboard-shell,
html[data-theme="light"] .dashboard-shell .content-wrapper {
  background:
    radial-gradient(
      circle at top right,
      rgba(79, 142, 247, 0.08),
      transparent 24%
    ),
    linear-gradient(180deg, #eef5ff 0%, #f7fbff 100%);
  color: #10233d;
}

html[data-theme="light"] .dashboard-shell .main-header.navbar,
html[data-theme="light"] .dashboard-shell .main-sidebar {
  background: linear-gradient(180deg, #223047 0%, #1d293d 100%);
  color: #eef5ff;
}

html[data-theme="light"] .dashboard-shell .page-hero,
html[data-theme="light"] .dashboard-shell .content-header-card,
html[data-theme="light"] .dashboard-shell .hero,
html[data-theme="light"] .dashboard-shell .detail-hero,
html[data-theme="light"] .dashboard-shell .salary-hero,
html[data-theme="light"] .dashboard-shell .user-hero,
html[data-theme="light"] .dashboard-shell .profile-hero,
html[data-theme="light"] .dashboard-shell .form-hero,
html[data-theme="light"] .dashboard-shell .card,
html[data-theme="light"] .dashboard-shell .complaint-card,
html[data-theme="light"] .dashboard-shell .dashboard-panel,
html[data-theme="light"] .dashboard-shell .quick-link,
html[data-theme="light"] .dashboard-shell .small-box,
html[data-theme="light"] .dashboard-shell .status-tile,
html[data-theme="light"] .dashboard-shell .salary-card,
html[data-theme="light"] .dashboard-shell .profile-card,
html[data-theme="light"] .dashboard-shell .hero-panel,
html[data-theme="light"] .dashboard-shell .dashboard-hero-panel,
html[data-theme="light"] .dashboard-shell .dashboard-hero-metric {
  background: #ffffff !important;
  color: #10233d !important;
  border-color: #dbe7f5 !important;
}

html[data-theme="light"] .dashboard-shell .page-hero h3,
html[data-theme="light"] .dashboard-shell .page-hero h4,
html[data-theme="light"] .dashboard-shell .page-hero p,
html[data-theme="light"] .dashboard-shell .page-hero span,
html[data-theme="light"] .dashboard-shell .content-header-card h3,
html[data-theme="light"] .dashboard-shell .content-header-card h4,
html[data-theme="light"] .dashboard-shell .content-header-card p,
html[data-theme="light"] .dashboard-shell .content-header-card span,
html[data-theme="light"] .dashboard-shell .hero h3,
html[data-theme="light"] .dashboard-shell .hero p,
html[data-theme="light"] .dashboard-shell .detail-hero h3,
html[data-theme="light"] .dashboard-shell .detail-hero p,
html[data-theme="light"] .dashboard-shell .salary-hero h3,
html[data-theme="light"] .dashboard-shell .salary-hero p,
html[data-theme="light"] .dashboard-shell .user-hero h3,
html[data-theme="light"] .dashboard-shell .user-hero p,
html[data-theme="light"] .dashboard-shell .profile-hero h3,
html[data-theme="light"] .dashboard-shell .profile-hero p,
html[data-theme="light"] .dashboard-shell .form-hero h3,
html[data-theme="light"] .dashboard-shell .form-hero p,
html[data-theme="light"] .dashboard-shell .quick-link .ql-title,
html[data-theme="light"] .dashboard-shell .quick-link .ql-desc,
html[data-theme="light"] .dashboard-shell .dashboard-hero-metric strong,
html[data-theme="light"] .dashboard-shell .dashboard-hero-metric span,
html[data-theme="light"] .dashboard-shell .small-box h3,
html[data-theme="light"] .dashboard-shell .small-box p,
html[data-theme="light"] .dashboard-shell .card-title,
html[data-theme="light"] .dashboard-shell .card-header,
html[data-theme="light"] .dashboard-shell .card-header .card-title,
html[data-theme="light"] .dashboard-shell .card-header span {
  color: #10233d !important;
}

html[data-theme="light"] .dashboard-shell .text-muted,
html[data-theme="light"] .dashboard-shell small,
html[data-theme="light"] .dashboard-shell .table .text-muted,
html[data-theme="light"] .dashboard-shell .hero .text-muted,
html[data-theme="light"] .dashboard-shell .hero-panel .text-muted,
html[data-theme="light"] .dashboard-shell .card .text-muted,
html[data-theme="light"] .dashboard-shell .profile-card .text-muted,
html[data-theme="light"] .dashboard-shell .salary-card .text-muted,
html[data-theme="light"] .dashboard-shell .form-hero .text-muted,
html[data-theme="light"] .dashboard-shell .quick-link .ql-desc,
html[data-theme="light"] .dashboard-shell .dashboard-hero-grid .hero-note {
  color: #64748b !important;
}

html[data-theme="light"] .dashboard-shell .table,
html[data-theme="light"] .dashboard-shell .table td,
html[data-theme="light"] .dashboard-shell .table th,
html[data-theme="light"] .dashboard-shell .custom-control-label,
html[data-theme="light"] .dashboard-shell .input-group-text,
html[data-theme="light"] .dashboard-shell .form-control,
html[data-theme="light"] .dashboard-shell select.form-control,
html[data-theme="light"] .dashboard-shell textarea.form-control {
  color: #10233d !important;
}

html[data-theme="light"] .dashboard-shell .table thead th,
html[data-theme="light"] .dashboard-shell .table-responsive .table thead th {
  background: #eaf1fb;
  color: #10233d;
  border-color: #dbe7f5;
}

html[data-theme="light"] .dashboard-shell .form-control,
html[data-theme="light"] .dashboard-shell select.form-control,
html[data-theme="light"] .dashboard-shell textarea.form-control {
  background: #ffffff;
  border-color: #cfdced;
}

html[data-theme="light"] .dashboard-shell .form-control::placeholder,
html[data-theme="light"] .dashboard-shell textarea.form-control::placeholder {
  color: #94a3b8;
}

html[data-theme="light"] .dashboard-shell .nav-sidebar .nav-link,
html[data-theme="light"] .dashboard-shell .sidebar-profile,
html[data-theme="light"] .dashboard-shell .brand-link {
  color: #eef5ff !important;
}

html[data-theme="dark"] .dashboard-shell .content-wrapper,
html[data-theme="dark"] .dashboard-shell .main-header.navbar,
html[data-theme="dark"] .dashboard-shell .main-sidebar {
  color: #eaf2ff;
}

/* Final theme pass: keep the most-used role pages readable in both modes. */
html[data-theme="light"] body.dashboard-shell,
html[data-theme="light"] .dashboard-shell .content-wrapper {
  background:
    radial-gradient(
      circle at top right,
      rgba(79, 142, 247, 0.08),
      transparent 24%
    ),
    linear-gradient(180deg, #eef5ff 0%, #f7fbff 100%) !important;
  color: #10233d !important;
}

html[data-theme="light"] .dashboard-shell .page-hero,
html[data-theme="light"] .dashboard-shell .content-header-card,
html[data-theme="light"] .dashboard-shell .hero,
html[data-theme="light"] .dashboard-shell .detail-hero,
html[data-theme="light"] .dashboard-shell .salary-hero,
html[data-theme="light"] .dashboard-shell .user-hero,
html[data-theme="light"] .dashboard-shell .profile-hero,
html[data-theme="light"] .dashboard-shell .form-hero,
html[data-theme="light"] .dashboard-shell .card,
html[data-theme="light"] .dashboard-shell .complaint-card,
html[data-theme="light"] .dashboard-shell .dashboard-panel,
html[data-theme="light"] .dashboard-shell .quick-link {
  background: #fff !important;
  color: #10233d !important;
  border-color: #dbe7f5 !important;
}

html[data-theme="light"] .dashboard-shell .small-box.stat-box,
html[data-theme="light"] .dashboard-shell .dashboard-hero-panel,
html[data-theme="light"] .dashboard-shell .dashboard-hero-metric,
html[data-theme="light"] .dashboard-shell .hero-panel,
html[data-theme="light"] .dashboard-shell .status-tile {
  background: #fff !important;
  color: #10233d !important;
  border-color: #dbe7f5 !important;
}

html[data-theme="light"] .dashboard-shell .page-hero h3,
html[data-theme="light"] .dashboard-shell .page-hero h4,
html[data-theme="light"] .dashboard-shell .page-hero p,
html[data-theme="light"] .dashboard-shell .page-hero span,
html[data-theme="light"] .dashboard-shell .content-header-card h3,
html[data-theme="light"] .dashboard-shell .content-header-card h4,
html[data-theme="light"] .dashboard-shell .content-header-card p,
html[data-theme="light"] .dashboard-shell .content-header-card span,
html[data-theme="light"] .dashboard-shell .hero h3,
html[data-theme="light"] .dashboard-shell .hero p,
html[data-theme="light"] .dashboard-shell .detail-hero h3,
html[data-theme="light"] .dashboard-shell .detail-hero p,
html[data-theme="light"] .dashboard-shell .salary-hero h3,
html[data-theme="light"] .dashboard-shell .salary-hero p,
html[data-theme="light"] .dashboard-shell .user-hero h3,
html[data-theme="light"] .dashboard-shell .user-hero p,
html[data-theme="light"] .dashboard-shell .profile-hero h3,
html[data-theme="light"] .dashboard-shell .profile-hero p,
html[data-theme="light"] .dashboard-shell .form-hero h3,
html[data-theme="light"] .dashboard-shell .form-hero p,
html[data-theme="light"] .dashboard-shell .quick-link .ql-title,
html[data-theme="light"] .dashboard-shell .quick-link .ql-desc,
html[data-theme="light"] .dashboard-shell .small-box.stat-box h3,
html[data-theme="light"] .dashboard-shell .small-box.stat-box p,
html[data-theme="light"] .dashboard-shell .dashboard-hero-metric strong,
html[data-theme="light"] .dashboard-shell .dashboard-hero-metric span {
  color: #10233d !important;
}

html[data-theme="light"] .dashboard-shell .text-muted,
html[data-theme="light"] .dashboard-shell small,
html[data-theme="light"] .dashboard-shell .table .text-muted,
html[data-theme="light"] .dashboard-shell .hero .text-muted,
html[data-theme="light"] .dashboard-shell .card .text-muted,
html[data-theme="light"] .dashboard-shell .profile-card .text-muted,
html[data-theme="light"] .dashboard-shell .salary-card .text-muted,
html[data-theme="light"] .dashboard-shell .form-hero .text-muted,
html[data-theme="light"] .dashboard-shell .quick-link .ql-desc,
html[data-theme="light"] .dashboard-shell .dashboard-hero-grid .hero-note {
  color: #64748b !important;
}

html[data-theme="light"] .dashboard-shell .table,
html[data-theme="light"] .dashboard-shell .table td,
html[data-theme="light"] .dashboard-shell .table th,
html[data-theme="light"] .dashboard-shell .custom-control-label,
html[data-theme="light"] .dashboard-shell .input-group-text,
html[data-theme="light"] .dashboard-shell .form-control,
html[data-theme="light"] .dashboard-shell select.form-control,
html[data-theme="light"] .dashboard-shell textarea.form-control {
  color: #10233d !important;
}

html[data-theme="light"] .dashboard-shell .table thead th,
html[data-theme="light"] .dashboard-shell .table-responsive .table thead th {
  background: #eaf1fb !important;
  color: #10233d !important;
  border-color: #dbe7f5 !important;
}

html[data-theme="light"] .dashboard-shell .form-control,
html[data-theme="light"] .dashboard-shell select.form-control,
html[data-theme="light"] .dashboard-shell textarea.form-control {
  background: #ffffff !important;
  border-color: #cfdced !important;
}

html[data-theme="light"] .dashboard-shell .form-control::placeholder,
html[data-theme="light"] .dashboard-shell textarea.form-control::placeholder {
  color: #94a3b8 !important;
}

html[data-theme="light"] .dashboard-shell .main-header.navbar,
html[data-theme="light"] .dashboard-shell .main-sidebar {
  background: linear-gradient(180deg, #223047 0%, #1d293d 100%) !important;
  color: #eef5ff !important;
}

html[data-theme="dark"] body.dashboard-shell,
html[data-theme="dark"] .dashboard-shell .content-wrapper {
  background: #07111d !important;
  color: #eaf2ff !important;
}

html[data-theme="light"] .dashboard-shell .card-header.bg-primary,
html[data-theme="light"] .dashboard-shell .bg-primary.text-white {
  background: #eaf1fb !important;
  color: #10233d !important;
}

html[data-theme="light"] .dashboard-shell .btn-outline-light {
  color: #10233d !important;
  border-color: #cfdced !important;
  background: #fff !important;
}

html[data-theme="light"] .dashboard-shell .btn-light {
  color: #10233d !important;
  background: #edf2f7 !important;
  border-color: #dbe7f5 !important;
}

html[data-theme="dark"] .dashboard-shell .btn-outline-light,
html[data-theme="dark"] .dashboard-shell .btn-light {
  color: #eef5ff !important;
  border-color: rgba(148, 163, 184, 0.22) !important;
  background: rgba(255, 255, 255, 0.06) !important;
}

.dashboard-menu-fab {
  position: fixed;
  left: 18px;
  top: 92px;
  z-index: 1060;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  padding: 0;
  border: 0;
  border-radius: 999px;
  background: linear-gradient(135deg, #0f2742 0%, #214b7b 100%);
  color: #fff;
  box-shadow: 0 16px 30px rgba(15, 23, 42, 0.22);
  font-weight: 700;
  letter-spacing: 0.01em;
}

.dashboard-menu-fab i {
  font-size: 1rem;
}

.dashboard-menu-fab:hover,
.dashboard-menu-fab:focus {
  color: #fff;
  transform: translateY(-1px);
}

@media (min-width: 992px) {
  .dashboard-menu-fab {
    display: none !important;
  }
}

@media (max-width: 767.98px) {
  .dashboard-menu-fab {
    left: 12px;
    top: 84px;
    width: 44px;
    height: 44px;
  }
}

.dashboard-shell .main-header .nav-link[data-widget="pushmenu"] {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  padding: 0;
  margin: 0 8px 0 0;
  border-radius: 14px;
  background: linear-gradient(
    135deg,
    rgba(15, 39, 66, 0.92) 0%,
    rgba(33, 75, 123, 0.92) 100%
  );
  color: #fff !important;
  box-shadow: 0 10px 22px rgba(15, 23, 42, 0.18);
  overflow: hidden;
  font-size: 0;
  line-height: 1;
}

.dashboard-shell .main-header .nav-link[data-widget="pushmenu"] i {
  font-size: 1rem;
  line-height: 1;
}

.dashboard-shell .main-header .nav-link[data-widget="pushmenu"]:hover,
.dashboard-shell .main-header .nav-link[data-widget="pushmenu"]:focus {
  color: #fff !important;
  background: linear-gradient(135deg, #123155 0%, #2f5fa2 100%);
}

.dashboard-shell .main-header .dashboard-sidebar-toggle-inline {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  padding: 0;
  border-radius: 14px;
  border: 0;
  background: linear-gradient(135deg, rgba(15, 39, 66, 0.92) 0%, rgba(33, 75, 123, 0.92) 100%);
  color: #fff;
  box-shadow: 0 10px 22px rgba(15, 23, 42, 0.18);
  cursor: pointer;
}

.dashboard-shell .main-header .dashboard-sidebar-toggle-inline i {
  font-size: 1rem;
  line-height: 1;
}

@media (min-width: 992px) {
  .dashboard-shell .main-header .nav-link[data-widget="pushmenu"] {
    display: none !important;
  }
}

/* Pelaksana komplain page polish */
.dashboard-shell .hero-top-row,
.dashboard-shell .complaint-head-row,
.dashboard-shell .complaint-footer-actions,
.dashboard-shell .complaint-card-actions {
  gap: 12px;
}

.dashboard-shell .admin-action-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
  min-width: 220px;
}

.dashboard-shell .admin-action-grid .btn,
.dashboard-shell .admin-action-grid form {
  width: 100%;
}

.dashboard-shell .admin-action-grid form {
  margin: 0;
}

.dashboard-shell .admin-action-grid .btn {
  min-height: 42px;
}

.dashboard-shell .complaint-card-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
}

.dashboard-shell .complaint-card-actions .btn,
.dashboard-shell .complaint-footer-actions .btn {
  min-height: 42px;
}

.dashboard-shell .hero-menu-btn,
.dashboard-shell .close-image-viewer-btn {
  background: #edf2f7 !important;
  color: #10233d !important;
  border-color: #dbe7f5 !important;
}

.dashboard-shell .complaint-edit-card {
  background: #f8fbff;
  border-color: #dbe7f5;
}

html[data-theme="light"] .dashboard-shell .complaint-edit-card {
  background: #f8fbff !important;
  color: #10233d !important;
}

html[data-theme="dark"] .dashboard-shell .complaint-edit-card {
  background: rgba(8, 15, 28, 0.92) !important;
  color: #eef5ff !important;
}

html[data-theme="light"] .dashboard-shell .hero-menu-btn,
html[data-theme="light"] .dashboard-shell .close-image-viewer-btn {
  background: #fff !important;
  color: #10233d !important;
  border-color: #cfdced !important;
}

html[data-theme="dark"] .dashboard-shell .hero-menu-btn,
html[data-theme="dark"] .dashboard-shell .close-image-viewer-btn {
  background: rgba(255, 255, 255, 0.06) !important;
  color: #eef5ff !important;
  border-color: rgba(148, 163, 184, 0.22) !important;
}

html[data-theme="light"] .dashboard-shell .hero,
html[data-theme="light"] .dashboard-shell .complaint-card {
  background: linear-gradient(180deg, #ffffff 0%, #f7fbff 100%) !important;
  border-color: #dbe7f5 !important;
  box-shadow: 0 12px 28px rgba(31, 45, 61, 0.06) !important;
}

html[data-theme="dark"] .dashboard-shell .hero,
html[data-theme="dark"] .dashboard-shell .complaint-card {
  background: linear-gradient(
    180deg,
    rgba(8, 15, 28, 0.94) 0%,
    rgba(10, 18, 38, 0.88) 100%
  ) !important;
  border-color: rgba(148, 163, 184, 0.14) !important;
  box-shadow: 0 14px 30px rgba(2, 8, 23, 0.28) !important;
}

/* Modernize legacy user/profile pages */
.dashboard-shell .user-shell,
.dashboard-shell .profile-shell {
  width: min(1200px, 100%);
  margin: 0 auto;
}

.dashboard-shell .user-hero,
.dashboard-shell .profile-hero {
  border: 1px solid rgba(148, 163, 184, 0.18);
  background: linear-gradient(
    135deg,
    rgba(10, 18, 38, 0.94) 0%,
    rgba(14, 34, 63, 0.92) 100%
  ) !important;
  color: #eef5ff !important;
  box-shadow: 0 18px 40px rgba(2, 8, 23, 0.22) !important;
}

.dashboard-shell .user-hero p,
.dashboard-shell .profile-hero p,
.dashboard-shell .user-hero .text-muted,
.dashboard-shell .profile-hero .text-muted {
  color: rgba(226, 232, 240, 0.78) !important;
}

.dashboard-shell .user-card,
.dashboard-shell .profile-side,
.dashboard-shell .profile-form {
  border: 1px solid rgba(148, 163, 184, 0.16) !important;
  background: linear-gradient(
    180deg,
    rgba(9, 17, 32, 0.96) 0%,
    rgba(12, 22, 42, 0.92) 100%
  ) !important;
  color: #eef5ff !important;
  box-shadow: 0 18px 42px rgba(2, 8, 23, 0.2) !important;
}

.dashboard-shell .profile-avatar {
  border-color: rgba(56, 189, 248, 0.35) !important;
}

.dashboard-shell .profile-stat {
  background: linear-gradient(
    135deg,
    rgba(15, 23, 42, 0.85) 0%,
    rgba(29, 78, 216, 0.32) 100%
  ) !important;
  border-color: rgba(148, 163, 184, 0.18) !important;
}

.dashboard-shell .profile-stat strong {
  color: #f8fbff !important;
}

.dashboard-shell .money-input {
  text-align: right;
}

html[data-theme="light"] body.dashboard-shell {
  background:
    radial-gradient(
      circle at top left,
      rgba(14, 165, 233, 0.16),
      transparent 26%
    ),
    radial-gradient(
      circle at top right,
      rgba(249, 115, 22, 0.12),
      transparent 22%
    ),
    linear-gradient(180deg, #eef5ff 0%, #f7fbff 44%, #edf3fb 100%);
  color: #10233d;
}

html[data-theme="light"] .dashboard-shell .content-wrapper {
  background:
    radial-gradient(
      circle at top right,
      rgba(79, 142, 247, 0.1),
      transparent 24%
    ),
    linear-gradient(180deg, #f7fbff 0%, #eef4fb 100%) !important;
  color: #10233d;
}

html[data-theme="light"] .dashboard-shell .main-header.navbar,
html[data-theme="light"] .dashboard-shell .main-sidebar {
  background: linear-gradient(180deg, #0f2742 0%, #152d4d 100%) !important;
}

html[data-theme="light"] .dashboard-shell .page-hero,
html[data-theme="light"] .dashboard-shell .content-header-card,
html[data-theme="light"] .dashboard-shell .hero,
html[data-theme="light"] .dashboard-shell .detail-hero,
html[data-theme="light"] .dashboard-shell .salary-hero,
html[data-theme="light"] .dashboard-shell .user-hero,
html[data-theme="light"] .dashboard-shell .profile-hero,
html[data-theme="light"] .dashboard-shell .form-hero {
  background:
    radial-gradient(
      circle at top right,
      rgba(79, 142, 247, 0.08),
      transparent 25%
    ),
    linear-gradient(135deg, #ffffff 0%, #edf5ff 100%) !important;
  color: #10233d !important;
  border-color: #dbe7f5 !important;
}

html[data-theme="light"] .dashboard-shell .page-hero p,
html[data-theme="light"] .dashboard-shell .content-header-card p,
html[data-theme="light"] .dashboard-shell .hero p,
html[data-theme="light"] .dashboard-shell .detail-hero p,
html[data-theme="light"] .dashboard-shell .user-hero p,
html[data-theme="light"] .dashboard-shell .profile-hero p {
  color: #4b5563 !important;
}

html[data-theme="light"] .dashboard-shell .card,
html[data-theme="light"] .dashboard-shell .dashboard-panel,
html[data-theme="light"] .dashboard-shell .complaint-card,
html[data-theme="light"] .dashboard-shell .user-card,
html[data-theme="light"] .dashboard-shell .profile-side,
html[data-theme="light"] .dashboard-shell .profile-form {
  background: linear-gradient(180deg, #ffffff 0%, #f7fbff 100%) !important;
  color: #10233d !important;
  border-color: #dbe7f5 !important;
}

html[data-theme="light"] .dashboard-shell .card-header {
  background: #f8fbff !important;
  color: #10233d !important;
  border-bottom-color: #e2ebf5 !important;
}

html[data-theme="light"] .dashboard-shell .table {
  color: #10233d !important;
}

html[data-theme="light"] .dashboard-shell .table thead th {
  background: #edf5ff !important;
  color: #10233d !important;
  border-color: #dbe7f5 !important;
}

html[data-theme="light"] .dashboard-shell .table td,
html[data-theme="light"] .dashboard-shell .table th {
  border-color: #dbe7f5 !important;
}

html[data-theme="light"] .dashboard-shell .dashboard-hero-panel {
  background: linear-gradient(
    180deg,
    rgba(255, 255, 255, 0.96),
    rgba(237, 245, 255, 0.96)
  ) !important;
  border-color: #dbe7f5 !important;
}

html[data-theme="light"] .dashboard-shell .dashboard-hero-metric {
  background: linear-gradient(135deg, #ffffff 0%, #eff6ff 100%) !important;
  border-color: #dbe7f5 !important;
}

html[data-theme="light"] .dashboard-shell .dashboard-hero-metric span,
html[data-theme="light"] .dashboard-shell .hero-note {
  color: #64748b !important;
}

html[data-theme="dark"] body.dashboard-shell {
  background:
    radial-gradient(
      circle at top left,
      rgba(14, 165, 233, 0.24),
      transparent 26%
    ),
    radial-gradient(
      circle at top right,
      rgba(249, 115, 22, 0.18),
      transparent 22%
    ),
    linear-gradient(180deg, #06111f 0%, #0b1730 46%, #0f1f3d 100%);
  color: #eef5ff;
}

html[data-theme="dark"] .dashboard-shell .content-wrapper {
  background:
    radial-gradient(
      circle at top right,
      rgba(99, 102, 241, 0.1),
      transparent 22%
    ),
    linear-gradient(
      180deg,
      rgba(8, 15, 27, 0.96) 0%,
      rgba(12, 20, 34, 0.98) 100%
    ) !important;
  color: #eef5ff;
}

html[data-theme="dark"] .dashboard-shell .page-hero,
html[data-theme="dark"] .dashboard-shell .content-header-card,
html[data-theme="dark"] .dashboard-shell .hero,
html[data-theme="dark"] .dashboard-shell .detail-hero,
html[data-theme="dark"] .dashboard-shell .salary-hero,
html[data-theme="dark"] .dashboard-shell .user-hero,
html[data-theme="dark"] .dashboard-shell .profile-hero,
html[data-theme="dark"] .dashboard-shell .form-hero {
  background:
    radial-gradient(
      circle at top right,
      rgba(79, 142, 247, 0.16),
      transparent 24%
    ),
    linear-gradient(135deg, rgba(11, 19, 34, 0.94), rgba(22, 34, 62, 0.84)) !important;
  color: #f8fbff !important;
  border-color: rgba(148, 163, 184, 0.12) !important;
}

html[data-theme="dark"] .dashboard-shell .card,
html[data-theme="dark"] .dashboard-shell .dashboard-panel,
html[data-theme="dark"] .dashboard-shell .complaint-card,
html[data-theme="dark"] .dashboard-shell .user-card,
html[data-theme="dark"] .dashboard-shell .profile-side,
html[data-theme="dark"] .dashboard-shell .profile-form {
  background: linear-gradient(
    180deg,
    rgba(8, 15, 28, 0.96) 0%,
    rgba(12, 20, 34, 0.96) 100%
  ) !important;
  color: #eef5ff !important;
  border-color: rgba(148, 163, 184, 0.14) !important;
}

html[data-theme="dark"] .dashboard-shell .table {
  color: #eef5ff !important;
}

html[data-theme="dark"] .dashboard-shell .table thead th {
  background: rgba(15, 23, 42, 0.96) !important;
  color: #f8fbff !important;
  border-color: rgba(148, 163, 184, 0.14) !important;
}

html[data-theme="dark"] .dashboard-shell .table td,
html[data-theme="dark"] .dashboard-shell .table th {
  border-color: rgba(148, 163, 184, 0.14) !important;
}

html[data-theme="dark"] .dashboard-shell .dashboard-hero-panel {
  background:
    linear-gradient(180deg, rgba(15, 23, 42, 0.78), rgba(30, 41, 59, 0.6)),
    linear-gradient(135deg, rgba(252, 94, 40, 0.14), rgba(79, 142, 247, 0.08)) !important;
  border-color: rgba(255, 255, 255, 0.1) !important;
}

html[data-theme="dark"] .dashboard-shell .dashboard-hero-metric {
  background: linear-gradient(
    135deg,
    rgba(15, 23, 42, 0.74),
    rgba(30, 41, 59, 0.56)
  ) !important;
  border-color: rgba(255, 255, 255, 0.1) !important;
}

html[data-theme="dark"] .dashboard-shell .hero-note,
html[data-theme="dark"] .dashboard-shell .dashboard-hero-metric span {
  color: rgba(226, 232, 240, 0.78) !important;
}

.dashboard-shell .chart-wrap {
  min-height: 320px;
  position: relative;
  padding: 18px;
}

.dashboard-shell .chart-wrap canvas {
  width: 100% !important;
  height: 320px !important;
}

html[data-theme="light"] .dashboard-shell .complaint-card .card-body,
html[data-theme="light"] .dashboard-shell .complaint-edit-card .card-body {
  color: #10233d !important;
}

html[data-theme="light"] .dashboard-shell .complaint-card .text-muted,
html[data-theme="light"] .dashboard-shell .complaint-edit-card .text-muted {
  color: #64748b !important;
}

html[data-theme="light"] .dashboard-shell .dropdown-menu {
  background: #fff;
  border-color: #dbe7f5;
}

html[data-theme="light"] .dashboard-shell .dropdown-item {
  color: #10233d;
}

html[data-theme="light"] .dashboard-shell .dropdown-item:hover,
html[data-theme="light"] .dashboard-shell .dropdown-item:focus {
  background: #eaf1fb;
  color: #10233d;
}

html[data-theme="light"] .dashboard-shell .alert-warning {
  background: #fff7e6;
  border-color: #ffd88a;
  color: #8a5b00;
}

html[data-theme="dark"] .dashboard-shell .dropdown-menu {
  background: rgba(15, 23, 42, 0.98);
  border-color: rgba(148, 163, 184, 0.18);
}

html[data-theme="dark"] .dashboard-shell .dropdown-item {
  color: #eef5ff;
}

html[data-theme="dark"] .dashboard-shell .dropdown-item:hover,
html[data-theme="dark"] .dashboard-shell .dropdown-item:focus {
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
}

html[data-theme="dark"] .dashboard-shell .alert-warning {
  background: rgba(161, 98, 7, 0.18);
  border-color: rgba(251, 191, 36, 0.22);
  color: #fde68a;
}

html[data-theme="light"] .dashboard-shell .hero-panel {
  background:
    radial-gradient(
      circle at top right,
      rgba(79, 142, 247, 0.1),
      transparent 24%
    ),
    linear-gradient(135deg, #ffffff 0%, #edf5ff 100%) !important;
  border: 1px solid #dbe7f5 !important;
  color: #10233d !important;
  box-shadow: 0 12px 30px rgba(31, 45, 61, 0.08) !important;
}

html[data-theme="light"] .dashboard-shell .hero-panel h3,
html[data-theme="light"] .dashboard-shell .hero-panel p {
  color: #10233d !important;
}

html[data-theme="light"] .dashboard-shell .hero-panel .btn-light,
html[data-theme="light"] .dashboard-shell .hero-panel .dropdown-toggle,
html[data-theme="light"] .dashboard-shell .filter-toolbar .btn {
  color: #10233d !important;
}

html[data-theme="dark"] .dashboard-shell .hero-panel {
  background:
    radial-gradient(
      circle at top right,
      rgba(79, 142, 247, 0.14),
      transparent 24%
    ),
    linear-gradient(
      135deg,
      rgba(11, 19, 34, 0.96) 0%,
      rgba(22, 34, 62, 0.88) 100%
    ) !important;
  border: 1px solid rgba(148, 163, 184, 0.12) !important;
  color: #eef5ff !important;
  box-shadow: 0 14px 36px rgba(2, 8, 23, 0.24) !important;
}

html[data-theme="dark"] .dashboard-shell .hero-panel h3,
html[data-theme="dark"] .dashboard-shell .hero-panel p {
  color: #f8fbff !important;
}

html[data-theme="dark"] .dashboard-shell .hero-panel .btn-light,
html[data-theme="dark"] .dashboard-shell .hero-panel .dropdown-toggle,
html[data-theme="dark"] .dashboard-shell .filter-toolbar .btn {
  color: #f8fbff !important;
}

html[data-theme="light"] .dashboard-shell .filter-toolbar .btn-warning,
html[data-theme="light"] .dashboard-shell .filter-toolbar .btn-info,
html[data-theme="light"] .dashboard-shell .filter-toolbar .btn-primary,
html[data-theme="light"] .dashboard-shell .filter-toolbar .btn-success {
  color: #10233d !important;
}

.dashboard-shell .main-header .nav-link[data-widget="pushmenu"] {
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  width: 44px !important;
  height: 44px !important;
  padding: 0 !important;
  margin: 0 10px 0 0 !important;
  border-radius: 14px !important;
  background: linear-gradient(135deg, #0f2742 0%, #214b7b 100%) !important;
  color: #fff !important;
  box-shadow: 0 10px 22px rgba(15, 23, 42, 0.2);
  font-size: 0 !important;
  line-height: 1 !important;
  overflow: hidden;
}

.dashboard-shell .main-header .nav-link[data-widget="pushmenu"] i {
  font-size: 1rem !important;
  line-height: 1 !important;
}

.dashboard-shell .main-header .nav-link[data-widget="pushmenu"]:hover,
.dashboard-shell .main-header .nav-link[data-widget="pushmenu"]:focus {
  background: linear-gradient(135deg, #123155 0%, #2f5fa2 100%) !important;
  color: #fff !important;
}

@media (min-width: 992px) {
  .dashboard-shell .main-header .nav-link[data-widget="pushmenu"] {
    display: none !important;
  }
}

@media print {
  .dashboard-menu-fab {
    display: none !important;
  }
}

/* Final hard override for light mode readability across all role dashboards.
   This sits at the end so it wins over older page-specific white-on-white rules. */
html[data-theme="light"] body.dashboard-shell,
html[data-theme="light"] .dashboard-shell .content-wrapper {
  background:
    radial-gradient(
      circle at top right,
      rgba(79, 142, 247, 0.1),
      transparent 24%
    ),
    linear-gradient(180deg, #f7fbff 0%, #eef4fb 100%) !important;
  color: #10233d !important;
}

html[data-theme="light"] .dashboard-shell .main-header.navbar,
html[data-theme="light"] .dashboard-shell .main-sidebar {
  background: linear-gradient(180deg, #0f2742 0%, #152d4d 100%) !important;
  color: #eef5ff !important;
}

html[data-theme="light"] .dashboard-shell .brand-link,
html[data-theme="light"] .dashboard-shell .sidebar-profile,
html[data-theme="light"] .dashboard-shell .nav-sidebar .nav-link {
  color: #eef5ff !important;
}

html[data-theme="light"] .dashboard-shell .content-wrapper h1,
html[data-theme="light"] .dashboard-shell .content-wrapper h2,
html[data-theme="light"] .dashboard-shell .content-wrapper h3,
html[data-theme="light"] .dashboard-shell .content-wrapper h4,
html[data-theme="light"] .dashboard-shell .content-wrapper h5,
html[data-theme="light"] .dashboard-shell .content-wrapper h6,
html[data-theme="light"] .dashboard-shell .content-wrapper p,
html[data-theme="light"] .dashboard-shell .content-wrapper span,
html[data-theme="light"] .dashboard-shell .content-wrapper small,
html[data-theme="light"] .dashboard-shell .content-wrapper label,
html[data-theme="light"] .dashboard-shell .content-wrapper strong,
html[data-theme="light"] .dashboard-shell .content-wrapper b,
html[data-theme="light"] .dashboard-shell .content-wrapper td,
html[data-theme="light"] .dashboard-shell .content-wrapper th,
html[data-theme="light"] .dashboard-shell .content-wrapper li,
html[data-theme="light"]
  .dashboard-shell
  .content-wrapper
  a:not(.btn):not(.badge):not(.nav-link) {
  color: #10233d !important;
}

html[data-theme="light"] .dashboard-shell .content-wrapper .text-muted,
html[data-theme="light"] .dashboard-shell .content-wrapper .hero-note,
html[data-theme="light"] .dashboard-shell .content-wrapper .ql-desc,
html[data-theme="light"]
  .dashboard-shell
  .content-wrapper
  .dashboard-hero-metric
  span {
  color: #64748b !important;
}

html[data-theme="light"] .dashboard-shell .content-wrapper .page-hero,
html[data-theme="light"] .dashboard-shell .content-wrapper .content-header-card,
html[data-theme="light"] .dashboard-shell .content-wrapper .hero,
html[data-theme="light"] .dashboard-shell .content-wrapper .detail-hero,
html[data-theme="light"] .dashboard-shell .content-wrapper .salary-hero,
html[data-theme="light"] .dashboard-shell .content-wrapper .user-hero,
html[data-theme="light"] .dashboard-shell .content-wrapper .profile-hero,
html[data-theme="light"] .dashboard-shell .content-wrapper .form-hero,
html[data-theme="light"] .dashboard-shell .content-wrapper .card,
html[data-theme="light"] .dashboard-shell .content-wrapper .complaint-card,
html[data-theme="light"] .dashboard-shell .content-wrapper .dashboard-panel,
html[data-theme="light"] .dashboard-shell .content-wrapper .quick-link,
html[data-theme="light"] .dashboard-shell .content-wrapper .small-box,
html[data-theme="light"] .dashboard-shell .content-wrapper .status-tile,
html[data-theme="light"] .dashboard-shell .content-wrapper .hero-panel,
html[data-theme="light"]
  .dashboard-shell
  .content-wrapper
  .dashboard-hero-panel,
html[data-theme="light"]
  .dashboard-shell
  .content-wrapper
  .dashboard-hero-metric,
html[data-theme="light"] .dashboard-shell .content-wrapper .salary-card,
html[data-theme="light"] .dashboard-shell .content-wrapper .profile-card,
html[data-theme="light"] .dashboard-shell .content-wrapper .user-card,
html[data-theme="light"] .dashboard-shell .content-wrapper .profile-side,
html[data-theme="light"] .dashboard-shell .content-wrapper .profile-form {
  background: linear-gradient(180deg, #ffffff 0%, #f4f8fd 100%) !important;
  border-color: #dbe7f5 !important;
  color: #10233d !important;
  box-shadow: 0 12px 30px rgba(31, 45, 61, 0.08) !important;
}

html[data-theme="light"] .dashboard-shell .content-wrapper .table,
html[data-theme="light"] .dashboard-shell .content-wrapper .table td,
html[data-theme="light"] .dashboard-shell .content-wrapper .table th,
html[data-theme="light"]
  .dashboard-shell
  .content-wrapper
  .custom-control-label,
html[data-theme="light"] .dashboard-shell .content-wrapper .input-group-text,
html[data-theme="light"] .dashboard-shell .content-wrapper .form-control,
html[data-theme="light"] .dashboard-shell .content-wrapper select.form-control,
html[data-theme="light"]
  .dashboard-shell
  .content-wrapper
  textarea.form-control {
  color: #10233d !important;
}

html[data-theme="light"] .dashboard-shell .content-wrapper .table thead th,
html[data-theme="light"]
  .dashboard-shell
  .content-wrapper
  .table-responsive
  .table
  thead
  th,
html[data-theme="light"] .dashboard-shell .content-wrapper .group-row td {
  background: #e7eef9 !important;
  color: #10233d !important;
  border-color: #dbe7f5 !important;
}

html[data-theme="light"] .dashboard-shell .content-wrapper .table tbody td {
  background: #fbfdff !important;
  border-color: #dbe7f5 !important;
}

html[data-theme="light"] .dashboard-shell .content-wrapper .form-control,
html[data-theme="light"] .dashboard-shell .content-wrapper select.form-control,
html[data-theme="light"]
  .dashboard-shell
  .content-wrapper
  textarea.form-control {
  background: #ffffff !important;
  border-color: #cfdced !important;
}

html[data-theme="light"]
  .dashboard-shell
  .content-wrapper
  .form-control::placeholder,
html[data-theme="light"]
  .dashboard-shell
  .content-wrapper
  textarea.form-control::placeholder {
  color: #94a3b8 !important;
}

html[data-theme="light"] .dashboard-shell .content-wrapper .btn-outline-light,
html[data-theme="light"] .dashboard-shell .content-wrapper .btn-light {
  color: #10233d !important;
  background: #edf4fb !important;
  border-color: #dbe7f5 !important;
}

/* Palette-driven final override. Theme JS updates these CSS variables so every
   role page can switch between background colors without breaking readability. */
:root {
  --sikompro-page-bg-top: #f8fcff;
  --sikompro-page-bg-bottom: #edf5ff;
  --sikompro-page-bg-accent: rgba(56, 189, 248, 0.14);
  --sikompro-surface: #f8fbff;
  --sikompro-surface-alt: #eef4fb;
  --sikompro-sidebar-bg: #0f2742;
  --sikompro-sidebar-soft: #152d4d;
  --sikompro-ink: #10233d;
  --sikompro-muted: #64748b;
  --sikompro-line: #dbe7f5;
  --sikompro-accent-dot: #38bdf8;
}

/* Explicit theme variable assignments to avoid color conflicts between modes */
html[data-theme="light"] {
  --sikompro-page-bg-top: #f8fcff;
  --sikompro-page-bg-bottom: #eef5ff;
  --sikompro-page-bg-accent: rgba(79, 142, 247, 0.08);
  --sikompro-surface: #ffffff;
  --sikompro-surface-alt: #f4f8fd;
  --sikompro-sidebar-bg: #0f2742;
  --sikompro-sidebar-soft: #152d4d;
  --sikompro-ink: #10233d;
  --sikompro-muted: #64748b;
  --sikompro-line: #dbe7f5;
  --sikompro-accent-dot: #38bdf8;
}

html[data-theme="dark"] {
  --sikompro-page-bg-top: #06111f;
  --sikompro-page-bg-bottom: #0f1f3d;
  --sikompro-page-bg-accent: rgba(99, 102, 241, 0.1);
  --sikompro-surface: rgba(8, 15, 28, 0.92);
  --sikompro-surface-alt: rgba(15, 23, 42, 0.86);
  --sikompro-sidebar-bg: #07111d;
  --sikompro-sidebar-soft: #0f2742;
  --sikompro-ink: #eef5ff;
  --sikompro-muted: rgba(226, 232, 240, 0.78);
  --sikompro-line: rgba(148, 163, 184, 0.14);
  --sikompro-accent-dot: #dbeafe;
}

/* Allow per-role / per-user overrides via --sikompro-custom-page-bg-* variables.
   These can be toggled by adding a class like `.bg-choice-blue` on `html` or
   updated dynamically with JS to set the CSS variables on the root. */
html[data-theme="light"] body.dashboard-shell,
html[data-theme="light"] .dashboard-shell .content-wrapper,
html[data-theme="dark"] body.dashboard-shell,
html[data-theme="dark"] .dashboard-shell .content-wrapper {
  background:
    radial-gradient(
      circle at top right,
      var(--sikompro-page-bg-accent),
      transparent 24%
    ),
    linear-gradient(
      180deg,
      var(--sikompro-custom-page-bg-top, var(--sikompro-page-bg-top)) 0%,
      var(--sikompro-custom-page-bg-bottom, var(--sikompro-page-bg-bottom)) 100%
    ) !important;
  color: var(--sikompro-ink) !important;
}

html[data-theme="light"] .dashboard-shell .main-header.navbar,
html[data-theme="light"] .dashboard-shell .main-sidebar,
html[data-theme="dark"] .dashboard-shell .main-header.navbar,
html[data-theme="dark"] .dashboard-shell .main-sidebar {
  background: linear-gradient(
    180deg,
    var(--sikompro-sidebar-bg) 0%,
    var(--sikompro-sidebar-soft) 100%
  ) !important;
  color: var(--sikompro-ink) !important;
}

html[data-theme="light"] .dashboard-shell .brand-link,
html[data-theme="light"] .dashboard-shell .sidebar-profile,
html[data-theme="light"] .dashboard-shell .nav-sidebar .nav-link,
html[data-theme="dark"] .dashboard-shell .brand-link,
html[data-theme="dark"] .dashboard-shell .sidebar-profile,
html[data-theme="dark"] .dashboard-shell .nav-sidebar .nav-link {
  color: #eef5ff !important;
}

html[data-theme="light"] .dashboard-shell .page-hero,
html[data-theme="light"] .dashboard-shell .content-header-card,
html[data-theme="light"] .dashboard-shell .hero,
html[data-theme="light"] .dashboard-shell .detail-hero,
html[data-theme="light"] .dashboard-shell .salary-hero,
html[data-theme="light"] .dashboard-shell .user-hero,
html[data-theme="light"] .dashboard-shell .profile-hero,
html[data-theme="light"] .dashboard-shell .form-hero,
html[data-theme="light"] .dashboard-shell .card,
html[data-theme="light"] .dashboard-shell .complaint-card,
html[data-theme="light"] .dashboard-shell .dashboard-panel,
html[data-theme="light"] .dashboard-shell .quick-link,
html[data-theme="light"] .dashboard-shell .small-box,
html[data-theme="light"] .dashboard-shell .status-tile,
html[data-theme="light"] .dashboard-shell .hero-panel,
html[data-theme="light"] .dashboard-shell .dashboard-hero-panel,
html[data-theme="light"] .dashboard-shell .dashboard-hero-metric,
html[data-theme="light"] .dashboard-shell .salary-card,
html[data-theme="light"] .dashboard-shell .profile-card,
html[data-theme="light"] .dashboard-shell .user-card,
html[data-theme="light"] .dashboard-shell .profile-side,
html[data-theme="light"] .dashboard-shell .profile-form,
html[data-theme="dark"] .dashboard-shell .page-hero,
html[data-theme="dark"] .dashboard-shell .content-header-card,
html[data-theme="dark"] .dashboard-shell .hero,
html[data-theme="dark"] .dashboard-shell .detail-hero,
html[data-theme="dark"] .dashboard-shell .salary-hero,
html[data-theme="dark"] .dashboard-shell .user-hero,
html[data-theme="dark"] .dashboard-shell .profile-hero,
html[data-theme="dark"] .dashboard-shell .form-hero,
html[data-theme="dark"] .dashboard-shell .card,
html[data-theme="dark"] .dashboard-shell .complaint-card,
html[data-theme="dark"] .dashboard-shell .dashboard-panel,
html[data-theme="dark"] .dashboard-shell .quick-link,
html[data-theme="dark"] .dashboard-shell .small-box,
html[data-theme="dark"] .dashboard-shell .status-tile,
html[data-theme="dark"] .dashboard-shell .hero-panel,
html[data-theme="dark"] .dashboard-shell .dashboard-hero-panel,
html[data-theme="dark"] .dashboard-shell .dashboard-hero-metric,
html[data-theme="dark"] .dashboard-shell .salary-card,
html[data-theme="dark"] .dashboard-shell .profile-card,
html[data-theme="dark"] .dashboard-shell .user-card,
html[data-theme="dark"] .dashboard-shell .profile-side,
html[data-theme="dark"] .dashboard-shell .profile-form {
  background: var(--sikompro-surface) !important;
  border-color: var(--sikompro-line) !important;
  color: var(--sikompro-ink) !important;
  box-shadow: 0 12px 30px rgba(31, 45, 61, 0.08) !important;
}

html[data-theme="light"] .dashboard-shell .content-wrapper .text-muted,
html[data-theme="light"] .dashboard-shell .content-wrapper .hero-note,
html[data-theme="light"] .dashboard-shell .content-wrapper .ql-desc,
html[data-theme="light"]
  .dashboard-shell
  .content-wrapper
  .dashboard-hero-metric
  span,
html[data-theme="dark"] .dashboard-shell .content-wrapper .text-muted,
html[data-theme="dark"] .dashboard-shell .content-wrapper .hero-note,
html[data-theme="dark"] .dashboard-shell .content-wrapper .ql-desc,
html[data-theme="dark"]
  .dashboard-shell
  .content-wrapper
  .dashboard-hero-metric
  span {
  color: var(--sikompro-muted) !important;
}

html[data-theme="light"] .dashboard-shell .content-wrapper .table,
html[data-theme="light"] .dashboard-shell .content-wrapper .table td,
html[data-theme="light"] .dashboard-shell .content-wrapper .table th,
html[data-theme="light"]
  .dashboard-shell
  .content-wrapper
  .custom-control-label,
html[data-theme="light"] .dashboard-shell .content-wrapper .input-group-text,
html[data-theme="light"] .dashboard-shell .content-wrapper .form-control,
html[data-theme="light"] .dashboard-shell .content-wrapper select.form-control,
html[data-theme="light"]
  .dashboard-shell
  .content-wrapper
  textarea.form-control,
html[data-theme="dark"] .dashboard-shell .content-wrapper .table,
html[data-theme="dark"] .dashboard-shell .content-wrapper .table td,
html[data-theme="dark"] .dashboard-shell .content-wrapper .table th,
html[data-theme="dark"] .dashboard-shell .content-wrapper .custom-control-label,
html[data-theme="dark"] .dashboard-shell .content-wrapper .input-group-text,
html[data-theme="dark"] .dashboard-shell .content-wrapper .form-control,
html[data-theme="dark"] .dashboard-shell .content-wrapper select.form-control,
html[data-theme="dark"]
  .dashboard-shell
  .content-wrapper
  textarea.form-control {
  color: var(--sikompro-ink) !important;
}

html[data-theme="light"] .dashboard-shell .content-wrapper .table thead th,
html[data-theme="light"]
  .dashboard-shell
  .content-wrapper
  .table-responsive
  .table
  thead
  th,
html[data-theme="light"] .dashboard-shell .content-wrapper .group-row td,
html[data-theme="dark"] .dashboard-shell .content-wrapper .table thead th,
html[data-theme="dark"]
  .dashboard-shell
  .content-wrapper
  .table-responsive
  .table
  thead
  th,
html[data-theme="dark"] .dashboard-shell .content-wrapper .group-row td {
  background: var(--sikompro-surface-alt) !important;
  color: var(--sikompro-ink) !important;
  border-color: var(--sikompro-line) !important;
}

html[data-theme="light"] .dashboard-shell .content-wrapper .table tbody td,
html[data-theme="dark"] .dashboard-shell .content-wrapper .table tbody td {
  background: color-mix(
    in srgb,
    var(--sikompro-surface) 92%,
    white 8%
  ) !important;
  border-color: var(--sikompro-line) !important;
}

html[data-theme="light"] .dashboard-shell .content-wrapper .form-control,
html[data-theme="light"] .dashboard-shell .content-wrapper select.form-control,
html[data-theme="light"]
  .dashboard-shell
  .content-wrapper
  textarea.form-control,
html[data-theme="dark"] .dashboard-shell .content-wrapper .form-control,
html[data-theme="dark"] .dashboard-shell .content-wrapper select.form-control,
html[data-theme="dark"]
  .dashboard-shell
  .content-wrapper
  textarea.form-control {
  background: var(--sikompro-surface) !important;
  border-color: var(--sikompro-line) !important;
}

html[data-theme="light"]
  .dashboard-shell
  .content-wrapper
  .form-control::placeholder,
html[data-theme="light"]
  .dashboard-shell
  .content-wrapper
  textarea.form-control::placeholder,
html[data-theme="dark"]
  .dashboard-shell
  .content-wrapper
  .form-control::placeholder,
html[data-theme="dark"]
  .dashboard-shell
  .content-wrapper
  textarea.form-control::placeholder {
  color: color-mix(in srgb, var(--sikompro-muted) 70%, transparent) !important;
}

html[data-theme="light"] .dashboard-shell .content-wrapper .btn-outline-light,
html[data-theme="light"] .dashboard-shell .content-wrapper .btn-light,
html[data-theme="dark"] .dashboard-shell .content-wrapper .btn-outline-light,
html[data-theme="dark"] .dashboard-shell .content-wrapper .btn-light {
  color: var(--sikompro-ink) !important;
  background: var(--sikompro-surface-alt) !important;
  border-color: var(--sikompro-line) !important;
}

html[data-theme="light"] .dashboard-shell .hero-menu-btn,
html[data-theme="light"] .dashboard-shell .close-image-viewer-btn,
html[data-theme="dark"] .dashboard-shell .hero-menu-btn,
html[data-theme="dark"] .dashboard-shell .close-image-viewer-btn {
  background: var(--sikompro-surface-alt) !important;
  color: var(--sikompro-ink) !important;
  border-color: var(--sikompro-line) !important;
}

html[data-theme="light"] .dashboard-shell .theme-palette-dock,
html[data-theme="dark"] .dashboard-shell .theme-palette-dock {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  max-width: 100%;
  padding: 10px 12px;
  border-radius: 24px;
  background:
    linear-gradient(
      135deg,
      color-mix(in srgb, var(--sikompro-surface) 88%, transparent),
      color-mix(in srgb, var(--sikompro-surface-alt) 82%, transparent)
    );
  border: 1px solid var(--sikompro-line);
  box-shadow: 0 12px 28px rgba(2, 8, 23, 0.12);
  backdrop-filter: blur(14px);
}

html[data-theme="light"] .dashboard-shell .theme-palette-caption,
html[data-theme="dark"] .dashboard-shell .theme-palette-caption {
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--sikompro-muted);
  white-space: nowrap;
  align-self: flex-start;
  padding: 6px 12px;
  border-radius: 999px;
  background: color-mix(in srgb, var(--sikompro-surface-alt) 76%, transparent);
  border: 1px solid color-mix(in srgb, var(--sikompro-line) 82%, transparent);
}

html[data-theme="light"] .dashboard-shell .theme-palette-list,
html[data-theme="dark"] .dashboard-shell .theme-palette-list {
  display: grid;
  gap: 8px;
  align-items: center;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  width: 100%;
}

/* Background-picker UI for users to choose preferred page background
   (style-only). JS can toggle the `.bg-choice-*` classes on `html` or set
   the `--sikompro-custom-page-bg-*` variables on `:root` to persist selection. */
.theme-bg-picker {
  display: inline-flex;
  gap: 8px;
  align-items: center;
}
.theme-bg-btn {
  width: 36px;
  height: 28px;
  border-radius: 8px;
  border: 1px solid var(--sikompro-line);
  cursor: pointer;
  box-shadow: 0 6px 14px rgba(2, 8, 23, 0.08);
  transition:
    transform 0.12s ease,
    box-shadow 0.12s ease;
  background: linear-gradient(
    180deg,
    var(--sikompro-page-bg-top),
    var(--sikompro-page-bg-bottom)
  );
}
.theme-bg-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 20px rgba(2, 8, 23, 0.12);
}

/* Predefined choices (examples). Add or modify as needed. These set the
   custom page bg vars when the class is applied to `html`. */
html.bg-choice-blue {
  --sikompro-custom-page-bg-top: #eef8ff;
  --sikompro-custom-page-bg-bottom: #eef5ff;
  --sikompro-page-bg-accent: rgba(79, 142, 247, 0.1);
}
html.bg-choice-teal {
  --sikompro-custom-page-bg-top: #f0fffb;
  --sikompro-custom-page-bg-bottom: #eefaf8;
  --sikompro-page-bg-accent: rgba(56, 189, 172, 0.1);
}
html.bg-choice-amber {
  --sikompro-custom-page-bg-top: #fff8f1;
  --sikompro-custom-page-bg-bottom: #fff5ea;
  --sikompro-page-bg-accent: rgba(249, 115, 22, 0.1);
}
html.bg-choice-slate {
  --sikompro-custom-page-bg-top: #f7f9fc;
  --sikompro-custom-page-bg-bottom: #f0f4fb;
  --sikompro-page-bg-accent: rgba(99, 102, 241, 0.06);
}

/* Ensure page text color matches the selected background choice so fonts remain readable. */
html.bg-choice-blue,
html.bg-choice-teal,
html.bg-choice-amber,
html.bg-choice-slate {
  --sikompro-ink: #10233d;
  --sikompro-muted: #64748b;
  --sikompro-line: #dbe7f5;
}

/* Dark-theme variants for the same background choices */
html[data-theme="dark"].bg-choice-blue,
html[data-theme="dark"].bg-choice-teal,
html[data-theme="dark"].bg-choice-amber,
html[data-theme="dark"].bg-choice-slate {
  --sikompro-ink: #eef5ff;
  --sikompro-muted: rgba(226, 232, 240, 0.78);
  --sikompro-line: rgba(148, 163, 184, 0.14);
}

/* Force content color when a custom background choice is active to avoid legacy white-on-white rules */
html.bg-choice-blue body.dashboard-shell,
html.bg-choice-teal body.dashboard-shell,
html.bg-choice-amber body.dashboard-shell,
html.bg-choice-slate body.dashboard-shell,
html[data-theme="dark"].bg-choice-blue body.dashboard-shell,
html[data-theme="dark"].bg-choice-teal body.dashboard-shell,
html[data-theme="dark"].bg-choice-amber body.dashboard-shell,
html[data-theme="dark"].bg-choice-slate body.dashboard-shell {
  color: var(--sikompro-ink) !important;
}

/* Theme background button previews */
.theme-bg-btn.blue {
  background: linear-gradient(180deg, #eef8ff 0%, #eef5ff 100%);
}
.theme-bg-btn.teal {
  background: linear-gradient(180deg, #f0fffb 0%, #eefaf8 100%);
}
.theme-bg-btn.amber {
  background: linear-gradient(180deg, #fff8f1 0%, #fff5ea 100%);
}
.theme-bg-btn.slate {
  background: linear-gradient(180deg, #f7f9fc 0%, #f0f4fb 100%);
}

/* Show appropriate option sets depending on theme (JS can place buttons in either group). */
.theme-bg-picker .light-only {
  display: inline-flex;
}
.theme-bg-picker .dark-only {
  display: none;
}
html[data-theme="dark"] .theme-bg-picker .light-only {
  display: none;
}
html[data-theme="dark"] .theme-bg-picker .dark-only {
  display: inline-flex;
}

/* Dark previews (for use when showing dark-mode options) */
.theme-bg-btn.dark-blue {
  background: linear-gradient(180deg, #081222 0%, #0b1f36 100%);
}
.theme-bg-btn.dark-teal {
  background: linear-gradient(180deg, #072024 0%, #0b2738 100%);
}
.theme-bg-btn.dark-amber {
  background: linear-gradient(180deg, #2b1b0f 0%, #3a2412 100%);
}
.theme-bg-btn.dark-slate {
  background: linear-gradient(180deg, #0b1220 0%, #0f1b2d 100%);
}

html[data-theme="light"] .dashboard-shell .theme-palette-chip,
html[data-theme="dark"] .dashboard-shell .theme-palette-chip {
  appearance: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border: 1px solid var(--sikompro-line);
  border-radius: 18px;
  padding: 10px 12px;
  background:
    linear-gradient(
      180deg,
      color-mix(in srgb, var(--sikompro-surface) 94%, transparent),
      color-mix(in srgb, var(--sikompro-surface-alt) 88%, transparent)
    );
  color: var(--sikompro-ink);
  cursor: pointer;
  transition:
    transform 0.15s ease,
    box-shadow 0.15s ease,
    background 0.15s ease;
  font-weight: 700;
  font-size: 0.72rem;
  min-width: 0;
  flex: 1 1 auto;
  box-shadow: 0 8px 16px rgba(2, 8, 23, 0.08);
}

html[data-theme="light"] .dashboard-shell .theme-palette-chip:hover,
html[data-theme="light"] .dashboard-shell .theme-palette-chip:focus,
html[data-theme="dark"] .dashboard-shell .theme-palette-chip:hover,
html[data-theme="dark"] .dashboard-shell .theme-palette-chip:focus {
  transform: translateY(-1px);
  box-shadow: 0 10px 20px rgba(2, 8, 23, 0.12);
  outline: none;
}

html[data-theme="light"] .dashboard-shell .theme-palette-chip.is-active,
html[data-theme="dark"] .dashboard-shell .theme-palette-chip.is-active {
  background:
    linear-gradient(
      180deg,
      color-mix(in srgb, var(--sikompro-surface-alt) 96%, transparent),
      color-mix(in srgb, var(--sikompro-surface) 88%, transparent)
    );
  border-color: color-mix(
    in srgb,
    var(--sikompro-accent-dot) 42%,
    var(--sikompro-line)
  );
  box-shadow: 0 10px 20px rgba(2, 8, 23, 0.12);
}

html[data-theme="light"] .dashboard-shell .theme-palette-dot,
html[data-theme="dark"] .dashboard-shell .theme-palette-dot {
  width: 10px;
  height: 10px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.45);
  box-shadow: 0 0 0 1px rgba(15, 23, 42, 0.06);
  flex: 0 0 auto;
}

@media (max-width: 991.98px) {
  html[data-theme="light"] .dashboard-shell .theme-palette-caption,
  html[data-theme="dark"] .dashboard-shell .theme-palette-caption,
  html[data-theme="light"] .dashboard-shell .theme-palette-label,
  html[data-theme="dark"] .dashboard-shell .theme-palette-label {
    display: inline-flex;
  }

  html[data-theme="light"] .dashboard-shell .theme-palette-dock,
  html[data-theme="dark"] .dashboard-shell .theme-palette-dock {
    width: 100%;
    justify-content: flex-start;
    padding: 10px;
  }

  html[data-theme="light"] .dashboard-shell .theme-palette-chip,
  html[data-theme="dark"] .dashboard-shell .theme-palette-chip {
    flex: 1 1 calc(33.333% - 8px);
    min-width: 0;
    padding: 10px 10px;
    justify-content: flex-start;
  }
}

html[data-theme="light"] .dashboard-shell [data-theme-toggle],
html[data-theme="dark"] .dashboard-shell [data-theme-toggle] {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 38px;
  border-radius: 999px;
  padding: 8px 14px;
  font-weight: 700;
  letter-spacing: 0.01em;
  border: 1px solid transparent;
  box-shadow: 0 10px 22px rgba(2, 8, 23, 0.14);
}

html[data-theme="light"] .dashboard-shell [data-theme-toggle] {
  background: linear-gradient(135deg, #0f2742 0%, #214b7b 100%) !important;
  color: #fff !important;
  border-color: rgba(255, 255, 255, 0.12) !important;
}

html[data-theme="dark"] .dashboard-shell [data-theme-toggle] {
  background: linear-gradient(135deg, #e2e8f0 0%, #cbd5e1 100%) !important;
  color: #0f172a !important;
  border-color: rgba(15, 23, 42, 0.08) !important;
}

html[data-theme="light"] .dashboard-shell [data-theme-toggle]:hover,
html[data-theme="light"] .dashboard-shell [data-theme-toggle]:focus,
html[data-theme="dark"] .dashboard-shell [data-theme-toggle]:hover,
html[data-theme="dark"] .dashboard-shell [data-theme-toggle]:focus {
  transform: translateY(-1px);
  box-shadow: 0 14px 26px rgba(2, 8, 23, 0.18);
}

html[data-theme="light"] .dashboard-shell [data-theme-toggle] i,
html[data-theme="dark"] .dashboard-shell [data-theme-toggle] i {
  font-size: 0.95rem;
}

/* Final safety override: replace remaining hard-coded white backgrounds with
   theme-driven surfaces to avoid white-on-white collisions. These rules are
   intentionally specific and use !important so they win over legacy styles. */
html[data-theme="light"] .content-wrapper,
html[data-theme="light"] .page-hero,
html[data-theme="light"] .content-header-card,
html[data-theme="light"] .hero,
html[data-theme="light"] .detail-hero,
html[data-theme="light"] .salary-hero,
html[data-theme="light"] .user-hero,
html[data-theme="light"] .profile-hero,
html[data-theme="light"] .form-hero,
html[data-theme="light"] .card,
html[data-theme="light"] .complaint-card,
html[data-theme="light"] .dashboard-panel,
html[data-theme="light"] .quick-link,
html[data-theme="light"] .small-box,
html[data-theme="light"] .status-tile,
html[data-theme="light"] .hero-panel,
html[data-theme="light"] .dashboard-hero-panel,
html[data-theme="light"] .dashboard-hero-metric,
html[data-theme="light"] .salary-card,
html[data-theme="light"] .profile-card,
html[data-theme="light"] .user-card,
html[data-theme="light"] .profile-side,
html[data-theme="light"] .profile-form,
html[data-theme="light"] .media-strip-card,
html[data-theme="light"] .dropdown-menu,
html[data-theme="light"] .table-responsive .table thead th,
html[data-theme="light"] .table,
html[data-theme="light"] .table td,
html[data-theme="light"] .table th,
html[data-theme="light"] .form-control,
html[data-theme="light"] select.form-control,
html[data-theme="light"] textarea.form-control {
  background: var(--sikompro-surface) !important;
  color: var(--sikompro-ink) !important;
  border-color: var(--sikompro-line) !important;
  box-shadow: 0 12px 30px rgba(31, 45, 61, 0.06) !important;
}

/* Ensure table body rows use a soft surface rather than pure white */
html[data-theme="light"] .content-wrapper .table tbody td {
  background: color-mix(
    in srgb,
    var(--sikompro-surface) 92%,
    white 8%
  ) !important;
}

/* Prevent white text on light backgrounds by forcing readable text colors */
html[data-theme="light"] .content-wrapper,
html[data-theme="light"] .content-wrapper h1,
html[data-theme="light"] .content-wrapper h2,
html[data-theme="light"] .content-wrapper h3,
html[data-theme="light"] .content-wrapper h4,
html[data-theme="light"] .content-wrapper p,
html[data-theme="light"] .content-wrapper span,
html[data-theme="light"] .content-wrapper small,
html[data-theme="light"] .content-wrapper label,
html[data-theme="light"] .content-wrapper strong,
html[data-theme="light"] .content-wrapper b,
html[data-theme="light"] .content-wrapper td,
html[data-theme="light"] .content-wrapper th,
html[data-theme="light"] .content-wrapper li,
html[data-theme="light"]
  .content-wrapper
  a:not(.btn):not(.badge):not(.nav-link) {
  color: var(--sikompro-ink) !important;
}

/* Dark theme: ensure any remaining hard-coded light surfaces become dark surfaces */
html[data-theme="dark"] .content-wrapper,
html[data-theme="dark"] .page-hero,
html[data-theme="dark"] .card,
html[data-theme="dark"] .quick-link,
html[data-theme="dark"] .small-box,
html[data-theme="dark"] .dashboard-panel,
html[data-theme="dark"] .complaint-card,
html[data-theme="dark"] .hero-panel,
html[data-theme="dark"] .media-strip-card,
html[data-theme="dark"] .dropdown-menu,
html[data-theme="dark"] .form-control,
html[data-theme="dark"] select.form-control,
html[data-theme="dark"] textarea.form-control {
  background: var(--sikompro-surface-alt) !important;
  color: var(--sikompro-ink) !important;
  border-color: var(--sikompro-line) !important;
  box-shadow: 0 14px 36px rgba(2, 8, 23, 0.2) !important;
}

/* Provide an escape hatch for components that truly require a white surface
   (unlikely). Developers can opt-out by adding `.force-white` to the element. */
.force-white {
  background: #ffffff !important;
  color: #10233d !important;
}

/* Mobile shell refinements for every AdminLTE-style role page, including
   pages that have not yet been migrated to `.dashboard-shell`. */
body.hold-transition.sidebar-mini {
  overflow-x: hidden;
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  line-height: 1.55;
}

body.hold-transition.sidebar-mini .wrapper {
  position: relative;
  z-index: 1;
}

body.hold-transition.sidebar-mini .main-header.navbar {
  min-height: 64px;
  padding: 0.55rem 0.85rem;
  backdrop-filter: blur(16px);
}

body.hold-transition.sidebar-mini
  .main-header
  .nav-link[data-widget="pushmenu"] {
  position: relative;
  z-index: 1040;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 48px;
  min-height: 48px;
  padding: 0 !important;
  border-radius: 14px;
  touch-action: manipulation;
  cursor: pointer;
}

body.hold-transition.sidebar-mini
  .main-header
  .nav-link[data-widget="pushmenu"]
  i {
  line-height: 1;
}

@media (max-width: 767.98px) {
  body.hold-transition.sidebar-mini .main-header .theme-palette-nav,
  body.hold-transition.sidebar-mini .main-header .theme-palette-dock {
    display: none !important;
  }

  body.hold-transition.sidebar-mini .main-sidebar {
    width: 100vw !important;
    top: 0;
    bottom: 0;
    height: 100dvh;
    left: 0 !important;
    right: 0 !important;
    transform: translate3d(-100%, 0, 0) !important;
    border-radius: 0;
    box-shadow: none;
    transition:
      transform 0.24s ease,
      box-shadow 0.24s ease;
    will-change: transform;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
  }

  body.hold-transition.sidebar-mini.sidebar-open .main-sidebar {
    transform: translate3d(0, 0, 0) !important;
    visibility: visible;
    opacity: 1;
    pointer-events: auto;
  }

  body.hold-transition.sidebar-mini.sidebar-collapse .main-sidebar {
    transform: translate3d(-100%, 0, 0) !important;
    visibility: hidden;
    opacity: 0;
    pointer-events: none;
  }

  body.hold-transition.sidebar-mini .content-wrapper,
  body.hold-transition.sidebar-mini .main-header.navbar {
    margin-left: 0 !important;
    width: 100%;
  }

  body.hold-transition.sidebar-mini .main-header.navbar {
    position: sticky;
    top: 0;
    z-index: 1050;
    padding-left: 10px;
    padding-right: 10px;
  }

  body.hold-transition.sidebar-mini .content-wrapper {
    padding: 12px !important;
  }

  body.hold-transition.sidebar-mini .content-wrapper .card,
  body.hold-transition.sidebar-mini .content-wrapper .hero,
  body.hold-transition.sidebar-mini .content-wrapper .page-hero,
  body.hold-transition.sidebar-mini .content-wrapper .content-header-card,
  body.hold-transition.sidebar-mini .content-wrapper .detail-hero,
  body.hold-transition.sidebar-mini .content-wrapper .salary-hero,
  body.hold-transition.sidebar-mini .content-wrapper .user-hero,
  body.hold-transition.sidebar-mini .content-wrapper .profile-hero,
  body.hold-transition.sidebar-mini .content-wrapper .form-hero,
  body.hold-transition.sidebar-mini .content-wrapper .complaint-card,
  body.hold-transition.sidebar-mini .content-wrapper .dashboard-panel,
  body.hold-transition.sidebar-mini .content-wrapper .small-box {
    border-radius: 16px;
  }

  body.hold-transition.sidebar-mini .content-wrapper .table-responsive,
  body.hold-transition.sidebar-mini .content-wrapper table {
    -webkit-overflow-scrolling: touch;
  }

  body.hold-transition.sidebar-mini .content-wrapper table {
    display: block;
    width: 100%;
    min-width: 960px;
    overflow-x: auto;
    table-layout: auto;
  }

  body.hold-transition.sidebar-mini .content-wrapper th,
  body.hold-transition.sidebar-mini .content-wrapper td {
    white-space: nowrap;
  }

  body.hold-transition.sidebar-mini .content-wrapper .btn {
    width: 100%;
    margin-bottom: 8px;
  }

  body.hold-transition.sidebar-mini .main-sidebar .theme-palette-nav {
    margin: 12px 10px 14px;
    display: block !important;
  }

  body.hold-transition.sidebar-mini .main-sidebar .theme-palette-dock {
    display: flex;
    width: calc(100% - 20px);
    justify-content: flex-start;
    border-radius: 18px;
    padding: 10px 12px;
  }

  body.hold-transition.sidebar-mini .main-sidebar .theme-palette-caption {
    font-size: 0.72rem;
  }

  body.hold-transition.sidebar-mini .main-sidebar .theme-palette-list {
    width: 100%;
  }

  body.hold-transition.sidebar-mini .main-sidebar .theme-palette-chip {
    min-width: calc(50% - 6px);
    flex: 1 1 calc(50% - 6px);
  }

  body.hold-transition.sidebar-mini .main-sidebar .sidebar {
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    padding-bottom: 220px;
  }
}

.dashboard-shell .dashboard-stack {
  display: grid;
  gap: 16px;
}

.dashboard-shell .dashboard-section-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 14px;
}

.dashboard-shell .dashboard-section-kicker {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 8px;
  padding: 6px 12px;
  border-radius: 999px;
  background: rgba(59, 130, 246, 0.12);
  color: #1d4ed8;
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

html[data-theme="dark"] .dashboard-shell .dashboard-section-kicker {
  background: rgba(59, 130, 246, 0.16);
  color: #bfdbfe;
}

.dashboard-shell .dashboard-section-title {
  margin: 0;
  font-size: clamp(1.1rem, 1.6vw, 1.4rem);
  font-weight: 800;
  letter-spacing: -0.02em;
}

.dashboard-shell .dashboard-section-subtitle {
  margin: 6px 0 0;
  color: #64748b;
  font-size: 0.92rem;
}

html[data-theme="dark"] .dashboard-shell .dashboard-section-subtitle {
  color: rgba(226, 232, 240, 0.78);
}

.dashboard-shell .dashboard-card-soft {
  border: 1px solid rgba(148, 163, 184, 0.18);
  border-radius: 24px;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.92);
  box-shadow: 0 16px 38px rgba(15, 23, 42, 0.08);
}

html[data-theme="dark"] .dashboard-shell .dashboard-card-soft {
  background: rgba(11, 19, 34, 0.9);
  border-color: rgba(148, 163, 184, 0.16);
  box-shadow: 0 18px 40px rgba(2, 8, 23, 0.32);
}

.dashboard-shell .dashboard-chart-panel {
  padding: 18px;
  background:
    radial-gradient(
      circle at top left,
      rgba(56, 189, 248, 0.22),
      transparent 36%
    ),
    radial-gradient(
      circle at bottom right,
      rgba(99, 102, 241, 0.2),
      transparent 28%
    ),
    linear-gradient(135deg, rgba(12, 23, 44, 0.96), rgba(16, 42, 74, 0.92));
  color: #f8fbff;
}

.dashboard-shell .dashboard-chart-panel .dashboard-section-subtitle {
  color: rgba(226, 232, 240, 0.78);
}

.dashboard-shell .dashboard-chart-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
  align-items: center;
}

.dashboard-shell .dashboard-chart-cards {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.dashboard-shell .dashboard-chart-card {
  min-height: 100%;
  padding: 14px;
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.05);
}

.dashboard-shell .dashboard-chart-card-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 10px;
}

.dashboard-shell .dashboard-chart-card-title {
  margin: 0;
  color: #fff;
  font-size: 1rem;
  font-weight: 800;
}

.dashboard-shell .dashboard-chart-card-note {
  margin: 4px 0 0;
  color: rgba(226, 232, 240, 0.74);
  font-size: 0.84rem;
}

.dashboard-shell .dashboard-chart-box {
  min-height: 280px;
  padding: 10px;
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.dashboard-shell .dashboard-chart-box canvas {
  width: 100% !important;
  height: 280px !important;
}

.dashboard-shell .dashboard-insight-list {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
}

.dashboard-shell .dashboard-insight {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 14px 16px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.06);
  min-height: 96px;
}

.dashboard-shell .dashboard-insight-icon {
  width: 42px;
  height: 42px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  background: rgba(255, 255, 255, 0.14);
  color: #fff;
  flex: 0 0 auto;
}

.dashboard-shell .dashboard-insight strong {
  display: block;
  color: #fff;
  font-size: 1.45rem;
  line-height: 1.1;
}

.dashboard-shell .dashboard-insight span {
  display: block;
  margin-top: 4px;
  color: rgba(226, 232, 240, 0.76);
  font-size: 0.84rem;
}

.dashboard-shell .dashboard-tools-panel {
  padding: 16px;
}

.dashboard-shell .dashboard-tools-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
}

.dashboard-shell .dashboard-tool {
  min-height: 108px;
  padding: 12px 10px;
  border-radius: 18px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  text-align: center;
  text-decoration: none;
  color: #0f172a;
  background: linear-gradient(
    180deg,
    rgba(255, 255, 255, 0.94),
    rgba(241, 245, 249, 0.9)
  );
  border: 1px solid rgba(148, 163, 184, 0.18);
  box-shadow: 0 8px 18px rgba(15, 23, 42, 0.06);
  transition:
    transform 0.18s ease,
    box-shadow 0.18s ease,
    border-color 0.18s ease;
}

.dashboard-shell .dashboard-tool:hover,
.dashboard-shell .dashboard-tool:focus {
  transform: translateY(-2px);
  box-shadow: 0 14px 24px rgba(15, 23, 42, 0.1);
  border-color: rgba(59, 130, 246, 0.28);
  text-decoration: none;
}

.dashboard-shell .dashboard-tool-icon {
  width: 42px;
  height: 42px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  color: #fff;
  font-size: 1.05rem;
  background: linear-gradient(135deg, #0ea5e9 0%, #6366f1 100%);
}

.dashboard-shell .dashboard-tool-label {
  font-size: 0.78rem;
  font-weight: 800;
  line-height: 1.1;
}

.dashboard-shell .dashboard-tool-meta {
  font-size: 0.7rem;
  line-height: 1.1;
  color: #64748b;
}

html[data-theme="dark"] .dashboard-shell .dashboard-tool {
  color: #f8fbff;
  background: linear-gradient(
    180deg,
    rgba(15, 23, 42, 0.95),
    rgba(30, 41, 59, 0.92)
  );
  border-color: rgba(148, 163, 184, 0.14);
}

html[data-theme="dark"] .dashboard-shell .dashboard-tool-meta {
  color: rgba(226, 232, 240, 0.72);
}

.dashboard-shell .dashboard-data-card {
  padding: 16px;
}

.dashboard-shell .dashboard-data-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 14px;
}

.dashboard-shell .dashboard-data-actions {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.dashboard-shell .dashboard-data-wrap {
  overflow: hidden;
}

.dashboard-shell .dashboard-data-wrap .table-responsive {
  border-radius: 16px;
}

.dashboard-shell .dashboard-data-wrap .table {
  margin-bottom: 0;
  border-collapse: separate;
  border-spacing: 0;
  overflow: hidden;
}

.dashboard-shell .dashboard-data-wrap .table thead th {
  padding: 14px 12px;
  font-size: 0.86rem;
  font-weight: 800;
  letter-spacing: 0.02em;
}

.dashboard-shell .dashboard-data-wrap .table tbody td {
  padding: 13px 12px;
  vertical-align: middle;
}

.dashboard-shell .dashboard-data-wrap .table tbody tr {
  transition:
    transform 0.16s ease,
    box-shadow 0.16s ease,
    background 0.16s ease;
}

.dashboard-shell .dashboard-data-wrap .table tbody tr:hover {
  transform: translateY(-1px);
}

.dashboard-shell .dashboard-card-list {
  display: grid;
  gap: 12px;
}

.dashboard-shell .dashboard-card-item {
  border-radius: 18px;
  padding: 14px;
  background: rgba(255, 255, 255, 0.95);
  border: 1px solid rgba(148, 163, 184, 0.18);
  box-shadow: 0 10px 22px rgba(15, 23, 42, 0.06);
}

html[data-theme="dark"] .dashboard-shell .dashboard-card-item {
  background: rgba(8, 15, 28, 0.94);
  border-color: rgba(148, 163, 184, 0.14);
}

.dashboard-shell .dashboard-card-item .item-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 10px;
}

.dashboard-shell .dashboard-card-item .item-title {
  margin: 0;
  font-size: 1rem;
  font-weight: 800;
}

.dashboard-shell .dashboard-card-item .item-text {
  margin: 0;
  color: #64748b;
  font-size: 0.92rem;
  line-height: 1.55;
}

html[data-theme="dark"] .dashboard-shell .dashboard-card-item .item-text {
  color: rgba(226, 232, 240, 0.76);
}

@media (max-width: 767.98px) {
  html[data-theme="light"] .dashboard-shell .content-wrapper .page-hero,
  html[data-theme="light"] .dashboard-shell .content-wrapper .content-header-card,
  html[data-theme="light"] .dashboard-shell .content-wrapper .dashboard-card-soft,
  html[data-theme="light"] .dashboard-shell .content-wrapper .dashboard-data-card,
  html[data-theme="light"] .dashboard-shell .content-wrapper .dashboard-chart-panel,
  html[data-theme="light"] .dashboard-shell .content-wrapper .dashboard-tools-panel,
  html[data-theme="light"] .dashboard-shell .content-wrapper .dashboard-card-item,
  html[data-theme="light"] .dashboard-shell .content-wrapper .dashboard-tool,
  html[data-theme="light"] .dashboard-shell .content-wrapper .dashboard-insight,
  html[data-theme="light"] .dashboard-shell .content-wrapper .dashboard-chart-card {
    background: linear-gradient(180deg, #f8fbff 0%, #eef4fb 100%) !important;
    border-color: #dbe7f5 !important;
    color: #10233d !important;
  }

  html[data-theme="light"] .dashboard-shell .content-wrapper .page-hero h3,
  html[data-theme="light"] .dashboard-shell .content-wrapper .page-hero h4,
  html[data-theme="light"] .dashboard-shell .content-wrapper .content-header-card h3,
  html[data-theme="light"] .dashboard-shell .content-wrapper .content-header-card h4,
  html[data-theme="light"] .dashboard-shell .content-wrapper .dashboard-section-title,
  html[data-theme="light"] .dashboard-shell .content-wrapper .dashboard-tool-label,
  html[data-theme="light"] .dashboard-shell .content-wrapper .dashboard-insight strong {
    color: #10233d !important;
  }

  html[data-theme="light"] .dashboard-shell .content-wrapper .page-hero p,
  html[data-theme="light"] .dashboard-shell .content-wrapper .content-header-card p,
  html[data-theme="light"] .dashboard-shell .content-wrapper .dashboard-section-subtitle,
  html[data-theme="light"] .dashboard-shell .content-wrapper .dashboard-tool-meta,
  html[data-theme="light"] .dashboard-shell .content-wrapper .dashboard-insight span {
    color: #64748b !important;
  }

  html[data-theme="light"] .dashboard-shell .content-wrapper .dashboard-hero-kicker,
  html[data-theme="light"] .dashboard-shell .content-wrapper .dashboard-section-kicker {
    background: #eaf2ff !important;
    color: #1d4ed8 !important;
    border: 1px solid #d8e5ff !important;
  }

  html[data-theme="light"] .dashboard-shell .content-wrapper .dashboard-tool-icon,
  html[data-theme="light"] .dashboard-shell .content-wrapper .dashboard-insight-icon {
    background: linear-gradient(135deg, #0ea5e9 0%, #6366f1 100%) !important;
    color: #fff !important;
  }

  html[data-theme="light"] .dashboard-shell .content-wrapper .dashboard-data-wrap .table-responsive {
    border-radius: 14px;
    border: 1px solid #dbe7f5;
  }

  html[data-theme="light"] .dashboard-shell .content-wrapper .dashboard-data-wrap .table thead th {
    background: #f8fbff;
    color: #10233d;
    border-color: #dbe7f5;
  }

  html[data-theme="light"] .dashboard-shell .content-wrapper .dashboard-data-wrap .table tbody td {
    background: #fff;
    color: #10233d;
    border-color: #e6edf7;
  }

  .dashboard-shell .dashboard-section-head {
    flex-direction: column;
  }

  .dashboard-shell .dashboard-chart-cards {
    grid-template-columns: 1fr;
  }

  .dashboard-shell .dashboard-chart-card {
    padding: 12px;
  }

  .dashboard-shell .dashboard-chart-grid {
    grid-template-columns: 1fr;
  }

  .dashboard-shell .dashboard-chart-box {
    min-height: 220px;
  }

  .dashboard-shell .dashboard-chart-box canvas {
    height: 220px !important;
  }

  .dashboard-shell .dashboard-insight-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .dashboard-shell .dashboard-tools-grid {
    gap: 8px;
  }

  .dashboard-shell .dashboard-tool {
    min-height: 92px;
    padding: 10px 6px;
    border-radius: 16px;
  }

  .dashboard-shell .dashboard-tool-icon {
    width: 36px;
    height: 36px;
    border-radius: 12px;
    font-size: 0.98rem;
  }

  .dashboard-shell .dashboard-tool-label {
    font-size: 0.69rem;
  }

  .dashboard-shell .dashboard-tool-meta {
    font-size: 0.62rem;
  }

  .dashboard-shell .dashboard-data-card,
  .dashboard-shell .dashboard-chart-panel,
  .dashboard-shell .dashboard-tools-panel {
    padding: 12px;
  }

  .dashboard-shell .dashboard-data-head {
    gap: 10px;
    margin-bottom: 12px;
  }

  .dashboard-shell .dashboard-data-actions .btn {
    width: 100%;
  }

  .dashboard-shell .dashboard-insight {
    min-height: 84px;
    padding: 12px 14px;
  }

  .dashboard-shell .dashboard-insight strong {
    font-size: 1.15rem;
  }

  .dashboard-shell .main-header .dashboard-sidebar-toggle {
    display: none !important;
  }

  .dashboard-shell .dashboard-data-head {
    align-items: flex-start;
  }

  body.hold-transition.sidebar-mini.dashboard-shell {
    padding-bottom: 92px;
  }

  .mobile-dashboard-nav {
    position: fixed;
    left: 50%;
    bottom: 14px;
    transform: translateX(-50%);
    width: min(100% - 20px, 420px);
    z-index: 1060;
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 8px;
    padding: 10px;
    border-radius: 22px;
    background: rgba(255, 255, 255, 0.88);
    border: 1px solid rgba(148, 163, 184, 0.22);
    box-shadow: 0 16px 32px rgba(15, 23, 42, 0.18);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
  }

  html[data-theme="dark"] .mobile-dashboard-nav {
    background: rgba(8, 15, 28, 0.92);
    border-color: rgba(148, 163, 184, 0.16);
  }

  .mobile-dashboard-nav a {
    min-width: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 6px;
    text-decoration: none;
    color: #475569;
    border-radius: 16px;
    padding: 9px 6px 8px;
    transition:
      transform 0.18s ease,
      background 0.18s ease;
  }

  html[data-theme="dark"] .mobile-dashboard-nav a {
    color: rgba(226, 232, 240, 0.86);
  }

  .mobile-dashboard-nav a:hover,
  .mobile-dashboard-nav a:focus {
    text-decoration: none;
    transform: translateY(-1px);
  }

  .mobile-dashboard-nav a.is-active {
    background: linear-gradient(135deg, #0ea5e9 0%, #6366f1 100%);
    color: #fff;
    box-shadow: 0 10px 20px rgba(37, 99, 235, 0.22);
  }

  .mobile-dashboard-nav i {
    font-size: 1.03rem;
    line-height: 1;
  }

  .mobile-dashboard-nav span {
    display: block;
    font-size: 0.68rem;
    font-weight: 700;
    line-height: 1;
  }
}
/* =========================================================
   MOBILE BOTTOM NAVIGATION
   Full-width, fixed, and shared by admin/pelaksana/teknisi
   ========================================================= */

.mobile-dashboard-nav {
  display: none;
}

@media (max-width: 991.98px) {
  body.dashboard-shell,
  body.hold-transition.sidebar-mini.dashboard-shell {
    padding-bottom: 104px !important;
  }

  .mobile-dashboard-nav {
    display: grid !important;
    grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
    gap: 6px !important;
    position: fixed !important;
    left: 0 !important;
    right: 0 !important;
    bottom: 0 !important;
    width: 100vw !important;
    max-width: none !important;
    margin: 0 !important;
    box-sizing: border-box !important;
    z-index: 2147483000 !important;
    padding: 10px 10px calc(10px + env(safe-area-inset-bottom)) !important;
    border-radius: 18px 18px 0 0 !important;
    background: rgba(255, 255, 255, 0.96) !important;
    border-top: 1px solid rgba(15, 23, 42, 0.08) !important;
    box-shadow: 0 -12px 34px rgba(15, 23, 42, 0.14) !important;
    backdrop-filter: blur(16px) !important;
    -webkit-backdrop-filter: blur(16px) !important;
  }

  [data-theme="dark"] .mobile-dashboard-nav {
    background: rgba(8, 15, 28, 0.96) !important;
    border-top-color: rgba(148, 163, 184, 0.16) !important;
    box-shadow: 0 -12px 34px rgba(0, 0, 0, 0.42) !important;
  }

  .mobile-dashboard-nav a {
    flex: 1 1 0;
    min-width: 0;
    max-width: none;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 4px;
    text-decoration: none;
    color: #64748b;
    font-size: 10px;
    font-weight: 600;
    letter-spacing: 0.01em;
    padding: 6px 2px 5px;
    border-radius: 14px;
    transition:
      color 0.2s ease,
      background-color 0.2s ease,
      transform 0.15s ease;
  }

  [data-theme="dark"] .mobile-dashboard-nav a {
    color: #94a3b8;
  }

  .mobile-dashboard-nav a .mobile-nav-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    border-radius: 11px;
    font-size: 14px;
    color: inherit;
    background: transparent;
    transition:
      background-color 0.2s ease,
      color 0.2s ease,
      transform 0.2s ease,
      box-shadow 0.2s ease;
  }

  .mobile-dashboard-nav a .mobile-nav-label {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 100%;
    font-size: 9.5px;
    line-height: 1.1;
  }

  .mobile-dashboard-nav a:active .mobile-nav-icon {
    transform: scale(0.92);
  }

  .mobile-dashboard-nav a.is-active {
    color: #0ea5e9;
  }

  .mobile-dashboard-nav a.is-active .mobile-nav-icon {
    background: linear-gradient(135deg, #0ea5e9, #6366f1);
    color: #ffffff;
    box-shadow: 0 6px 14px rgba(14, 165, 233, 0.35);
    transform: translateY(-2px);
  }

  .mobile-dashboard-nav a.is-active .mobile-nav-label {
    color: #0ea5e9;
  }

  [data-theme="dark"] .mobile-dashboard-nav a.is-active .mobile-nav-label {
    color: #38bdf8;
  }

  .mobile-dashboard-nav .theme-palette-dock {
    grid-column: 1 / -1;
    margin-top: 4px;
  }

  .mobile-dashboard-nav .theme-palette-caption {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: fit-content;
    padding: 5px 10px;
    margin: 0 auto 8px;
    border-radius: 999px;
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    background: rgba(148, 163, 184, 0.16);
  }

  .mobile-dashboard-nav .theme-palette-list {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    justify-content: center;
  }

  .mobile-dashboard-nav .theme-palette-chip {
    min-width: 84px;
    flex: 1 1 calc(33.333% - 8px);
    max-width: none;
  }
}

.dashboard-shell .dashboard-media-strip {
  margin-top: 16px;
}

.dashboard-shell .theme-palette-dropup {
  position: relative;
  display: block !important;
  width: 100%;
  max-width: 100%;
  padding: 0 !important;
  background: transparent !important;
  border: 0 !important;
  box-shadow: none !important;
}

.dashboard-shell .theme-palette-toggle {
  appearance: none;
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  width: 100%;
  padding: 10px 14px;
  border-radius: 18px;
  border: 1px solid var(--sikompro-line);
  background: linear-gradient(
    180deg,
    color-mix(in srgb, var(--sikompro-surface) 96%, transparent),
    color-mix(in srgb, var(--sikompro-surface-alt) 88%, transparent)
  );
  color: var(--sikompro-ink);
  box-shadow: 0 10px 20px rgba(2, 8, 23, 0.08);
  font-weight: 800;
  cursor: pointer;
}

.dashboard-shell .theme-palette-toggle:hover,
.dashboard-shell .theme-palette-toggle:focus {
  transform: translateY(-1px);
  outline: none;
}

.dashboard-shell .theme-palette-toggle .theme-palette-caption {
  margin: 0;
  padding: 0;
  border: 0;
  background: transparent;
  align-self: center;
  color: inherit;
}

.dashboard-shell .theme-palette-toggle i {
  font-size: 0.8rem;
  transition: transform 0.18s ease;
}

.dashboard-shell .theme-palette-dropup.is-open .theme-palette-toggle i {
  transform: rotate(180deg);
}

.dashboard-shell .theme-palette-content {
  display: none;
  position: absolute;
  bottom: calc(100% + 10px);
  left: 0;
  right: 0;
  z-index: 1050;
  padding: 12px;
  border-radius: 22px;
  background: color-mix(in srgb, var(--sikompro-surface) 96%, white 4%);
  border: 1px solid var(--sikompro-line);
  box-shadow: 0 18px 34px rgba(2, 8, 23, 0.18);
}

.dashboard-shell .theme-palette-dropup.is-open .theme-palette-content {
  display: block;
}

.dashboard-shell .theme-palette-content .theme-palette-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
}

.dashboard-shell .theme-palette-content .theme-palette-chip {
  width: 100%;
  min-width: 0;
  justify-content: center;
}

@media (max-width: 767.98px) {
  .dashboard-shell .theme-palette-content {
    width: calc(100vw - 24px);
    max-width: 420px;
    left: 0;
    right: auto;
  }

  .dashboard-shell .theme-palette-content .theme-palette-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .dashboard-shell .mobile-dashboard-nav a {
    align-items: center;
    justify-content: center;
    text-align: center;
  }

  .dashboard-shell .mobile-dashboard-nav a .mobile-nav-label {
    display: block;
    width: 100%;
    text-align: center;
    font-style: normal;
    transform: none;
    letter-spacing: 0;
  }
}

.dashboard-shell .main-sidebar .theme-palette-nav {
  margin: 4px 8px 8px;
  padding: 0;
  border-radius: 0;
  background: transparent;
  border: 0;
  box-shadow: none;
}

.dashboard-shell .main-sidebar .theme-palette-dock {
  display: block !important;
  width: 100%;
  padding: 0 !important;
  background: transparent !important;
  border: 0 !important;
  box-shadow: none !important;
}

.dashboard-shell .main-sidebar .theme-palette-toggle {
  appearance: none;
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  width: 100%;
  padding: 10px 12px;
  border-radius: 12px;
  border: 1px solid rgba(148, 163, 184, 0.18);
  background: linear-gradient(135deg, rgba(15, 23, 42, 0.96), rgba(30, 41, 59, 0.94));
  color: #eef5ff;
  font-weight: 800;
  cursor: pointer;
  box-shadow: 0 8px 18px rgba(15, 23, 42, 0.08);
}

.dashboard-shell .main-sidebar .theme-palette-toggle i {
  transition: transform 0.18s ease;
}

.dashboard-shell .main-sidebar .theme-palette-dropup.is-open .theme-palette-toggle i {
  transform: rotate(180deg);
}

.dashboard-shell .main-sidebar .theme-palette-toggle .theme-palette-caption {
  display: inline-flex;
  align-items: center;
  margin: 0;
  padding: 0;
  border: 0;
  background: transparent;
  color: inherit;
}

.dashboard-shell .main-sidebar .theme-palette-content {
  background: rgba(15, 23, 42, 0.96);
  border-color: rgba(148, 163, 184, 0.18);
}

.dashboard-shell .main-sidebar .theme-palette-chip {
  background: rgba(255, 255, 255, 0.96);
  color: #10233d;
}

.dashboard-shell .main-sidebar .theme-palette-content {
  display: none;
  position: static;
  margin-top: 8px;
  padding: 0 0 2px;
  background: transparent;
  border: 0;
  box-shadow: none;
}

.dashboard-shell .main-sidebar .theme-palette-dropup.is-open .theme-palette-content {
  display: block;
}

.dashboard-shell .main-sidebar .theme-palette-content .theme-palette-list {
  display: grid;
  grid-template-columns: 1fr;
  gap: 8px;
}

.dashboard-shell .main-sidebar .theme-palette-chip {
  width: 100%;
  justify-content: flex-start;
}

.dashboard-shell .main-header .dashboard-sidebar-toggle {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 40px;
  padding: 0 14px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  background: linear-gradient(135deg, rgba(14, 165, 233, 0.95), rgba(99, 102, 241, 0.95));
  color: #fff;
  box-shadow: 0 10px 20px rgba(15, 23, 42, 0.16);
  font-weight: 800;
}

.dashboard-shell .main-header .dashboard-sidebar-toggle .sidebar-toggle-label {
  font-size: 0.9rem;
}

.dashboard-shell .dashboard-media-strip {
  margin-top: 16px;
  margin-left: -20px;
  margin-right: -20px;
  width: calc(100% + 40px);
}

.dashboard-shell .dashboard-media-strip .media-strip-track {
  gap: 18px;
  padding: 18px 16px;
  min-height: 232px;
  animation: stripScroll 78s linear infinite;
  will-change: transform;
  transform: translate3d(0, 0, 0);
}

.dashboard-shell .dashboard-media-strip .media-strip-card {
  width: 288px;
  border-radius: 18px;
}

.dashboard-shell .dashboard-media-strip .media-strip-card img {
  height: 190px;
  object-position: center;
}

@media (max-width: 767.98px) {
  .dashboard-shell .dashboard-media-strip .media-strip-card {
    width: 224px;
  }

  .dashboard-shell .dashboard-media-strip .media-strip-card img {
    height: 148px;
  }

  .dashboard-shell .mobile-dashboard-nav a {
    align-items: center !important;
    justify-content: center !important;
    text-align: center !important;
  }

  .dashboard-shell .mobile-dashboard-nav a .mobile-nav-label {
    width: 100%;
    display: block;
    text-align: center;
    font-style: normal !important;
    transform: none !important;
    letter-spacing: 0 !important;
  }
}

/* Final dashboard overrides to keep the light UI readable and prevent
   older rules from making white cards or tables hard to see. */
html[data-theme="light"] .dashboard-shell .content-wrapper .content-header-card,
html[data-theme="light"] .dashboard-shell .content-wrapper .dashboard-card-soft,
html[data-theme="light"] .dashboard-shell .content-wrapper .card {
  background: linear-gradient(180deg, #f8fbff 0%, #eef4fb 100%) !important;
  border-color: #dbe7f5 !important;
  color: #10233d !important;
}

html[data-theme="light"] .dashboard-shell .content-wrapper .content-header-card h1,
html[data-theme="light"] .dashboard-shell .content-wrapper .content-header-card h2,
html[data-theme="light"] .dashboard-shell .content-wrapper .content-header-card h3,
html[data-theme="light"] .dashboard-shell .content-wrapper .content-header-card h4,
html[data-theme="light"] .dashboard-shell .content-wrapper .content-header-card h5,
html[data-theme="light"] .dashboard-shell .content-wrapper .content-header-card h6,
html[data-theme="light"] .dashboard-shell .content-wrapper .content-header-card p,
html[data-theme="light"] .dashboard-shell .content-wrapper .content-header-card span {
  color: #10233d !important;
}

html[data-theme="light"] .dashboard-shell .content-header-card h6 {
  white-space: normal;
  overflow-wrap: anywhere;
  max-width: 100%;
}

.dashboard-shell .dashboard-hero-grid--single > div,
.dashboard-shell .content-header-card > div {
  min-width: 0;
}

.dashboard-shell .dashboard-media-strip,
.dashboard-shell .dashboard-media-strip .media-strip {
  width: 100%;
  margin-right: 0;
}

.dashboard-shell .dashboard-media-strip .media-strip-track {
  min-height: 232px;
  align-items: stretch;
}

.dashboard-shell .dashboard-media-strip .media-strip-card img {
  height: 196px;
}

.dashboard-shell .page-hero h3,
.dashboard-shell .content-header-card h3 {
  line-height: 1.12;
}

.dashboard-shell .page-hero p,
.dashboard-shell .content-header-card p,
.dashboard-shell .content-header-card h6 {
  overflow-wrap: anywhere;
}

@media (max-width: 767.98px) {
  html[data-theme="light"] .dashboard-shell .content-wrapper .content-header-card,
  html[data-theme="light"] .dashboard-shell .content-wrapper .dashboard-card-soft,
  html[data-theme="light"] .dashboard-shell .content-wrapper .card {
    background: linear-gradient(180deg, #f7fbff 0%, #edf4fc 100%) !important;
  }

  .dashboard-shell .dashboard-media-strip .media-strip-track {
    min-height: 204px;
    padding-top: 18px;
    padding-bottom: 18px;
    margin-left: -16px;
    margin-right: -16px;
    width: calc(100% + 32px);
  }

  .dashboard-shell .dashboard-media-strip .media-strip-card img {
    height: 150px;
  }

  .dashboard-shell .page-hero h3,
  .dashboard-shell .content-header-card h3 {
    font-size: clamp(1.25rem, 5.2vw, 1.65rem);
  }

  .dashboard-shell .page-hero p,
  .dashboard-shell .content-header-card p,
  .dashboard-shell .content-header-card h6 {
    font-size: 0.92rem;
    line-height: 1.5;
    white-space: normal;
    overflow-wrap: anywhere;
  }

  .dashboard-shell .dashboard-data-wrap .table td,
  .dashboard-shell .dashboard-data-wrap .table th {
    white-space: normal;
    font-size: 0.78rem;
    line-height: 1.35;
  }

  .dashboard-shell .dashboard-data-wrap .table td .btn,
  .dashboard-shell .dashboard-data-wrap .table td .badge {
    white-space: normal;
  }
}

.dashboard-shell .table-responsive {
  -webkit-overflow-scrolling: touch;
  overflow-x: auto;
  overscroll-behavior-x: contain;
  touch-action: pan-x pan-y;
}

.dashboard-shell .table-responsive > table {
  min-width: 1120px;
}

.dashboard-shell #tabel-komplain {
  display: table;
  width: 100%;
  min-width: 1320px;
  table-layout: auto;
}

.dashboard-shell #tabel-komplain td:nth-child(9),
.dashboard-shell #tabel-komplain td:nth-child(10) {
  min-width: 140px;
}

.dashboard-shell #tabel-komplain td:last-child {
  min-width: 320px;
}

.dashboard-shell #tabel-komplain td:last-child .btn,
.dashboard-shell #tabel-komplain td:last-child form {
  display: inline-flex;
  width: auto;
}

.dashboard-shell #tabel-komplain td:last-child .btn {
  margin: 4px 6px 4px 0;
  padding: 0.35rem 0.6rem;
  font-size: 0.72rem;
  line-height: 1.1;
  white-space: nowrap;
}

.dashboard-shell #tabel-komplain td:last-child form {
  margin: 4px 0 0;
}

.dashboard-shell #tabel-komplain .img-thumb {
  width: 42px;
  height: 42px;
  margin: 2px 3px 2px 0;
  max-width: none;
}

.dashboard-shell #tabel-komplain tbody tr.group-row td {
  white-space: normal;
}

.dashboard-shell .user-card .table-responsive > table {
  min-width: 1180px;
}

.dashboard-shell .table-responsive table.table.table-bordered.table-striped {
  min-width: 980px;
}

@media (max-width: 767.98px) {
  .dashboard-shell #tabel-komplain {
    min-width: 980px;
  }

  .dashboard-shell .user-card .table-responsive > table,
  .dashboard-shell .table-responsive > table {
    min-width: 1080px;
  }

  .dashboard-shell .table-responsive th,
  .dashboard-shell .table-responsive td {
    white-space: nowrap;
    vertical-align: top;
  }

  .dashboard-shell #tabel-komplain td:last-child {
    min-width: 300px;
  }

  .dashboard-shell #tabel-komplain td:nth-child(9),
  .dashboard-shell #tabel-komplain td:nth-child(10) {
    min-width: 150px;
  }

  .dashboard-shell #tabel-komplain .img-thumb {
    width: 38px;
    height: 38px;
  }

  .dashboard-shell #tabel-komplain td:last-child .btn {
    margin-right: 4px;
  }
}

@media (min-width: 992px) {
  body.dashboard-shell.sidebar-collapse .main-sidebar {
    width: 280px !important;
    max-width: 280px !important;
    transform: translateX(-110%) !important;
    opacity: 0 !important;
    visibility: hidden !important;
    pointer-events: none !important;
    box-shadow: none !important;
    border-right: 0 !important;
    clip-path: inset(0 100% 0 0);
  }

  body.dashboard-shell.sidebar-collapse .content-wrapper,
  body.dashboard-shell.sidebar-collapse .main-header.navbar {
    margin-left: 0 !important;
  }

  .dashboard-shell .main-header .dashboard-sidebar-toggle-inline {
    margin-right: 8px;
  }

  .dashboard-shell .main-header .nav-link[data-widget="pushmenu"] {
    min-width: 44px;
    min-height: 44px;
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.08);
    box-shadow: 0 8px 16px rgba(15, 23, 42, 0.12);
  }
}

.dashboard-shell .dashboard-back-button {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  align-self: flex-start;
  margin: 0 0 14px;
  padding: 10px 14px;
  border-radius: 14px;
  background: linear-gradient(135deg, #0ea5e9 0%, #6366f1 100%);
  color: #fff !important;
  font-weight: 800;
  text-decoration: none !important;
  box-shadow: 0 10px 20px rgba(37, 99, 235, 0.22);
}

.dashboard-shell .dashboard-back-button:hover,
.dashboard-shell .dashboard-back-button:focus {
  color: #fff !important;
  text-decoration: none !important;
}

.dashboard-shell .dashboard-back-button i {
  font-size: 0.92rem;
}

.dashboard-shell .dashboard-media-strip {
  margin-left: -32px;
  margin-right: -32px;
  width: calc(100% + 64px);
  max-width: none;
}

.dashboard-shell .dashboard-media-strip .media-strip-track {
  display: flex;
  flex-wrap: nowrap;
  width: max-content;
  gap: 18px;
  padding: 18px 32px;
  min-height: 236px;
  animation: stripScroll 44s linear infinite;
  animation-play-state: running;
}

.dashboard-shell .dashboard-media-strip .media-strip-card {
  width: 268px;
}

.dashboard-shell .dashboard-media-strip .media-strip-card img {
  height: 186px;
}

@media (max-width: 767.98px) {
  .dashboard-shell .dashboard-back-button {
    width: 100%;
    justify-content: center;
    margin-bottom: 12px;
  }

  .dashboard-shell .dashboard-media-strip {
    margin-left: -16px;
    margin-right: -16px;
    width: calc(100% + 32px);
  }

  .dashboard-shell .dashboard-media-strip .media-strip-track {
    min-height: 198px;
    padding: 16px;
    gap: 14px;
    animation-duration: 36s;
  }

  .dashboard-shell .dashboard-media-strip .media-strip-card {
    width: 212px;
  }

  .dashboard-shell .dashboard-media-strip .media-strip-card img {
    height: 144px;
  }

  .dashboard-shell .table-responsive {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
  }

  .dashboard-shell .table-responsive > table {
    min-width: 920px;
  }

  .dashboard-shell .table-responsive th,
  .dashboard-shell .table-responsive td {
    white-space: nowrap;
    font-size: 0.8rem;
    line-height: 1.35;
    padding: 10px 10px;
  }

  .dashboard-shell #tabel-komplain td:last-child {
    min-width: 260px;
  }
}

.dashboard-shell .table-responsive > table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
}

.dashboard-shell .table-responsive th,
.dashboard-shell .table-responsive td {
  font-size: 0.92rem;
  line-height: 1.45;
  padding: 12px 12px;
}

.dashboard-shell .table-responsive th {
  font-weight: 800;
}

.dashboard-shell .mobile-dashboard-nav {
  width: min(100vw, 100%) !important;
  border-radius: 22px 22px 0 0 !important;
  padding-left: 8px !important;
  padding-right: 8px !important;
}

.dashboard-shell .mobile-dashboard-nav a {
  padding-top: 6px;
  padding-bottom: 6px;
  border-radius: 16px;
}

.dashboard-shell .mobile-dashboard-nav a .mobile-nav-icon {
  width: 30px;
  height: 30px;
  border-radius: 11px;
  font-size: 13px;
}

.dashboard-shell .mobile-dashboard-nav a .mobile-nav-label {
  font-size: 8.5px;
  letter-spacing: 0;
  line-height: 1;
}

/* Final pass: make dashboard media strips reach the card edges, keep
   complaint lists swipeable on mobile, and make profile/salary actions easier
   to hit on small screens. */
.dashboard-shell .page-hero.page-hero--media,
.dashboard-shell .content-header-card.content-header-card--media {
  padding-bottom: 0;
}

.dashboard-shell .dashboard-media-strip--edge {
  margin-left: -28px;
  margin-right: -28px;
  width: calc(100% + 56px);
  max-width: none;
  border-radius: 0 0 24px 24px;
}

.dashboard-shell .dashboard-media-strip--edge .media-strip-track {
  padding-left: 28px;
  padding-right: 28px;
}

.dashboard-shell .profile-photo-picker {
  display: flex;
  justify-content: center;
  margin-bottom: 14px;
}

.dashboard-shell .profile-photo-trigger {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  cursor: pointer;
  user-select: none;
}

.dashboard-shell .profile-photo-trigger img {
  width: 110px;
  height: 110px;
  object-fit: cover;
  border-radius: 50%;
  border: 4px solid rgba(148, 163, 184, 0.28);
  box-shadow: 0 12px 26px rgba(31, 45, 61, 0.12);
  transition:
    transform 0.18s ease,
    box-shadow 0.18s ease;
}

.dashboard-shell .profile-photo-trigger:hover img,
.dashboard-shell .profile-photo-trigger:focus-visible img {
  transform: scale(1.03);
  box-shadow: 0 14px 30px rgba(31, 45, 61, 0.16);
}

.dashboard-shell .profile-photo-hint {
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--sikompro-muted);
}

.dashboard-shell .profile-photo-input {
  display: none;
}

.dashboard-shell .salary-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: flex-end;
}

.dashboard-shell .salary-actions .btn,
.dashboard-shell .salary-actions .btn:focus,
.dashboard-shell .salary-actions .btn:hover {
  white-space: nowrap;
  position: relative;
  z-index: 2;
  touch-action: manipulation;
}

.dashboard-shell .salary-filter-form {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) auto;
  gap: 12px;
  align-items: end;
}

.dashboard-shell .complaint-stream {
  display: block;
}

@media (max-width: 767.98px) {
  .dashboard-shell .dashboard-media-strip--edge {
    margin-left: -16px;
    margin-right: -16px;
    width: calc(100% + 32px);
    border-radius: 0 0 18px 18px;
  }

  .dashboard-shell .dashboard-media-strip--edge .media-strip-track {
    padding-left: 16px;
    padding-right: 16px;
  }

  .dashboard-shell .complaint-stream {
    display: flex;
    flex-direction: row;
    gap: 12px;
    overflow-x: auto;
    padding-bottom: 8px;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
  }

  .dashboard-shell .complaint-stream > .group-title {
    flex: 0 0 100%;
    min-width: 100%;
  }

  .dashboard-shell .complaint-stream > .complaint-card {
    flex: 0 0 min(88vw, 420px);
    width: min(88vw, 420px);
    scroll-snap-align: start;
    margin-bottom: 0 !important;
  }

  .dashboard-shell .profile-photo-trigger img {
    width: 96px;
    height: 96px;
  }

  .dashboard-shell .salary-actions {
    justify-content: stretch;
  }

.dashboard-shell .salary-actions > .btn {
    width: 100%;
  }

  .dashboard-shell .salary-filter-form {
    grid-template-columns: 1fr;
  }

  .dashboard-shell .salary-filter-form .btn {
    width: 100%;
  }
}

.dashboard-shell .main-sidebar .sidebar {
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  scrollbar-gutter: stable;
  max-height: calc(100vh - 84px);
}

.dashboard-shell .main-sidebar .sidebar::-webkit-scrollbar {
  width: 8px;
}

.dashboard-shell .main-sidebar .sidebar::-webkit-scrollbar-thumb {
  background: rgba(255, 255, 255, 0.18);
  border-radius: 999px;
}

.dashboard-shell .main-sidebar .sidebar::-webkit-scrollbar-track {
  background: transparent;
}

.dashboard-shell .complaint-card .card-body {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px 18px;
  align-items: start;
}

.dashboard-shell .complaint-card .card-body > form,
.dashboard-shell .complaint-card .card-body > .alert,
.dashboard-shell .complaint-card .card-body > .photo-grid {
  grid-column: 1 / -1;
}

.dashboard-shell .complaint-card .card-body > p {
  margin-bottom: 0;
  color: var(--sikompro-ink);
}

.dashboard-shell .complaint-card .card-body > p:first-of-type {
  grid-column: 1 / -1;
}

.dashboard-shell .complaint-card .card-body > p b {
  color: var(--sikompro-ink);
}

.dashboard-shell .complaint-card .photo-grid {
  margin-top: 4px;
}

.dashboard-shell .complaint-card-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 6px;
  grid-column: 1 / -1;
}

.dashboard-shell .complaint-card-head h5 {
  margin-bottom: 4px;
  letter-spacing: -0.02em;
}

.dashboard-shell .complaint-card-head .text-muted {
  color: var(--sikompro-muted);
}

.dashboard-shell .complaint-overview {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px 16px;
  grid-column: 1 / -1;
}

.dashboard-shell .complaint-field {
  padding: 12px 14px;
  border: 1px solid var(--sikompro-line);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.55);
}

.dashboard-shell .complaint-field-label {
  display: block;
  margin-bottom: 4px;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  color: var(--sikompro-muted);
}

.dashboard-shell .complaint-field-value {
  margin-bottom: 0;
  color: var(--sikompro-ink);
  line-height: 1.55;
}

.dashboard-shell .complaint-card-divider {
  margin: 6px 0 12px;
  grid-column: 1 / -1;
}

.dashboard-shell .complaint-detail-row {
  display: none;
}

.dashboard-shell .complaint-detail-row.is-open {
  display: table-row;
}

.dashboard-shell .complaint-detail-row > td {
  padding: 0;
  border-top: 0;
}

.dashboard-shell .complaint-detail-panel {
  padding: 16px;
  background: var(--sikompro-surface);
  border-top: 1px solid var(--sikompro-line);
}

.dashboard-shell .utility-page-hero {
  position: relative;
  background: linear-gradient(
    135deg,
    var(--sikompro-surface) 0%,
    var(--sikompro-surface-alt) 100%
  );
  border: 1px solid var(--sikompro-line);
  border-radius: 20px;
  box-shadow: 0 12px 35px rgba(34, 48, 71, 0.08);
  padding: 22px 24px;
  margin-bottom: 18px;
  overflow: hidden;
}

.dashboard-shell .utility-page-hero h4 {
  letter-spacing: -0.03em;
  margin-bottom: 4px;
}

.dashboard-shell .utility-page-hero p {
  margin-bottom: 0;
  color: var(--sikompro-muted);
}

.dashboard-shell .utility-page-card {
  border: 0;
  border-radius: 18px;
  box-shadow: 0 12px 28px rgba(31, 45, 61, 0.08);
  overflow: hidden;
}

.dashboard-shell .utility-page-card .card-body {
  padding: 18px;
}

.dashboard-shell .utility-page-stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 12px;
}

.dashboard-shell .utility-stat {
  padding: 14px 16px;
  border: 1px solid var(--sikompro-line);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.54);
}

.dashboard-shell .utility-stat .text-muted {
  display: block;
  margin-bottom: 6px;
  font-size: 0.82rem;
  font-weight: 700;
  text-transform: uppercase;
}

.dashboard-shell .utility-stat strong {
  display: block;
  font-size: 1rem;
  line-height: 1.35;
  color: var(--sikompro-ink);
}

.dashboard-shell .utility-page-intro {
  color: var(--sikompro-muted);
}

@media (max-width: 767.98px) {
  .dashboard-shell .main-sidebar .sidebar {
    max-height: calc(100dvh - 84px);
  }

  .dashboard-shell .complaint-card .card-body {
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .dashboard-shell .page-actions,
  .dashboard-shell .filter-toolbar,
  .dashboard-shell .salary-actions,
  .dashboard-shell .salary-filter-form {
    width: 100%;
  }

  .dashboard-shell .page-actions,
  .dashboard-shell .filter-toolbar {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
  }

  .dashboard-shell .page-actions .btn,
  .dashboard-shell .filter-toolbar .btn,
  .dashboard-shell .page-actions .dropdown,
  .dashboard-shell .page-actions .dropdown-toggle {
    width: 100%;
  }

  .dashboard-shell .page-actions .dropdown-menu {
    width: 100%;
  }

  .dashboard-shell .table-responsive.complaint-table-wrap {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: thin;
    border-radius: 14px;
  }

  .dashboard-shell .complaint-table {
    min-width: 960px;
  }

  .dashboard-shell .complaint-table th,
  .dashboard-shell .complaint-table td {
    white-space: nowrap;
    vertical-align: middle;
    padding: 10px 12px;
    font-size: 0.92rem;
  }

  .dashboard-shell .complaint-table .img-thumb {
    width: 54px;
    height: 54px;
  }

  .dashboard-shell .complaint-card .card-body {
    gap: 10px;
  }

  .dashboard-shell .complaint-card-head,
  .dashboard-shell .utility-page-hero {
    gap: 10px;
  }

  .dashboard-shell .complaint-overview,
  .dashboard-shell .utility-page-stats {
    grid-template-columns: 1fr;
  }

  .dashboard-shell .complaint-card .card-body > .card {
    border-radius: 14px;
  }

  .dashboard-shell .complaint-card .complaint-footer-actions,
  .dashboard-shell .complaint-card .complaint-card-actions {
    display: grid !important;
    grid-template-columns: 1fr;
    gap: 8px;
    width: 100%;
  }

  .dashboard-shell .complaint-card .complaint-footer-actions .btn,
  .dashboard-shell .complaint-card .complaint-card-actions .btn {
    width: 100%;
  }

  .dashboard-shell .admin-action-grid {
    grid-template-columns: 1fr;
    min-width: 0;
  }
}

.dashboard-shell .main-sidebar .sidebar {
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  overscroll-behavior: contain;
}

.dashboard-shell .main-header.navbar,
.dashboard-shell .main-header .navbar-nav,
.dashboard-shell .main-header .nav-item,
.dashboard-shell .main-header .nav-link,
.dashboard-shell .main-header .navbar-brand,
.dashboard-shell .main-header [data-widget="pushmenu"],
.dashboard-shell [data-theme-toggle],
.dashboard-shell .dashboard-back-button {
  position: relative;
  z-index: 1100;
  pointer-events: auto;
  touch-action: manipulation;
}

.dashboard-shell .mobile-dashboard-nav button {
  appearance: none;
  border: 0;
  background: transparent;
  font: inherit;
  cursor: pointer;
  text-align: center;
  color: inherit;
}

.dashboard-shell .mobile-dashboard-nav button,
.dashboard-shell .mobile-dashboard-nav a {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
  min-width: 0;
  max-width: none;
  padding: 6px 4px;
  border-radius: 16px;
  position: relative;
  z-index: 5;
  touch-action: manipulation;
}

.dashboard-shell .mobile-dashboard-nav button .mobile-nav-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 30px;
  border-radius: 11px;
  font-size: 13px;
  color: inherit;
}

.dashboard-shell .mobile-dashboard-nav button .mobile-nav-label {
  display: block;
  width: 100%;
  text-align: center;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  font-size: 8.5px;
  letter-spacing: 0;
  line-height: 1;
}

.dashboard-shell .mobile-dashboard-nav button:hover,
.dashboard-shell .mobile-dashboard-nav button:focus {
  text-decoration: none;
  transform: translateY(-1px);
}

.dashboard-shell .mobile-dashboard-nav button.is-active {
  color: #0ea5e9;
}

.dashboard-shell .mobile-dashboard-nav button.is-active .mobile-nav-icon {
  background: linear-gradient(135deg, #0ea5e9, #6366f1);
  color: #ffffff;
  box-shadow: 0 6px 14px rgba(14, 165, 233, 0.35);
  transform: translateY(-2px);
}

.dashboard-shell .mobile-dashboard-nav button.is-active .mobile-nav-label {
  color: #0ea5e9;
}

.dashboard-shell .main-header,
.dashboard-shell .main-header .navbar,
.dashboard-shell .dashboard-back-button,
.dashboard-shell [data-theme-toggle],
.dashboard-shell .main-header .nav-link[data-widget="pushmenu"] {
  pointer-events: auto;
}

/* Unified mobile frame and final palette-driven overrides */
@media (max-width: 991.98px) {
  body.dashboard-shell {
    padding: 8px !important;
    background: linear-gradient(
      180deg,
      var(--sikompro-page-bg-top) 0%,
      var(--sikompro-page-bg-bottom) 100%
    ) !important;
  }

  body.dashboard-shell .wrapper {
    min-height: calc(100dvh - 16px);
    border-radius: 18px;
    overflow: hidden;
    border: 1px solid var(--sikompro-line);
    box-shadow: 0 18px 44px rgba(2, 8, 23, 0.26);
    background: linear-gradient(
      180deg,
      var(--sikompro-page-bg-top) 0%,
      var(--sikompro-page-bg-bottom) 100%
    );
  }

  .dashboard-shell .main-header.navbar,
  .dashboard-shell .content-wrapper,
  .dashboard-shell .main-sidebar {
    border-radius: 0 !important;
  }

  .dashboard-shell .content-wrapper {
    margin: 0 !important;
    width: 100% !important;
  }
}

.dashboard-shell #tabel-komplain {
  min-width: 1080px;
}

html[data-theme="light"] .dashboard-shell .content-wrapper .card,
html[data-theme="light"] .dashboard-shell .content-wrapper .hero,
html[data-theme="light"] .dashboard-shell .content-wrapper .hero-panel,
html[data-theme="light"] .dashboard-shell .content-wrapper .page-hero,
html[data-theme="light"] .dashboard-shell .content-wrapper .content-header-card,
html[data-theme="light"] .dashboard-shell .content-wrapper .complaint-card,
html[data-theme="light"] .dashboard-shell .content-wrapper .dashboard-panel,
html[data-theme="light"] .dashboard-shell .content-wrapper .quick-link,
html[data-theme="light"] .dashboard-shell .content-wrapper .small-box,
html[data-theme="light"] .dashboard-shell .content-wrapper .salary-hero,
html[data-theme="light"] .dashboard-shell .content-wrapper .profile-card,
html[data-theme="light"] .dashboard-shell .content-wrapper .salary-panel,
html[data-theme="light"] .dashboard-shell .content-wrapper .profile-form,
html[data-theme="light"] .dashboard-shell .content-wrapper .profile-side,
html[data-theme="dark"] .dashboard-shell .content-wrapper .card,
html[data-theme="dark"] .dashboard-shell .content-wrapper .hero,
html[data-theme="dark"] .dashboard-shell .content-wrapper .hero-panel,
html[data-theme="dark"] .dashboard-shell .content-wrapper .page-hero,
html[data-theme="dark"] .dashboard-shell .content-wrapper .content-header-card,
html[data-theme="dark"] .dashboard-shell .content-wrapper .complaint-card,
html[data-theme="dark"] .dashboard-shell .content-wrapper .dashboard-panel,
html[data-theme="dark"] .dashboard-shell .content-wrapper .quick-link,
html[data-theme="dark"] .dashboard-shell .content-wrapper .small-box,
html[data-theme="dark"] .dashboard-shell .content-wrapper .salary-hero,
html[data-theme="dark"] .dashboard-shell .content-wrapper .profile-card,
html[data-theme="dark"] .dashboard-shell .content-wrapper .salary-panel,
html[data-theme="dark"] .dashboard-shell .content-wrapper .profile-form,
html[data-theme="dark"] .dashboard-shell .content-wrapper .profile-side {
  background: var(--sikompro-surface) !important;
  color: var(--sikompro-ink) !important;
  border-color: var(--sikompro-line) !important;
}

html[data-theme="light"] .dashboard-shell .content-wrapper .table,
html[data-theme="dark"] .dashboard-shell .content-wrapper .table,
html[data-theme="light"] .dashboard-shell .content-wrapper .table thead th,
html[data-theme="dark"] .dashboard-shell .content-wrapper .table thead th,
html[data-theme="light"] .dashboard-shell .content-wrapper .table tbody td,
html[data-theme="dark"] .dashboard-shell .content-wrapper .table tbody td {
  background: var(--sikompro-surface) !important;
  color: var(--sikompro-ink) !important;
  border-color: var(--sikompro-line) !important;
}

html[data-theme="light"] .dashboard-shell .content-wrapper .card-header,
html[data-theme="dark"] .dashboard-shell .content-wrapper .card-header,
html[data-theme="light"] .dashboard-shell .content-wrapper .input-group-text,
html[data-theme="dark"] .dashboard-shell .content-wrapper .input-group-text,
html[data-theme="light"] .dashboard-shell .content-wrapper .form-control,
html[data-theme="dark"] .dashboard-shell .content-wrapper .form-control,
html[data-theme="light"] .dashboard-shell .content-wrapper select.form-control,
html[data-theme="dark"] .dashboard-shell .content-wrapper select.form-control,
html[data-theme="light"] .dashboard-shell .content-wrapper textarea.form-control,
html[data-theme="dark"] .dashboard-shell .content-wrapper textarea.form-control,
html[data-theme="light"] .dashboard-shell .content-wrapper .dropdown-menu,
html[data-theme="dark"] .dashboard-shell .content-wrapper .dropdown-menu,
html[data-theme="light"] .dashboard-shell .content-wrapper .bg-white,
html[data-theme="dark"] .dashboard-shell .content-wrapper .bg-white,
html[data-theme="light"] .dashboard-shell .content-wrapper .bg-light,
html[data-theme="dark"] .dashboard-shell .content-wrapper .bg-light {
  background: var(--sikompro-surface-alt) !important;
  color: var(--sikompro-ink) !important;
  border-color: var(--sikompro-line) !important;
}

.dashboard-shell .complaint-card-actions,
.dashboard-shell .complaint-footer-actions {
  display: grid !important;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
  width: 100%;
  min-width: 0;
}

.dashboard-shell .table-responsive.complaint-table-wrap {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: thin;
  scroll-snap-type: x proximity;
  border-radius: 18px;
  overscroll-behavior-x: contain;
  touch-action: pan-x pan-y;
}

.dashboard-shell .complaint-table {
  width: 100%;
  min-width: 1460px;
  border-collapse: separate;
  border-spacing: 0;
}

.dashboard-shell .complaint-table thead th,
.dashboard-shell .complaint-table tbody td {
  white-space: nowrap;
  vertical-align: middle;
  padding: 12px 14px;
}

.dashboard-shell .complaint-table thead th:nth-child(1),
.dashboard-shell .complaint-table tbody td:nth-child(1) {
  width: 64px;
  text-align: center;
}

.dashboard-shell .complaint-table thead th:nth-child(2),
.dashboard-shell .complaint-table tbody td:nth-child(2) {
  width: 300px;
}

.dashboard-shell .complaint-table thead th:nth-child(3),
.dashboard-shell .complaint-table tbody td:nth-child(3) {
  width: 170px;
}

.dashboard-shell .complaint-table thead th:nth-child(4),
.dashboard-shell .complaint-table tbody td:nth-child(4) {
  width: 140px;
  text-align: center;
}

.dashboard-shell .complaint-table thead th:nth-child(5),
.dashboard-shell .complaint-table tbody td:nth-child(5) {
  width: 110px;
  text-align: center;
}

.dashboard-shell .complaint-table thead th:nth-child(6),
.dashboard-shell .complaint-table tbody td:nth-child(6) {
  width: 120px;
  text-align: center;
}

.dashboard-shell .complaint-table thead th:nth-child(7),
.dashboard-shell .complaint-table tbody td:nth-child(7) {
  width: 170px;
}

.dashboard-shell .complaint-table thead th:nth-child(8),
.dashboard-shell .complaint-table tbody td:nth-child(8) {
  width: 120px;
}

.dashboard-shell .complaint-table thead th:nth-child(9),
.dashboard-shell .complaint-table tbody td:nth-child(9),
.dashboard-shell .complaint-table thead th:nth-child(10),
.dashboard-shell .complaint-table tbody td:nth-child(10) {
  width: 130px;
}

.dashboard-shell .complaint-table thead th:nth-child(11),
.dashboard-shell .complaint-table tbody td:nth-child(11) {
  width: 180px;
}

.dashboard-shell .complaint-card-actions .btn,
.dashboard-shell .complaint-card-actions form,
.dashboard-shell .complaint-footer-actions .btn,
.dashboard-shell .complaint-footer-actions form {
  width: 100%;
  margin: 0;
}

@media (max-width: 767.98px) {
  .dashboard-shell .complaint-table {
    min-width: 1180px;
  }

  .dashboard-shell .complaint-table thead th,
  .dashboard-shell .complaint-table tbody td {
    padding: 8px 10px;
    font-size: 0.84rem;
    line-height: 1.35;
  }

  .dashboard-shell .complaint-table .img-thumb {
    width: 38px;
    height: 38px;
    margin: 1px 2px 1px 0;
  }

  .dashboard-shell .complaint-table .badge {
    padding: 0.3rem 0.5rem;
    font-size: 0.7rem;
  }

  .dashboard-shell .complaint-detail-panel {
    padding: 12px;
  }

  .dashboard-shell .complaint-card-actions,
  .dashboard-shell .complaint-footer-actions,
  .dashboard-shell .admin-action-grid {
    grid-template-columns: 1fr !important;
    min-width: 0 !important;
  }

  .dashboard-shell .main-sidebar .sidebar {
    max-height: calc(100dvh - 84px);
  }
}
