/* ============================================================
   SmartGasNet theme v2 – skin on top of the existing deznav layout
   Palette: Flame Green · Pine · Saffron · Network Blue
   ============================================================ */
:root {
  /* brand colours */
  --sg-green: #0cc23f;
  --sg-green-dark: #10a63c; /* real dark shade of the green (was blue before) */
  --sg-pine: #2ec267; /* deepest green – header start / strong text */
  --sg-green-soft: rgba(12, 194, 63, 0.1);
  --sg-orange: #f4a006;
  --sg-orange-dark: #d98c00;
  --sg-orange-soft: rgba(244, 160, 6, 0.14);
  --sg-blue: #0a7fc4; /* logo blue – used sparingly as 3rd accent */
  --sg-blue-dark: #056ab2;
  /* aliases used elsewhere in this file */
  --sg-navy: #0cc23f;
  --sg-navy-dark: #09a334;
  --sg-navy-light: #0cc23f;
  /* neutrals */
  --sg-bg: #f4faf6;
  --sg-text: #16232b;
  --sg-muted: #667585;
  --sg-border: #e3eae6;
  --sg-radius: 18px;
  /* elevation */
  --sg-shadow-sm: 0 2px 6px rgba(22, 35, 43, 0.05);
  --sg-shadow-md: 0 10px 28px rgba(22, 35, 43, 0.08);
  --sg-shadow-lg: 0 18px 44px rgba(22, 35, 43, 0.14);
}

body {
  font-family: "Plus Jakarta Sans", "Segoe UI", Roboto, Arial, sans-serif !important;
  background: var(--sg-bg) !important;
  color: var(--sg-text);
  -webkit-font-smoothing: antialiased;
  letter-spacing: -0.005em;
}
#main-wrapper {
  background: var(--sg-bg);
}

.fa,
.far,
.fas {
  font-family: "FontAwesome";
}

/* ---------- Logo block ---------- */
.nav-header {
  background: #fff !important;
  box-shadow: none !important;
}
.nav-header::after {
  content: "";
  position: absolute;
  right: 0;
  top: 24%;
  bottom: 24%;
  width: 1px;
  background: var(--sg-border);
}
.nav-header .nav-control {
  position: absolute !important;
  left: 16px !important;
  right: auto !important;
  top: 50% !important;
  transform: translateY(-50%) !important;
  margin: 0 !important;
  padding: 0 !important;
}
.nav-header .hamburger {
  width: 44px !important;
  height: 44px !important;
  border-radius: 14px;
  background: linear-gradient(135deg, var(--sg-green), var(--sg-green-dark));
  border: 0;
  box-shadow: 0 8px 16px rgba(6, 138, 45, 0.3),
    inset 0 1px 0 rgba(255, 255, 255, 0.35);
  display: flex !important;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
  padding: 0 !important;
  transition: background 0.2s, box-shadow 0.2s, transform 0.2s;
}
.nav-header .hamburger:hover {
  background: linear-gradient(135deg, var(--sg-orange), var(--sg-orange-dark));
  box-shadow: 0 8px 16px rgba(244, 160, 6, 0.38),
    inset 0 1px 0 rgba(255, 255, 255, 0.35);
  transform: scale(1.04);
}
.nav-header .hamburger .line {
  background: #fff !important;
  width: 20px !important;
  height: 2px !important;
  margin: 0 !important;
  border-radius: 2px;
}
.nav-header .brand-logo {
  display: flex !important;
  align-items: center;
  height: 100%;
  padding-left: 78px !important;
}

#main-wrapper.menu-toggle .nav-header .brand-logo,
#main-wrapper.menu-toggle .nav-header::after {
  display: none !important;
}
#main-wrapper.menu-toggle .nav-header .nav-control {
  left: 50% !important;
  transform: translate(-50%, -50%) !important;
}

/* ============================================================
   TOP BAR  (redesigned)
   ============================================================ */
.header {
  background: #fff !important;
  border-bottom: 0 !important;
  box-shadow: 0 4px 18px rgba(22, 35, 43, 0.07) !important;
  position: relative;
}
/* thin brand line under the whole header */
.header::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 3px;
  background: linear-gradient(
    90deg,
    var(--sg-blue) 0%,
    var(--sg-green) 45%,
    var(--sg-orange) 100%
  );
  opacity: 0.85;
  pointer-events: none;
}
.header .header-content {
  padding-left: 0 !important;
  padding-right: 20px !important;
  height: 100%;
}
.header .navbar {
  padding: 0 !important;
  height: 100%;
}
.header .navbar-collapse,
.header-left,
.header-left .dashboard_bar {
  height: 100%;
}
.header-left {
  flex: 1;
  min-width: 0;
}

/* green "banner" part */
.sg-topbar {
  position: relative;
  display: flex;
  align-items: stretch;
  height: 100%;
  width: 100%;
  margin-right: 24px;
  background: radial-gradient(
      120% 160% at 18% 120%,
      rgba(255, 255, 255, 0.18) 0,
      rgba(255, 255, 255, 0) 55%
    ),
    linear-gradient(
      100deg,
      var(--sg-pine) 0%,
      var(--sg-green-dark) 32%,
      var(--sg-green) 72%,
      #7fd63a 100%
    );
  clip-path: polygon(0 0, 100% 0, calc(100% - 46px) 100%, 0 100%);
  overflow: hidden;
}
/* soft flowing gas-flame waves across the banner */
/* abstract gas-pipeline network running through the banner
   (inline SVG, CSS only – pipes, flanges, valve wheel, animated gas flow) */
.sg-topbar::before {
  content: "";
  position: absolute;
  inset: 0;
  background: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='420' height='64' viewBox='0 0 420 64' fill='none' stroke='white' stroke-linecap='round' stroke-linejoin='round'><path d='M0 50H110a10 10 0 0 0 10-10V28a10 10 0 0 1 10-10H290a10 10 0 0 1 10 10V40a10 10 0 0 0 10 10H420' stroke-width='9' stroke-opacity='.12'/><path d='M0 50H110a10 10 0 0 0 10-10V28a10 10 0 0 1 10-10H290a10 10 0 0 1 10 10V40a10 10 0 0 0 10 10H420' stroke-width='3' stroke-opacity='.6' stroke-dasharray='1 16'><animate attributeName='stroke-dashoffset' from='0' to='-17' dur='1s' repeatCount='indefinite'/></path><g stroke-opacity='.3' stroke-width='2'><rect x='40' y='43' width='5' height='14' rx='2'/><rect x='200' y='11' width='5' height='14' rx='2'/><rect x='350' y='43' width='5' height='14' rx='2'/><circle cx='245' cy='18' r='8'/><path d='M240 18h10M245 13v10'/></g></svg>")
      repeat-x left center / auto 100%,
    radial-gradient(
      60% 90% at 30% 140%,
      rgba(255, 255, 255, 0.14) 0 40%,
      transparent 41%
    );
  pointer-events: none;
}
/* small flame-coloured accent dot before the text */
.header .dashboard_bar .sg-marquee {
  position: relative;
  flex: 1;
  min-width: 0;
  display: flex;
  align-items: center;
  padding: 0 18px 0 30px;
  overflow: hidden;
  /* fade the text in/out at edges instead of hard-cutting it */
  -webkit-mask-image: linear-gradient(
    90deg,
    transparent 0,
    #000 28px,
    #000 calc(100% - 48px),
    transparent 100%
  );
  mask-image: linear-gradient(
    90deg,
    transparent 0,
    #000 28px,
    #000 calc(100% - 48px),
    transparent 100%
  );
}
.header .dashboard_bar .sg-marquee::before {
  content: "";
  position: absolute;
  left: 14px;
  top: 50%;
  width: 8px;
  height: 8px;
  margin-top: -4px;
  border-radius: 50%;
  background: var(--sg-orange);
  box-shadow: 0 0 0 4px rgba(244, 160, 6, 0.28), 0 0 12px rgba(244, 160, 6, 0.8);
  z-index: 2;
}
.header .dashboard_bar .sg-marquee marquee {
  width: 100%;
}
.header .dashboard_bar .sg-marquee h2 {
  margin: 0;
  font-size: 19px;
  font-weight: 700;
  letter-spacing: 0.01em;
  line-height: 1.4;
  white-space: nowrap;
  color: #fff !important;
  -webkit-text-fill-color: #fff !important;
  background: none !important;
  text-shadow: 0 1px 4px rgba(0, 0, 0, 0.3);
}

/* saffron end-panel: sunrise glow + diagonal light streaks (no busy grid) */
.sg-visual {
  flex-shrink: 0;
  width: 240px;
  margin-left: -1px;
  clip-path: polygon(46px 0, 100% 0, calc(100% - 46px) 100%, 0 100%);
  background:
    /* pipe → valve → burner with flickering flame */ url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='240' height='64' viewBox='0 0 240 64' fill='none' stroke='white' stroke-linecap='round' stroke-linejoin='round'><g stroke-opacity='.3' stroke-width='2' stroke-dasharray='2 6'><path d='M60 14H130'/><path d='M196 60H240'/></g><path d='M-10 50H160a8 8 0 0 0 8-8V33' stroke-width='9' stroke-opacity='.5' stroke-linecap='butt'/><path d='M-10 50H160a8 8 0 0 0 8-8V33' stroke-width='2.5' stroke-opacity='.95' stroke-dasharray='1 14'><animate attributeName='stroke-dashoffset' from='0' to='-15' dur='1s' repeatCount='indefinite'/></path><g fill='white' fill-opacity='.75' stroke='none'><rect x='40' y='43' width='5' height='14' rx='2'/><rect x='140' y='43' width='5' height='14' rx='2'/><rect x='160' y='31' width='16' height='5' rx='2'/></g><g stroke-width='2.5' stroke-opacity='.9'><circle cx='100' cy='50' r='9' fill='rgb(217,140,0)' fill-opacity='.45'/><path d='M100 41V31M93 31H107M94 50h12'/></g><g transform='translate(168 31)' stroke='none'><g><animateTransform attributeName='transform' type='scale' values='1 1;1 .9;1 1.06;1 1' dur='1.3s' repeatCount='indefinite'/><path d='M0 0C-11-2-11-13-4-19C-4-13 1-13 2-18C9-12 11-2 0 0Z' fill='white' fill-opacity='.95'/><path d='M0-2C-6-3-6-9 0-13C5-9 6-3 0-2Z' fill='gold'/></g></g></svg>")
      center / 100% 100% no-repeat,
    radial-gradient(
      circle at 70% 50%,
      rgba(255, 255, 255, 0.5) 0,
      rgba(255, 255, 255, 0) 40%
    ),
    repeating-linear-gradient(
      115deg,
      rgba(255, 255, 255, 0.1) 0 10px,
      rgba(255, 255, 255, 0) 10px 34px
    ),
    linear-gradient(
      120deg,
      #ffc93c 0%,
      var(--sg-orange) 55%,
      var(--sg-orange-dark) 100%
    );
  box-shadow: inset 14px 0 18px -14px rgba(0, 0, 0, 0.25);
}

.navbar-nav.header-right {
  align-items: center;
  gap: 12px;
  margin-left: auto;
  flex-shrink: 0;
}
.navbar-nav.header-right > li {
  margin-left: 0 !important;
}

/* round icon buttons */
.sg-icon-btn {
  width: 44px;
  height: 44px;
  border-radius: 14px; /* squircle, matches hamburger */
  border: 1px solid var(--sg-border);
  background: #fff;
  color: var(--sg-green-dark) !important;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--sg-shadow-sm);
  transition: background 0.2s, color 0.2s, border-color 0.2s, transform 0.2s;
}
.sg-icon-btn:hover {
  background: var(--sg-green);
  border-color: var(--sg-green);
  color: #fff !important;
  transform: translateY(-1px);
}
.sg-icon-btn:focus-visible {
  outline: 3px solid var(--sg-orange);
  outline-offset: 2px;
}

/* profile – now a soft pill */
.header-profile {
  padding-left: 0;
  margin-left: 4px !important;
  border-left: 0;
}
.header-profile > a.nav-link {
  display: flex !important;
  align-items: center;
  gap: 10px;
  padding: 5px 14px 5px 5px !important;
  border-radius: 40px;
  border: 1px solid var(--sg-border);
  background: linear-gradient(180deg, #fff, #f6fbf8) !important;
  box-shadow: var(--sg-shadow-sm);
  transition: box-shadow 0.2s, border-color 0.2s;
}
.header-profile > a.nav-link:hover {
  border-color: rgba(12, 194, 63, 0.45);
  box-shadow: 0 6px 16px rgba(12, 194, 63, 0.16);
}
.header-profile > a.nav-link img {
  width: 40px !important;
  height: 40px !important;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid #fff;
  box-shadow: 0 0 0 2px var(--sg-green);
}
.header-profile .header-info {
  padding-left: 0 !important;
}
.header-profile .header-info .text-black {
  font-weight: 700;
  font-size: 14.5px;
  color: var(--sg-text) !important;
}
.header-profile .sg-caret {
  color: var(--sg-muted);
  font-size: 12px;
}

/* profile dropdown – glass effect */
.header-profile .dropdown-menu {
  min-width: 220px;
  margin-top: 14px !important;
  padding: 8px;
  border-radius: 18px;
  border: 1px solid rgba(255, 255, 255, 0.6) !important;
  background: rgba(255, 255, 255, 0.95);
  box-shadow: var(--sg-shadow-lg), inset 0 1px 0 rgba(255, 255, 255, 0.7);
}
@supports (
  (backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))
) {
  .header-profile .dropdown-menu {
    background: linear-gradient(
      135deg,
      rgba(255, 255, 255, 0.7),
      rgba(255, 255, 255, 0.45)
    ) !important;
    -webkit-backdrop-filter: blur(18px) saturate(170%);
    backdrop-filter: blur(18px) saturate(170%);
  }
}
.header-profile .dropdown-menu.show {
  animation: sgGlassIn 0.18s ease-out;
}
@keyframes sgGlassIn {
  from {
    opacity: 0;
    transform: translateY(-6px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.header-profile .dropdown-item {
  border-radius: 12px;
  padding: 10px 12px;
  font-weight: 600;
  color: var(--sg-text) !important;
  display: flex;
  align-items: center;
  background: transparent;
  transition: background 0.15s, color 0.15s;
}
.header-profile .dropdown-item + .dropdown-item {
  margin-top: 2px;
}
.header-profile .dropdown-item:hover,
.header-profile .dropdown-item:focus {
  background: rgba(12, 194, 63, 0.12) !important;
  color: var(--sg-green-dark) !important;
}
.header-profile .dropdown-item[href*="logout"]:hover {
  background: rgba(220, 53, 69, 0.12) !important;
  color: #c62828 !important;
}

/* ============================================================
   SIDEBAR
   ============================================================ */
.deznav {
  background: radial-gradient(
      circle at 100% 0%,
      rgba(12, 194, 63, 0.16) 0,
      rgba(12, 194, 63, 0) 45%
    ),
    radial-gradient(
      circle at 0% 100%,
      rgba(244, 160, 6, 0.2) 0,
      rgba(244, 160, 6, 0) 50%
    ),
    linear-gradient(180deg, #b9f0cb 0%, #f6fcf8 45%, #f8deaa 100%) !important;
  border-right: 1px solid rgba(12, 194, 63, 0.15);
  border-radius: 0 28px 28px 0;
  box-shadow: 6px 0 24px rgba(22, 35, 43, 0.06);
}
.deznav .deznav-scroll {
  padding-bottom: 170px;
}
.deznav .metismenu > li {
  padding: 0 14px;
  margin-bottom: 6px;
}
.deznav .metismenu > li > a {
  display: flex !important;
  align-items: center;
  gap: 14px;
  color: var(--sg-text) !important;
  font-weight: 600;
  font-size: 16px;
  padding: 14px 16px 14px 18px !important;
  border-radius: 14px;
  background: transparent;
  transition: background 0.2s, color 0.2s, transform 0.2s;
}
.deznav .metismenu > li > a svg {
  color: var(--sg-green-dark);
  flex-shrink: 0;
}
.deznav .metismenu > li > a .nav-text {
  color: inherit !important;
}
.deznav .metismenu > li > a:hover {
  background: rgba(255, 255, 255, 0.65);
  color: var(--sg-green-dark) !important;
  transform: translateX(2px);
}

.deznav .metismenu > li.mm-active > a,
.deznav .metismenu > li.sg-active > a {
  background: linear-gradient(
    90deg,
    var(--sg-green),
    var(--sg-green-dark)
  ) !important;
  color: #fff !important;
  box-shadow: 0 10px 20px rgba(6, 138, 45, 0.28), inset 4px 0 0 var(--sg-orange);
  transform: none;
}
.deznav .metismenu > li.mm-active > a svg,
.deznav .metismenu > li.sg-active > a svg {
  color: #fff;
}

/* hide the theme's arrow completely, use our own chevron icon */
#main-wrapper .deznav .metismenu li > a.has-arrow::after,
#main-wrapper .deznav .metismenu li > a.has-arrow::before,
#main-wrapper .deznav .metismenu li > a .nav-text::after,
#main-wrapper .deznav .metismenu li > a .nav-text::before {
  border: 0 !important;
  background: none !important;
  width: 0 !important;
  height: 0 !important;
  display: none !important;
  content: none !important;
}
.deznav .metismenu .sg-chevron {
  margin-left: auto;
  flex-shrink: 0;
  width: 18px;
  height: 18px;
  color: var(--sg-muted);
  transition: transform 0.2s ease;
}
.deznav .metismenu > li.mm-active > a .sg-chevron,
.deznav .metismenu > li > a[aria-expanded="true"] .sg-chevron {
  transform: rotate(90deg);
  color: #fff;
}
#main-wrapper.menu-toggle .deznav .metismenu .sg-chevron {
  display: none;
}

.deznav .metismenu ul {
  background: rgba(255, 255, 255, 0.8) !important;
  border: 1px solid rgba(12, 194, 63, 0.15);
  border-radius: 14px;
  margin: 8px 0 4px;
  padding: 6px 0 !important;
}
.deznav .metismenu ul a {
  color: var(--sg-muted) !important;
  font-size: 14px !important;
  font-weight: 500;
  padding: 9px 18px 9px 30px !important;
  position: relative;
  transition: color 0.15s;
}
[data-sidebar-style="full"][data-layout="vertical"]
  .deznav
  .metismenu
  > li
  > a {
  font-size: 16px !important;
}
.deznav .metismenu ul a::before {
  content: "";
  position: absolute;
  left: 10px;
  top: 50%;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--sg-green);
  transform: translateY(-50%);
}
.deznav .metismenu ul a:hover,
.deznav .metismenu ul a.mm-active {
  color: var(--sg-orange-dark) !important;
}
.deznav .metismenu ul a:hover::before,
.deznav .metismenu ul a.mm-active::before {
  background: var(--sg-orange);
}

/* bottom brand block */
.sg-side-brand {
  position: absolute;
  left: 18px;
  right: 18px;
  bottom: 24px;
  padding: 14px 16px;
  display: flex;
  align-items: center;
  gap: 14px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.78);
  border: 1px solid rgba(244, 160, 6, 0.3);
  box-shadow: 0 8px 18px rgba(244, 160, 6, 0.12);
  pointer-events: none;
}
.sg-side-brand .sg-logo-badge {
  flex-shrink: 0;
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 0 0 3px rgba(244, 160, 6, 0.35),
    0 4px 12px rgba(22, 35, 43, 0.1);
}
.sg-side-brand .sg-logo-badge img {
  width: 46px;
  height: 46px;
  object-fit: contain;
}
.sg-side-brand p {
  margin: 0;
  color: var(--sg-green-dark);
  font-size: 14px;
  font-weight: 700;
  line-height: 1.4;
}
.sg-side-brand p span {
  color: var(--sg-orange-dark);
}
#main-wrapper.menu-toggle .sg-side-brand {
  display: none;
}

/* ============================================================
   SIDEBAR v3 – "pipeline" look
   menu icons = nodes, a flowing gas pipe connects them
   ============================================================ */
.deznav {
  background: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='224' height='300' viewBox='0 0 224 300' fill='none' stroke='rgb(6,138,45)' stroke-linecap='round' stroke-linejoin='round'><path d='M-10 210H150a16 16 0 0 1 16 16V300' stroke-width='10' stroke-opacity='.09'/><path d='M30 300V150a16 16 0 0 1 16-16H224' stroke-width='10' stroke-opacity='.07'/><path d='M-10 210H150a16 16 0 0 1 16 16V300' stroke-width='2' stroke-opacity='.4' stroke-dasharray='1 14'><animate attributeName='stroke-dashoffset' from='0' to='-15' dur='1.4s' repeatCount='indefinite'/></path><g stroke-width='3' stroke-opacity='.16'><circle cx='90' cy='210' r='12'/><path d='M82 210h16M90 202v16'/></g><circle cx='166' cy='262' r='4' fill='rgb(244,160,6)' stroke='none' fill-opacity='.6'/></svg>")
      no-repeat left bottom / 100% auto,
    radial-gradient(
      circle at 100% 0%,
      rgba(12, 194, 63, 0.16) 0,
      rgba(12, 194, 63, 0) 45%
    ),
    radial-gradient(
      circle at 0% 100%,
      rgba(244, 160, 6, 0.2) 0,
      rgba(244, 160, 6, 0) 50%
    ),
    linear-gradient(180deg, #c4f2d3 0%, #f6fcf8 45%, #f9e3b4 100%) !important;
}

/* menu rows: soft glass pills */
.deznav .metismenu > li {
  position: relative;
  margin-bottom: 10px;
}
.deznav .metismenu > li > a {
  position: relative;
  z-index: 1;
  padding: 10px 14px 10px 18px !important;
  background: rgba(255, 255, 255, 0.55);
  border: 1px solid rgba(255, 255, 255, 0.85);
  box-shadow: 0 2px 8px rgba(22, 35, 43, 0.05);
}
.deznav .metismenu > li > a:hover {
  background: #fff;
  box-shadow: 0 8px 18px rgba(6, 138, 45, 0.14);
  transform: translateX(3px);
}

/* icon chip = pipeline node */

/* active row: green gradient, chip glows with an orange "flame" ring */
.deznav .metismenu > li.mm-active > a,
.deznav .metismenu > li.sg-active > a {
  border-color: transparent;
  background: linear-gradient(
    100deg,
    var(--sg-green-dark),
    var(--sg-green)
  ) !important;
  box-shadow: 0 12px 22px rgba(6, 138, 45, 0.3);
}
.deznav .metismenu > li.mm-active > a svg,
.deznav .metismenu > li.sg-active > a svg {
  color: #fff;
}
.footer {
  padding-left: 120px !important;
}
.copyright {
  border-radius: 0 !important;
}
.copyright {
  border-radius: 0 !important;
  padding: 6px !important;
}
.footer .copyright p {
  font-size: 15px !important;
}
.footer {
  position: fixed;
  left: 0;
  width: 100%;
  bottom: 0;
}
/* the pipe between items (starts at chip centre, runs to next chip) */
.deznav .metismenu > li:not(:last-child)::before {
  content: "";
  position: absolute;
  left: 50px;
  width: 4px;
  top: 30px;
  bottom: -10px;
  border-radius: 4px;
  z-index: 0;
  background: repeating-linear-gradient(
      180deg,
      rgba(255, 255, 255, 0.95) 0 3px,
      transparent 3px 14px
    ),
    linear-gradient(
      90deg,
      rgba(6, 138, 45, 0.3),
      rgba(12, 194, 63, 0.65) 50%,
      rgba(6, 138, 45, 0.3)
    );
  animation: sgFlow 1s linear infinite;
}
@keyframes sgFlow {
  from {
    background-position: 0 0, 0 0;
  }
  to {
    background-position: 0 14px, 0 0;
  }
}
/* submenu box sits above the pipe */
.deznav .metismenu > li > ul {
  position: relative;
  z-index: 1;
}

/* collapsed sidebar: pipe goes through the centre of the icons */
#main-wrapper.menu-toggle .deznav .metismenu > li > a {
  padding: 10px 0 !important;
}
#main-wrapper.menu-toggle .deznav .metismenu > li:not(:last-child)::before {
  left: calc(50% - 2px);
}
@media (max-width: 767px) {
  #main-wrapper.menu-toggle .deznav .metismenu > li > a {
    padding: 10px 14px 10px 18px !important;
  }
  #main-wrapper.menu-toggle .deznav .metismenu > li:not(:last-child)::before {
    left: 50px;
  }
}

/* bottom brand card: deep green with flame glow */
.sg-side-brand {
  z-index: 2;
  overflow: hidden;
  background: linear-gradient(135deg, var(--sg-pine), var(--sg-green-dark));
  border: 0;
  box-shadow: 0 14px 26px rgba(4, 80, 42, 0.35);
}
.sg-side-brand::after {
  content: "";
  position: absolute;
  right: -28px;
  bottom: -34px;
  width: 110px;
  height: 110px;
  border-radius: 50%;
  background: radial-gradient(
    circle,
    rgba(244, 160, 6, 0.65) 0,
    rgba(244, 160, 6, 0) 68%
  );
}
.sg-side-brand p {
  color: #fff;
  position: relative;
  z-index: 1;
}
.sg-side-brand p span {
  color: #ffd36b;
}

/* ============================================================
   CONTENT & FOOTER
   ============================================================ */
.content-body {
  background: radial-gradient(
      circle at 100% 0%,
      rgba(244, 160, 6, 0.1) 0,
      rgba(244, 160, 6, 0) 40%
    ),
    radial-gradient(
      circle at 0% 100%,
      rgba(12, 194, 63, 0.1) 0,
      rgba(12, 194, 63, 0) 45%
    ),
    linear-gradient(135deg, #f1fbf4 0%, #f8faf7 50%, #fffaf0 100%) !important;
  background-attachment: fixed !important;
  min-height: 100vh;
}
.content-body {
  padding-bottom: 70px;
}
/* page title ("Dashboard"): bolder, with a short brand underline */
.content-body .container-fluid > h1,
.content-body .container-fluid > h2,
.content-body .container-fluid > h3,
.content-body .page-title,
.content-body .page-titles h1,
.content-body .page-titles h2,
.content-body .page-titles h3,
.content-body .page-titles h4 {
  position: relative;
  font-weight: 800;
  font-size: 30px;
  letter-spacing: -0.02em;
  color: var(--sg-text);
  padding-bottom: 14px;
  margin-bottom: 22px;
  border-bottom: 1px solid var(--sg-border) !important;
}
.content-body .container-fluid > h1::after,
.content-body .container-fluid > h2::after,
.content-body .container-fluid > h3::after,
.content-body .page-title::after,
.content-body .page-titles h1::after,
.content-body .page-titles h2::after,
.content-body .page-titles h3::after,
.content-body .page-titles h4::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -2px;
  width: 64px;
  height: 3px;
  border-radius: 3px;
  background: linear-gradient(90deg, var(--sg-green), var(--sg-orange));
}

.footer {
  background: transparent !important;
}
.footer .copyright {
  text-align: center;
}
.footer .copyright p {
  color: var(--sg-muted);
  font-size: 14px;
  margin: 0;
}
.footer .copyright a {
  color: var(--sg-green-dark);
  font-weight: 600;
}

/* ---------- Theme colours for page content (all child views) ---------- */
.content-body a:not(.btn):not(.dropdown-item) {
  color: var(--sg-green-dark);
}
.content-body a:not(.btn):not(.dropdown-item):hover {
  color: var(--sg-orange-dark);
}

/* buttons */
.content-body .btn {
  border-radius: 12px;
  font-weight: 700;
  padding: 10px 24px;
  transition: filter 0.15s, box-shadow 0.15s, transform 0.15s;
}
.content-body .btn-primary,
.content-body .btn-success,
.content-body
  button[type="submit"]:not(.btn-danger):not(.btn-secondary):not(.btn-warning) {
  background: linear-gradient(
    135deg,
    var(--sg-green),
    var(--sg-green-dark)
  ) !important;
  border: 0 !important;
  color: #fff !important;
  box-shadow: 0 8px 16px rgba(6, 138, 45, 0.25);
}
.content-body .btn-warning,
.content-body .btn-info {
  background: linear-gradient(
    135deg,
    var(--sg-orange),
    var(--sg-orange-dark)
  ) !important;
  border: 0 !important;
  color: #fff !important;
  box-shadow: 0 8px 16px rgba(244, 160, 6, 0.3);
}
.content-body .btn:hover {
  filter: brightness(1.06);
  transform: translateY(-1px);
}
.content-body .btn:active {
  transform: none;
}
.content-body .btn:focus-visible {
  outline: 3px solid rgba(244, 160, 6, 0.55);
  outline-offset: 2px;
}
.content-body .btn-outline-primary,
.content-body .btn-outline-success {
  color: var(--sg-green-dark) !important;
  border-color: var(--sg-green) !important;
  background: transparent !important;
  box-shadow: none;
}
.content-body .btn-outline-primary:hover,
.content-body .btn-outline-success:hover {
  background: var(--sg-green) !important;
  color: #fff !important;
}

/* cards / panels */
.content-body .card {
  border: 1px solid rgba(227, 234, 230, 0.8);
  border-radius: var(--sg-radius);
  background: #fff;
  box-shadow: var(--sg-shadow-md);
  overflow: hidden;
}
.content-body .card-header {
  background: #fff !important;
  border-bottom: 1px solid var(--sg-border) !important;
  position: relative;
  padding-left: 22px;
}
.content-body .card-header::before {
  content: "";
  position: absolute;
  left: 0;
  top: 14px;
  bottom: 14px;
  width: 4px;
  border-radius: 0 4px 4px 0;
  background: linear-gradient(180deg, var(--sg-green), var(--sg-orange));
}
.content-body .card-title,
.content-body .card-header h4,
.content-body .card-header h5 {
  color: var(--sg-text);
  font-weight: 800;
  letter-spacing: -0.01em;
}

/* forms */
.content-body label {
  color: var(--sg-text);
  font-weight: 600;
}
.content-body .text-danger {
  color: #e5484d !important;
}
.content-body .form-control,
.content-body .form-select,
.content-body select {
  border-radius: 12px;
  border: 1px solid var(--sg-border);
  background-color: #fff;
  transition: border-color 0.15s, box-shadow 0.15s;
}
.content-body .form-control:focus,
.content-body .form-select:focus,
.content-body select:focus {
  border-color: var(--sg-green) !important;
  box-shadow: 0 0 0 4px rgba(12, 194, 63, 0.15) !important;
  outline: 0;
}
.content-body .form-check-input:checked {
  background-color: var(--sg-green);
  border-color: var(--sg-green);
}
.content-body input[type="file"]::file-selector-button {
  background: var(--sg-green-soft);
  color: var(--sg-green-dark);
  border: 0;
  font-weight: 600;
}
.content-body .container {
  margin-top: 20px !important;
}
/* tables (incl. bootstrap-table) */
.content-body .table thead th {
  background: linear-gradient(
    90deg,
    rgba(12, 194, 63, 0.14),
    rgba(244, 160, 6, 0.14)
  ) !important;
  color: var(--sg-text) !important;
  border-bottom: 0 !important;
  font-weight: 700;
}
.content-body .table tbody tr:hover {
  background: rgba(12, 194, 63, 0.05);
}
.content-body .pagination .page-item.active .page-link {
  background: var(--sg-green);
  border-color: var(--sg-green);
  color: #fff;
}
.content-body .pagination .page-link {
  color: var(--sg-green-dark);
}

/* badges */
.content-body .badge.bg-success,
.content-body .badge-success {
  background: var(--sg-green) !important;
}
.content-body .badge.bg-warning,
.content-body .badge-warning {
  background: var(--sg-orange) !important;
  color: #fff !important;
}

/* ============================================================
   DASHBOARD STAT CARDS
   Applies only when "Dashboard" is the active sidebar item.
   Restyles the 3 coloured cards (Connection / Security / Complaints)
   into the brand palette: green · saffron · blue.
   ============================================================ */
body:has(
    .deznav .metismenu > li:is(.mm-active, .sg-active) > a[href*="dashboard"]
  )
  .content-body {
  .row > [class*="col"] > .card {
    position: relative;
    border: 0;
    border-radius: 22px;
    color: #fff;
    box-shadow: 0 14px 30px -10px rgba(22, 35, 43, 0.35);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
  }
  .row > [class*="col"] > .card:hover {
    transform: translateY(-3px);
    box-shadow: 0 20px 36px -10px rgba(22, 35, 43, 0.4);
  }

  /* per-card brand colour */
  .row > [class*="col"]:nth-child(1) > .card {
    background: linear-gradient(
      160deg,
      #19d456 0%,
      var(--sg-green-dark) 100%
    ) !important;
  }
  .row > [class*="col"]:nth-child(2) > .card {
    background: linear-gradient(160deg, #ffbf2e 0%, #d98400 100%) !important;
  }
  .row > [class*="col"]:nth-child(3) > .card {
    background: linear-gradient(
      160deg,
      #1b9be0 0%,
      var(--sg-blue-dark) 100%
    ) !important;
  }

  /* soft light circle in the corner for depth */
  .row > [class*="col"] > .card::after {
    content: "";
    position: absolute;
    right: -50px;
    top: -50px;
    width: 170px;
    height: 170px;
    border-radius: 50%;
    background: radial-gradient(
      circle,
      rgba(255, 255, 255, 0.28) 0,
      rgba(255, 255, 255, 0) 70%
    );
    pointer-events: none;
  }

  .row > [class*="col"] > .card .card-header {
    background: rgba(255, 255, 255, 0.14) !important;
    border-bottom: 1px solid rgba(255, 255, 255, 0.28) !important;
    padding-top: 14px;
    padding-bottom: 14px;
  }
  .row > [class*="col"] > .card .card-header::before {
    display: none;
  }
  .row > [class*="col"] > .card .card-header,
  .row > [class*="col"] > .card .card-title,
  .row > [class*="col"] > .card .card-header :is(h3, h4, h5, h6) {
    color: #fff !important;
    font-weight: 800;
    text-align: center;
    letter-spacing: 0.005em;
  }

  .row > [class*="col"] > .card .card-body {
    background: transparent !important;
    color: #fff;
    line-height: 1.7;
  }
  .row
    > [class*="col"]
    > .card
    .card-body
    :is(p, span, div, strong, b, label, h6) {
    color: #fff !important;
  }
  .row > [class*="col"] > .card .card-body :is(strong, b, label, h6) {
    font-weight: 800;
  }

  .row > [class*="col"] > .card .card-footer {
    background: rgba(0, 0, 0, 0.1) !important;
    border-top: 1px solid rgba(255, 255, 255, 0.22) !important;
    text-align: center;
  }

  /* white pill buttons inside the coloured cards */
  .row > [class*="col"] > .card .btn {
    background: #fff !important;
    color: var(--sg-green-dark) !important;
    border: 0 !important;
    border-radius: 40px;
    padding: 10px 26px;
    font-weight: 800;
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.18);
  }
  .row > [class*="col"]:nth-child(2) > .card .btn {
    color: #b86f00 !important;
  }
  .row > [class*="col"]:nth-child(3) > .card .btn {
    color: var(--sg-blue-dark) !important;
  }
  .row > [class*="col"] > .card .btn:hover {
    filter: none;
    transform: translateY(-2px);
    box-shadow: 0 12px 20px rgba(0, 0, 0, 0.24);
  }
}

/* ---------- Change-password modal ---------- */
#modal-password .modal-content {
  border: 0;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 24px 56px rgba(4, 80, 42, 0.28);
}
#modal-password .modal-header {
  background: linear-gradient(
    100deg,
    var(--sg-pine),
    var(--sg-green-dark) 55%,
    var(--sg-green)
  );
  color: #fff;
  border-bottom: 3px solid var(--sg-orange);
}
#modal-password .modal-title {
  color: #fff;
  font-weight: 700;
}
#modal-password .modal-header .close {
  background: none;
  border: 0;
  color: #fff;
  font-size: 28px;
  line-height: 1;
  opacity: 0.85;
}
#modal-password label {
  font-weight: 700;
  font-size: 15px;
  color: var(--sg-text);
  margin-bottom: 6px;
}
#modal-password .form-control {
  height: 48px;
  border-radius: 12px;
  border: 1px solid var(--sg-border);
  padding-right: 44px;
}
#modal-password .form-control:focus {
  border-color: var(--sg-green);
  box-shadow: 0 0 0 4px rgba(12, 194, 63, 0.16);
}
#modal-password .btn-primary {
  background: linear-gradient(90deg, var(--sg-orange), var(--sg-orange-dark));
  border: 0;
  border-radius: 12px;
  padding: 10px 26px;
  font-weight: 700;
}
#modal-password .btn-secondary {
  border-radius: 12px;
  padding: 10px 22px;
  font-weight: 600;
}

.toggle-password {
  position: absolute;
  top: 16px;
  right: 16px;
  cursor: pointer;
  color: var(--sg-muted);
}

/* ---------- Toggle menu (hamburger + collapsed sidebar) ---------- */
.nav-header .hamburger {
  cursor: pointer;
}
.nav-header .hamburger .line {
  transition: transform 0.25s ease, opacity 0.2s ease, width 0.25s ease;
}
.nav-header .hamburger.is-active .line {
  transform: none !important;
  opacity: 1 !important;
}
.nav-header .hamburger.is-active .line:nth-child(2) {
  width: 12px !important;
}

/* collapsed sidebar: icons only, centred */
#main-wrapper.menu-toggle .deznav .deznav-scroll {
  padding-bottom: 30px;
}
#main-wrapper.menu-toggle .deznav .metismenu > li {
  padding: 0 10px;
}
#main-wrapper.menu-toggle .deznav .metismenu > li > a {
  justify-content: center;
  gap: 0;
  padding: 14px 0 !important;
}
#main-wrapper.menu-toggle .deznav .metismenu > li > a .nav-text {
  display: none !important;
}
#main-wrapper.menu-toggle .deznav .metismenu > li.mm-active > a,
#main-wrapper.menu-toggle .deznav .metismenu > li.sg-active > a {
  box-shadow: none;
}
/* flyout submenu on hover in collapsed mode */
#main-wrapper.menu-toggle .deznav .metismenu > li > ul {
  background: #fff !important;
  border-radius: 14px;
  box-shadow: var(--sg-shadow-lg);
  min-width: 210px;
}
#main-wrapper.menu-toggle .deznav .metismenu > li > ul a {
  padding-left: 40px !important;
}
#main-wrapper.menu-toggle .deznav .metismenu > li > ul a::before {
  left: 20px;
}

/* mobile: sidebar slides in, hamburger turns into a close (X) icon */
@media (max-width: 767px) {
  .nav-header .hamburger.is-active .line:nth-child(1) {
    transform: translateY(6px) rotate(45deg) !important;
  }
  .nav-header .hamburger.is-active .line:nth-child(2) {
    opacity: 0 !important;
  }
  .nav-header .hamburger.is-active .line:nth-child(3) {
    transform: translateY(-6px) rotate(-45deg) !important;
  }
  #main-wrapper.menu-toggle .deznav .metismenu > li > a {
    justify-content: flex-start;
    gap: 14px;
    padding: 14px 18px !important;
  }
  #main-wrapper.menu-toggle .deznav .metismenu > li > a .nav-text {
    display: inline !important;
  }
  #main-wrapper.menu-toggle .deznav .metismenu .sg-chevron {
    display: block;
  }
  #main-wrapper.menu-toggle .deznav .metismenu > li > ul {
    background: rgba(255, 255, 255, 0.8) !important;
    box-shadow: none;
    min-width: 0;
  }
}

/* ---------- Responsive ---------- */
@media (max-width: 1399px) {
  .sg-visual {
    width: 190px;
  }
}
@media (max-width: 1199px) {
  .sg-visual {
    display: none;
  }
  .sg-topbar {
    clip-path: polygon(0 0, 100% 0, calc(100% - 30px) 100%, 0 100%);
  }
}
@media (max-width: 767px) {
  .sg-topbar {
    display: none;
  }
  .header-profile .header-info,
  .header-profile .sg-caret,
  .sg-icon-btn {
    display: none !important;
  }
  .header-profile > a.nav-link {
    padding: 0 !important;
    border: 0;
    box-shadow: none;
    background: transparent !important;
  }
  .deznav {
    border-radius: 0;
  }
  .content-body .container-fluid > h1,
  .content-body .container-fluid > h2,
  .content-body .container-fluid > h3 {
    font-size: 24px;
  }
}
@media (prefers-reduced-motion: reduce) {
  * {
    transition: none !important;
    animation: none !important;
  }
}

[data-sidebar-style="full"][data-layout="vertical"]
  .deznav
  .metismenu
  > li.has-menu:after {
  display: none;
}
.ak-header .navbar-nav > li > a {
  text-transform: capitalize;
}
.ak-header .navbar-nav > li > a.active {
  color: #dd091c !important;
}
.ak-header li.user-footer {
  display: flex;
  justify-content: space-between;
}
.ak-header .dropdown-menu li {
  padding: 5px 10px;
  border-bottom: 1px dotted #eee;
}
.ak-header .dropdown-menu {
  width: 200px;
}
.ak-header .dropdown-menu li a {
  display: block;
  font-size: 15px;
}
button.navbar-toggler {
  background: #fff;
  padding: 4px !important;
}
button.navbar-toggler:focus {
  box-shadow: none;
}
.ak-header .navbar .dropdown-menu li a {
  color: inherit !important;
}
.navbar-toggler-icon {
  height: 25px;
  width: 25px;
}

#sgCity {
  --g: var(--sg-green, #0cc23f);
  --gd: var(--sg-green-dark, #068a2d);
  --o: var(--sg-orange, #f4a006);
  --od: var(--sg-orange-dark, #d98c00);
  --b: var(--sg-blue, #0a7fc4);
  --bd: var(--sg-blue-dark, #056ab2);
  --text: var(--sg-text, #16232b);
  --muted: var(--sg-muted, #667585);
  --line: var(--sg-border, #e3eae6);
  padding-bottom: 110px;
}
@keyframes sgUp {
  from {
    opacity: 0;
    transform: translateY(16px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

/* ---------- heading ---------- */
#sgCity .content-header {
  padding-top: clamp(28px, 7vh, 80px);
}
#sgCity .sg-city-hero {
  position: relative;
  text-align: center;
  margin: 0 auto 38px;
  padding-bottom: 22px;
  animation: sgUp 0.5s ease both;
}
#sgCity .sg-city-hero::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 0;
  transform: translateX(-50%);
  width: 72px;
  height: 4px;
  border-radius: 4px;
  background: linear-gradient(90deg, #0cc23f, #f4a006);
}
#sgCity .sg-city-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 14px;
  padding: 6px 14px;
  border-radius: 40px;
  background: rgba(12, 194, 63, 0.12);
  color: var(--gd) !important;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
#sgCity .sg-city-hero h1 {
  margin: 0 0 8px;
  font-size: clamp(28px, 4vw, 42px);
  font-weight: 800;
  letter-spacing: -0.025em;
  line-height: 1.1;
  color: var(--text) !important;
}
#sgCity .sg-city-hero p {
  margin: 0;
  font-size: 16px;
  color: var(--muted) !important;
}

/* ---------- city cards ---------- */
#sgCity .link-address {
  margin: 0;
}
#sgCity .sg-city-grid {
  list-style: none;
  margin: 0 auto;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 280px));
  justify-content: center;
  gap: 22px;
}
#sgCity .sg-city {
  margin: 0;
  padding: 0;
  animation: sgUp 0.55s ease both;
}
#sgCity .sg-city:nth-child(1) {
  animation-delay: 0.08s;
}
#sgCity .sg-city:nth-child(2) {
  animation-delay: 0.16s;
}
#sgCity .sg-city:nth-child(3) {
  animation-delay: 0.24s;
}
#sgCity .sg-city:nth-child(4) {
  animation-delay: 0.32s;
}

#sgCity .sg-city > a {
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 14px;
  height: 100%;
  padding: 26px 24px 22px;
  border: 1px solid var(--line);
  border-radius: 24px;
  background: #fff !important;
  color: var(--text) !important;
  text-decoration: none !important;
  text-align: left;
  box-shadow: 0 12px 30px rgba(22, 35, 43, 0.08);
  transition: transform 0.2s, box-shadow 0.2s, border-color 0.2s;
}
/* coloured top bar, cycles green / orange / blue */
#sgCity .sg-city > a::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--g), #6fe08f);
}
#sgCity .sg-city:nth-child(3n + 2) > a::before {
  background: linear-gradient(90deg, var(--o), #ffc93c);
}
#sgCity .sg-city:nth-child(3n + 3) > a::before {
  background: linear-gradient(90deg, #1b9be0, var(--bd));
}

/* soft glow in the corner */
#sgCity .sg-city > a::after {
  content: "";
  position: absolute;
  right: -40px;
  bottom: -40px;
  width: 140px;
  height: 140px;
  border-radius: 50%;
  background: rgba(12, 194, 63, 0.1);
  transition: transform 0.3s;
}
#sgCity .sg-city:nth-child(3n + 2) > a::after {
  background: rgba(244, 160, 6, 0.12);
}
#sgCity .sg-city:nth-child(3n + 3) > a::after {
  background: rgba(10, 127, 196, 0.1);
}

#sgCity .sg-city > a > * {
  position: relative;
  z-index: 1;
}

#sgCity .sg-city__ico {
  width: 52px;
  height: 52px;
  border-radius: 16px;
  display: grid;
  place-items: center;
  background: rgba(12, 194, 63, 0.14);
  color: var(--gd);
}
#sgCity .sg-city:nth-child(3n + 2) .sg-city__ico {
  background: rgba(244, 160, 6, 0.16);
  color: var(--od);
}
#sgCity .sg-city:nth-child(3n + 3) .sg-city__ico {
  background: rgba(10, 127, 196, 0.12);
  color: var(--bd);
}
#sgCity .sg-city__ico svg {
  width: 26px;
  height: 26px;
  display: block;
}

#sgCity .sg-city__name {
  font-size: 22px;
  font-weight: 800;
  letter-spacing: -0.015em;
  line-height: 1.2;
  color: var(--text) !important;
  word-break: break-word;
}
#sgCity .sg-city__go {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: auto;
  padding: 9px 18px;
  border-radius: 40px;
  background: linear-gradient(135deg, #12b34a, #2fd06b);
  color: #fff !important;
  font-size: 14px;
  font-weight: 800;
  line-height: 1.2;
  box-shadow: 0 10px 20px rgba(18, 179, 74, 0.3);
}
#sgCity .sg-city__go svg {
  transition: transform 0.2s;
}

#sgCity .sg-city > a:hover {
  transform: translateY(-6px);
  border-color: rgba(12, 194, 63, 0.45);
  box-shadow: 0 26px 44px -16px rgba(6, 138, 45, 0.35);
}
#sgCity .sg-city > a:hover::after {
  transform: scale(1.35);
}
#sgCity .sg-city > a:hover .sg-city__go svg {
  transform: translateX(4px);
}
#sgCity .sg-city > a:focus-visible {
  outline: 3px solid rgba(10, 127, 196, 0.45);
  outline-offset: 3px;
}

#sgCity .sg-city-empty {
  max-width: 460px;
  margin: 0 auto;
  padding: 26px 28px;
  text-align: center;
  border: 1.5px dashed #c9d8cf;
  border-radius: 18px;
  background: #f8fcf9;
  font-size: 15px;
  font-weight: 700;
  color: var(--muted) !important;
}

/* ---------- footer (links were green-on-green before) ---------- */
#sgCityFooter.main-footer {
  position: fixed;
  left: 0;
  bottom: 0;
  width: 100%;
  padding: 10px 15px;
  text-align: center;
  background: linear-gradient(90deg, #f29311 0%, #318534 35%, #1f6e2b 100%);
  box-shadow: 0 -8px 24px rgba(22, 35, 43, 0.12);
}
#sgCityFooter a {
  display: inline-block;
  margin: 0 4px;
  padding: 4px 12px;
  border-radius: 40px;
  color: #fff !important;
  font-size: 15px;
  font-weight: 700;
  text-decoration: none !important;
  text-shadow: 0 1px 2px rgba(0, 40, 15, 0.45);
  transition: background 0.15s;
}
#sgCityFooter a:not(.sg-sep):hover {
  background: rgba(255, 255, 255, 0.22);
}
#sgCityFooter a.sg-sep {
  padding: 4px 0;
  margin: 0;
  cursor: default;
  opacity: 0.8;
}

/* ---------- responsive ---------- */
@media (max-width: 767px) {
  #sgCity .content-header {
    padding-top: 24px;
  }
  #sgCity .sg-city-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }
  #sgCity .sg-city > a {
    flex-direction: row;
    align-items: center;
    flex-wrap: wrap;
    padding: 20px;
  }
  #sgCity .sg-city__name {
    flex: 1;
    font-size: 19px;
  }
  #sgCity .sg-city__go {
    margin-top: 0;
  }
  #sgCityFooter a {
    font-size: 13.5px;
    padding: 4px 8px;
  }
}
@media (prefers-reduced-motion: reduce) {
  #sgCity .sg-city-hero,
  #sgCity .sg-city {
    animation: none;
  }
  #sgCity .sg-city > a,
  #sgCity .sg-city > a::after,
  #sgCity .sg-city__go svg {
    transition: none;
  }
}

.content-header .breadcrumb {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 6px;
  margin: 0 0 6px;
  padding: 0;
  background: transparent;
  font-size: 13.5px;
  font-weight: 600;
}
.content-header .breadcrumb > li {
  display: inline-flex;
  align-items: center;
  padding: 0;
  color: var(--muted);
}
.content-header .breadcrumb > li + li::before {
  content: "/";
  padding: 0 8px 0 2px;
  color: #b6c4bc;
}
.content-header .breadcrumb a {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--gd);
  text-decoration: none;
}
.content-header .breadcrumb a:hover {
  text-decoration: underline;
}
.content-header .breadcrumb .active {
  color: var(--text);
}

/* ---------- page heading ---------- */
.box-header {
  position: relative;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  margin: 0 0 22px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--line);
}
.box-header .box-title::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -1px;
  width: 64px;
  height: 3px;
  border-radius: 3px;
  background: linear-gradient(90deg, #0cc23f, #f4a006);
}
.box {
  position: relative;
  overflow: hidden;
  padding: 20px;
  border-radius: 24px;
  background: #fff;
  box-shadow: 0 12px 30px rgba(22, 35, 43, 0.08);
}
body .card {
  border-radius: 24px !important;
}
body .card-body {
  padding: 20px !important;
}
.top-headerr h1 {
  font-size: 22px !important;
}
.content-wrapper .container {
  padding: 0;
  width: 100%;
  max-width: 100%;
}
.table-responsive.mobile-table-ak tbody tr td:nth-child(1) a {
  white-space: nowrap;
}
.box-header .box-title {
  margin: 0;
  font-size: 22px;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--text);
}
.box-header p {
  margin: 4px 0 0;
  font-size: 14.5px;
  color: var(--muted);
}
.card-header .card-title {
    font-weight: 800 !important;
    font-size: 18px !important;
}
