:root {
  --admin-modam-font: "IRANSansAdmin", "Inter", sans-serif;
}

@font-face {
  font-family: "IRANSansAdmin";
  src:
    url("../fonts/IRANSansXFaNum-Regular.woff2") format("woff2"),
    url("../fonts/IRANSansXFaNum-Regular.woff") format("woff");
  font-style: normal;
  font-weight: 400;
  font-display: swap;
}

body.admin,
body.admin button,
body.admin input,
body.admin select,
body.admin textarea,
body.admin .btn,
body.admin .form-control,
body.admin .input-group,
body.admin .bootstrap-select .dropdown-toggle,
body.admin .dropdown-menu,
body.admin .modal,
body.admin .popover,
body.admin .tooltip,
body.admin .table,
body.admin .panel,
body.admin .nav,
body.admin .navbar,
body.admin .sidebar,
body.admin #wrapper,
body.admin #header,
body.admin .content,
body.admin .select2-container,
body.admin .select2-results,
body.admin .dt-buttons .btn,
body.admin .dataTables_wrapper,
body.admin .kan-ban-col,
body.admin .fc,
body.admin .tox,
body.admin .tox .tox-edit-area__iframe,
body.admin .swal2-container,
body.admin .alert,
body.admin .badge,
body.admin .label {
  font-family: var(--admin-modam-font) !important;
}

:root {
  --sidebar-shell-width: 340px;
  --sidebar-rail-width: 64px;
  --sidebar-panel-width: 276px;
  --sidebar-compact-width: 72px;
  --sidebar-surface: #ffffff;
  --sidebar-page-bg: #f4f7f6;
  --sidebar-border: #e6eceb;
  --sidebar-accent: #16a085;
  --sidebar-accent-dark: #008080;
  --sidebar-text: #29434e;
  --sidebar-muted: #7f8c8d;
  --sidebar-soft: #f3f7f6;
  --sidebar-shadow: 0 18px 40px rgba(16, 40, 36, 0.08);
}

body,
#wrapper {
  background: var(--sidebar-page-bg);
}

html,
body.admin {
  height: 100%;
}

body.admin {
  overflow: hidden;
}

body.admin .tooltip {
  z-index: 2000000 !important;
  pointer-events: none;
}

#menu.sidebar.sidebar-redesign {
  width: var(--sidebar-shell-width) !important;
  position: fixed;
  top: 0 !important;
  bottom: 0;
  left: 0;
  height: 100vh;
  min-height: 100vh !important;
  max-height: 100vh;
  box-sizing: border-box;
  display: flex;
  align-items: stretch;
  gap: 0;
  padding: 0 12px 12px;
  background: transparent;
  border-right: 0;
  overflow-x: visible;
  overflow-y: hidden;
}

#menu.sidebar.sidebar-redesign::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 0;
  background:
    radial-gradient(circle at top right, rgba(22, 160, 133, 0.12), transparent 28%),
    linear-gradient(180deg, #fbfdfc 0%, #f3f7f6 100%);
  border: 1px solid var(--sidebar-border);
  box-shadow: var(--sidebar-shadow);
  pointer-events: none;
}

.sidebar-utility-rail,
.sidebar-main-panel {
  position: relative;
  z-index: 1;
}

.sidebar-utility-rail {
  width: var(--sidebar-rail-width);
  flex: 0 0 var(--sidebar-rail-width);
  height: 100%;
  min-height: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 16px 0;
  border-inline-end: 1px solid var(--sidebar-border);
  overflow: visible;
  z-index: 4;
}

.sidebar-utility-group {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
}

.sidebar-utility-group-bottom {
  margin-top: auto;
  padding-top: 16px;
}

.sidebar-utility-link {
  position: relative;
  z-index: 2;
  width: 40px;
  height: 40px;
  border-radius: 14px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--sidebar-accent);
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid rgba(22, 160, 133, 0.08);
  transition: all 0.2s ease;
}

.sidebar-utility-dropdown {
  position: relative;
  z-index: 3;
}

.sidebar-utility-dropdown.open {
  z-index: 4;
}

.sidebar-utility-link:hover,
.sidebar-utility-link:focus {
  z-index: 6;
  color: #fff;
  background: var(--sidebar-accent);
  border-color: var(--sidebar-accent);
  box-shadow: 0 10px 18px rgba(22, 160, 133, 0.22);
  text-decoration: none;
}

.sidebar-utility-link i {
  font-size: 17px;
}

.sidebar-utility-dropdown > .dropdown-menu {
  left: calc(100% + 12px);
  right: auto;
  top: 50%;
  margin-top: 0;
  transform: translateY(-50%);
  border-radius: 16px;
  border: 1px solid var(--sidebar-border);
  box-shadow: 0 18px 40px rgba(16, 40, 36, 0.16);
  overflow: hidden;
  z-index: 1000001;
}

.sidebar-utility-dropdown > .dropdown-menu > li > a {
  padding: 10px 14px;
  color: var(--sidebar-text);
  white-space: nowrap;
}

.sidebar-utility-dropdown > .dropdown-menu > li > a:hover,
.sidebar-utility-dropdown > .dropdown-menu > li.active > a {
  background: var(--sidebar-soft);
  color: var(--sidebar-accent-dark);
}

[dir="rtl"] .sidebar-utility-dropdown > .dropdown-menu {
  left: auto;
  right: calc(100% + 12px);
}

.sidebar-utility-badge {
  position: absolute;
  top: -4px;
  inset-inline-end: -3px;
  min-width: 18px;
  height: 18px;
  padding: 0 4px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #e74c3c;
  color: #fff;
  font-size: 10px;
  line-height: 1;
}

.sidebar-main-panel {
  width: var(--sidebar-panel-width);
  flex: 1 1 auto;
  height: 100%;
  display: flex;
  flex-direction: column;
  min-width: 0;
  min-height: 0;
  padding: 0 0 8px;
  overflow: hidden;
}

.sidebar-main-panel .sidebar-user-profile {
  flex: 0 0 auto;
  margin: 20px 8px 12px !important;
}

.sidebar-main-panel .sidebar-user-profile > .profile {
  border: 1px solid rgba(22, 160, 133, 0.12) !important;
  border-radius: 20px !important;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(247, 251, 250, 0.96)) !important;
  box-shadow: 0 14px 24px rgba(24, 53, 49, 0.08) !important;
  padding: 14px 14px !important;
  color: var(--sidebar-text) !important;
}

.sidebar-main-panel .sidebar-user-profile .staff-profile-image-small {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  border: 2px solid rgba(22, 160, 133, 0.15);
  box-shadow: 0 6px 18px rgba(22, 160, 133, 0.12);
}

.sidebar-main-panel .sidebar-user-profile .dropdown-menu {
  border-radius: 16px;
  border: 1px solid var(--sidebar-border);
  box-shadow: 0 18px 40px rgba(16, 40, 36, 0.12);
  overflow: hidden;
}

.sidebar-main-panel .sidebar-user-profile .dropdown-menu > li > a {
  padding: 10px 14px;
  color: var(--sidebar-text);
}

.sidebar-main-panel .sidebar-user-profile .dropdown-menu > li > a:hover {
  background: var(--sidebar-soft);
  color: var(--sidebar-accent-dark);
}

.sidebar-menu-scroll {
  display: flex;
  flex: 1 1 auto;
  flex-direction: row;
  min-height: 0;
  overflow: hidden;
  gap: 8px;
}

#side-menu,
#side-setup-menu {
  width: 100%;
  flex: 1 1 100%;
  overflow-y: auto;
  overflow-x: hidden;
  margin-top: 0 !important;
  padding: 4px 8px 0;
  transition: flex-basis 0.22s ease, width 0.22s ease, padding 0.22s ease;
}

#side-menu::-webkit-scrollbar,
#side-setup-menu::-webkit-scrollbar {
  width: 6px;
}

#side-menu::-webkit-scrollbar-thumb,
#side-setup-menu::-webkit-scrollbar-thumb {
  background: rgba(22, 160, 133, 0.16);
  border-radius: 999px;
}

.sidebar.sidebar-redesign > ul.nav > li,
.sidebar.sidebar-redesign #side-menu > li,
.sidebar.sidebar-redesign #side-setup-menu > li {
  border: 0;
}

.sidebar.sidebar-redesign ul.nav li a {
  position: relative;
  display: flex;
  align-items: center;
  gap: 12px;
  min-height: 36px;
  margin-top: 3px;
  padding: 6px 11px;
  border-radius: 16px;
  border: 1px solid transparent;
  color: #516163;
  font-size: 13px;
  font-weight: 600;
  transition: all 0.2s ease;
}

.sidebar.sidebar-redesign ul.nav li a .menu-text,
.sidebar.sidebar-redesign ul.nav li a .sub-menu-text {
  flex: 1 1 auto;
  min-width: 0;
}

.sidebar-submenu-panel {
  width: 0;
  flex: 0 0 0;
  min-width: 0;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  opacity: 0;
  pointer-events: none;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.66);
  border: 1px solid rgba(22, 160, 133, 0.08);
  transition: flex-basis 0.22s ease, opacity 0.18s ease;
}

.sidebar-submenu-header {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 12px;
  border-bottom: 1px solid rgba(22, 160, 133, 0.08);
}

.sidebar-submenu-back {
  width: 30px;
  height: 30px;
  border: 0;
  border-radius: 10px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(22, 160, 133, 0.08);
  color: var(--sidebar-accent-dark);
}

.sidebar-submenu-title {
  color: var(--sidebar-text);
  font-size: 12.8px;
  font-weight: 700;
}

.sidebar-submenu-body {
  flex: 1 1 auto;
  min-height: 0;
  overflow-y: auto;
  padding: 8px;
}

.sidebar-submenu-list {
  margin: 0;
  padding: 0;
  list-style: none;
}

.sidebar-submenu-list li + li {
  margin-top: 4px;
}

.sidebar-submenu-link {
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 36px;
  padding: 8px 10px;
  border-radius: 12px;
  color: #516163;
  font-size: 12.7px;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.2s ease;
}

.sidebar-submenu-link:hover,
.sidebar-submenu-link:focus,
.sidebar-submenu-link.is-active {
  background: rgba(22, 160, 133, 0.08);
  color: var(--sidebar-accent-dark);
  text-decoration: none;
}

.sidebar-submenu-link .menu-icon {
  width: 18px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
}

.sidebar-main-panel.is-drilled #side-menu,
.sidebar-main-panel.is-drilled #side-setup-menu {
  width: var(--sidebar-compact-width);
  flex: 0 0 var(--sidebar-compact-width);
  padding: 4px 2px 0;
}

.sidebar-main-panel.is-drilled .sidebar-user-profile {
  margin: 20px auto 12px !important;
}

.sidebar-main-panel.is-drilled .sidebar-user-profile > .profile {
  width: 52px;
  height: 52px;
  padding: 0 !important;
  border-radius: 999px !important;
  display: flex !important;
  align-items: center;
  justify-content: center;
}

.sidebar-main-panel.is-drilled .sidebar-user-profile > .profile > span {
  gap: 0 !important;
}

.sidebar-main-panel.is-drilled .sidebar-user-profile > .profile > span > span {
  display: none !important;
}

.sidebar-main-panel.is-drilled .sidebar-user-profile .staff-profile-image-small {
  width: 42px;
  height: 42px;
}

.sidebar-main-panel.is-drilled .sidebar-submenu-panel {
  flex: 1 1 auto;
  opacity: 1;
  pointer-events: auto;
}

.sidebar-main-panel.is-drill-closing .sidebar-submenu-panel {
  opacity: 0;
  pointer-events: none;
}

.sidebar-main-panel.is-drilled #side-menu > li > a,
.sidebar-main-panel.is-drilled #side-setup-menu > li > a {
  width: 40px;
  min-height: 40px;
  margin: 0 auto;
  justify-content: center;
  padding: 8px 6px;
  border-radius: 14px;
  background: transparent;
  border-color: transparent;
  box-shadow: none;
  color: #95a5a6;
  transition: all 0.2s ease;
}

.sidebar-main-panel.is-drilled #side-menu > li > a .menu-text,
.sidebar-main-panel.is-drilled #side-menu > li > a .arrow,
.sidebar-main-panel.is-drilled #side-menu > li > a .badge,
.sidebar-main-panel.is-drilled #side-menu > li > .nav-second-level,
.sidebar-main-panel.is-drilled #side-setup-menu > li > a .menu-text,
.sidebar-main-panel.is-drilled #side-setup-menu > li > a .arrow,
.sidebar-main-panel.is-drilled #side-setup-menu > li > a .badge,
.sidebar-main-panel.is-drilled #side-setup-menu > li > .nav-second-level {
  display: none !important;
}

.sidebar-main-panel.is-drilled #side-menu > li > a i.menu-icon,
.sidebar-main-panel.is-drilled #side-setup-menu > li > a i.menu-icon {
  width: 24px;
  font-size: 18px;
  color: #95a5a6;
}

.sidebar-main-panel.is-drilled #side-menu > li > a:hover,
.sidebar-main-panel.is-drilled #side-menu > li > a:focus,
.sidebar-main-panel.is-drilled #side-menu > li.active > a,
.sidebar-main-panel.is-drilled #side-menu > li.submenu-open > a,
.sidebar-main-panel.is-drilled #side-setup-menu > li > a:hover,
.sidebar-main-panel.is-drilled #side-setup-menu > li > a:focus,
.sidebar-main-panel.is-drilled #side-setup-menu > li.active > a,
.sidebar-main-panel.is-drilled #side-setup-menu > li.submenu-open > a {
  background: transparent;
  border-color: transparent;
  box-shadow: none;
  color: #95a5a6;
}

.sidebar-main-panel.is-drilled #side-menu > li > a:hover .menu-icon,
.sidebar-main-panel.is-drilled #side-menu > li > a:focus .menu-icon,
.sidebar-main-panel.is-drilled #side-menu > li.active > a .menu-icon,
.sidebar-main-panel.is-drilled #side-menu > li.submenu-open > a .menu-icon,
.sidebar-main-panel.is-drilled #side-setup-menu > li > a:hover .menu-icon,
.sidebar-main-panel.is-drilled #side-setup-menu > li > a:focus .menu-icon,
.sidebar-main-panel.is-drilled #side-setup-menu > li.active > a .menu-icon,
.sidebar-main-panel.is-drilled #side-setup-menu > li.submenu-open > a .menu-icon {
  color: var(--sidebar-accent);
}

.sidebar-main-panel.is-drilled .sidebar-promo-card,
.sidebar-main-panel.is-drilled .sidebar-version-badge {
  display: none;
}

.sidebar.sidebar-redesign ul.nav li a i.menu-icon {
  width: 22px;
  margin: 0;
  float: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #95a5a6;
  font-size: 17px;
  line-height: 1;
  transition: color 0.2s ease, transform 0.2s ease;
}

.sidebar.sidebar-redesign > .sidebar-main-panel ul.nav > li:hover > a:first-child,
.sidebar.sidebar-redesign > .sidebar-main-panel ul.nav > li.active > a:first-child,
.sidebar.sidebar-redesign ul.nav > li > a:hover,
.sidebar.sidebar-redesign ul.nav > li > a:focus {
  background: rgba(255, 255, 255, 0.86);
  border-color: rgba(22, 160, 133, 0.14);
  box-shadow: 0 10px 22px rgba(24, 53, 49, 0.07);
}

.sidebar.sidebar-redesign ul.nav li.active > a,
.sidebar.sidebar-redesign ul.nav > li > a:hover,
.sidebar.sidebar-redesign ul.nav > li > a:focus,
.sidebar.sidebar-redesign ul.nav li.active > a .menu-icon,
.sidebar.sidebar-redesign ul.nav > li > a:hover .menu-icon,
.sidebar.sidebar-redesign ul.nav > li > a:focus .menu-icon {
  color: var(--sidebar-text);
}

.sidebar.sidebar-redesign ul.nav > li.active > a {
  background: linear-gradient(180deg, #f7fbfa 0%, #eef6f4 100%);
  border-color: rgba(22, 160, 133, 0.18);
}

.sidebar.sidebar-redesign ul.nav > li.submenu-open > a {
  background: linear-gradient(180deg, #f7fbfa 0%, #eef6f4 100%);
  border-color: rgba(22, 160, 133, 0.18);
  color: var(--sidebar-text);
}

.sidebar.sidebar-redesign ul.nav > li.submenu-open > a i.menu-icon {
  color: var(--sidebar-accent);
}

.sidebar.sidebar-redesign ul.nav > li.active > a::before {
  content: "";
  position: absolute;
  inset-inline-start: 0;
  top: 8px;
  bottom: 8px;
  width: 4px;
  border-radius: 999px;
  background: linear-gradient(180deg, var(--sidebar-accent) 0%, var(--sidebar-accent-dark) 100%);
}

.sidebar.sidebar-redesign ul.nav > li.active > a i.menu-icon,
.sidebar.sidebar-redesign ul.nav > li > a:hover i.menu-icon {
  color: var(--sidebar-accent);
}

.sidebar.sidebar-redesign .badge {
  border-radius: 999px;
  padding: 4px 8px;
  font-size: 10px;
  box-shadow: none;
}

.sidebar.sidebar-redesign .arrow {
  float: none;
  margin-inline-start: auto;
  padding-top: 0;
  color: #91a2a3;
}

.sidebar.sidebar-redesign .fa.arrow:before {
  content: "\f104";
}

[dir="rtl"] .sidebar.sidebar-redesign .fa.arrow:before {
  content: "\f053";
}

.sidebar.sidebar-redesign .active > a > .fa.arrow:before {
  content: "\f107";
}

.sidebar.sidebar-redesign ul.nav li .nav-second-level {
  margin: 6px 0 4px;
  padding: 4px 10px 2px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.58);
  border: 1px solid rgba(22, 160, 133, 0.06);
}

.sidebar.sidebar-redesign ul.nav li .nav-second-level li a {
  min-height: 32px;
  margin-top: 2px;
  padding: 6px 10px 6px 16px;
  font-size: 12.4px;
  font-weight: 500;
  color: #5b6b6d;
  background: transparent !important;
  border-radius: 13px;
  border: 0 !important;
  box-shadow: none !important;
}

[dir="rtl"] .sidebar.sidebar-redesign ul.nav li .nav-second-level li a {
  padding: 6px 16px 6px 10px;
}

.sidebar.sidebar-redesign ul.nav > li .nav-second-level a .menu-icon {
  width: 18px;
  margin: 0;
  font-size: 14px;
}

.sidebar.sidebar-redesign ul.nav li .nav-second-level li.active a,
.sidebar.sidebar-redesign ul.nav > li .nav-second-level > li:not(.active) > a:hover,
.sidebar.sidebar-redesign ul.nav > li .nav-second-level > li:not(.active) > a:focus {
  background: rgba(22, 160, 133, 0.08) !important;
  color: var(--sidebar-accent-dark);
}

.sidebar.sidebar-redesign ul.nav li .nav-second-level li.active a .menu-icon,
.sidebar.sidebar-redesign ul.nav li .nav-second-level a:hover .menu-icon,
.sidebar.sidebar-redesign ul.nav li .nav-second-level a:focus .menu-icon {
  color: var(--sidebar-accent-dark);
}

.sidebar-promo-card {
  flex: 0 0 auto;
  margin: 14px 16px 10px;
  padding: 16px;
  border-radius: 20px;
  background: linear-gradient(135deg, #baf2dc 0%, #95e7c8 100%);
  color: #15463d;
  box-shadow: 0 16px 30px rgba(22, 160, 133, 0.18);
}

.sidebar-promo-label {
  margin: 0 0 10px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.02em;
  color: rgba(21, 70, 61, 0.84);
}

.sidebar-promo-button {
  display: inline-flex;
  width: 100%;
  align-items: center;
  justify-content: center;
  padding: 10px 14px;
  border-radius: 12px;
  background: var(--sidebar-accent-dark);
  color: #fff;
  font-size: 12.5px;
  font-weight: 700;
  transition: all 0.2s ease;
}

.sidebar-promo-button:hover,
.sidebar-promo-button:focus {
  color: #fff;
  background: #0a6e6e;
  text-decoration: none;
}

.sidebar-version-badge {
  flex: 0 0 auto;
  padding: 0 20px 6px;
  text-align: center;
  color: #9aa8aa;
  font-size: 11px;
  font-weight: 600;
}

.sidebar-mobile-close {
  display: none;
}

#setup-menu-wrapper {
  display: none !important;
  position: fixed;
  top: 0;
  bottom: 0;
  left: var(--sidebar-shell-width);
  width: 320px !important;
  min-height: 100vh;
  padding: 14px 14px 14px 0;
  overflow: hidden;
  background: transparent;
  border: 0;
  z-index: 110;
}

#setup-menu-wrapper::before {
  content: "";
  position: absolute;
  inset: 0 0 0 10px;
  border-radius: 0 24px 24px 0;
  background:
    radial-gradient(circle at top right, rgba(22, 160, 133, 0.12), transparent 28%),
    linear-gradient(180deg, #fbfdfc 0%, #f3f7f6 100%);
  border: 1px solid var(--sidebar-border);
  box-shadow: 0 20px 40px rgba(16, 40, 36, 0.12);
}

[dir="rtl"] #setup-menu-wrapper {
  left: auto;
  right: var(--sidebar-shell-width);
  padding: 14px 0 14px 14px;
}

[dir="rtl"] #setup-menu-wrapper::before {
  inset: 0 10px 0 0;
  border-radius: 24px 0 0 24px;
}

#setup-menu {
  position: relative;
  z-index: 1;
  height: 100%;
  margin: 0 !important;
  padding: 14px 14px 18px;
  overflow-y: auto;
  overflow-x: hidden;
}

#setup-menu::-webkit-scrollbar {
  width: 6px;
}

#setup-menu::-webkit-scrollbar-thumb {
  background: rgba(22, 160, 133, 0.16);
  border-radius: 999px;
}

#setup-menu > div:first-child {
  margin: 0 2px 12px;
  padding: 10px 8px 12px !important;
  border-bottom: 1px solid rgba(22, 160, 133, 0.1);
}

#setup-menu .customizer-heading {
  color: var(--sidebar-text);
  font-size: 15px;
  font-weight: 700;
}

#setup-menu .close-customizer {
  width: 32px;
  height: 32px;
  border-radius: 12px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #6c8185 !important;
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid rgba(22, 160, 133, 0.08);
  transition: all 0.2s ease;
}

#setup-menu .close-customizer:hover,
#setup-menu .close-customizer:focus {
  color: #fff !important;
  background: var(--sidebar-accent);
  border-color: var(--sidebar-accent);
  box-shadow: 0 10px 18px rgba(22, 160, 133, 0.22);
}

#setup-menu > li {
  border: 0;
}

#setup-menu > li > a {
  display: flex;
  align-items: center;
  gap: 12px;
  min-height: 38px;
  margin-top: 4px;
  padding: 7px 12px;
  border-radius: 16px;
  border: 1px solid transparent;
  color: #516163;
  font-size: 13px;
  font-weight: 600;
  transition: all 0.2s ease;
}

#setup-menu > li > a .menu-text {
  flex: 1 1 auto;
  min-width: 0;
}

#setup-menu > li > a .menu-icon {
  width: 22px;
  margin: 0;
  float: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #95a5a6;
  font-size: 17px;
}

#setup-menu > li.active > a,
#setup-menu > li > a:hover,
#setup-menu > li > a:focus {
  background: rgba(255, 255, 255, 0.86);
  border-color: rgba(22, 160, 133, 0.14);
  box-shadow: 0 10px 22px rgba(24, 53, 49, 0.07);
  color: var(--sidebar-text);
}

#setup-menu > li.active > a {
  background: linear-gradient(180deg, #f7fbfa 0%, #eef6f4 100%);
  border-color: rgba(22, 160, 133, 0.18);
}

#setup-menu > li.active > a .menu-icon,
#setup-menu > li > a:hover .menu-icon,
#setup-menu > li > a:focus .menu-icon {
  color: var(--sidebar-accent);
}

#setup-menu .arrow {
  float: none;
  margin-inline-start: auto;
  padding-top: 0;
  color: #91a2a3;
}

#setup-menu .nav-second-level {
  margin: 6px 0 4px;
  padding: 4px 10px 2px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.58);
  border: 1px solid rgba(22, 160, 133, 0.06);
}

#setup-menu .nav-second-level li a {
  min-height: 32px;
  margin-top: 2px;
  padding: 6px 10px 6px 16px;
  font-size: 12.4px;
  font-weight: 500;
  color: #5b6b6d;
  background: transparent !important;
  border-radius: 13px;
  border: 0 !important;
  box-shadow: none !important;
}

[dir="rtl"] #setup-menu .nav-second-level li a {
  padding: 6px 16px 6px 10px;
}

#setup-menu .nav-second-level li.active a,
#setup-menu .nav-second-level > li:not(.active) > a:hover,
#setup-menu .nav-second-level > li:not(.active) > a:focus {
  background: rgba(22, 160, 133, 0.08) !important;
  color: var(--sidebar-accent-dark);
}

#setup-menu .nav-second-level a .menu-icon {
  width: 18px;
  margin: 0;
  font-size: 14px;
}

#setup-menu .nav-second-level li.active a .menu-icon,
#setup-menu .nav-second-level a:hover .menu-icon,
#setup-menu .nav-second-level a:focus .menu-icon {
  color: var(--sidebar-accent-dark);
}

#setup-menu .badge {
  border-radius: 999px;
  padding: 4px 8px;
  font-size: 10px;
  box-shadow: none;
}

#header {
  margin-left: var(--sidebar-shell-width);
  width: calc(100% - var(--sidebar-shell-width));
}

#wrapper {
  margin-left: var(--sidebar-shell-width);
  background: var(--sidebar-page-bg);
  height: 100vh;
  overflow-y: auto;
  overflow-x: hidden;
}

[dir="rtl"] #header {
  margin-right: var(--sidebar-shell-width);
  margin-left: 0;
  width: calc(100% - var(--sidebar-shell-width));
}

[dir="rtl"] #wrapper {
  margin-right: var(--sidebar-shell-width);
  margin-left: 0;
}

[dir="rtl"] #menu.sidebar.sidebar-redesign {
  right: 0;
  left: auto;
}

body.hide-sidebar:not(.show-sidebar) #wrapper,
body.page-small #wrapper,
body.hide-sidebar:not(.show-sidebar) #header,
body.page-small #header {
  margin-left: 0;
  width: 100%;
}

[dir="rtl"] body.hide-sidebar:not(.show-sidebar) #wrapper,
[dir="rtl"] body.page-small #wrapper,
[dir="rtl"] body.hide-sidebar:not(.show-sidebar) #header,
[dir="rtl"] body.page-small #header {
  margin-right: 0;
  width: 100%;
}

body.page-small.show-sidebar #header {
  margin-left: var(--sidebar-shell-width);
  width: calc(100% - var(--sidebar-shell-width));
}

[dir="rtl"] body.page-small.show-sidebar #header {
  margin-right: var(--sidebar-shell-width);
  margin-left: 0;
}

body.hide-sidebar:not(.show-sidebar) #menu.sidebar.sidebar-redesign,
body.page-small #menu.sidebar.sidebar-redesign {
  margin-left: calc(var(--sidebar-shell-width) * -1);
}

[dir="rtl"] body.hide-sidebar:not(.show-sidebar) #menu.sidebar.sidebar-redesign,
[dir="rtl"] body.page-small #menu.sidebar.sidebar-redesign {
  margin-right: calc(var(--sidebar-shell-width) * -1);
  margin-left: 0;
}

body.page-small.show-sidebar #menu.sidebar.sidebar-redesign {
  margin-left: 0;
}

[dir="rtl"] body.page-small.show-sidebar #menu.sidebar.sidebar-redesign {
  margin-right: 0;
}

.btn-bottom-toolbar {
  margin-left: var(--sidebar-shell-width);
  width: calc(100% - var(--sidebar-shell-width));
}

[dir="rtl"] .btn-bottom-toolbar {
  margin-right: var(--sidebar-shell-width);
  margin-left: 0;
}

@media (max-width: 991px) {
  #menu.sidebar.sidebar-redesign {
    width: 100% !important;
    max-width: none;
    height: 100vh;
    min-height: 100vh !important;
    max-height: 100vh;
    left: 0;
    right: 0;
    top: 0 !important;
    bottom: 0;
    padding: 0;
    z-index: 1200;
    margin-left: 0 !important;
    transform: translateX(-100%);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    overflow: hidden;
    transition:
      transform 0.28s ease,
      opacity 0.2s ease,
      visibility 0s linear 0.28s;
  }

  #header,
  [dir="rtl"] #header,
  .btn-bottom-toolbar,
  [dir="rtl"] .btn-bottom-toolbar {
    width: 100%;
    margin-left: 0;
    margin-right: 0;
  }

  #menu.sidebar.sidebar-redesign::before {
    inset: 0;
    border-radius: 0;
  }

  body.page-small #menu.sidebar.sidebar-redesign,
  body.hide-sidebar:not(.show-sidebar) #menu.sidebar.sidebar-redesign {
    margin-left: 0 !important;
    transform: translateX(-100%);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
  }

  body.page-small.show-sidebar #menu.sidebar.sidebar-redesign,
  body.show-sidebar #menu.sidebar.sidebar-redesign {
    transform: translateX(0);
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transition-delay: 0s;
  }

  body.page-small.show-sidebar #header,
  body.show-sidebar #header,
  body.page-small.show-sidebar .btn-bottom-toolbar,
  body.show-sidebar .btn-bottom-toolbar {
    width: 100%;
    margin-left: 0;
  }

  [dir="rtl"] #menu.sidebar.sidebar-redesign {
    margin-right: 0 !important;
    transform: translateX(100%);
  }

  [dir="rtl"] body.page-small #menu.sidebar.sidebar-redesign,
  [dir="rtl"] body.hide-sidebar:not(.show-sidebar) #menu.sidebar.sidebar-redesign {
    margin-right: 0 !important;
    transform: translateX(100%);
  }

  [dir="rtl"] body.page-small.show-sidebar #menu.sidebar.sidebar-redesign,
  [dir="rtl"] body.show-sidebar #menu.sidebar.sidebar-redesign {
    transform: translateX(0);
  }

  [dir="rtl"] body.page-small.show-sidebar #header,
  [dir="rtl"] body.show-sidebar #header,
  [dir="rtl"] body.page-small.show-sidebar .btn-bottom-toolbar,
  [dir="rtl"] body.show-sidebar .btn-bottom-toolbar {
    margin-right: 0;
  }

  #menu.sidebar.sidebar-redesign {
    flex-direction: column;
  }

  .sidebar-mobile-close {
    position: absolute;
    top: 14px;
    inset-inline-end: 14px;
    width: 44px;
    height: 44px;
    border: 0;
    border-radius: 14px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.92);
    color: var(--sidebar-text);
    box-shadow: 0 12px 24px rgba(16, 40, 36, 0.12);
    z-index: 3;
  }

  .sidebar-mobile-close i {
    font-size: 18px;
  }

  .sidebar-utility-rail {
    width: 100%;
    flex: 0 0 auto;
    height: auto;
    min-height: auto;
    flex-direction: row;
    justify-content: space-between;
    align-items: flex-start;
    padding: 66px 16px 10px;
    border-inline-end: 0;
    border-bottom: 1px solid var(--sidebar-border);
  }

  .sidebar-utility-group {
    width: auto;
    flex-direction: row;
    gap: 12px;
  }

  .sidebar-utility-group-bottom {
    margin-top: 0;
    padding-top: 0;
  }

  .sidebar-main-panel {
    width: 100%;
    height: calc(100vh - 121px);
    flex: 1 1 auto;
    padding: 0 0 12px;
    overflow: hidden;
  }

  .sidebar-main-panel .sidebar-user-profile {
    margin-top: 20px !important;
    margin-inline: 16px !important;
  }

  .sidebar-promo-card {
    margin: 14px 16px 18px;
  }

  .sidebar-version-badge {
    padding-bottom: 10px;
  }

  .sidebar-mobile-toggle {
    margin-top: 10px !important;
    padding: 6px !important;
    border-radius: 14px !important;
  }

  .sidebar-mobile-toggle-icon {
    width: 28px !important;
    height: 28px !important;
    stroke-width: 2 !important;
  }
}

:root {
  --admin-bg: #f3f5f4;
  --admin-bg-soft: #f8faf9;
  --admin-surface: rgba(255, 255, 255, 0.82);
  --admin-surface-strong: #ffffff;
  --admin-border-soft: rgba(41, 67, 78, 0.08);
  --admin-border-strong: rgba(41, 67, 78, 0.14);
  --admin-text: #24343a;
  --admin-text-muted: #6f8084;
  --admin-heading: #17242a;
  --admin-accent: #1f7a6b;
  --admin-accent-soft: rgba(31, 122, 107, 0.1);
  --admin-shadow-sm: 0 12px 30px rgba(22, 35, 37, 0.05);
  --admin-shadow-md: 0 18px 44px rgba(22, 35, 37, 0.08);
  --admin-radius-lg: 24px;
  --admin-radius-md: 18px;
  --admin-radius-sm: 14px;
}

body.admin,
body.admin #wrapper,
body.admin .content {
  background:
    radial-gradient(circle at top right, rgba(31, 122, 107, 0.05), transparent 22%),
    linear-gradient(180deg, #f6f8f7 0%, var(--admin-bg) 100%);
}

body.admin #header {
  padding: 14px 18px 0;
  background: transparent;
}

body.admin #header nav {
  min-height: 72px;
  padding: 0 18px;
  border: 1px solid rgba(255, 255, 255, 0.5);
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.72);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  box-shadow: var(--admin-shadow-sm);
}

body.admin #wrapper {
  padding: 6px 18px 28px;
}

body.admin .content {
  padding: 6px 0 24px;
}

body.admin .content > .row {
  margin-left: -10px;
  margin-right: -10px;
}

body.admin .content > .row > [class*="col-"] {
  padding-left: 10px;
  padding-right: 10px;
  margin-bottom: 20px;
}

body.admin #top_search input[type="search"] {
  height: 42px;
  border: 1px solid transparent !important;
  border-radius: 16px !important;
  background: #eef2f1 !important;
  color: var(--admin-text) !important;
  transition: all 0.2s ease;
}

body.admin #top_search input[type="search"]:hover,
body.admin #top_search input[type="search"]:focus {
  border-color: rgba(31, 122, 107, 0.14) !important;
  background: #ffffff !important;
  box-shadow: 0 0 0 4px rgba(31, 122, 107, 0.06);
}

body.admin #header .navbar-nav > li > a,
body.admin #header .mobile-menu-toggle,
body.admin #header .header-todo > a,
body.admin #header .header-newsfeed > a,
body.admin #header .header-timers > a,
body.admin #header .notifications-wrapper > a {
  color: var(--admin-text-muted) !important;
}

body.admin #header .navbar-nav > li > a:hover,
body.admin #header .navbar-nav > li > a:focus,
body.admin #header .mobile-menu-toggle:hover,
body.admin #header .header-todo > a:hover,
body.admin #header .header-newsfeed > a:hover,
body.admin #header .header-timers > a:hover,
body.admin #header .notifications-wrapper > a:hover {
  color: var(--admin-heading) !important;
}

body.admin .screen-options-btn {
  position: sticky;
  top: 16px;
  z-index: 30;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 2px 0 18px;
  padding: 10px 16px;
  border: 1px solid var(--admin-border-soft);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.78);
  color: var(--admin-text-muted);
  box-shadow: var(--admin-shadow-sm);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}

body.admin .screen-options-btn:hover {
  color: var(--admin-heading);
  border-color: rgba(31, 122, 107, 0.16);
}

body.admin .screen-options-area {
  margin-bottom: 14px;
}

body.admin .screen-options-area .screen-options-content {
  border: 1px solid var(--admin-border-soft);
  border-radius: var(--admin-radius-lg);
  background: rgba(255, 255, 255, 0.84);
  box-shadow: var(--admin-shadow-sm);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}

body.admin .widget {
  position: relative;
  margin-bottom: 20px;
}

body.admin .widget-dragger {
  opacity: 0.18;
}

body.admin .panel_s,
body.admin .top_stats_wrapper,
body.admin .widget .finance-summary,
body.admin .widget .panel_s .panel-body,
body.admin .widget .todo,
body.admin .widget .activity-feed,
body.admin .widget .stats,
body.admin .proposal-column,
body.admin .kan-ban-col .panel,
body.admin .panel {
  border-color: var(--admin-border-soft);
}

body.admin .panel_s,
body.admin .top_stats_wrapper,
body.admin .widget .finance-summary .panel_s,
body.admin .kan-ban-col .panel,
body.admin .panel_s .panel-body,
body.admin .panel {
  border: 1px solid var(--admin-border-soft);
  border-radius: var(--admin-radius-lg) !important;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.94) 0%, rgba(250, 252, 251, 0.88) 100%);
  box-shadow: var(--admin-shadow-md);
}

body.admin .panel_s {
  overflow: hidden;
}

body.admin .panel_s .panel-body,
body.admin .panel .panel-body {
  padding: 22px;
  color: var(--admin-text);
}

body.admin .panel-heading,
body.admin .panel_s .panel-heading {
  border-bottom: 1px solid var(--admin-border-soft);
  background: transparent;
  color: var(--admin-heading);
}

body.admin h1,
body.admin h2,
body.admin h3,
body.admin h4,
body.admin h5,
body.admin h6 {
  color: var(--admin-heading);
  letter-spacing: -0.01em;
}

body.admin .text-muted,
body.admin .text-neutral-500,
body.admin .text-neutral-600,
body.admin .text-neutral-700 {
  color: var(--admin-text-muted) !important;
}

body.admin .top_stats_wrapper {
  padding: 18px 18px 16px;
  min-height: 124px;
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

body.admin .top_stats_wrapper:hover,
body.admin .panel_s:hover {
  transform: translateY(-2px);
  border-color: var(--admin-border-strong);
  box-shadow: 0 22px 52px rgba(22, 35, 37, 0.1);
}

body.admin .top_stats_wrapper svg,
body.admin .home-summary svg {
  color: var(--admin-accent);
}

body.admin .top_stats_wrapper .tw-font-semibold,
body.admin .top_stats_wrapper .tw-font-medium,
body.admin .text-stats-wrapper ._total,
body.admin .home-summary ._total {
  color: var(--admin-heading) !important;
}

body.admin .progress {
  height: 8px;
  overflow: hidden;
  border-radius: 999px;
  background: #e9efed;
  box-shadow: inset 0 1px 1px rgba(18, 34, 37, 0.04);
}

body.admin .progress-bar {
  border-radius: 999px;
}

body.admin .progress-bar-default {
  background: linear-gradient(90deg, #85969a 0%, #617579 100%);
}

body.admin .progress-bar-success {
  background: linear-gradient(90deg, #7cc9a1 0%, #3f9b79 100%);
}

body.admin .progress-bar-danger {
  background: linear-gradient(90deg, #f18f7e 0%, #dc6b63 100%);
}

body.admin .progress-bar-warning {
  background: linear-gradient(90deg, #f0bf73 0%, #d49a49 100%);
}

body.admin .home-summary > div[class*="col-"] {
  position: relative;
}

body.admin .home-summary > div[class*="col-"]:not(:last-child)::after {
  content: "";
  position: absolute;
  top: 8px;
  bottom: 8px;
  inset-inline-end: 0;
  width: 1px;
  background: linear-gradient(180deg, transparent 0%, rgba(41, 67, 78, 0.08) 20%, rgba(41, 67, 78, 0.08) 80%, transparent 100%);
}

body.admin .text-stats-wrapper a,
body.admin .panel_s a,
body.admin .widget a {
  transition: color 0.18s ease;
}

body.admin .text-stats-wrapper a:hover,
body.admin .panel_s a:hover,
body.admin .widget a:hover {
  color: var(--admin-accent) !important;
}

body.admin .table,
body.admin .table.dataTable {
  background: transparent;
  color: var(--admin-text);
}

body.admin .table > thead > tr > th {
  border-bottom: 1px solid var(--admin-border-soft);
  color: var(--admin-heading);
  font-weight: 700;
  background: rgba(245, 248, 247, 0.92);
}

body.admin .table > tbody > tr > td {
  border-top: 1px solid rgba(41, 67, 78, 0.06);
  vertical-align: middle;
}

body.admin .table-hover > tbody > tr:hover,
body.admin table.dataTable tbody tr:hover {
  background: rgba(31, 122, 107, 0.03);
}

body.admin .btn:not(.btn-danger):not(.btn-warning):not(.btn-success):not(.btn-info):not(.btn-primary) {
  border-color: var(--admin-border-soft);
  background: rgba(255, 255, 255, 0.84);
  color: var(--admin-text);
}

body.admin .btn-primary,
body.admin .btn-info {
  border-color: transparent;
  background: linear-gradient(135deg, #2b7f73 0%, #1f6d62 100%);
  box-shadow: 0 12px 26px rgba(31, 109, 98, 0.18);
}

body.admin .btn-primary:hover,
body.admin .btn-info:hover {
  background: linear-gradient(135deg, #236d63 0%, #1b5f56 100%);
}

body.admin .form-control,
body.admin .bootstrap-select .dropdown-toggle,
body.admin .select2-container--default .select2-selection--single,
body.admin .select2-container--default .select2-selection--multiple {
  min-height: 42px;
  border: 1px solid var(--admin-border-soft);
  border-radius: 14px !important;
  background: rgba(255, 255, 255, 0.86);
  box-shadow: none;
  color: var(--admin-text);
}

body.admin .form-control:focus,
body.admin .bootstrap-select .dropdown-toggle:focus,
body.admin .select2-container--default.select2-container--focus .select2-selection--multiple,
body.admin .select2-container--default.select2-container--open .select2-selection--single {
  border-color: rgba(31, 122, 107, 0.18);
  box-shadow: 0 0 0 4px rgba(31, 122, 107, 0.06);
}

body.admin .dropdown-menu,
body.admin .select2-dropdown,
body.admin .datepicker-dropdown,
body.admin .dt-button-collection {
  border: 1px solid var(--admin-border-soft);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.94);
  box-shadow: var(--admin-shadow-md);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}

body.admin .dropdown-menu > li > a:hover,
body.admin .select2-results__option--highlighted[aria-selected],
body.admin .datepicker table tr td.active.active,
body.admin .datepicker table tr td.active:hover.active {
  background: var(--admin-accent-soft) !important;
  color: var(--admin-accent) !important;
}

body.admin .alert {
  border: 1px solid var(--admin-border-soft);
  border-radius: var(--admin-radius-md);
  box-shadow: var(--admin-shadow-sm);
}

body.admin footer {
  margin-top: 10px;
  border: 1px solid var(--admin-border-soft);
  border-radius: 18px 18px 0 0;
  background: rgba(255, 255, 255, 0.65);
}

@media (max-width: 991px) {
  body.admin #header {
    padding: 12px 12px 0;
  }

  body.admin #wrapper {
    padding: 6px 12px 20px;
  }

  body.admin #header nav {
    padding: 0 12px;
    border-radius: 20px;
  }

  body.admin .content > .row {
    margin-left: -8px;
    margin-right: -8px;
  }

  body.admin .content > .row > [class*="col-"] {
    padding-left: 8px;
    padding-right: 8px;
    margin-bottom: 16px;
  }

  body.admin .home-summary > div[class*="col-"]::after {
    display: none;
  }
}

body.admin {
  --admin-shadow-sm: 0 8px 20px rgba(22, 35, 37, 0.035);
  --admin-shadow-md: 0 14px 32px rgba(22, 35, 37, 0.05);
  --admin-radius-lg: 16px;
  --admin-radius-md: 12px;
  --admin-radius-sm: 10px;
}

body.admin #header nav {
  border-radius: 16px;
  box-shadow: var(--admin-shadow-sm);
}

body.admin .screen-options-btn {
  gap: 10px;
  padding: 9px 14px;
  border-radius: 12px;
  box-shadow: none;
}

body.admin .screen-options-area .screen-options-content,
body.admin .dropdown-menu,
body.admin .select2-dropdown,
body.admin .datepicker-dropdown,
body.admin .dt-button-collection,
body.admin .alert,
body.admin footer {
  border-radius: 14px;
  box-shadow: var(--admin-shadow-sm);
}

body.admin .widget {
  margin-bottom: 18px;
}

body.admin .widget-dragger {
  position: absolute;
  top: 12px;
  inset-inline-end: 12px;
  left: auto;
  width: 30px;
  height: 30px;
  border: 1px solid rgba(41, 67, 78, 0.08);
  border-radius: 10px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(248, 250, 249, 0.92);
  color: #95a4a8;
  opacity: 1;
  z-index: 12;
  cursor: move;
  transition: background-color 0.18s ease, color 0.18s ease, border-color 0.18s ease;
}

body.admin .widget-dragger::before {
  content: none;
}

body.admin .widget-dragger:hover,
body.admin .widget-dragger:active {
  color: var(--admin-accent);
  background: #fff;
  border-color: rgba(31, 122, 107, 0.16);
}

body.admin .widget-dragger > .hgi-stroke {
  font-size: 16px;
  line-height: 1;
}

body.admin .top_stats_wrapper,
body.admin .widget .finance-summary .panel_s,
body.admin .panel_s,
body.admin .panel_s .panel-body,
body.admin .panel {
  border-radius: 16px !important;
  box-shadow: var(--admin-shadow-md);
}

body.admin .panel_s {
  overflow: visible;
}

body.admin .top_stats_wrapper {
  min-height: 110px;
  padding: 18px 18px 14px;
}

body.admin .top_stats_wrapper:hover,
body.admin .panel_s:hover {
  transform: none;
  border-color: rgba(41, 67, 78, 0.12);
  box-shadow: 0 16px 34px rgba(22, 35, 37, 0.06);
}

body.admin .dashboard-widget-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  flex: 0 0 24px;
}

body.admin .home-summary .dashboard-widget-icon,
body.admin .top_stats_wrapper .dashboard-widget-icon {
  color: var(--admin-accent);
}

body.admin .progress {
  height: 6px;
  box-shadow: none;
}

body.admin .home-summary > div[class*="col-"]:not(:last-child)::after {
  background: linear-gradient(180deg, transparent 0%, rgba(41, 67, 78, 0.06) 20%, rgba(41, 67, 78, 0.06) 80%, transparent 100%);
}

body.admin .placeholder-dashboard-widgets {
  min-height: 110px;
  margin-bottom: 18px;
  border: 1px dashed rgba(31, 122, 107, 0.24);
  border-radius: 14px;
  background: rgba(31, 122, 107, 0.035);
}

body.admin [data-container].preview-widgets {
  min-height: 90px;
}

body.admin #dashboard-options .checkbox {
  margin-bottom: 10px;
}

body.admin #dashboard-options .checkbox label {
  color: var(--admin-text);
  font-weight: 500;
}

body.admin #dashboard-options .hgi-stroke {
  margin-inline-end: 6px;
  font-size: 18px;
  vertical-align: middle;
}

@media (max-width: 991px) {
  body.admin .widget-dragger {
    top: 10px;
    inset-inline-end: 10px;
  }
}

body.admin #header {
  padding: 0;
  background: #fff;
}

body.admin #header nav {
  min-height: 57px;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: #fff;
  box-shadow: none;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
}

body.admin #wrapper {
  padding: 0;
}

body.admin .content {
  padding: 25px;
}

body.admin .screen-options-btn {
  top: 0;
}

body.admin .dashboard-widget-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 16px 18px 0;
}

body.admin .dashboard-widget-title-wrap {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
}

body.admin .dashboard-widget-title-icon {
  font-size: 20px;
  color: var(--admin-accent);
}

body.admin .dashboard-widget-title {
  margin: 0;
  font-size: 15px;
  font-weight: 700;
  color: var(--admin-heading);
}

body.admin .dashboard-widget-header .widget-dragger {
  position: static;
  inset-inline-end: auto;
  flex: 0 0 auto;
}

body.admin .dashboard-widget-toolbar {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 12px;
  padding: 2px 2px 0;
}

body.admin .dashboard-widget-toolbar-split {
  justify-content: space-between;
}

body.admin .dashboard-widget-toolbar-right {
  margin-inline-start: auto;
}

body.admin .finance-summary .panel-body {
  padding-top: 16px;
}

body.admin .user-data .panel-body {
  padding-top: 14px;
}

body.admin .user-data {
  background:
    radial-gradient(circle at top right, rgba(31, 122, 107, 0.07), transparent 28%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.98) 0%, rgba(247, 250, 249, 0.96) 100%);
}

body.admin .user-data .horizontal-scrollable-tabs {
  padding: 6px;
  border: 1px solid rgba(41, 67, 78, 0.06);
  border-radius: 14px;
  background: #f5f8f7;
}

body.admin .user-data .horizontal-tabs {
  padding: 0 4px;
}

body.admin .user-data .nav-tabs {
  border-bottom: 0;
  display: flex;
  gap: 8px;
  flex-wrap: nowrap;
}

body.admin .user-data .nav-tabs > li {
  float: none;
  margin-bottom: 0;
}

body.admin .user-data .nav-tabs > li > a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 14px;
  border: 1px solid transparent !important;
  border-radius: 12px;
  background: transparent;
  color: var(--admin-text-muted);
  font-weight: 600;
  transition: all 0.18s ease;
}

body.admin .user-data .nav-tabs > li > a .menu-icon {
  width: auto;
  margin: 0;
  float: none;
  font-size: 16px;
  color: inherit;
}

body.admin .user-data .nav-tabs > li.active > a,
body.admin .user-data .nav-tabs > li.active > a:hover,
body.admin .user-data .nav-tabs > li.active > a:focus {
  border-color: rgba(31, 122, 107, 0.12) !important;
  background: #fff;
  color: var(--admin-heading);
  box-shadow: 0 8px 18px rgba(22, 35, 37, 0.05);
}

body.admin .user-data .nav-tabs > li > a:hover,
body.admin .user-data .nav-tabs > li > a:focus {
  border-color: rgba(41, 67, 78, 0.08) !important;
  background: rgba(255, 255, 255, 0.86);
  color: var(--admin-heading);
}

body.admin .user-data .nav-tabs > li > a .badge {
  margin-inline-start: 4px;
  background: rgba(31, 122, 107, 0.12);
  color: var(--admin-accent);
  box-shadow: none;
}

body.admin .user-data .tab-content {
  margin-top: 18px !important;
  padding: 18px;
  border: 1px solid rgba(41, 67, 78, 0.06);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.82);
}

body.admin .user-data .tab-content > .tab-pane > .inline-block.full-width {
  margin-bottom: 16px;
  color: var(--admin-accent);
  font-weight: 600;
}

body.admin .user-data .scroller {
  width: 34px;
  height: 34px;
  border: 1px solid rgba(41, 67, 78, 0.08);
  border-radius: 10px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.92);
  color: var(--admin-text-muted);
}

body.admin .user-data .activity-feed {
  padding: 0;
}

body.admin .user-data .activity-feed .feed-item {
  border-left-color: rgba(31, 122, 107, 0.22);
}

body.admin .user-data .activity-feed .feed-item:after {
  border-color: rgba(31, 122, 107, 0.24);
}

@media (max-width: 991px) {
  body.admin .content {
    padding: 15px;
  }

  body.admin .dashboard-widget-header {
    padding: 14px 14px 0;
  }

  body.admin .user-data .tab-content {
    padding: 14px;
  }
}

body.admin .dashboard-redesign {
  position: relative;
  padding-top: 18px;
}

body.admin .dashboard-redesign::before {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 280px;
  background:
    radial-gradient(circle at 8% 12%, rgba(31, 122, 107, 0.08), transparent 28%),
    radial-gradient(circle at 92% 8%, rgba(218, 181, 108, 0.1), transparent 24%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.7) 0%, rgba(243, 245, 244, 0) 100%);
  pointer-events: none;
}

body.admin .dashboard-redesign > .row {
  position: relative;
  z-index: 1;
}

body.admin .dashboard-redesign [data-container] {
  min-height: 90px;
}

body.admin .dashboard-redesign .screen-options-btn {
  position: relative;
  top: auto;
  margin-bottom: 20px;
  border: 1px solid rgba(41, 67, 78, 0.08);
  background: rgba(255, 255, 255, 0.86);
  color: var(--admin-heading);
}

body.admin .dashboard-redesign .screen-options-btn svg,
body.admin .dashboard-redesign .screen-options-btn .hgi-stroke {
  color: var(--admin-accent);
}

body.admin .dashboard-redesign .panel_s,
body.admin .dashboard-redesign .top_stats_wrapper {
  position: relative;
  overflow: hidden;
  border-color: rgba(41, 67, 78, 0.08);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.98) 0%, rgba(248, 250, 249, 0.96) 100%);
}

body.admin .dashboard-redesign .panel_s::before,
body.admin .dashboard-redesign .top_stats_wrapper::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at top right, rgba(31, 122, 107, 0.06), transparent 24%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.28), rgba(255, 255, 255, 0));
  pointer-events: none;
}

body.admin .dashboard-redesign .top_stats_wrapper {
  min-height: 132px;
  padding: 20px 20px 18px;
}

body.admin .dashboard-redesign .top_stats_wrapper .progress {
  margin-top: 18px !important;
}

body.admin .dashboard-redesign .quick-stats-invoices .top_stats_wrapper,
body.admin .dashboard-redesign .quick-stats-leads .top_stats_wrapper,
body.admin .dashboard-redesign .quick-stats-projects .top_stats_wrapper,
body.admin .dashboard-redesign .quick-stats-tasks .top_stats_wrapper {
  border: 1px solid rgba(41, 67, 78, 0.08);
}

body.admin .dashboard-redesign .quick-stats-invoices .top_stats_wrapper {
  background:
    radial-gradient(circle at top right, rgba(31, 122, 107, 0.1), transparent 28%),
    linear-gradient(180deg, #ffffff 0%, #f6fbf9 100%);
}

body.admin .dashboard-redesign .quick-stats-leads .top_stats_wrapper {
  background:
    radial-gradient(circle at top right, rgba(79, 138, 240, 0.08), transparent 28%),
    linear-gradient(180deg, #ffffff 0%, #f7faff 100%);
}

body.admin .dashboard-redesign .quick-stats-projects .top_stats_wrapper {
  background:
    radial-gradient(circle at top right, rgba(218, 181, 108, 0.11), transparent 28%),
    linear-gradient(180deg, #ffffff 0%, #fcfaf4 100%);
}

body.admin .dashboard-redesign .quick-stats-tasks .top_stats_wrapper {
  background:
    radial-gradient(circle at top right, rgba(111, 128, 132, 0.1), transparent 28%),
    linear-gradient(180deg, #ffffff 0%, #f8f9fa 100%);
}

body.admin .dashboard-redesign .dashboard-widget-header,
body.admin .dashboard-redesign .panel-body > .tw-flex:first-child,
body.admin .dashboard-redesign .panel-body > p.tw-font-semibold:first-of-type {
  position: relative;
  z-index: 1;
}

body.admin .dashboard-redesign .dashboard-widget-header {
  padding-bottom: 10px;
}

body.admin .dashboard-redesign .dashboard-widget-title,
body.admin .dashboard-redesign .panel-body > p.tw-font-semibold:first-of-type span,
body.admin .dashboard-redesign .panel-body > .tw-flex:first-child p span,
body.admin .dashboard-redesign .panel-body > .tw-flex:first-child #Payment-chart-name {
  color: var(--admin-heading) !important;
}

body.admin .dashboard-redesign .panel-body > p.tw-font-semibold:first-of-type,
body.admin .dashboard-redesign .panel-body > .tw-flex:first-child p {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 0;
  padding: 0;
  font-size: 15px;
}

body.admin .dashboard-redesign .panel-body > p.tw-font-semibold:first-of-type svg,
body.admin .dashboard-redesign .panel-body > .tw-flex:first-child p svg {
  color: var(--admin-accent);
}

body.admin .dashboard-redesign .panel-body > hr,
body.admin .dashboard-redesign .dashboard-widget-header + .panel-body hr:first-of-type {
  border-color: rgba(41, 67, 78, 0.06);
  margin-top: 16px !important;
  margin-bottom: 20px !important;
}

body.admin .dashboard-redesign .chart,
body.admin .dashboard-redesign canvas {
  position: relative;
  z-index: 1;
}

body.admin .dashboard-redesign .payments-chart-dashboard,
body.admin .dashboard-redesign #projects_status_stats,
body.admin .dashboard-redesign #tickets-awaiting-reply-by-status,
body.admin .dashboard-redesign #tickets-awaiting-reply-by-department,
body.admin .dashboard-redesign #leads_status_stats,
body.admin .dashboard-redesign #payment-statistics {
  background:
    linear-gradient(180deg, rgba(248, 250, 249, 0.8) 0%, rgba(255, 255, 255, 0) 100%);
  border-radius: 14px;
}

body.admin .dashboard-redesign .relative[style*="height:250px"],
body.admin .dashboard-redesign #payments canvas,
body.admin .dashboard-redesign .tickets-report-chart-area {
  position: relative;
}

body.admin .dashboard-redesign .home-summary {
  row-gap: 10px;
}

body.admin .dashboard-redesign .home-summary > div[class*="col-"] {
  padding-top: 6px;
  padding-bottom: 6px;
}

body.admin .dashboard-redesign .home-summary .text-stats-wrapper a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 10px;
  border-radius: 10px;
}

body.admin .dashboard-redesign .home-summary .text-stats-wrapper a:hover {
  background: rgba(31, 122, 107, 0.05);
}

body.admin .dashboard-redesign .user-data .horizontal-scrollable-tabs,
body.admin .dashboard-redesign .screen-options-area .screen-options-content {
  background:
    linear-gradient(180deg, rgba(248, 250, 249, 0.96) 0%, rgba(244, 247, 246, 0.9) 100%);
}

body.admin .dashboard-redesign .user-data .tab-content,
body.admin .dashboard-redesign .tickets-report-table-wrapper,
body.admin .dashboard-redesign .dataTables_wrapper,
body.admin .dashboard-redesign .table-responsive {
  position: relative;
  z-index: 1;
}

body.admin .dashboard-redesign .dataTables_wrapper .row:first-child {
  margin-bottom: 14px;
  padding: 12px 14px;
  border: 1px solid rgba(41, 67, 78, 0.06);
  border-radius: 14px;
  background: rgba(246, 248, 247, 0.82);
}

body.admin .dashboard-redesign .dataTables_wrapper .dataTables_filter label,
body.admin .dashboard-redesign .dataTables_wrapper .dataTables_length label {
  color: var(--admin-text-muted);
  font-weight: 600;
}

body.admin .dashboard-redesign .dataTables_wrapper .dataTables_filter input,
body.admin .dashboard-redesign .dataTables_wrapper .dataTables_length select,
body.admin .dashboard-redesign .bootstrap-select .dropdown-toggle,
body.admin .dashboard-redesign .selectpicker,
body.admin .dashboard-redesign input[type="search"],
body.admin .dashboard-redesign input.form-control,
body.admin .dashboard-redesign select.form-control {
  min-height: 42px;
  border: 1px solid rgba(41, 67, 78, 0.08) !important;
  border-radius: 12px !important;
  background: rgba(255, 255, 255, 0.96) !important;
  color: var(--admin-heading) !important;
  box-shadow: none !important;
}

body.admin .dashboard-redesign .dataTables_wrapper .dataTables_filter input:focus,
body.admin .dashboard-redesign .dataTables_wrapper .dataTables_length select:focus,
body.admin .dashboard-redesign input.form-control:focus,
body.admin .dashboard-redesign select.form-control:focus {
  border-color: rgba(31, 122, 107, 0.16) !important;
  box-shadow: 0 0 0 4px rgba(31, 122, 107, 0.05) !important;
}

body.admin .dashboard-redesign .btn,
body.admin .dashboard-redesign a.btn,
body.admin .dashboard-redesign .dataTables_wrapper .dt-buttons .btn,
body.admin .dashboard-redesign .panel-body a.inline-block.full-width,
body.admin .dashboard-redesign .bootstrap-select .dropdown-toggle {
  transition: all 0.18s ease;
}

body.admin .dashboard-redesign .btn:not(.btn-danger):not(.btn-warning):not(.btn-success):not(.btn-info):not(.btn-primary),
body.admin .dashboard-redesign .dataTables_wrapper .dt-buttons .btn:not(.btn-danger):not(.btn-warning):not(.btn-success):not(.btn-info):not(.btn-primary) {
  border: 1px solid rgba(41, 67, 78, 0.08);
  border-radius: 12px;
  background: linear-gradient(180deg, #ffffff 0%, #f7f9f8 100%);
  color: var(--admin-heading);
}

body.admin .dashboard-redesign .btn-primary,
body.admin .dashboard-redesign .btn-info {
  border-radius: 12px;
  background: linear-gradient(135deg, #2e7d73 0%, #205f57 100%);
  box-shadow: 0 10px 22px rgba(31, 109, 98, 0.16);
}

body.admin .dashboard-redesign .btn:hover,
body.admin .dashboard-redesign .dataTables_wrapper .dt-buttons .btn:hover,
body.admin .dashboard-redesign .bootstrap-select .dropdown-toggle:hover {
  transform: translateY(-1px);
}

body.admin .dashboard-redesign .activity-feed .feed-item {
  margin-bottom: 18px;
  padding-bottom: 18px;
}

body.admin .dashboard-redesign .activity-feed .feed-item .date {
  color: var(--admin-accent);
  letter-spacing: 0.01em;
}

body.admin .dashboard-redesign .activity-feed .feed-item .text {
  color: var(--admin-text);
}

body.admin .dashboard-redesign .todo li,
body.admin .dashboard-redesign ul.todo li {
  border-bottom-color: rgba(41, 67, 78, 0.06);
}

body.admin .dashboard-redesign .widget-dragger {
  background: rgba(255, 255, 255, 0.96);
}

body.admin .dashboard-redesign .dashboard-chart-kicker,
body.admin .dashboard-redesign .dashboard-chart-total,
body.admin .dashboard-redesign .dashboard-chart-total-label,
body.admin .dashboard-redesign .dashboard-breakdown-item,
body.admin .dashboard-redesign .dashboard-breakdown-label,
body.admin .dashboard-redesign .dashboard-breakdown-values strong,
body.admin .dashboard-redesign .dashboard-breakdown-values small,
body.admin .dashboard-redesign .dashboard-metric-card,
body.admin .dashboard-redesign .dashboard-metric-label,
body.admin .dashboard-redesign .dashboard-metric-value {
  font-family: var(--admin-modam-font);
}

body.admin .dashboard-redesign .dashboard-chart-kicker {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 0 12px;
  border: 1px solid rgba(41, 67, 78, 0.08);
  border-radius: 999px;
  background: rgba(244, 248, 247, 0.9);
  color: var(--admin-text-muted);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.02em;
}

body.admin .dashboard-redesign .dashboard-chart-shell {
  position: relative;
  z-index: 1;
}

body.admin .dashboard-redesign .dashboard-chart-shell-split {
  display: grid;
  grid-template-columns: minmax(260px, 1fr) minmax(220px, 0.78fr);
  gap: 14px;
  align-items: start;
}

body.admin .dashboard-redesign .dashboard-chart-visual,
body.admin .dashboard-redesign .dashboard-chart-insights,
body.admin .dashboard-redesign .dashboard-chart-stage,
body.admin .dashboard-redesign .dashboard-chart-metrics {
  position: relative;
  z-index: 1;
}

body.admin .dashboard-redesign .dashboard-chart-visual {
  padding: 16px;
  border: 1px solid rgba(41, 67, 78, 0.07);
  border-radius: 18px;
  background:
    radial-gradient(circle at top right, rgba(31, 122, 107, 0.08), transparent 30%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.98) 0%, rgba(247, 249, 248, 0.96) 100%);
}

body.admin .dashboard-redesign .dashboard-chart-visual-projects::after {
  content: "";
  position: absolute;
  inset: auto 14px 12px auto;
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(218, 181, 108, 0.14), rgba(218, 181, 108, 0));
  pointer-events: none;
}

body.admin .dashboard-redesign .dashboard-chart-total {
  display: inline-flex;
  flex-direction: column;
  gap: 2px;
  margin-bottom: 8px;
  padding: 8px 10px;
  border: 1px solid rgba(41, 67, 78, 0.06);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.74);
}

body.admin .dashboard-redesign .dashboard-chart-total-label {
  color: var(--admin-text-muted);
  font-size: 11px;
  font-weight: 700;
}

body.admin .dashboard-redesign .dashboard-chart-total strong {
  color: var(--admin-heading);
  font-size: 22px;
  font-weight: 800;
  line-height: 1;
}

body.admin .dashboard-redesign .dashboard-chart-canvas-wrap {
  position: relative;
  min-height: 230px;
}

body.admin .dashboard-redesign .dashboard-chart-canvas-wrap-projects {
  display: flex;
  align-items: center;
  justify-content: center;
}

body.admin .dashboard-redesign .dashboard-chart-canvas-wrap-projects canvas {
  max-width: 100%;
}

body.admin .dashboard-redesign .dashboard-chart-insights {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 4px 0;
}

body.admin .dashboard-redesign .dashboard-breakdown-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 12px 14px;
  border: 1px solid rgba(41, 67, 78, 0.06);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.72);
  color: inherit;
  transition: background-color 0.18s ease, border-color 0.18s ease, transform 0.18s ease;
}

body.admin .dashboard-redesign .dashboard-breakdown-item:hover {
  transform: translateY(-1px);
  background: rgba(255, 255, 255, 0.95);
  border-color: rgba(31, 122, 107, 0.12);
  box-shadow: none;
}

body.admin .dashboard-redesign .dashboard-breakdown-meta,
body.admin .dashboard-redesign .dashboard-breakdown-values {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

body.admin .dashboard-redesign .dashboard-breakdown-values {
  flex-direction: column;
  align-items: flex-end;
  gap: 0;
}

body.admin .dashboard-redesign .dashboard-breakdown-dot {
  width: 10px;
  height: 10px;
  border-radius: 999px;
  flex: 0 0 auto;
  box-shadow: 0 0 0 4px rgba(255, 255, 255, 0.92);
}

body.admin .dashboard-redesign .dashboard-breakdown-label {
  color: var(--admin-heading);
  font-weight: 700;
  font-size: 14px;
}

body.admin .dashboard-redesign .dashboard-breakdown-values strong {
  color: var(--admin-heading);
  font-size: 14px;
  font-weight: 800;
  line-height: 1.1;
}

body.admin .dashboard-redesign .dashboard-breakdown-values small {
  color: var(--admin-text-muted);
  font-size: 11px;
  font-weight: 700;
}

body.admin .dashboard-redesign .dashboard-chart-metrics {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 12px;
  margin-bottom: 14px;
}

body.admin .dashboard-redesign .dashboard-metric-card {
  padding: 14px 16px;
  border: 1px solid rgba(41, 67, 78, 0.07);
  border-radius: 16px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.98) 0%, rgba(247, 249, 248, 0.94) 100%);
  box-shadow: 0 8px 18px rgba(16, 42, 47, 0.04);
}

body.admin .dashboard-redesign .dashboard-metric-label {
  display: block;
  margin-bottom: 8px;
  color: var(--admin-text-muted);
  font-size: 12px;
  font-weight: 700;
}

body.admin .dashboard-redesign .dashboard-metric-value {
  display: block;
  color: var(--admin-heading);
  font-size: 18px;
  font-weight: 800;
  line-height: 1.4;
}

body.admin .dashboard-redesign .dashboard-chart-stage {
  padding: 16px 18px 8px;
  border: 1px solid rgba(41, 67, 78, 0.07);
  border-radius: 18px;
  background:
    radial-gradient(circle at top left, rgba(31, 122, 107, 0.08), transparent 24%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.98) 0%, rgba(247, 249, 248, 0.95) 100%);
}

body.admin .dashboard-redesign .dashboard-chart-stage::before {
  content: "";
  position: absolute;
  inset: 16px 18px auto;
  height: 120px;
  border-radius: 14px;
  background: linear-gradient(180deg, rgba(31, 122, 107, 0.05), rgba(31, 122, 107, 0));
  pointer-events: none;
}

@media (max-width: 991px) {
  body.admin .dashboard-redesign {
    padding-top: 8px;
  }

  body.admin .dashboard-redesign .dataTables_wrapper .row:first-child {
    padding: 10px;
    border-radius: 12px;
  }

  body.admin .dashboard-redesign .top_stats_wrapper {
    min-height: auto;
  }

  body.admin .dashboard-redesign .dashboard-chart-shell-split {
    grid-template-columns: 1fr;
  }
}

body.admin .modules-admin-page {
  padding-top: 6px;
}

body.admin .modules-admin-topbar {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 18px;
}

body.admin .modules-admin-title {
  margin: 0 0 6px;
  font-size: 24px;
  font-weight: 800;
}

body.admin .modules-admin-subtitle,
body.admin .modules-upload-note,
body.admin .modules-results-bar,
body.admin .modules-card-system,
body.admin .modules-card-description,
body.admin .modules-card-meta {
  color: var(--admin-text-muted);
}

body.admin .modules-admin-subtitle,
body.admin .modules-upload-note {
  margin: 0;
}

body.admin .modules-upload-form {
  width: min(100%, 420px);
  padding: 16px;
  border: 1px solid rgba(41, 67, 78, 0.08);
  border-radius: 18px;
  background:
    radial-gradient(circle at top right, rgba(31, 122, 107, 0.06), transparent 40%),
    rgba(255, 255, 255, 0.92);
}

body.admin .modules-upload-input {
  display: flex;
  gap: 10px;
}

body.admin .modules-upload-input .form-control {
  flex: 1 1 auto;
}

body.admin .modules-upload-note {
  margin-top: 10px;
  font-size: 12px;
}

body.admin .modules-admin-panel .panel-body {
  padding: 20px;
}

body.admin .modules-filters {
  display: grid;
  gap: 16px;
  margin-bottom: 16px;
  padding: 18px;
  border: 1px solid rgba(41, 67, 78, 0.06);
  border-radius: 18px;
  background:
    linear-gradient(180deg, rgba(248, 250, 249, 0.96) 0%, rgba(244, 247, 246, 0.9) 100%);
}

body.admin .modules-filters-search,
body.admin .modules-filter-group {
  min-width: 0;
}

body.admin .modules-search-shell {
  position: relative;
}

body.admin .modules-search-shell > i {
  position: absolute;
  top: 50%;
  inset-inline-start: 14px;
  transform: translateY(-50%);
  color: #91a2a3;
  font-size: 14px;
  pointer-events: none;
}

body.admin .modules-search-shell .form-control {
  padding-inline-start: 40px;
}

body.admin .modules-filter-label {
  display: inline-block;
  margin-bottom: 8px;
  color: var(--admin-heading);
  font-size: 12px;
  font-weight: 700;
}

body.admin .modules-filter-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

body.admin .modules-filter-pills-categories {
  max-height: 96px;
  overflow-y: auto;
  padding-inline-end: 4px;
}

body.admin .modules-filter-pill {
  min-height: 36px;
  padding: 0 14px;
  border: 1px solid rgba(41, 67, 78, 0.08);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.84);
  color: var(--admin-text-muted);
  font-size: 12px;
  font-weight: 700;
  transition: all 0.18s ease;
}

body.admin .modules-filter-pill:hover,
body.admin .modules-filter-pill.is-active {
  border-color: rgba(31, 122, 107, 0.14);
  background: rgba(31, 122, 107, 0.08);
  color: var(--admin-accent);
}

body.admin .modules-results-bar {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 16px;
  font-size: 12px;
  font-weight: 700;
}

body.admin .modules-card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 18px;
}

body.admin .modules-card {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding: 18px;
  border: 1px solid rgba(41, 67, 78, 0.08);
  border-radius: 22px;
  background:
    radial-gradient(circle at top right, rgba(31, 122, 107, 0.08), transparent 30%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.98) 0%, rgba(247, 249, 248, 0.94) 100%);
  box-shadow: 0 6px 18px rgba(22, 35, 37, 0.035);
  transition: border-color 0.18s ease, transform 0.18s ease;
}

body.admin .modules-card::before {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 4px;
  border-radius: 22px 22px 0 0;
  background: linear-gradient(90deg, rgba(31, 122, 107, 0.86), rgba(42, 132, 117, 0.18));
  opacity: 0.72;
}

body.admin .modules-card:hover {
  transform: translateY(-2px);
  border-color: rgba(31, 122, 107, 0.16);
}

body.admin .modules-card-live-badge {
  position: absolute;
  top: 14px;
  inset-inline-end: 14px;
  min-height: 28px;
  padding: 0 10px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(31, 122, 107, 0.1);
  color: var(--admin-accent);
  font-size: 11px;
  font-weight: 800;
}

body.admin .modules-card-media {
  width: 64px;
  height: 64px;
  border-radius: 12px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(241, 247, 245, 0.94));
  border: 1px solid rgba(31, 122, 107, 0.08);
  color: var(--admin-accent);
  font-size: 24px;
  font-weight: 800;
}

body.admin .modules-card-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 12px;
}

body.admin .modules-card-topline {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 12px;
}

body.admin .modules-card-category,
body.admin .modules-card-status {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 0 10px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 800;
}

body.admin .modules-card-category {
  background: rgba(41, 67, 78, 0.06);
  color: var(--admin-heading);
}

body.admin .modules-card-status.is-active {
  background: rgba(31, 122, 107, 0.1);
  color: var(--admin-accent);
}

body.admin .modules-card-status.is-inactive {
  background: rgba(111, 128, 132, 0.1);
  color: #68777b;
}

body.admin .modules-card-title {
  margin: 0 0 4px;
  font-size: 17px;
  font-weight: 800;
  color: var(--admin-heading);
}

body.admin .modules-card-system {
  margin: 0;
  font-size: 12px;
}

body.admin .modules-card-description {
  min-height: 52px;
  margin: 0;
  line-height: 1.85;
}

body.admin .modules-card-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 12px;
  font-size: 12px;
}

body.admin .modules-card-meta span {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 0 10px;
  border-radius: 999px;
  background: rgba(41, 67, 78, 0.04);
}

body.admin .modules-card-alert {
  padding: 11px 12px;
  border: 1px solid rgba(214, 158, 46, 0.18);
  border-radius: 14px;
  background: rgba(255, 247, 230, 0.72);
  color: #89611c;
  font-size: 12px;
  line-height: 1.9;
}

body.admin .modules-card-alert.is-success {
  border-color: rgba(31, 122, 107, 0.12);
  background: rgba(238, 248, 245, 0.88);
  color: var(--admin-accent);
}

body.admin .modules-card-alert-links {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-inline-start: 6px;
}

body.admin .modules-card-divider {
  width: 4px;
  height: 4px;
  border-radius: 999px;
  background: currentColor;
  opacity: 0.38;
}

body.admin .modules-card-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  padding-top: 4px;
}

body.admin .modules-action-btn {
  display: inline-flex;
  align-items: center;
  gap: 0;
  min-height: 40px;
  max-width: 40px;
  padding: 0 12px;
  overflow: hidden;
  border: 1px solid rgba(41, 67, 78, 0.08);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.9);
  color: var(--admin-heading);
  white-space: nowrap;
  transition: max-width 0.22s ease, gap 0.22s ease, border-color 0.18s ease, background-color 0.18s ease;
}

body.admin .modules-action-btn i {
  width: 16px;
  flex: 0 0 16px;
  text-align: center;
  font-size: 14px;
}

body.admin .modules-action-btn span {
  max-width: 0;
  overflow: hidden;
  opacity: 0;
  font-size: 12px;
  font-weight: 700;
  transition: max-width 0.22s ease, opacity 0.18s ease;
}

body.admin .modules-action-btn:hover,
body.admin .modules-action-btn:focus {
  max-width: 180px;
  gap: 8px;
  text-decoration: none;
}

body.admin .modules-action-btn:hover span,
body.admin .modules-action-btn:focus span {
  max-width: 120px;
  opacity: 1;
}

body.admin .modules-action-btn.is-neutral:hover,
body.admin .modules-action-btn.is-neutral:focus {
  border-color: rgba(41, 67, 78, 0.12);
  background: rgba(248, 250, 249, 0.96);
  color: var(--admin-heading);
}

body.admin .modules-action-btn.is-success:hover,
body.admin .modules-action-btn.is-success:focus {
  border-color: rgba(31, 122, 107, 0.16);
  background: rgba(31, 122, 107, 0.08);
  color: var(--admin-accent);
}

body.admin .modules-action-btn.is-warning:hover,
body.admin .modules-action-btn.is-warning:focus {
  border-color: rgba(214, 158, 46, 0.2);
  background: rgba(255, 247, 230, 0.92);
  color: #89611c;
}

body.admin .modules-action-btn.is-info:hover,
body.admin .modules-action-btn.is-info:focus {
  border-color: rgba(69, 120, 214, 0.16);
  background: rgba(237, 244, 255, 0.92);
  color: #3567b8;
}

body.admin .modules-action-btn.is-danger:hover,
body.admin .modules-action-btn.is-danger:focus {
  border-color: rgba(214, 92, 92, 0.16);
  background: rgba(255, 241, 241, 0.94);
  color: #be4d4d;
}

body.admin .modules-empty-state {
  margin-top: 12px;
}

body.admin .modules-empty-state-inner {
  padding: 28px 20px;
  border: 1px dashed rgba(41, 67, 78, 0.12);
  border-radius: 16px;
  background: rgba(248, 250, 249, 0.7);
  text-align: center;
}

body.admin .modules-empty-state-inner strong {
  display: block;
  margin-bottom: 6px;
  color: var(--admin-heading);
}

body.admin .modules-empty-state-inner p {
  margin: 0;
  color: var(--admin-text-muted);
}

@media (max-width: 991px) {
  body.admin .modules-upload-form {
    width: 100%;
  }

  body.admin .modules-admin-panel .panel-body,
  body.admin .modules-filters {
    padding: 14px;
  }

  body.admin .modules-card-grid {
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  }
}

@media (max-width: 767px) {
  body.admin .modules-upload-input {
    flex-direction: column;
  }

  body.admin .modules-filter-pills-categories {
    max-height: none;
  }

  body.admin .modules-card-grid {
    grid-template-columns: 1fr;
  }

  body.admin .modules-card {
    padding: 16px;
  }
}

