: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 {
  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);
  font-family: "Satoshi", "Segoe UI", Tahoma, sans-serif;
  letter-spacing: 0.01em;
}

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;
}

.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-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;
}

.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);
}

.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;
  }
}

@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;
  }
}
