:root {
  --dd-bg: #f6f1fb;
  --dd-surface: rgba(255, 255, 255, 0.9);
  --dd-surface-strong: #ffffff;
  --dd-border: #e8dff5;
  --dd-text: #171427;
  --dd-text-soft: #6d6781;

  --dd-purple: #6f35e9;
  --dd-purple-dark: #301050;
  --dd-purple-mid: #4b1676;
  --dd-green: #21c06b;
  --dd-green-deep: #109a6e;
  --dd-pink: #f45ea0;
  --dd-amber: #ff9f4a;

  --dd-radius: 28px;
  --dd-radius-sm: 16px;
  --dd-shadow: 0 22px 55px rgba(52, 28, 95, 0.12);
}

html,
body {
  height: 100%;
}

body.ddtech-theme,
body.hold-transition.modern-skin-light.sidebar-mini,
body.ddtech-login-bg {
  font-family: "Satoshi", "Segoe UI", Tahoma, sans-serif;
  letter-spacing: 0.01em;
}

body.ddtech-theme {
  background:
    radial-gradient(900px 500px at 0% 0%, rgba(111, 53, 233, 0.12), transparent 58%),
    radial-gradient(800px 420px at 100% 10%, rgba(33, 192, 107, 0.11), transparent 52%),
    linear-gradient(180deg, #faf6ff 0%, #f3eef8 100%);
  color: var(--dd-text);
}

a {
  color: var(--dd-purple);
  transition: color 160ms ease, opacity 160ms ease, transform 160ms ease;
}

a:hover,
a:focus {
  color: #8952f2;
}

.wrapper,
.content-wrapper,
.right-side {
  background: transparent !important;
}

.content-header {
  padding: 28px 26px 0;
  background: transparent;
}

.content-header > h1 {
  margin: 0;
  color: #2f1454;
  font-size: 34px;
  font-weight: 800;
  letter-spacing: -0.02em;
}

.content {
  padding: 22px 26px 28px !important;
  background: transparent;
}

.main-header .logo,
.main-header .navbar {
  background: linear-gradient(135deg, #2d0f4d 0%, #4b1676 100%) !important;
  border-bottom: 0 !important;
  box-shadow: 0 18px 44px rgba(41, 16, 71, 0.26);
}

.main-header .navbar,
.main-header .navbar .navbar-custom-menu,
.main-header .navbar .navbar-nav {
  overflow: visible !important;
}

.main-header .logo {
  width: 270px;
  padding: 0 24px;
  border-right: 1px solid rgba(255, 255, 255, 0.08) !important;
}

.main-header .navbar .sidebar-toggle,
.main-header .navbar .nav > li > a,
.main-header .logo,
.main-header .logo:hover,
.main-header .logo:focus {
  color: rgba(255, 255, 255, 0.95) !important;
}

.main-header .navbar .sidebar-toggle:hover,
.main-header .navbar .nav > li > a:hover,
.main-header .navbar .nav > li > a:focus {
  background: rgba(255, 255, 255, 0.08) !important;
}

.main-header .navbar .sidebar-toggle {
  padding: 18px 20px;
}

.navbar-custom-menu {
  padding-right: 14px;
}

.navbar-custom-menu > .navbar-nav {
  display: flex;
  align-items: center;
  gap: 16px;
  margin: 0;
}

.navbar-nav > li {
  display: block;
}

.main-header .navbar .nav > li > a {
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 46px;
  border-radius: 16px;
}

.user-menu .user-image {
  border: 2px solid rgba(255, 255, 255, 0.24);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.18);
}

.navbar-nav > .user-menu > .dropdown-menu {
  margin-top: 14px;
  border: 1px solid var(--dd-border);
  border-radius: 24px;
  overflow: hidden;
  box-shadow: var(--dd-shadow);
}

.navbar-nav > .user-menu > .dropdown-menu > .user-header {
  background: linear-gradient(135deg, rgba(111, 53, 233, 0.14), rgba(33, 192, 107, 0.16));
  color: var(--dd-text);
}

.dropdown-menu > li > a:hover {
  background: rgba(111, 53, 233, 0.08) !important;
  color: var(--dd-purple-dark) !important;
}

.ddtech-brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
}

.ddtech-brand img {
  width: auto;
  height: 36px;
  border-radius: 12px;
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.2);
}

.ddtech-brand .ddtech-name {
  color: rgba(255, 255, 255, 0.96);
  font-weight: 800;
  letter-spacing: 0.01em;
}

.ddtech-search-slot {
  width: min(46vw, 520px);
  margin-right: auto;
}

.ddtech-search-shell {
  position: relative;
  display: flex;
  align-items: center;
  min-height: 48px;
  padding: 0 14px 0 44px;
  gap: 10px;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 999px;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.05);
  transition: background-color 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
}

.ddtech-search-shell:focus-within,
.ddtech-search-shell.is-open {
  background: #ffffff;
  border-color: rgba(111, 53, 233, 0.2);
  box-shadow: 0 18px 38px rgba(48, 16, 80, 0.22);
}

.ddtech-search-icon {
  position: absolute;
  left: 16px;
  top: 50%;
  transform: translateY(-50%);
  color: rgba(255, 255, 255, 0.74);
  transition: color 180ms ease;
}

.ddtech-search-shell:focus-within .ddtech-search-icon,
.ddtech-search-shell.is-open .ddtech-search-icon {
  color: var(--dd-purple);
}

.ddtech-search-input.form-control {
  flex: 1;
  min-height: 46px;
  border: 0 !important;
  background: transparent !important;
  color: rgba(255, 255, 255, 0.96) !important;
  box-shadow: none !important;
  padding: 0 !important;
  font-size: 15px;
}

.ddtech-search-input.form-control::placeholder {
  color: rgba(255, 255, 255, 0.7) !important;
}

.ddtech-search-shell:focus-within .ddtech-search-input.form-control,
.ddtech-search-shell.is-open .ddtech-search-input.form-control {
  color: var(--dd-text) !important;
}

.ddtech-search-shell:focus-within .ddtech-search-input.form-control::placeholder,
.ddtech-search-shell.is-open .ddtech-search-input.form-control::placeholder {
  color: var(--dd-text-soft) !important;
}

.ddtech-search-clear {
  width: 32px;
  height: 32px;
  border: 0;
  border-radius: 999px;
  background: rgba(111, 53, 233, 0.08);
  color: var(--dd-purple);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 160ms ease, transform 160ms ease;
}

.ddtech-search-clear.is-visible {
  opacity: 1;
  pointer-events: auto;
}

.ddtech-search-clear:hover {
  transform: scale(1.04);
}

.ddtech-search-results {
  position: absolute;
  top: calc(100% + 12px);
  left: 0;
  right: 0;
  z-index: 1060;
  display: none;
  max-height: 420px;
  overflow: auto;
  padding: 10px;
  background: rgba(255, 255, 255, 0.98);
  border: 1px solid var(--dd-border);
  border-radius: 24px;
  box-shadow: var(--dd-shadow);
}

.ddtech-search-results.is-visible {
  display: block;
}

.ddtech-search-results * {
  color: var(--dd-text) !important;
}

.ddtech-search-results a,
.ddtech-search-results .list-group-item,
.ddtech-search-results li {
  display: block;
  margin: 0;
  padding: 12px 14px;
  border: 0 !important;
  border-radius: 16px;
  background: transparent !important;
  text-decoration: none;
}

.ddtech-search-results a:hover,
.ddtech-search-results .list-group-item:hover,
.ddtech-search-results li:hover {
  background: rgba(111, 53, 233, 0.08) !important;
  color: var(--dd-purple) !important;
}

.ddtech-search-results table {
  width: 100%;
  margin: 0;
}

.ddtech-search-results td,
.ddtech-search-results th {
  border: 0 !important;
  background: transparent !important;
  padding: 8px 10px;
}

.ddtech-search-empty {
  padding: 16px 18px;
  color: var(--dd-text-soft) !important;
  font-weight: 600;
}

.main-sidebar,
.left-side {
  background: linear-gradient(180deg, rgba(35, 12, 60, 0.98) 0%, rgba(19, 9, 34, 0.98) 100%) !important;
  box-shadow: 18px 0 38px rgba(22, 10, 40, 0.24);
}

.main-sidebar .sidebar {
  padding: 18px 12px 26px;
  background: transparent !important;
}

.sidebar-menu {
  white-space: normal;
}

.ddtech-sidebar-section {
  margin: 18px 10px 8px;
  padding: 0 8px;
  color: rgba(214, 203, 244, 0.68);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.main-header .logo .logo-mini {
  display: none;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
}

.main-header .logo .logo-mini img {
  max-width: 30px;
  max-height: 30px;
  width: auto;
  height: auto;
  object-fit: contain;
}

.sidebar-menu > li {
  margin: 4px 0;
}

.sidebar-menu > li > a {
  position: relative;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 16px 14px 18px;
  border-radius: 18px;
  color: rgba(255, 255, 255, 0.82) !important;
  font-weight: 700;
  background: transparent !important;
}

.sidebar-menu > li > a > .fa,
.sidebar-menu > li > a > .ion,
.sidebar-menu > li > a > .glyphicon {
  width: 18px;
  text-align: center;
  color: rgba(255, 255, 255, 0.72) !important;
}

.sidebar-menu > li > a .pull-right-container {
  margin-left: auto;
}

.sidebar-mini.sidebar-collapse .main-header .logo {
  width: 64px !important;
  padding: 0 !important;
  display: flex;
  align-items: center;
  justify-content: center;
}

.sidebar-mini.sidebar-collapse .main-header .logo .logo-lg {
  display: none !important;
}

.sidebar-mini.sidebar-collapse .main-header .logo .logo-mini {
  display: inline-flex !important;
}

.sidebar-mini.sidebar-collapse .main-header .navbar,
.sidebar-mini.sidebar-collapse .content-wrapper,
.sidebar-mini.sidebar-collapse .right-side,
.sidebar-mini.sidebar-collapse .main-footer {
  margin-left: 64px !important;
}

.sidebar-mini.sidebar-collapse .main-sidebar,
.sidebar-mini.sidebar-collapse .left-side {
  width: 64px !important;
}

.sidebar-mini.sidebar-collapse .main-sidebar .sidebar {
  padding: 18px 8px 26px;
}

.sidebar-mini.sidebar-collapse .ddtech-sidebar-section {
  display: none !important;
}

.sidebar-mini.sidebar-collapse .sidebar-menu > li {
  margin: 6px 0;
}

.sidebar-mini.sidebar-collapse .sidebar-menu > li > a {
  justify-content: center;
  padding: 14px 0;
  min-height: 48px;
  border-radius: 16px;
  overflow: visible !important;
}

.sidebar-mini.sidebar-collapse .sidebar-menu > li > a > span,
.sidebar-mini.sidebar-collapse .sidebar-menu > li > a > .pull-right-container {
  display: none !important;
}

.sidebar-mini.sidebar-collapse .sidebar-menu > li > a > .fa,
.sidebar-mini.sidebar-collapse .sidebar-menu > li > a > .ion,
.sidebar-mini.sidebar-collapse .sidebar-menu > li > a > .glyphicon {
  width: auto;
  margin: 0;
  font-size: 17px;
}

.sidebar-mini.sidebar-collapse .sidebar-menu > li.active > a::before,
.sidebar-mini.sidebar-collapse .sidebar-menu > li > a:hover::before {
  top: 8px;
  bottom: 8px;
}

.sidebar-mini.sidebar-collapse .sidebar-menu > li:hover > a > span:not(.pull-right-container),
.sidebar-mini.sidebar-collapse .sidebar-menu > li:hover > a > .pull-right-container > .fa-angle-left {
  position: absolute;
  left: 76px;
  top: 50%;
  transform: translateY(-50%);
  display: block !important;
  min-width: 170px;
  padding: 12px 16px;
  background: linear-gradient(135deg, #4b1676 0%, #2d0f4d 100%) !important;
  color: #ffffff !important;
  border-radius: 16px;
  box-shadow: 0 22px 38px rgba(12, 8, 24, 0.42);
  white-space: nowrap;
  text-align: left;
  z-index: 1055;
}

.sidebar-mini.sidebar-collapse .sidebar-menu > li:hover > a > .pull-right-container {
  display: block !important;
  position: static;
  margin-left: 0;
}

.sidebar-mini.sidebar-collapse .sidebar-menu > li:hover > a > .pull-right-container > .fa-angle-left {
  min-width: 44px;
  padding: 12px 14px;
  text-align: center;
}

.sidebar-mini.sidebar-collapse .sidebar-menu > li:hover > .treeview-menu {
  left: 64px !important;
  margin-top: 8px !important;
  padding: 8px !important;
  min-width: 170px;
  background: linear-gradient(180deg, rgba(56, 22, 96, 0.98) 0%, rgba(32, 14, 57, 0.98) 100%) !important;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 16px;
  box-shadow: 0 22px 38px rgba(12, 8, 24, 0.42);
}

.sidebar-mini.sidebar-collapse .sidebar-menu > li:hover > .treeview-menu > li > a {
  margin: 0;
  padding: 10px 14px !important;
  color: rgba(255, 255, 255, 0.88) !important;
  background: transparent !important;
  border-radius: 12px;
  white-space: nowrap;
}

.sidebar-mini.sidebar-collapse .sidebar-menu > li:hover > .treeview-menu > li.active > a,
.sidebar-mini.sidebar-collapse .sidebar-menu > li:hover > .treeview-menu > li > a:hover {
  background: rgba(255, 255, 255, 0.1) !important;
  color: #ffffff !important;
}

.sidebar-menu > li.active > a,
.sidebar-menu > li > a:hover {
  color: #ffffff !important;
  background: linear-gradient(135deg, rgba(111, 53, 233, 0.28), rgba(33, 192, 107, 0.18)) !important;
  box-shadow: 0 18px 36px rgba(6, 4, 15, 0.35);
}

.sidebar-menu > li.active > a::before,
.sidebar-menu > li > a:hover::before {
  content: "";
  position: absolute;
  left: 0;
  top: 10px;
  bottom: 10px;
  width: 4px;
  border-radius: 999px;
  background: linear-gradient(180deg, #a679ff, #5ef7aa);
}

.sidebar-menu > li.active > a > .fa,
.sidebar-menu > li.active > a > .ion,
.sidebar-menu > li > a:hover > .fa,
.sidebar-menu > li > a:hover > .ion,
.sidebar-menu > li > a:hover > .glyphicon {
  color: #ffffff !important;
}

.treeview-menu {
  padding: 8px 0 4px 10px !important;
  background: transparent !important;
}

.treeview-menu > li > a {
  margin: 4px 0;
  padding: 10px 14px 10px 18px;
  border-radius: 14px;
  color: rgba(255, 255, 255, 0.72) !important;
}

.treeview-menu > li.active > a,
.treeview-menu > li > a:hover {
  background: rgba(255, 255, 255, 0.09) !important;
  color: #ffffff !important;
}

.box,
.panel,
.modal-content,
.info-box,
.small-box,
.callout {
  background: var(--dd-surface) !important;
  border: 1px solid var(--dd-border) !important;
  border-radius: var(--dd-radius) !important;
  box-shadow: var(--dd-shadow);
  overflow: hidden;
}

.box-header,
.panel-heading,
.modal-header,
.box-footer,
.panel-footer,
.modal-footer {
  border-color: var(--dd-border) !important;
}

.box-header,
.panel-heading,
.modal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 18px 22px !important;
  background: linear-gradient(180deg, rgba(250, 248, 255, 0.98), rgba(255, 255, 255, 0.84)) !important;
  color: var(--dd-text) !important;
  font-weight: 700;
}

.box-body,
.panel-body,
.modal-body {
  padding: 20px 22px !important;
}

.box-footer,
.panel-footer,
.modal-footer {
  padding: 18px 22px !important;
  background: rgba(248, 246, 252, 0.92) !important;
}

.box-header .box-title,
.panel-heading,
.modal-title,
h2,
h3 {
  color: var(--dd-text);
}

.table {
  background: transparent;
}

.table > thead > tr > th {
  border-bottom: 1px solid rgba(150, 134, 184, 0.18) !important;
  color: #5d5576;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.table > tbody > tr > td {
  border-top: 1px solid rgba(150, 134, 184, 0.12) !important;
  color: var(--dd-text);
  padding: 12px 10px;
}

.table > tbody > tr:hover {
  background: rgba(111, 53, 233, 0.04) !important;
}

.ddtech-customer-table > thead > tr > th,
.ddtech-customer-table > tbody > tr > td {
  vertical-align: middle !important;
}

.ddtech-customer-name {
  max-width: 220px;
  min-width: 180px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.ddtech-customer-contact-cell,
.ddtech-customer-manage-cell {
  width: 1%;
  white-space: nowrap;
}

.ddtech-customer-contact-links,
.ddtech-customer-actions {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-wrap: nowrap;
  gap: 8px;
  min-width: max-content;
}

.ddtech-customer-contact-links .btn,
.ddtech-customer-actions .btn {
  margin: 0 !important;
  white-space: nowrap;
}

.ddtech-customer-summary-row {
  margin-top: 16px;
}

.ddtech-customer-summary {
  display: inline-flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  padding-top: 10px;
  color: var(--dd-text-soft);
  font-weight: 700;
}

.ddtech-customer-summary strong {
  color: var(--dd-text);
  font-weight: 800;
}

.ddtech-customer-summary-separator {
  color: rgba(109, 103, 129, 0.48);
}

.ddtech-customer-page-size {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 12px;
}

.ddtech-customer-page-size label {
  margin: 0;
  color: var(--dd-text-soft);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.ddtech-customer-page-size .form-control {
  width: 120px;
}

.form-control {
  min-height: 44px;
  border: 1px solid rgba(145, 125, 183, 0.24) !important;
  border-radius: var(--dd-radius-sm) !important;
  background: var(--dd-surface-strong) !important;
  color: var(--dd-text) !important;
  box-shadow: none !important;
}

.form-control:focus {
  border-color: rgba(111, 53, 233, 0.48) !important;
  box-shadow: 0 0 0 4px rgba(111, 53, 233, 0.12) !important;
}

.form-control::placeholder {
  color: rgba(109, 103, 129, 0.72) !important;
}

input,
textarea {
  caret-color: var(--dd-text) !important;
}

.input-group-addon {
  border: 1px solid rgba(145, 125, 183, 0.24) !important;
  border-radius: 16px 0 0 16px !important;
  background: rgba(111, 53, 233, 0.08) !important;
  color: var(--dd-purple-dark) !important;
  font-weight: 700;
}

.input-group .form-control:last-child {
  border-radius: 0 16px 16px 0 !important;
}

.btn {
  border: 0 !important;
  border-radius: 16px !important;
  padding: 11px 18px !important;
  font-weight: 800;
  letter-spacing: 0.01em;
  box-shadow: none !important;
  transition: transform 160ms ease, box-shadow 160ms ease, filter 160ms ease;
}

.btn:hover,
.btn:focus {
  transform: translateY(-1px);
  box-shadow: 0 16px 34px rgba(52, 28, 95, 0.14) !important;
}

.btn-primary,
.label-primary,
.bg-primary {
  background: linear-gradient(135deg, var(--dd-purple), #9159f8) !important;
  color: #ffffff !important;
}

.btn-info,
.label-info,
.bg-info {
  background: linear-gradient(135deg, #0bb3d5, #31d1c5) !important;
  color: #ffffff !important;
}

.btn-success,
.label-success,
.bg-success {
  background: linear-gradient(135deg, var(--dd-green), var(--dd-green-deep)) !important;
  color: #ffffff !important;
}

.btn-danger,
.label-danger,
.bg-danger {
  background: linear-gradient(135deg, #ff6d95, #ff6b6b) !important;
  color: #ffffff !important;
}

.btn-default {
  background: rgba(111, 53, 233, 0.08) !important;
  color: var(--dd-purple-dark) !important;
  border: 1px solid rgba(111, 53, 233, 0.14) !important;
}

.btn-group.btn-group-justified {
  display: flex;
  gap: 10px;
  width: auto;
}

.btn-group.btn-group-justified > .btn,
.btn-group.btn-group-justified > .btn-group {
  float: none;
  display: flex;
  flex: 1;
  width: auto;
}

.btn-group.btn-group-justified > .btn-group .btn {
  width: 100%;
}

.small-box {
  position: relative;
  overflow: hidden;
  color: #ffffff !important;
  border: 0 !important;
}

.small-box .inner {
  padding: 24px;
}

.small-box .icon {
  top: 18px;
  right: 18px;
  opacity: 0.16;
  font-size: 64px;
}

.small-box-footer {
  background: rgba(0, 0, 0, 0.1) !important;
  color: #ffffff !important;
  font-weight: 700;
}

.main-footer {
  background: rgba(24, 11, 40, 0.94);
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  color: #d8cfef;
}

.main-footer a {
  color: #ffffff;
}

.notification-top-bar {
  background: linear-gradient(135deg, rgba(255, 159, 74, 0.14), rgba(244, 94, 160, 0.12));
  border: 1px solid rgba(255, 159, 74, 0.18);
  border-radius: 20px;
  box-shadow: var(--dd-shadow);
  color: #76440d;
  margin: 18px 24px 0;
}

.ddtech-dashboard-shell,
.ddtech-widget-shell {
  display: flex;
  flex-direction: column;
  gap: 22px;
}

.ddtech-dashboard-hero,
.ddtech-widget-hero {
  position: relative;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  padding: 28px 30px;
  border: 1px solid rgba(232, 223, 245, 0.96);
  border-radius: 30px;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.96), rgba(246, 241, 251, 0.92));
  box-shadow: var(--dd-shadow);
  overflow: hidden;
}

.ddtech-dashboard-hero::before,
.ddtech-widget-hero::before {
  content: "";
  position: absolute;
  right: -90px;
  top: -110px;
  width: 240px;
  height: 240px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(111, 53, 233, 0.16) 0%, rgba(111, 53, 233, 0) 68%);
}

.ddtech-dashboard-kicker,
.ddtech-chart-kicker {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--dd-purple-dark);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.ddtech-dashboard-hero__copy,
.ddtech-widget-hero > div:first-child {
  position: relative;
  z-index: 1;
}

.ddtech-dashboard-hero__copy h2,
.ddtech-widget-hero h2 {
  margin: 8px 0 10px;
  color: #2b0f4a;
  font-size: 34px;
  font-weight: 800;
  letter-spacing: -0.02em;
}

.ddtech-dashboard-hero__copy p,
.ddtech-widget-hero p {
  max-width: 680px;
  margin: 0;
  color: var(--dd-text-soft);
  font-size: 15px;
}

.ddtech-dashboard-hero__actions {
  position: relative;
  z-index: 1;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-end;
  gap: 12px;
}

.ddtech-dashboard-chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 46px;
  padding: 0 16px;
  border: 1px solid var(--dd-border);
  border-radius: 999px;
  background: #ffffff;
  color: var(--dd-text-soft);
  font-weight: 700;
}

.ddtech-widget-hero__hint {
  position: relative;
  z-index: 1;
  max-width: 340px;
  padding: 16px 18px;
  border-radius: 20px;
  background: rgba(111, 53, 233, 0.08);
  color: var(--dd-text);
  font-weight: 700;
  line-height: 1.6;
}

.ddtech-metric-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}

.ddtech-metric-card {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 188px;
  padding: 24px;
  border-radius: 28px;
  color: #ffffff;
  overflow: hidden;
  box-shadow: 0 24px 48px rgba(41, 16, 71, 0.22);
}

.ddtech-metric-card::before {
  content: "";
  position: absolute;
  right: -46px;
  bottom: -56px;
  width: 160px;
  height: 160px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.12);
}

.ddtech-metric-card.is-revenue {
  background: linear-gradient(135deg, #2f135f 0%, #6f35e9 62%, #8f72ff 100%);
}

.ddtech-metric-card.is-monthly {
  background: linear-gradient(135deg, #0b8b6d 0%, #21c06b 60%, #64dfb0 100%);
}

.ddtech-metric-card.is-status {
  background: linear-gradient(135deg, #c15f2c 0%, #ff9f4a 60%, #ffc97a 100%);
}

.ddtech-metric-card.is-customers {
  background: linear-gradient(135deg, #b73b74 0%, #f45ea0 60%, #ff9ec3 100%);
}

.ddtech-metric-card__head,
.ddtech-metric-breakdown,
.ddtech-metric-link,
.ddtech-metric-value {
  position: relative;
  z-index: 1;
}

.ddtech-metric-card__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
}

.ddtech-metric-label {
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  opacity: 0.88;
}

.ddtech-metric-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 46px;
  height: 46px;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.16);
  font-size: 22px;
}

.ddtech-metric-value {
  font-size: 34px;
  font-weight: 800;
  line-height: 1.08;
}

.ddtech-metric-value sup {
  top: -0.8em;
  margin-right: 4px;
  font-size: 15px;
}

.ddtech-metric-breakdown {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.ddtech-metric-breakdown div {
  padding: 14px 16px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.16);
}

.ddtech-metric-breakdown span {
  display: block;
  margin-bottom: 6px;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  opacity: 0.82;
}

.ddtech-metric-breakdown strong {
  font-size: 28px;
  line-height: 1;
}

.ddtech-metric-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #ffffff !important;
  font-weight: 800;
  opacity: 0.95;
}

.ddtech-metric-link:hover {
  color: #ffffff !important;
  text-decoration: none;
  opacity: 1;
}

.ddtech-overview-strip {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.ddtech-overview-window,
.ddtech-overview-balance {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  min-height: 78px;
  padding: 18px 22px;
  border-radius: 24px;
  border: 1px solid var(--dd-border);
  background: rgba(255, 255, 255, 0.88);
  box-shadow: var(--dd-shadow);
  color: var(--dd-text);
}

.ddtech-overview-window {
  flex: 1;
}

.ddtech-overview-balance {
  min-width: 280px;
  background: linear-gradient(135deg, rgba(33, 192, 107, 0.12), rgba(111, 53, 233, 0.08));
  text-decoration: none;
}

.ddtech-overview-label {
  display: block;
  margin-bottom: 6px;
  color: var(--dd-text-soft);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.ddtech-overview-window strong,
.ddtech-overview-balance strong {
  font-size: 20px;
  font-weight: 800;
}

.ddtech-overview-balance strong sup {
  margin-right: 4px;
  top: -0.55em;
  font-size: 13px;
}

.ddtech-chart-card {
  background: var(--dd-surface);
  border: 1px solid var(--dd-border);
  border-radius: 28px;
  box-shadow: var(--dd-shadow);
  overflow: hidden;
}

.ddtech-chart-card__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 20px 24px;
  border-bottom: 1px solid rgba(150, 134, 184, 0.16);
}

.ddtech-chart-card__header h3 {
  margin: 4px 0 0;
  font-size: 26px;
  font-weight: 800;
  letter-spacing: -0.02em;
}

.ddtech-chart-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.ddtech-chart-actions .btn {
  width: 40px;
  height: 40px;
  padding: 0 !important;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 14px !important;
}

.ddtech-chart-card__body {
  min-height: 340px;
  padding: 22px 24px 24px;
}

.ddtech-chart-card__body canvas {
  width: 100% !important;
  height: 100% !important;
}

.ddtech-inline-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 18px 22px;
  border: 1px solid var(--dd-border);
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.88);
  box-shadow: var(--dd-shadow);
}

.ddtech-inline-card__label {
  color: var(--dd-text-soft);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.ddtech-inline-card__value {
  font-size: 18px;
  font-weight: 800;
}

.ddtech-alert {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding: 20px 22px;
  border-radius: 24px;
  box-shadow: var(--dd-shadow);
}

.ddtech-alert__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 46px;
  height: 46px;
  flex: 0 0 46px;
  border-radius: 16px;
  font-size: 20px;
}

.ddtech-alert strong {
  display: block;
  margin-bottom: 4px;
  font-size: 18px;
  font-weight: 800;
}

.ddtech-alert p {
  margin: 0;
  font-weight: 600;
}

.ddtech-alert.is-success {
  background: linear-gradient(135deg, rgba(33, 192, 107, 0.14), rgba(255, 255, 255, 0.96));
  border: 1px solid rgba(33, 192, 107, 0.18);
  color: #166534;
}

.ddtech-alert.is-success .ddtech-alert__icon {
  background: rgba(33, 192, 107, 0.16);
}

.ddtech-alert.is-warning {
  background: linear-gradient(135deg, rgba(255, 159, 74, 0.16), rgba(255, 255, 255, 0.96));
  border: 1px solid rgba(255, 159, 74, 0.2);
  color: #8a4a0d;
}

.ddtech-alert.is-warning .ddtech-alert__icon {
  background: rgba(255, 159, 74, 0.16);
}

.ddtech-alert.is-danger {
  background: linear-gradient(135deg, rgba(244, 94, 160, 0.18), rgba(255, 255, 255, 0.96));
  border: 1px solid rgba(244, 94, 160, 0.2);
  color: #9f1f5b;
}

.ddtech-alert.is-danger .ddtech-alert__icon {
  background: rgba(244, 94, 160, 0.16);
}

.router-status-options {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 18px;
  padding-top: 7px;
}

.router-status-options .radio-inline {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 0;
  padding-left: 0;
  font-weight: 600;
}

.router-status-options .radio-inline + .radio-inline {
  margin-left: 0;
}

.router-status-options .radio-inline input[type="radio"] {
  position: static;
  margin: 0;
}

.router-wireguard-note-row {
  clear: both;
}

.router-wireguard-note-row .alert {
  margin-bottom: 0;
}

@media (max-width: 991px) {
  .router-status-options {
    gap: 12px;
    padding-top: 0;
  }
}

.ddtech-widget-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 0;
  padding: 0;
  border: 0 !important;
}

.ddtech-widget-tabs > li {
  float: none !important;
  margin: 0 !important;
}

.ddtech-widget-tabs > li > a {
  margin: 0 !important;
  padding: 12px 18px !important;
  border: 1px solid rgba(111, 53, 233, 0.14) !important;
  border-radius: 999px !important;
  background: rgba(255, 255, 255, 0.86) !important;
  color: var(--dd-text-soft) !important;
  font-weight: 800;
}

.ddtech-widget-tabs > li.active > a,
.ddtech-widget-tabs > li.active > a:hover,
.ddtech-widget-tabs > li.active > a:focus,
.ddtech-widget-tabs > li > a:hover {
  background: linear-gradient(135deg, rgba(111, 53, 233, 0.14), rgba(33, 192, 107, 0.16)) !important;
  color: var(--dd-text) !important;
  box-shadow: 0 14px 28px rgba(52, 28, 95, 0.1);
}

.ddtech-structure-panel,
.ddtech-widget-panel,
.ddtech-widget-form {
  margin-bottom: 20px;
}

.ddtech-structure-grid {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.ddtech-structure-grid .row {
  margin-left: -5px;
  margin-right: -5px;
}

.ddtech-structure-grid [class*="col-"] {
  padding-left: 5px;
  padding-right: 5px;
}

.ddtech-structure-button {
  min-height: 50px;
  display: flex !important;
  align-items: center;
  justify-content: center;
  border: 1px dashed rgba(111, 53, 233, 0.28) !important;
  background: rgba(111, 53, 233, 0.08) !important;
  color: var(--dd-purple-dark) !important;
  font-weight: 800;
}

.ddtech-widget-pill {
  display: inline-flex;
  align-items: center;
  padding: 8px 12px;
  border-radius: 999px;
  background: rgba(111, 53, 233, 0.08);
  color: var(--dd-purple-dark);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.ddtech-widget-card {
  margin-bottom: 16px;
  border-radius: 22px !important;
  box-shadow: none !important;
}

.ddtech-widget-status {
  margin-left: auto;
  display: inline-flex;
  align-items: center;
  padding: 6px 10px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.ddtech-widget-status.is-enabled {
  background: rgba(33, 192, 107, 0.12);
  color: #147a46;
}

.ddtech-widget-status.is-disabled {
  background: rgba(244, 94, 160, 0.12);
  color: #a61b59;
}

.ddtech-widget-card__name {
  margin-bottom: 16px;
  color: var(--dd-text);
  font-size: 18px;
  font-weight: 800;
}

.ddtech-widget-card__controls {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 160px;
  gap: 14px;
  align-items: center;
}

.ddtech-widget-panel-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
}

.ddtech-widget-panel-footer .btn {
  min-width: 160px;
}

.ddtech-widget-empty {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 18px 20px;
  border-radius: 18px;
  background: rgba(111, 53, 233, 0.06);
  color: var(--dd-text-soft);
  font-weight: 700;
}

.activities .list-unstyled {
  margin: 0;
}

.activities .list-unstyled li {
  position: relative;
  padding-left: 28px;
  padding-bottom: 16px;
}

.activities .list-unstyled li:last-child {
  padding-bottom: 0;
}

.activities .point {
  position: absolute;
  left: 0;
  top: 6px;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--dd-purple);
  box-shadow: 0 0 0 6px rgba(111, 53, 233, 0.12);
}

.activities .time {
  color: var(--dd-text-soft) !important;
}

.activities p {
  margin: 4px 0 0;
  color: var(--dd-text);
}

.ddtech-login-bg {
  min-height: 100vh;
  background:
    linear-gradient(180deg, rgba(246, 241, 251, 0.9), rgba(246, 241, 251, 0.9)),
    url("../images/ddtech-login-smoke.png") center/cover no-repeat;
}

.ddtech-login-hero {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
}

.ddtech-login-hero img {
  width: auto;
  height: 52px;
  border-radius: 14px;
  box-shadow: var(--dd-shadow);
}

.ddtech-login-hero .name {
  color: var(--dd-text);
  font-weight: 900;
}

.login-box,
.login-box-body,
.container .panel {
  border-radius: 28px !important;
}

@media (max-width: 1199px) {
  .ddtech-dashboard-hero,
  .ddtech-widget-hero {
    align-items: flex-start;
    flex-direction: column;
  }

  .ddtech-dashboard-hero__actions {
    justify-content: flex-start;
  }

  .ddtech-metric-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 991px) {
  .content-header,
  .content {
    padding-left: 18px;
    padding-right: 18px;
  }

  .ddtech-search-slot {
    width: min(48vw, 380px);
  }

  .ddtech-overview-strip {
    flex-direction: column;
    align-items: stretch;
  }

  .ddtech-overview-balance {
    min-width: 0;
  }

  .ddtech-widget-card__controls {
    grid-template-columns: 1fr;
  }

  .ddtech-customer-page-size {
    justify-content: flex-start;
    margin-top: 10px;
  }
}

@media (max-width: 767px) {
  .content-header > h1 {
    font-size: 28px;
  }

  .content-header,
  .content {
    padding-left: 14px;
    padding-right: 14px;
  }

  .main-header .logo {
    width: 230px;
    padding: 0 16px;
  }

  .navbar-custom-menu {
    padding-right: 10px;
  }

  .navbar-custom-menu > .navbar-nav {
    gap: 8px;
  }

  .ddtech-search-slot {
    width: calc(100vw - 142px);
  }

  .ddtech-search-shell {
    min-height: 44px;
  }

  .ddtech-search-input.form-control {
    min-height: 42px;
  }

  .ddtech-metric-grid {
    grid-template-columns: 1fr;
  }

  .ddtech-chart-card__body {
    min-height: 280px;
    padding: 18px;
  }

  .ddtech-dashboard-hero,
  .ddtech-widget-hero {
    padding: 22px;
  }

  .ddtech-widget-tabs > li {
    flex: 1 1 calc(50% - 10px);
  }

  .ddtech-widget-tabs > li > a {
    text-align: center;
  }
}

@media (max-width: 480px) {
  .ddtech-search-slot {
    width: calc(100vw - 118px);
  }

  .ddtech-widget-tabs > li {
    flex: 1 1 100%;
  }

  .ddtech-chart-card__header {
    flex-direction: column;
    align-items: flex-start;
  }
}

/* Dark theme cleanup */
body.dark-mode {
  color-scheme: dark;
  background:
    radial-gradient(980px 560px at 0% 0%, rgba(122, 75, 255, 0.22), transparent 58%),
    radial-gradient(820px 460px at 100% 10%, rgba(41, 212, 154, 0.12), transparent 50%),
    linear-gradient(180deg, #1a1530 0%, #181329 48%, #130f22 100%) !important;
  color: #f0ebfb;
}

body.dark-mode .wrapper,
body.dark-mode .content-wrapper,
body.dark-mode .right-side,
body.dark-mode .content,
body.dark-mode .content-header {
  background: transparent !important;
}

body.dark-mode .content-header > h1,
body.dark-mode .content-header > h2,
body.dark-mode .box-header .box-title,
body.dark-mode .panel-title,
body.dark-mode .modal-title,
body.dark-mode h2,
body.dark-mode h3,
body.dark-mode h4 {
  color: #f7f1ff !important;
}

body.dark-mode .content-header > h1 {
  text-shadow: 0 10px 30px rgba(0, 0, 0, 0.22);
}

body.dark-mode .main-header .logo,
body.dark-mode .main-header .navbar {
  background: linear-gradient(135deg, #130d23 0%, #24123e 44%, #1a1133 100%) !important;
  box-shadow: 0 18px 42px rgba(0, 0, 0, 0.35);
}

body.dark-mode .main-header .logo {
  border-right-color: rgba(255, 255, 255, 0.06) !important;
}

body.dark-mode .main-header .navbar .sidebar-toggle:hover,
body.dark-mode .main-header .navbar .nav > li > a:hover,
body.dark-mode .main-header .navbar .nav > li > a:focus {
  background: rgba(255, 255, 255, 0.06) !important;
}

body.dark-mode .main-sidebar,
body.dark-mode .left-side {
  background: linear-gradient(180deg, rgba(14, 10, 22, 0.98) 0%, rgba(10, 8, 18, 0.98) 100%) !important;
  box-shadow: 18px 0 40px rgba(0, 0, 0, 0.32);
}

body.dark-mode .main-sidebar .sidebar {
  background: transparent !important;
}

body.dark-mode .ddtech-sidebar-section {
  color: rgba(202, 187, 232, 0.48);
}

body.dark-mode .sidebar-menu > li > a {
  color: rgba(238, 233, 252, 0.82) !important;
}

body.dark-mode .sidebar-menu > li > a > .fa,
body.dark-mode .sidebar-menu > li > a > .ion,
body.dark-mode .sidebar-menu > li > a > .glyphicon {
  color: rgba(219, 210, 243, 0.68) !important;
}

body.dark-mode .sidebar-menu > li.active > a,
body.dark-mode .sidebar-menu > li > a:hover {
  background: linear-gradient(135deg, rgba(122, 75, 255, 0.24), rgba(41, 212, 154, 0.12)) !important;
  box-shadow: 0 20px 36px rgba(0, 0, 0, 0.32);
}

body.dark-mode .sidebar-menu > li.active > a::before,
body.dark-mode .sidebar-menu > li > a:hover::before {
  background: linear-gradient(180deg, #b38fff, #5ff0b8);
}

body.dark-mode .treeview-menu > li > a {
  color: rgba(224, 216, 244, 0.74) !important;
}

body.dark-mode .treeview-menu > li.active > a,
body.dark-mode .treeview-menu > li > a:hover {
  background: rgba(255, 255, 255, 0.06) !important;
  color: #ffffff !important;
}

body.dark-mode .ddtech-search-shell {
  background: linear-gradient(180deg, rgba(44, 33, 71, 0.94), rgba(33, 25, 52, 0.94));
  border-color: rgba(139, 105, 218, 0.18);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.03);
}

body.dark-mode .ddtech-search-shell:focus-within,
body.dark-mode .ddtech-search-shell.is-open {
  background: linear-gradient(180deg, rgba(44, 33, 71, 0.98), rgba(33, 25, 52, 0.98));
  border-color: rgba(158, 121, 246, 0.32);
  box-shadow: 0 18px 38px rgba(0, 0, 0, 0.28);
}

body.dark-mode .ddtech-search-icon,
body.dark-mode .ddtech-search-input.form-control,
body.dark-mode .ddtech-search-input.form-control::placeholder {
  color: rgba(245, 240, 255, 0.72) !important;
}

body.dark-mode .ddtech-search-shell:focus-within .ddtech-search-icon,
body.dark-mode .ddtech-search-shell.is-open .ddtech-search-icon {
  color: #b38fff !important;
}

body.dark-mode .ddtech-search-shell:focus-within .ddtech-search-input.form-control,
body.dark-mode .ddtech-search-shell.is-open .ddtech-search-input.form-control {
  color: #f7f1ff !important;
}

body.dark-mode .ddtech-search-input.form-control {
  background: transparent !important;
  background-color: transparent !important;
  background-image: none !important;
  border: 0 !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  -webkit-appearance: none;
  appearance: none;
  -webkit-text-fill-color: #f7f1ff !important;
}

body.dark-mode .ddtech-search-shell input,
body.dark-mode .ddtech-search-shell .form-control,
body.dark-mode .ddtech-search-shell .form-control:hover,
body.dark-mode .ddtech-search-shell .form-control:focus {
  background: transparent !important;
  background-color: transparent !important;
  background-image: none !important;
  box-shadow: none !important;
}

body.dark-mode .ddtech-search-input.form-control::-webkit-search-decoration,
body.dark-mode .ddtech-search-input.form-control::-webkit-search-cancel-button,
body.dark-mode .ddtech-search-input.form-control::-webkit-search-results-button,
body.dark-mode .ddtech-search-input.form-control::-webkit-search-results-decoration {
  -webkit-appearance: none;
  display: none;
}

body.dark-mode .ddtech-search-shell:focus-within .ddtech-search-input.form-control::placeholder,
body.dark-mode .ddtech-search-shell.is-open .ddtech-search-input.form-control::placeholder {
  color: rgba(198, 187, 225, 0.72) !important;
}

body.dark-mode .ddtech-search-clear {
  background: rgba(122, 75, 255, 0.16);
  color: #d7c5ff;
}

body.dark-mode .ddtech-dashboard-hero,
body.dark-mode .ddtech-widget-hero,
body.dark-mode .ddtech-chart-card,
body.dark-mode .ddtech-inline-card,
body.dark-mode .ddtech-overview-window,
body.dark-mode .ddtech-overview-balance {
  background: linear-gradient(135deg, rgba(31, 24, 49, 0.96), rgba(24, 20, 39, 0.92)) !important;
  border-color: rgba(122, 75, 255, 0.18) !important;
  box-shadow: 0 24px 52px rgba(0, 0, 0, 0.26);
}

body.dark-mode .ddtech-dashboard-hero::before,
body.dark-mode .ddtech-widget-hero::before {
  background: radial-gradient(circle, rgba(122, 75, 255, 0.26) 0%, rgba(122, 75, 255, 0) 68%);
}

body.dark-mode .ddtech-dashboard-kicker,
body.dark-mode .ddtech-chart-kicker,
body.dark-mode .ddtech-inline-card__label,
body.dark-mode .ddtech-overview-label {
  color: rgba(209, 196, 236, 0.82) !important;
}

body.dark-mode .ddtech-dashboard-hero__copy h2,
body.dark-mode .ddtech-widget-hero h2,
body.dark-mode .ddtech-chart-card__header h3,
body.dark-mode .ddtech-inline-card__value,
body.dark-mode .ddtech-overview-window strong,
body.dark-mode .ddtech-overview-balance strong {
  color: #fbf8ff !important;
}

body.dark-mode .ddtech-dashboard-hero__copy p,
body.dark-mode .ddtech-widget-hero p,
body.dark-mode .ddtech-widget-hero__hint,
body.dark-mode .ddtech-overview-window,
body.dark-mode .ddtech-overview-balance,
body.dark-mode .ddtech-inline-card,
body.dark-mode .ddtech-alert p {
  color: rgba(210, 201, 231, 0.84) !important;
}

body.dark-mode .ddtech-dashboard-chip {
  background: rgba(255, 255, 255, 0.06) !important;
  border-color: rgba(122, 75, 255, 0.18) !important;
  color: #ebe2ff !important;
}

body.dark-mode .ddtech-widget-hero__hint {
  background: rgba(122, 75, 255, 0.12) !important;
}

body.dark-mode .ddtech-chart-card__header {
  border-bottom-color: rgba(122, 75, 255, 0.14) !important;
}

body.dark-mode .ddtech-chart-actions .btn {
  background: rgba(255, 255, 255, 0.06) !important;
  border: 1px solid rgba(122, 75, 255, 0.16) !important;
  color: #d9caff !important;
}

body.dark-mode .ddtech-chart-actions .btn:hover,
body.dark-mode .ddtech-chart-actions .btn:focus {
  background: rgba(122, 75, 255, 0.18) !important;
  color: #ffffff !important;
}

body.dark-mode .ddtech-alert.is-success {
  background: linear-gradient(135deg, rgba(24, 87, 63, 0.78), rgba(23, 35, 31, 0.92)) !important;
  border-color: rgba(41, 212, 154, 0.18) !important;
  color: #b8f3d8 !important;
}

body.dark-mode .ddtech-alert.is-success .ddtech-alert__icon {
  background: rgba(41, 212, 154, 0.14) !important;
  color: #7af2bf !important;
}

body.dark-mode .ddtech-alert.is-warning {
  background: linear-gradient(135deg, rgba(106, 64, 23, 0.78), rgba(35, 26, 20, 0.92)) !important;
  border-color: rgba(255, 159, 74, 0.20) !important;
  color: #ffd8af !important;
}

body.dark-mode .ddtech-alert.is-warning .ddtech-alert__icon {
  background: rgba(255, 159, 74, 0.12) !important;
  color: #ffbe73 !important;
}

body.dark-mode .ddtech-search-results,
body.dark-mode .dropdown-menu,
body.dark-mode .navbar-nav > .user-menu > .dropdown-menu {
  background: rgba(20, 17, 31, 0.98) !important;
  border-color: rgba(122, 75, 255, 0.20) !important;
  box-shadow: 0 28px 50px rgba(0, 0, 0, 0.34);
}

body.dark-mode .ddtech-search-results *,
body.dark-mode .dropdown-menu > li > a,
body.dark-mode .navbar-nav > .user-menu > .dropdown-menu > li > a,
body.dark-mode .navbar-nav > .user-menu > .dropdown-menu p,
body.dark-mode .navbar-nav > .user-menu > .dropdown-menu small {
  color: #f1ecfb !important;
}

body.dark-mode .ddtech-search-results a:hover,
body.dark-mode .ddtech-search-results .list-group-item:hover,
body.dark-mode .ddtech-search-results li:hover,
body.dark-mode .dropdown-menu > li > a:hover {
  background: rgba(122, 75, 255, 0.12) !important;
  color: #ffffff !important;
}

body.dark-mode .navbar-nav > .user-menu > .dropdown-menu > .user-header {
  background: linear-gradient(135deg, rgba(122, 75, 255, 0.18), rgba(41, 212, 154, 0.12)) !important;
}

body.dark-mode .navbar-nav > .user-menu > .dropdown-menu > .user-footer,
body.dark-mode .navbar-nav > .notifications-menu > .dropdown-menu > li.footer > a,
body.dark-mode .navbar-nav > .messages-menu > .dropdown-menu > li.footer > a,
body.dark-mode .navbar-nav > .tasks-menu > .dropdown-menu > li.footer > a {
  background: rgba(255, 255, 255, 0.03) !important;
  border-top-color: rgba(255, 255, 255, 0.06) !important;
  color: #f1ecfb !important;
}

body.dark-mode .box,
body.dark-mode .panel,
body.dark-mode .modal-content,
body.dark-mode .info-box,
body.dark-mode .small-box,
body.dark-mode .callout,
body.dark-mode .nav-tabs-custom {
  background: rgba(20, 17, 31, 0.92) !important;
  border-color: rgba(112, 96, 149, 0.28) !important;
  box-shadow: 0 24px 52px rgba(0, 0, 0, 0.30);
}

body.dark-mode .box-header,
body.dark-mode .panel-heading,
body.dark-mode .modal-header,
body.dark-mode .box-footer,
body.dark-mode .panel-footer,
body.dark-mode .modal-footer,
body.dark-mode .nav-tabs-custom > .tab-content {
  border-color: rgba(112, 96, 149, 0.24) !important;
}

body.dark-mode .box-header,
body.dark-mode .panel-heading,
body.dark-mode .modal-header {
  background: linear-gradient(180deg, rgba(35, 28, 51, 0.98), rgba(26, 21, 39, 0.96)) !important;
  color: #f3eeff !important;
}

body.dark-mode .box-header .box-title,
body.dark-mode .panel-heading,
body.dark-mode .panel-heading a:not(.btn),
body.dark-mode .panel-heading small,
body.dark-mode .modal-title {
  color: #f3eeff !important;
}

body.dark-mode .box-footer,
body.dark-mode .panel-footer,
body.dark-mode .modal-footer {
  background: rgba(18, 15, 28, 0.90) !important;
}

body.dark-mode .table {
  background: transparent;
}

body.dark-mode .table > thead > tr > th {
  color: rgba(192, 182, 218, 0.86) !important;
  border-bottom-color: rgba(112, 96, 149, 0.22) !important;
}

body.dark-mode .table > tbody > tr > td {
  color: #f1ecfb !important;
  border-top-color: rgba(112, 96, 149, 0.14) !important;
}

body.dark-mode .table > tbody > tr:hover {
  background: rgba(122, 75, 255, 0.08) !important;
}

body.dark-mode .table-bordered,
body.dark-mode .table-bordered > thead > tr > th,
body.dark-mode .table-bordered > tbody > tr > td,
body.dark-mode .table-bordered > tfoot > tr > td {
  border-color: rgba(112, 96, 149, 0.18) !important;
}

body.dark-mode .form-control,
body.dark-mode input:not(#filterNavigateMenu),
body.dark-mode textarea:not(#filterNavigateMenu),
body.dark-mode select:not(#filterNavigateMenu),
body.dark-mode .select2-selection:not(#filterNavigateMenu),
body.dark-mode .input-group .form-control,
body.dark-mode .input-group-addon {
  background: rgba(13, 11, 20, 0.92) !important;
  border-color: rgba(122, 75, 255, 0.18) !important;
  color: #f1ecfb !important;
  box-shadow: none !important;
}

body.dark-mode .form-control::placeholder,
body.dark-mode input::placeholder,
body.dark-mode textarea::placeholder {
  color: rgba(188, 177, 214, 0.62) !important;
}

body.dark-mode .form-control:focus,
body.dark-mode input:focus:not(#filterNavigateMenu),
body.dark-mode textarea:focus:not(#filterNavigateMenu),
body.dark-mode select:focus:not(#filterNavigateMenu),
body.dark-mode .select2-selection:focus:not(#filterNavigateMenu) {
  border-color: rgba(122, 75, 255, 0.42) !important;
  box-shadow: 0 0 0 3px rgba(122, 75, 255, 0.14) !important;
}

body.dark-mode .select2-dropdown,
body.dark-mode .select2-results__option[aria-selected],
body.dark-mode .select2-results__option,
body.dark-mode .select2-container--bootstrap .select2-selection--single .select2-selection__rendered,
body.dark-mode .select2-container--bootstrap .select2-selection--single .select2-selection__arrow b {
  background: rgba(20, 17, 31, 0.98) !important;
  color: #f1ecfb !important;
}

body.dark-mode .help-block,
body.dark-mode .text-muted,
body.dark-mode .ddtech-customer-summary,
body.dark-mode .ddtech-customer-summary span,
body.dark-mode .ddtech-customer-page-size label,
body.dark-mode .ddtech-wifi-note,
body.dark-mode p.small,
body.dark-mode .small {
  color: rgba(188, 177, 214, 0.72) !important;
}

body.dark-mode .ddtech-customer-summary strong,
body.dark-mode .ddtech-customer-page-size label,
body.dark-mode .panel-body > .ddtech-customer-summary-row,
body.dark-mode .panel-body > .ddtech-customer-summary-row * {
  color: #e7defa !important;
}

body.dark-mode .btn-default,
body.dark-mode .pagination > li > a,
body.dark-mode .pagination > li > span {
  background: rgba(255, 255, 255, 0.04) !important;
  border-color: rgba(122, 75, 255, 0.18) !important;
  color: #f1ecfb !important;
}

body.dark-mode .pagination > .active > a,
body.dark-mode .pagination > .active > span,
body.dark-mode .pagination > .active > a:hover,
body.dark-mode .pagination > .active > span:hover {
  background: linear-gradient(135deg, rgba(122, 75, 255, 0.90), rgba(41, 212, 154, 0.70)) !important;
  border-color: transparent !important;
  color: #ffffff !important;
}

body.dark-mode .breadcrumb {
  background: rgba(255, 255, 255, 0.04) !important;
  color: rgba(188, 177, 214, 0.74) !important;
}

body.dark-mode .main-footer {
  background: rgba(13, 10, 20, 0.92) !important;
  border-top: 1px solid rgba(112, 96, 149, 0.22) !important;
  color: rgba(233, 225, 248, 0.80) !important;
}

body.dark-mode .main-footer a,
body.dark-mode .navbar-nav > .tasks-menu > .dropdown-menu > li .menu > li > a,
body.dark-mode .navbar-nav > .messages-menu > .dropdown-menu > li .menu > li > a,
body.dark-mode .navbar-nav > .notifications-menu > .dropdown-menu > li .menu > li > a {
  color: #d7c5ff !important;
}

body.dark-mode .ticket-container,
body.dark-mode .ticket-label {
  border-color: rgba(122, 75, 255, 0.16) !important;
}

body.dark-mode .swal2-popup {
  background: rgba(20, 17, 31, 0.98) !important;
  color: #f1ecfb !important;
  border: 1px solid rgba(122, 75, 255, 0.18);
}

body.dark-mode .swal2-title,
body.dark-mode .swal2-html-container {
  color: #f1ecfb !important;
}
