:root {
  --dk-bg: #f6f3ee;
  --dk-bg-strong: #efe7dc;
  --dk-surface: #ffffff;
  --dk-surface-soft: #fbf8f3;
  --dk-surface-muted: #f1ebe2;
  --dk-text: #22322c;
  --dk-text-soft: #65766e;
  --dk-border: #e4dacc;
  --dk-border-strong: #d4c6b6;
  --dk-primary: #2f6b57;
  --dk-primary-strong: #214e40;
  --dk-primary-soft: #e7f1ec;
  --dk-accent: #d58d63;
  --dk-accent-soft: #f6e4d8;
  --dk-warning: #d0a24d;
  --dk-danger: #c86e5c;
  --dk-success: #4f8668;
  --dk-shadow: 0 18px 45px rgba(50, 44, 37, 0.08);
  --dk-shadow-soft: 0 10px 25px rgba(50, 44, 37, 0.05);
  --dk-radius-xl: 14px;
  --dk-radius-lg: 10px;
  --dk-radius-md: 8px;
  --dk-radius-sm: 5px;
  --dk-sidebar-width: 292px;
  --dk-shell-gap: 24px;
  --dk-page-padding: 24px;
}

html,
body {
  min-height: 100%;
}

body {
  background:
    radial-gradient(circle at top left, rgba(213, 141, 99, 0.10), transparent 26%),
    radial-gradient(circle at top right, rgba(47, 107, 87, 0.10), transparent 22%),
    linear-gradient(180deg, #f8f5f0 0%, #f3efe8 100%);
  color: var(--dk-text);
  font-family: "Manrope", "Segoe UI", sans-serif;
}

body:not(.login) {
  --dk-sidebar-width: 292px;
  padding: var(--dk-page-padding);
}

body.dk-sidebar-collapsed:not(.login) {
  --dk-sidebar-width: 96px;
}

a {
  color: var(--dk-primary);
}

a:hover,
a:focus {
  color: var(--dk-primary-strong);
}

body .container.body {
  width: 100%;
  max-width: none;
  padding: 0;
  background: transparent;
}

body .main_container {
  min-height: calc(100vh - 48px);
  position: relative;
  isolation: isolate;
}

body .left_col {
  background: transparent !important;
}

body .main_container > .col-md-3.left_col,
body .main_container > .col-sm-3.left_col,
body .main_container > .col-xs-3.left_col {
  position: fixed !important;
  top: 24px;
  left: 24px;
  bottom: 24px;
  z-index: 2100;
  width: var(--dk-sidebar-width) !important;
  max-width: none;
  padding: 0;
  background: transparent !important;
  transform: translateX(calc(-100% - 32px));
  transition: transform 0.22s ease;
}

body .nav-md .container.body .col-md-3.left_col {
  position: fixed !important;
}

body .main_container > .left_col > .left_col,
body .main_container > .left_col > .left_col.scroll-view {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 18px;
  width: 100%;
  height: 100%;
  min-height: 0;
  padding: 22px 18px 18px;
  overflow-x: hidden;
  overflow-y: auto;
  overscroll-behavior: contain;
  -webkit-overflow-scrolling: touch;
  touch-action: pan-y;
  border: 1px solid rgba(255, 255, 255, 0.55);
  border-radius: var(--dk-radius-xl);
  background: rgba(255, 251, 246, 0.9) !important;
  box-shadow: var(--dk-shadow);
  backdrop-filter: blur(18px);
}

body .top_nav,
body .right_col,
body footer {
  position: relative;
  width: 100% !important;
  max-width: 100%;
  float: none !important;
  margin-left: 0 !important;
  margin-right: 0 !important;
  transition: width 0.22s ease, max-width 0.22s ease, margin-left 0.22s ease;
}

body .top_nav {
  display: block;
  box-sizing: border-box;
  position: sticky;
  top: var(--dk-page-padding);
  padding: 0 14px;
  margin-bottom: 16px;
  z-index: 2200;
}

body .top_nav .nav_menu {
  float: none;
  width: 100%;
  margin: 0;
  padding: 0;
  border: 0;
  background: transparent;
  box-shadow: none;
}

body .dk-topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  min-height: 56px;
  padding: 10px 16px;
  border: 1px solid rgba(255, 255, 255, 0.55);
  border-radius: var(--dk-radius-xl);
  background: rgba(255, 255, 255, 0.78);
  box-shadow: var(--dk-shadow-soft);
  backdrop-filter: blur(16px);
}

body .nav.toggle {
  padding-top: 0;
}

body .nav.toggle button,
body .nav.toggle a {
  width: 38px;
  height: 38px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  border: 1px solid var(--dk-border);
  border-radius: var(--dk-radius-sm);
  background: rgba(255, 255, 255, 0.9);
  color: var(--dk-text);
  box-shadow: var(--dk-shadow-soft);
  cursor: pointer;
}

body .nav.toggle button:hover,
body .nav.toggle button:focus,
body .nav.toggle a:hover,
body .nav.toggle a:focus {
  background: var(--dk-primary-soft);
  color: var(--dk-primary-strong);
}

body .dk-topbar-copy {
  min-width: 0;
  display: grid;
  gap: 1px;
  margin-right: auto;
}

body .dk-topbar-eyebrow {
  color: var(--dk-text-soft);
  font-size: 0.66rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

body .dk-topbar-copy strong {
  font-family: "Fraunces", Georgia, serif;
  font-size: 1.02rem;
  line-height: 1;
  font-weight: 700;
}

body .dk-topbar-home-link {
  color: inherit;
  text-decoration: none;
}

body .dk-topbar-home-link:hover,
body .dk-topbar-home-link:focus {
  color: var(--dk-primary-strong);
  text-decoration: none;
}

body .dk-topbar-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 8px;
  flex-wrap: wrap;
  min-width: 0;
}

body .dk-topbar-chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 34px;
  padding: 0 10px;
  border: 1px solid var(--dk-border);
  border-radius: var(--dk-radius-md);
  background: rgba(255, 255, 255, 0.92);
  color: var(--dk-text-soft);
  font-size: 0.8rem;
  font-weight: 700;
}

body .dk-user-nav {
  margin: 0;
}

body .dk-user-nav > li.dropdown {
  position: relative;
}

body .dk-user-nav > li > a.user-profile {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 38px;
  padding: 4px 7px 4px 4px;
  border: 1px solid var(--dk-border);
  border-radius: var(--dk-radius-md);
  background: rgba(255, 255, 255, 0.94);
  color: var(--dk-text);
  cursor: pointer;
}

body .dk-user-nav > li > a.user-profile:hover,
body .dk-user-nav > li > a.user-profile:focus {
  background: var(--dk-primary-soft);
}

body .navbar-nav .open .dropdown-menu {
  width: 320px;
}

body .dk-user-nav > li.dropdown.open > .dropdown-menu {
  width: 320px !important;
  min-width: 320px !important;
}

body .dk-user-nav .dropdown-menu {
  top: calc(100% + 8px);
  right: 0;
  left: auto;
  min-width: 240px;
  max-width: calc(100vw - 24px);
}

body .dk-user-nav .dropdown-menu > li + li {
  margin-top: 4px;
}

body .dk-user-nav .dropdown-menu > li > a {
  display: flex;
  align-items: center;
  min-height: 42px;
  padding: 11px 14px;
  line-height: 1.35;
}

body .dk-user-location-item {
  padding: 10px 12px 8px;
  width: auto;
  max-width: none;
  box-sizing: border-box;
}

body .dk-user-location-label {
  margin-bottom: 8px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

body .dk-user-location-form {
  margin: 0;
  width: 100%;
}

body .dk-user-location-form .form-control {
  display: block;
  width: 100%;
  min-width: 0;
  max-width: 100%;
  box-sizing: border-box;
}

body .dk-user-location-form .btn {
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
  margin-top: 8px;
}

body .dk-user-avatar {
  width: 28px;
  height: 28px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--dk-radius-sm);
  background: linear-gradient(145deg, var(--dk-primary) 0%, var(--dk-primary-strong) 100%);
  color: #fff;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

body .dk-user-copy {
  display: grid;
  gap: 1px;
  text-align: left;
}

body .dk-user-copy strong {
  font-size: 0.84rem;
  font-weight: 800;
  line-height: 1.1;
}

body .dk-user-copy small {
  color: var(--dk-text-soft);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

body .dk-sidebar-overlay {
  position: fixed;
  inset: 0;
  z-index: 2090;
  display: block;
  border: 0;
  padding: 0;
  background: rgba(22, 34, 30, 0.36);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.22s ease;
}

body.dk-sidebar-open .main_container > .left_col {
  z-index: 5002 !important;
  transform: translateX(0);
}

body.dk-sidebar-open .main_container > .left_col > .left_col,
body.dk-sidebar-open .main_container > .left_col > .left_col.scroll-view {
  z-index: 5003 !important;
  box-shadow: var(--dk-shadow);
}

body.dk-sidebar-open .dk-sidebar-overlay {
  z-index: 5001 !important;
  opacity: 0;
  pointer-events: none;
}

@media (min-width: 992px) {
  body.dk-sidebar-open .top_nav,
  body.dk-sidebar-open .right_col,
  body.dk-sidebar-open footer {
    width: calc(100% - (var(--dk-sidebar-width) + var(--dk-shell-gap))) !important;
    max-width: calc(100% - (var(--dk-sidebar-width) + var(--dk-shell-gap)));
    margin-left: calc(var(--dk-sidebar-width) + var(--dk-shell-gap)) !important;
  }
}

body .nav_title {
  width: 100%;
  height: auto;
  margin: 0;
  background: transparent;
}

body .site_title.dk-site-title {
  width: 100%;
  height: auto;
  min-height: 74px;
  display: flex;
  align-items: center;
  gap: 14px;
  margin: 0;
  padding: 18px;
  overflow: hidden;
  border: 1px solid var(--dk-border);
  border-radius: var(--dk-radius-lg);
  background: linear-gradient(145deg, #fffaf4 0%, #f1e8dc 100%);
  color: var(--dk-text);
}

body .dk-brand-mark {
  width: 44px;
  height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  border-radius: var(--dk-radius-sm);
  background: linear-gradient(145deg, var(--dk-primary) 0%, var(--dk-primary-strong) 100%);
  color: #fff;
  font-size: 0.9rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

body .dk-brand-copy {
  min-width: 0;
  display: grid;
  gap: 3px;
}

body .dk-brand-copy strong {
  font-family: "Fraunces", Georgia, serif;
  font-size: 1.28rem;
  line-height: 1.05;
  font-weight: 700;
}

body .dk-brand-copy small {
  color: var(--dk-text-soft);
  font-size: 0.83rem;
  font-weight: 700;
  line-height: 1.35;
}

body #sidebar-menu {
  display: grid;
  gap: 14px;
  width: 100%;
  margin-top: 4px;
  padding: 0;
  background: transparent !important;
  box-shadow: none;
}

body #sidebar-menu.main_menu,
body #sidebar-menu.main_menu_side {
  background: transparent !important;
  border: 0;
  box-shadow: none;
}

body #sidebar-menu .menu_section {
  display: grid;
  gap: 10px;
  margin: 0;
  background: transparent !important;
}

body #sidebar-menu .menu_section > h3 {
  margin: 0;
  color: var(--dk-text-soft);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

body #sidebar-menu .nav.side-menu {
  display: grid;
  gap: 6px;
  margin: 0;
}

body #sidebar-menu .nav.side-menu > li {
  margin: 0;
  overflow: hidden;
  border: 1px solid var(--dk-border);
  border-radius: var(--dk-radius-lg);
  background: rgba(255, 255, 255, 0.78);
  box-shadow: none;
}

body #sidebar-menu .nav.side-menu > li > a {
  display: grid;
  grid-template-columns: 36px minmax(0, 1fr) auto;
  align-items: center;
  gap: 12px;
  min-height: 58px;
  margin: 0;
  padding: 12px 14px;
  color: var(--dk-text);
  border-radius: var(--dk-radius-lg);
  transition: background 0.18s ease, color 0.18s ease;
}

body #sidebar-menu .nav.side-menu > li > a:hover,
body #sidebar-menu .nav.side-menu > li > a:focus {
  background: linear-gradient(180deg, #f0f7f3 0%, #e6efe9 100%);
  color: var(--dk-primary-strong);
}

body #sidebar-menu .nav.side-menu > li > a i.fa:first-child {
  width: 36px;
  height: 36px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin: 0;
  border: 1px solid rgba(47, 107, 87, 0.10);
  border-radius: var(--dk-radius-sm);
  background: #faf7f2;
  color: var(--dk-primary-strong);
}

body .menu-copy {
  min-width: 0;
  display: grid;
  gap: 3px;
}

body .menu-label {
  display: block;
  color: var(--dk-text);
  font-size: 0.94rem;
  font-weight: 800;
  line-height: 1.15;
  transition: color 0.18s ease;
}

body .menu-note {
  display: block;
  color: var(--dk-text-soft);
  font-size: 0.78rem;
  font-weight: 700;
  line-height: 1.35;
  transition: color 0.18s ease;
}

body .menu-arrow {
  color: var(--dk-text-soft);
  font-size: 0.8rem;
  transition: color 0.18s ease;
}

body #sidebar-menu .nav.side-menu > li > a:hover i.fa:first-child,
body #sidebar-menu .nav.side-menu > li > a:focus i.fa:first-child {
  background: var(--dk-primary-soft);
  border-color: rgba(47, 107, 87, 0.16);
  color: var(--dk-primary-strong);
}

body #sidebar-menu .nav.side-menu > li > a:hover .menu-note,
body #sidebar-menu .nav.side-menu > li > a:focus .menu-note,
body #sidebar-menu .nav.side-menu > li > a:hover .menu-arrow,
body #sidebar-menu .nav.side-menu > li > a:focus .menu-arrow {
  color: var(--dk-primary-strong);
}

body #sidebar-menu .nav.side-menu > li > a:hover .menu-label,
body #sidebar-menu .nav.side-menu > li > a:focus .menu-label,
body #sidebar-menu .nav.side-menu > li.current-page > a .menu-label,
body #sidebar-menu .nav.side-menu > li.active > a .menu-label {
  color: var(--dk-text);
}

body #sidebar-menu .nav.side-menu > li.current-page > a,
body #sidebar-menu .nav.side-menu > li.active > a {
  background: linear-gradient(180deg, #eef7f2 0%, #e4efe8 100%);
  color: var(--dk-primary-strong);
}

body #sidebar-menu .nav.side-menu > li.current-page > a i.fa:first-child,
body #sidebar-menu .nav.side-menu > li.active > a i.fa:first-child {
  background: var(--dk-primary);
  border-color: var(--dk-primary);
  color: #fff;
}

body #sidebar-menu .child_menu {
  display: none;
  gap: 6px;
  margin: 0 10px 12px 10px;
  padding: 6px;
  border: 1px solid rgba(47, 107, 87, 0.10);
  border-radius: var(--dk-radius-md);
  background: rgba(248, 244, 238, 0.9);
}

body #sidebar-menu .nav.side-menu > li.active > .child_menu,
body #sidebar-menu .nav.side-menu > li.current-page > .child_menu {
  display: grid;
}

body #sidebar-menu .child_menu li {
  margin: 0;
  padding-left: 0;
}

body #sidebar-menu .child_menu li:before {
  display: none;
}

body #sidebar-menu .child_menu li:after {
  display: none;
  border-left: 0;
  content: none;
}

body #sidebar-menu .child_menu li a {
  display: block;
  padding: 10px 12px;
  border-radius: var(--dk-radius-sm);
  border: 1px solid transparent;
  background: rgba(255, 255, 255, 0.72);
  color: var(--dk-text-soft);
  font-size: 0.84rem;
  font-weight: 700;
  transition: background 0.18s ease, color 0.18s ease, border-color 0.18s ease;
}

body #sidebar-menu .child_menu li.current-page a,
body #sidebar-menu .child_menu li a:hover,
body #sidebar-menu .child_menu li a:focus {
  border-color: rgba(47, 107, 87, 0.16);
  background: linear-gradient(180deg, #eef7f2 0%, #e3eee7 100%);
  color: var(--dk-primary-strong);
}

body .sidebar-footer {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
  padding: 18px 0 0;
  position: static;
  bottom: auto;
  clear: none;
  width: 100%;
  margin-top: auto;
  background: transparent;
}

body .sidebar-footer a {
  width: 100%;
  height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--dk-border);
  border-radius: var(--dk-radius-md);
  background: rgba(255, 255, 255, 0.82);
  color: var(--dk-text-soft);
}

body .sidebar-footer a:hover,
body .sidebar-footer a:focus {
  background: var(--dk-primary-soft);
  color: var(--dk-primary-strong);
}

body .right_col {
  min-height: calc(100vh - 48px);
  left: auto !important;
  padding: 0 0 28px;
  background: transparent !important;
}

body .page-title {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  justify-content: space-between;
  gap: 18px;
  height: auto;
  margin: 0 0 24px;
  padding: 22px 26px;
  border: 1px solid rgba(255, 255, 255, 0.55);
  border-radius: var(--dk-radius-xl);
  background: rgba(255, 255, 255, 0.72);
  box-shadow: var(--dk-shadow-soft);
  backdrop-filter: blur(16px);
}

body .page-title .title_left,
body .page-title .title_right {
  width: auto;
  float: none;
  min-width: 0;
}

body .page-title .title_right {
  margin-left: auto;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-end;
  gap: 10px;
}

body .page-title .title_right .pull-right,
body .page-title .title_right .pull-left {
  float: none !important;
}

body .page-title .title_right form {
  margin: 0;
}

body .page-title .dk-dashboard-site-form {
  display: flex;
  align-items: flex-end;
  justify-content: flex-end;
  gap: 10px;
  flex-wrap: wrap;
  width: 100%;
}

body .page-title .dk-dashboard-site-field {
  flex: 1 1 240px;
  max-width: 320px;
  min-width: 220px;
}

body .page-title .dk-dashboard-site-field .control-group,
body .page-title .dk-dashboard-site-field .controls,
body .page-title .dk-dashboard-site-actions .form-group,
body .page-title .dk-dashboard-site-actions .controls {
  margin: 0;
}

body .page-title .dk-dashboard-site-field .bootstrap-select,
body .page-title .dk-dashboard-site-field select {
  width: 100% !important;
}

body .page-title .dk-dashboard-site-field .input-group,
body .page-title .dk-dashboard-site-field .input-prepend.input-group {
  width: 100%;
  position: relative;
  z-index: 2;
}

body .page-title .dk-dashboard-site-field #range {
  width: 100% !important;
  min-height: 46px;
  cursor: pointer;
}

body .page-title .dk-dashboard-site-actions {
  flex: 0 0 auto;
}

body .page-title .dk-dashboard-site-actions .btn {
  white-space: nowrap;
}

body .page-title h1,
body .page-title h2,
body .page-title h3 {
  margin: 0;
  color: var(--dk-text);
  font-family: "Fraunces", Georgia, serif;
  font-size: 2rem;
  font-weight: 700;
  line-height: 1.05;
}

body .page-title nav {
  margin-bottom: 10px;
}

body .breadcrumb {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin: 0;
  padding: 0;
  background: transparent;
}

body .breadcrumb > li,
body .breadcrumb-item {
  color: var(--dk-text-soft);
  font-size: 0.82rem;
  font-weight: 700;
}

body .breadcrumb > li + li:before,
body .breadcrumb-item + .breadcrumb-item:before {
  color: var(--dk-border-strong);
}

body .x_panel,
body .tile-stats,
body .dashboard_graph,
body .dashboard-widget-content,
body .widget_summary,
body .tile_count .tile_stats_count {
  border: 1px solid var(--dk-border);
  border-radius: var(--dk-radius-xl);
  background: var(--dk-surface);
  box-shadow: var(--dk-shadow-soft);
}

body .tile_count {
  margin: 0 -10px 24px;
}

body .tile_count .tile_stats_count {
  overflow: visible;
}

body .tile_count .tile_stats_count .count {
  display: block;
  margin: 0;
  color: var(--dk-text);
  font-size: clamp(1.45rem, 1.8vw, 1.9rem);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.03em;
  white-space: normal;
}

body .tile_count .tile_stats_count .count_bottom {
  display: block;
  margin-top: 2px;
  line-height: 1.25;
}

body .tile_count .tile_stats_count .count_bottom i {
  font-style: normal;
}

body .tile_count .tile_stats_count br {
  display: none;
}

body .x_panel {
  margin-bottom: 24px;
  padding: 0;
}

body .x_title {
  margin: 0;
  padding: 22px 24px 14px;
  border-bottom: 1px solid var(--dk-border);
}

body .x_title h2 {
  width: 100%;
  margin: 0;
  color: var(--dk-text);
  font-size: 1.18rem;
  font-weight: 800;
  line-height: 1.25;
}

body .x_title h2 small {
  display: block;
  margin-top: 6px;
  color: var(--dk-text-soft);
  font-size: 0.82rem;
  font-weight: 700;
}

body .x_title .nav.navbar-right.panel_toolbox,
body .x_title .panel_toolbox {
  min-width: auto;
}

body .x_content {
  padding: 22px 24px 24px;
}

body .row {
  margin-right: -10px;
  margin-left: -10px;
}

body .row > [class*="col-"] {
  padding-right: 10px;
  padding-left: 10px;
}

body .alert {
  border: 1px solid transparent;
  border-radius: var(--dk-radius-md);
  box-shadow: var(--dk-shadow-soft);
}

body .alert-success {
  color: var(--dk-primary-strong);
  background: var(--dk-primary-soft);
  border-color: rgba(47, 107, 87, 0.15);
}

body .alert-danger {
  color: #8f473a;
  background: #f9e6df;
  border-color: rgba(200, 110, 92, 0.16);
}

body .alert-warning {
  color: #816331;
  background: #fbf0d9;
  border-color: rgba(208, 162, 77, 0.18);
}

body .form-control,
body input[type="text"],
body input[type="email"],
body input[type="password"],
body input[type="number"],
body input[type="search"],
body input[type="date"],
body input[type="time"],
body input[type="url"],
body input[type="file"],
body select,
body textarea {
  min-height: 46px;
  border: 1px solid var(--dk-border);
  border-radius: var(--dk-radius-md);
  background: #fff;
  box-shadow: none;
  color: var(--dk-text);
}

body textarea.form-control,
body textarea {
  min-height: 120px;
  padding-top: 12px;
}

body .form-control:focus,
body input:focus,
body select:focus,
body textarea:focus {
  border-color: rgba(47, 107, 87, 0.4);
  box-shadow: 0 0 0 4px rgba(47, 107, 87, 0.10);
}

body .control-label,
body label {
  color: var(--dk-text);
  font-weight: 700;
}

body .form-group {
  margin-bottom: 18px;
}

body .input-group-addon,
body .add-on.input-group-addon {
  border-color: var(--dk-border);
  border-radius: var(--dk-radius-md) 0 0 var(--dk-radius-md);
  background: var(--dk-surface-soft);
  color: var(--dk-text-soft);
}

body .input-prepend .form-control,
body .input-group .form-control {
  border-radius: 0 var(--dk-radius-md) var(--dk-radius-md) 0;
}

body .bootstrap-select > .dropdown-toggle,
body .bootstrap-select > .dropdown-toggle.btn-default {
  min-height: 46px;
  border: 1px solid var(--dk-border);
  border-radius: var(--dk-radius-md);
  background: #fff;
  color: var(--dk-text);
  box-shadow: none;
}

body .bootstrap-select .dropdown-menu {
  border: 1px solid var(--dk-border);
  border-radius: var(--dk-radius-md);
  box-shadow: var(--dk-shadow);
}

body .btn {
  min-height: 42px;
  padding: 10px 16px;
  border-radius: var(--dk-radius-md);
  border-width: 1px;
  font-weight: 800;
  letter-spacing: 0.01em;
  box-shadow: none;
}

body .btn:hover,
body .btn:focus {
  box-shadow: 0 0 0 4px rgba(47, 107, 87, 0.08);
}

body .btn-default,
body .btn-secondary {
  border-color: var(--dk-border);
  background: #fff;
  color: var(--dk-text);
}

body .btn-primary {
  border-color: var(--dk-primary);
  background: var(--dk-primary);
  color: #fff;
}

body .btn-success {
  border-color: var(--dk-primary);
  background: var(--dk-primary);
  color: #fff;
}

body .btn-info {
  border-color: #4f7f95;
  background: #4f7f95;
  color: #fff;
}

body .btn-warning {
  border-color: var(--dk-warning);
  background: var(--dk-warning);
  color: #fff;
}

body .btn-danger {
  border-color: var(--dk-danger);
  background: var(--dk-danger);
  color: #fff;
}

body .btn-link {
  color: var(--dk-primary);
}

body .table {
  margin-bottom: 0;
  border-collapse: separate;
  border-spacing: 0;
  color: var(--dk-text);
}

body .table > thead > tr > th,
body .table > tbody > tr > th,
body .table > tfoot > tr > th,
body .table > thead > tr > td,
body .table > tbody > tr > td,
body .table > tfoot > tr > td {
  padding: 14px 16px;
  vertical-align: middle;
  border-top-color: var(--dk-border);
}

body .table > thead > tr > th {
  color: var(--dk-text-soft);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  border-bottom: 1px solid var(--dk-border);
  background: var(--dk-surface-soft);
}

body .table-striped > tbody > tr:nth-of-type(odd) {
  background: rgba(251, 248, 243, 0.72);
}

body .table-hover > tbody > tr:hover {
  background: rgba(47, 107, 87, 0.05);
}

body .table-bordered,
body .table-bordered > thead > tr > th,
body .table-bordered > tbody > tr > td,
body .table-bordered > tbody > tr > th {
  border-color: var(--dk-border);
}

body .dataTables_wrapper .dataTables_filter input,
body .dataTables_wrapper .dataTables_length select {
  min-height: 40px;
  border: 1px solid var(--dk-border);
  border-radius: var(--dk-radius-md);
}

body .dataTables_wrapper .dataTables_paginate .paginate_button {
  padding: 6px 10px;
  margin-left: 4px;
  border: 1px solid var(--dk-border) !important;
  border-radius: var(--dk-radius-sm);
  background: #fff !important;
  color: var(--dk-text-soft) !important;
}

body .dataTables_wrapper .dataTables_paginate .paginate_button.current,
body .dataTables_wrapper .dataTables_paginate .paginate_button.current:hover {
  border-color: var(--dk-primary) !important;
  background: var(--dk-primary-soft) !important;
  color: var(--dk-primary-strong) !important;
}

body .modal-content {
  border: 1px solid var(--dk-border);
  border-radius: var(--dk-radius-lg);
  box-shadow: var(--dk-shadow);
}

body .dropdown-menu {
  min-width: 200px;
  padding: 8px;
  border: 1px solid var(--dk-border);
  border-radius: var(--dk-radius-md);
  box-shadow: var(--dk-shadow);
  z-index: 40;
}

body .dropdown-menu > li > a {
  padding: 10px 12px;
  border-radius: var(--dk-radius-sm);
  color: var(--dk-text);
  font-weight: 700;
}

body .dropdown-menu > li > a:hover,
body .dropdown-menu > li > a:focus {
  background: var(--dk-primary-soft);
  color: var(--dk-primary-strong);
}

body .modal-header,
body .modal-footer {
  border-color: var(--dk-border);
}

body footer {
  box-sizing: border-box;
  min-height: 0;
  padding: 0 14px;
  background: transparent;
  border: 0;
  box-shadow: none;
  color: var(--dk-text-soft);
}

body .dk-footer-shell {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  min-height: 58px;
  padding: 14px 18px;
  border: 1px solid rgba(255, 255, 255, 0.55);
  border-radius: var(--dk-radius-xl);
  background: rgba(255, 255, 255, 0.7);
  box-shadow: var(--dk-shadow-soft);
}

body footer .pull-right {
  float: none !important;
  margin-left: auto;
  font-weight: 700;
}

body .dk-footer-copy {
  display: grid;
  gap: 2px;
}

body .dk-footer-copy strong {
  color: var(--dk-text);
  font-size: 0.95rem;
  font-weight: 800;
}

body .dk-footer-copy small {
  color: var(--dk-text-soft);
  font-size: 0.82rem;
  font-weight: 700;
}

body .clearfix {
  clear: both;
}

body .error-number {
  font-family: "Fraunces", Georgia, serif;
  color: var(--dk-primary-strong);
}

body .col-middle {
  max-width: 680px;
  margin: 80px auto 0;
  padding: 36px 32px;
  border: 1px solid var(--dk-border);
  border-radius: var(--dk-radius-xl);
  background: rgba(255, 255, 255, 0.88);
  box-shadow: var(--dk-shadow);
}

body.login {
  min-height: 100vh;
  padding: 32px 16px;
}

body.login .dk-login-shell {
  width: 100%;
  min-height: calc(100vh - 64px);
  display: grid;
  place-items: center;
}

body.login .dk-login-card {
  width: min(100%, 460px);
  margin: 0 auto !important;
}

body.login .login_wrapper,
body.login .login_wrapper2 {
  width: 100%;
  max-width: 460px;
  margin: 0 auto;
  display: flex;
  justify-content: center;
  position: relative;
}

body.login .animate.form {
  opacity: 1;
  width: 100%;
}

body.login .login_form {
  position: static !important;
  top: auto;
  width: 100%;
}

body.login .registration_form {
  display: none !important;
}

body.login .dk-login-card,
body.login .login_content,
body.login .x_content {
  padding: 32px 32px 28px !important;
  border: 1px solid rgba(255, 255, 255, 0.62);
  border-radius: var(--dk-radius-xl);
  background: rgba(255, 255, 255, 0.84);
  box-shadow: var(--dk-shadow);
  backdrop-filter: blur(18px);
}

body.login .dk-login-card {
  position: static !important;
  left: auto !important;
  right: auto !important;
  transform: none !important;
  float: none !important;
}

body.login .dk-login-card form {
  margin: 0;
}

body.login .login_content h1,
body.login .dk-login-card h1,
body.login .x_content h1 {
  margin-bottom: 22px;
  color: var(--dk-text);
  font-family: "Fraunces", Georgia, serif;
  font-size: 2rem;
  font-weight: 700;
  line-height: 1.05;
}

body.login .dk-login-card form div a,
body.login .login_content form div a,
body.login .separator a {
  color: var(--dk-primary);
}

body.login #errorDiv {
  margin-bottom: 14px;
  color: #8f473a;
  font-size: 0.9rem;
  line-height: 1.5;
}

body.login .form-control-feedback.right {
  right: 14px;
  top: 13px;
  color: var(--dk-text-soft);
}

body.dk-sidebar-collapsed .dk-brand-copy,
body.dk-sidebar-collapsed #sidebar-menu .menu_section > h3,
body.dk-sidebar-collapsed #sidebar-menu .child_menu,
body.dk-sidebar-collapsed #sidebar-menu .menu-copy,
body.dk-sidebar-collapsed #sidebar-menu .menu-arrow,
body.dk-sidebar-collapsed .sidebar-footer {
  display: none !important;
}

body.dk-sidebar-collapsed .site_title.dk-site-title {
  justify-content: center;
  padding-right: 10px;
  padding-left: 10px;
}

body.dk-sidebar-collapsed #sidebar-menu .nav.side-menu > li > a {
  grid-template-columns: 1fr;
  justify-items: center;
  min-height: 54px;
  padding: 10px 8px;
}

body.dk-sidebar-collapsed #sidebar-menu .nav.side-menu > li > a i.fa:first-child {
  margin: 0;
}

body.dk-sidebar-collapsed #sidebar-menu .nav.side-menu > li {
  border-radius: var(--dk-radius-md);
}

@media (max-width: 1200px) {
  body .page-title h1,
  body .page-title h2,
  body .page-title h3 {
    font-size: 1.8rem;
  }

  body .page-title .title_right {
    width: 100%;
    margin-left: 0;
  }
}

@media (max-width: 991px) {
  body:not(.login) {
    --dk-page-padding: 16px;
    padding: var(--dk-page-padding);
  }

  body.dk-sidebar-open {
    overflow: hidden;
    overscroll-behavior: none;
  }

  body .top_nav,
  body .right_col,
  body footer {
    width: 100% !important;
    max-width: 100%;
    margin-left: 0 !important;
  }

  body .top_nav {
    padding: 0;
  }

  body .main_container > .col-md-3.left_col,
  body .main_container > .col-sm-3.left_col,
  body .main_container > .col-xs-3.left_col {
    display: block !important;
    position: fixed !important;
    top: 16px;
    left: 16px;
    bottom: 16px;
    z-index: 2100;
    width: min(86vw, 320px) !important;
    transform: translateX(calc(-100% - 22px));
    transition: transform 0.22s ease;
  }

  body .main_container > .left_col > .left_col,
  body .main_container > .left_col > .left_col.scroll-view {
    position: relative;
    z-index: 2101;
  }

  body.dk-sidebar-open .main_container > .left_col {
    z-index: 5002 !important;
    transform: translateX(0);
  }

  body.dk-sidebar-open .main_container > .left_col > .left_col,
  body.dk-sidebar-open .main_container > .left_col > .left_col.scroll-view {
    z-index: 5003 !important;
    box-shadow: 0 28px 72px rgba(18, 28, 24, 0.28);
  }

  body .dk-sidebar-overlay {
    display: block;
    z-index: 2090;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.22s ease;
  }

  body.dk-sidebar-open .dk-sidebar-overlay {
    z-index: 5001 !important;
    background: rgba(0, 0, 0, 0.84);
    opacity: 1;
    pointer-events: auto;
  }

  body.dk-sidebar-open .top_nav,
  body.dk-sidebar-open .right_col,
  body.dk-sidebar-open footer {
    z-index: 1 !important;
  }

  body .sidebar-footer {
    margin-top: 28px;
  }

  body.dk-sidebar-collapsed .dk-brand-copy {
    display: grid !important;
  }

  body.dk-sidebar-collapsed .site_title.dk-site-title {
    justify-content: flex-start;
    padding-right: 18px;
    padding-left: 18px;
  }

  body.dk-sidebar-collapsed #sidebar-menu .menu_section > h3 {
    display: block !important;
  }

  body.dk-sidebar-collapsed #sidebar-menu .menu-copy {
    display: grid !important;
  }

  body.dk-sidebar-collapsed #sidebar-menu .menu-arrow {
    display: inline-block !important;
  }

  body.dk-sidebar-collapsed #sidebar-menu .active > .child_menu,
  body.dk-sidebar-collapsed #sidebar-menu .current-page > .child_menu {
    display: grid !important;
  }

  body.dk-sidebar-collapsed #sidebar-menu .nav.side-menu > li > a {
    grid-template-columns: 36px minmax(0, 1fr) auto;
    justify-items: stretch;
    padding: 12px 14px;
  }

  body .dk-topbar {
    padding: 16px 18px;
  }

  body .dk-topbar-copy {
    display: none;
  }

  body .dk-topbar-chip {
    display: none;
  }

  body .page-title,
  body .x_content,
  body .x_title,
  body .dk-footer-shell {
    padding-right: 18px;
    padding-left: 18px;
  }

  body .page-title {
    padding-top: 18px;
    padding-bottom: 18px;
  }

  body .page-title h1,
  body .page-title h2,
  body .page-title h3 {
    font-size: 1.65rem;
  }

  body footer {
    padding: 0;
  }

  body .dk-footer-shell {
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (max-width: 767px) {
  body .page-title,
  body .dk-topbar {
    gap: 14px;
  }

  body .page-title .title_left,
  body .page-title .title_right,
  body .dk-topbar-actions,
  body .dk-user-nav,
  body .dk-user-nav > li {
    width: 100%;
  }

  body .dk-user-nav > li > a.user-profile {
    width: 100%;
    justify-content: space-between;
  }

  body .dk-user-nav .dropdown-menu {
    width: 100%;
  }

  body .dk-user-location-item {
    width: auto;
  }

  body .btn {
    width: auto;
  }

  body .page-title .dk-dashboard-site-form {
    align-items: stretch;
    justify-content: stretch;
  }

  body .page-title .dk-dashboard-site-field,
  body .page-title .dk-dashboard-site-actions {
    width: 100%;
    max-width: none;
    min-width: 0;
    flex: 1 1 100%;
  }

  body .page-title .title_right,
  body .page-title .dk-dashboard-site-form {
    overflow: visible;
  }

  body .page-title .dk-dashboard-site-field .bootstrap-select,
  body .page-title .dk-dashboard-site-field .input-group,
  body .page-title .dk-dashboard-site-field .input-prepend.input-group {
    z-index: 1;
  }

  body .page-title .dk-dashboard-site-actions {
    position: relative;
    z-index: 1;
  }

  body .page-title .dk-dashboard-site-actions .btn {
    width: 100%;
  }

  body .page-title .dk-dashboard-site-field .bootstrap-select {
    position: relative;
  }

  body .page-title .dk-dashboard-site-field .bootstrap-select.open,
  body .page-title .dk-dashboard-site-field .bootstrap-select.show {
    z-index: 6;
  }

  body .page-title .dk-dashboard-site-field .bootstrap-select.open .dropdown-menu,
  body .page-title .dk-dashboard-site-field .bootstrap-select.show .dropdown-menu {
    z-index: 7;
  }

  body.login .login_content,
  body.login .x_content {
    padding: 24px 22px 22px !important;
  }
}
