/*
 * PXP HQ Dashboard — Soft UI overrides
 * Bootstrap 5 + Soft UI Dashboard CSS loaded via layout <link> tags.
 * This file holds only custom additions.
 */

/* ── Disable gradient text globally ──────────────────────────────── */
.text-gradient {
  background: none !important;
  -webkit-background-clip: unset !important;
  background-clip: unset !important;
  -webkit-text-fill-color: unset !important;
}

/* ── Square buttons ──────────────────────────────────────────────── */
.btn {
  border-radius: 0 !important;
}

/* ── Stat card gradient icons ──────────────────────────────────── */
.icon-shape {
  width: 48px;
  height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.icon-shape.border-radius-2xl {
  border-radius: 1rem;
}
.bg-gradient-primary   { background: #7928ca !important; }
.bg-gradient-success   { background: #17ad37 !important; }
.bg-gradient-info      { background: #2152ff !important; }
.bg-gradient-warning   { background: #f53939 !important; }
.bg-gradient-danger    { background: #ea0606 !important; }
.bg-gradient-dark      { background: #141727 !important; }

/* ── Sidebar active state ──────────────────────────────────────── */
.nav-link.active .icon {
  background: #7928ca !important;
}

/* ── Filter pill active ────────────────────────────────────────── */
.btn-filter-active {
  background: #141727;
  color: #fff !important;
  border-color: transparent;
}

/* ── Dashboard stat cards ────────────────────────────────────────── */
.stat-card-dark {
  background: #141727 !important;
  color: #fff;
}
.stat-card-dark .text-sm,
.stat-card-dark .font-weight-bolder,
.stat-card-dark .font-weight-bold,
.stat-card-dark p,
.stat-card-dark h5 {
  color: #fff !important;
}
.stat-card-dark .text-success {
  color: #98ec2d !important;
}

.stat-card-warning {
  background: #fb6340 !important;
  color: #fff;
}
.stat-card-warning .text-sm,
.stat-card-warning .font-weight-bolder,
.stat-card-warning .font-weight-bold,
.stat-card-warning p,
.stat-card-warning h5 {
  color: #fff !important;
}

/* ── Table tweaks ──────────────────────────────────────────────── */
.table > :not(caption) > * > * { vertical-align: middle; }

/* ── Agent cards on swarm overview ────────────────────────────── */
.agent-card {
  border-left: 4px solid;
  transition: transform 0.15s ease;
}
.agent-card:hover {
  transform: translateY(-2px);
}
