* {
  box-sizing: border-box;
  font-family: Rajdhani, sans-serif;
}
:root {
  --bg-main: #050507;
  --bg-card: #0b0c10;
  --bg-rdp: #0f1a1f;
  --purple: #9b4dff;
  --purple-glow: rgba(155,77,255,.35);
  --cyan: #00e5ff;
  --green: #00ff66;
  --red: #ff003c;
  --yellow: #ffb300;
  --border-soft: rgba(255,255,255,.06);
}
body {
  margin: 0;
  background: radial-gradient(circle at top, #1a0000, #000);
  color: #ddd;
}
.text-muted {
  --bs-text-opacity: 1;
  color: #fff !important;
}
a {
  color: inherit;
  text-decoration: none;
}
.stat-tile {
  background: #0b0c10;
  border-radius: 12px;
  padding: 14px 16px;
  border-left: 3px solid transparent;
  display: flex;
  flex-direction: column;
  gap: 4px;
  min-width: 0;
  transition: transform .2s;
}
.stat-tile:hover {
  transform: translateY(-2px);
}
.st-icon {
  font-size: 18px;
  margin-bottom: 4px;
}
.st-value {
  font-size: 22px;
  font-weight: 700;
  color: #fff;
  line-height: 1;
}
.st-label {
  font-size: 11px;
  color: #888;
  text-transform: uppercase;
  letter-spacing: .5px;
}
.ea-token-text {
  word-break: break-all;
  overflow-wrap: anywhere;
  white-space: normal;
}
.ea-token-text a {
  display: block;
  color: #ffd84c;
  font-size: 14px;
  line-height: 1.5;
  white-space: normal;
  word-break: break-all;
  overflow-wrap: anywhere;
  text-decoration: none;
}
.ea-token-text a:hover {
  text-decoration: underline;
}
.grp-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  cursor: pointer;
  padding: 8px 10px;
  border-radius: 6px;
  user-select: none;
  gap: 10px;
}
.grp-header:hover {
  background: rgba(255,255,255,.04);
}
.grp-header.grp-toggle {
  width: 100% !important;
  display: grid !important;
  grid-template-columns: 1fr auto !important;
  align-items: center !important;
}
.grp-header.grp-toggle .grp-left {
  justify-self: start;
}
.grp-header.grp-toggle .grp-icons {
  justify-self: end;
}
.grp-left {
  display: flex;
  align-items: center;
  gap: 8px;
  flex: 1;
  min-width: 0;
}
.grp-name {
  font-weight: 700;
  font-size: 15px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  color: #c77dff;
}
.grp-chevron {
  font-size: 11px;
  color: #888;
  flex-shrink: 0;
  transition: transform .2s ease;
}
.grp-chevron.open {
  transform: rotate(90deg);
}
.grp-icons {
  display: flex;
  align-items: center;
  gap: 6px;
  flex-shrink: 0;
}
.grp-ibtn {
  width: 36px;
  height: 36px;
  background: #050505;
  border: 1px solid #400;
  color: #ff4c4c;
}
.grp-ibtn i {
  font-size: 14px;
}
.grp-ibtn.danger {
  border-color: #600;
}
.rdp-box {
  background: rgba(255,255,255,.03);
  border: 1px solid rgba(255,255,255,.08);
  border-radius: 8px;
  margin-bottom: 12px;
  overflow: hidden;
}
.rdp-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 8px 14px;
  cursor: pointer;
  background: rgba(255,255,255,.04);
  user-select: none;
  gap: 10px;
}
.rdp-header:hover {
  background: rgba(255,255,255,.07);
}
.rdp-header-left {
  display: flex;
  align-items: center;
  gap: 8px;
  flex: 1;
}
.rdp-title-text {
  font-size: 13px;
  font-weight: 600;
  color: #ccc;
}
.rdp-chevron {
  font-size: 10px;
  color: #666;
  transition: transform .2s ease;
}
.rdp-chevron.open {
  transform: rotate(90deg);
}
.rdp-earning-badge {
  background: rgba(40,200,100,.15);
  border: 1px solid rgba(40,200,100,.3);
  color: #4ecb71;
  font-size: 11px;
  font-weight: 700;
  padding: 2px 8px;
  border-radius: 20px;
}
.rdp-meta {
  display: flex;
  align-items: center;
  gap: 8px;
  color: #888;
  font-size: 11px;
  flex-shrink: 0;
}
.rdp-body {
  padding: 10px 12px 12px;
  display: none;
}
.rdp-body.open {
  display: block;
}
.dot {
  width: 26px;
  height: 26px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  font-size: 12px;
  margin-left: 6px;
}
.dot.green {
  background: #063;
  color: #4cff9a;
}
.dot.yellow {
  background: #332200;
  color: #ffcc00;
}
#overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,.85);
  display: none;
  z-index: 9998;
}
.modal {
  position: fixed;
  inset: 0;
  display: none;
  justify-content: center;
  align-items: center;
  z-index: 9999;
}
.modal-content {
  animation: modalIn .2s;
}
@keyframes modalIn {
  from { transform: scale(.95); opacity: 0; }
  to { transform: scale(1); opacity: 1; }
}
.bg-black,
.bg-dark {
  background: #000 !important;
}
.searchable-item {
  transition: .2s;
}
.nav-tree a {
  text-decoration: none;
}
.ok {
  color: #4cff9a;
}
.bad {
  color: #ff4c4c;
}
.ea-ibtn1 {
  width: 44px;
  height: 44px;
  display: inline;
  align-items: center;
  justify-content: center;
  background: #050505;
  border: 1px solid #400;
  border-radius: 12px;
  color: #ff4c4c;
  cursor: pointer;
  transition: .2s;
  flex-wrap: nowrap;
  flex-direction: row-reverse;
  align-content: space-around;
}
.ea-btn, .ea-ibtn {
  width: 34px;
  height: 34px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #050505;
  border: 1px solid #400;
  border-radius: 12px;
  color: #ff4c4c;
  cursor: pointer;
  transition: .2s;
}
.ea-btn i,
.ea-ibtn i {
  font-size: 16px;
  color: #ff4c4c;
}
.ea-btn:hover,
.ea-ibtn:hover {
  border-color: #ff3333;
  box-shadow: 0 0 10px rgba(255,50,50,.6);
  transform: translateY(-1px);
}
.ea-btn:active,
.ea-ibtn:active {
  transform: scale(.96);
  box-shadow: 0 0 6px rgba(255,50,50,.4);
}
.nav-group-title {
  padding: 10px;
  font-weight: 700;
  cursor: pointer;
  background: #1c1f22;
  border-bottom: 1px solid #333;
}
.nav-group-body,
.nav-rdp-body {
  display: none;
}
.nav-rdp-title {
  padding: 8px 10px 8px 20px;
  color: #4cc3ff;
  cursor: pointer;
}
.nav-vm {
  display: block;
  padding: 6px 10px 6px 40px;
  font-size: 13px;
  color: #aaa;
}
.nav-vm:hover {
  color: #fff;
}
.nav-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.nav-toggle-icon {
  cursor: pointer;
  color: #c77dff;
  font-size: 16px;
}
.nav-col {
  transition: .3s;
}
.nav-col.nav-collapsed {
  width: 44px !important;
  max-width: 44px !important;
  flex: 0 0 44px !important;
  padding: 0 !important;
  margin-left: 13px;
}
.nav-col.nav-collapsed .nav-tree,
.nav-col.nav-collapsed .card-header span {
  display: none;
}
.nav-col.nav-collapsed .nav-toggle-icon {
  display: block;
  margin: auto;
  transform: rotate(180deg);
}
.nav-col.nav-collapsed + .main-col {
  width: calc(100% - 44px) !important;
  max-width: calc(100% - 44px) !important;
  flex: 0 0 calc(100% - 44px) !important;
}
.ea-card {
  display: grid !important;
  grid-template-columns: 220px 1fr 260px;
  align-items: center;
  gap: 28px;
  padding: 10px;
  border: 1px solid;
}
.ea-left {
  display: flex;
  align-items: center;
  gap: 14px;
  width: 220px;
}
.ea-center {
  padding-top: 6px;
}
.ea-center * {
  white-space: nowrap;
}
.ea-card.show-center .ea-center {
  width: auto;
  opacity: 1;
}
.ea-right {
  flex: 0 0 auto;
  display: flex;
  gap: 6px;
  justify-content: flex-end;
}
.ea-vm {
  color: #fff;
  font-weight: 600;
}
.ea-left-meta {
  margin-top: 14px;
  font-size: 13px;
  color: #aaa;
}
.ea-status {
  padding: 10px;
  border-radius: 10px;
  font-weight: 700;
}
.ea-status.on {
  background: #062;
  color: #4cff9a;
}
.ea-status.off {
  background: #300;
  color: #ff4c4c;
}
.ea-status small {
  display: block;
  font-size: 11px;
  opacity: .8;
}
.ea-token-box {
  max-width: 520px;
  padding: 12px 14px;
  background: #000;
  border: 1px solid #400;
  border-radius: 12px;
}
.ea-token-box small {
  display: block;
  margin-top: 6px;
  font-size: 12px;
  color: #888;
}
.ea-flags {
  display: flex;
  gap: 18px;
  font-size: 14px;
  flex-wrap: wrap;
}
.ea-sync,
.ea-balance {
  font-size: 13px;
}
.ea-balance {
  margin-top: 6px;
  color: #4cff9a;
}
.card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: relative;
  overflow: hidden;
}
.col-md-3.nav-collapsed {
  width: 64px;
  max-width: 64px;
  flex: 0 0 64px;
  padding: 0;
}
.col-md-3.nav-collapsed .nav-tree {
  display: none;
}
.col-md-3.nav-collapsed ~ .col-md-9 {
  width: 100%;
  max-width: 100%;
  flex: 0 0 100%;
}
@media (max-width: 768px) {
  .col-md-3:has(.nav-tree) {
    position: fixed;
    inset: 0 auto 0 0;
    height: 100%;
    z-index: 1000;
    background: #000;
    transform: translateX(-100%);
    transition: .3s;
  }
  .col-md-3.nav-open {
    transform: translateX(0);
  }
}

.status-blocked {
    color: #ff3b3b;
    font-weight: 600;
}


 

.stat-card {
    background: #151515;
    padding: 20px;
    border-radius: 12px;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    border: 1px solid #222;
}

.stat-glow {
    border-left: 4px solid;
}

.stat-glow.green { border-left-color: #00ff88; box-shadow: inset 5px 0 10px -5px rgba(0, 255, 136, 0.3); }
.stat-glow.red { border-left-color: #ff4d4d; box-shadow: inset 5px 0 10px -5px rgba(255, 77, 77, 0.3); }
.stat-glow.blue { border-left-color: #00d4ff; box-shadow: inset 5px 0 10px -5px rgba(0, 212, 255, 0.3); }
.stat-glow.yellow { border-left-color: #ffcc00; box-shadow: inset 5px 0 10px -5px rgba(255, 204, 0, 0.3); }

.val-main {
    font-size: 24px;
    font-weight: 700;
    display: block;
}

.val-sub {
    font-size: 12px;
    color: #888;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.stat-title {
    font-size: 11px;
    color: #666;
    margin-bottom: 5px;
}

.stat-value {
    font-size: 32px;
    font-weight: 800;
}

.stat-change {
    font-size: 12px;
    margin-top: 5px;
}

.stat-change.up { color: #00ff88; }
.stat-change.down { color: #ff4d4d; }

.nav-pills .nav-link {
    background: #1a1a1a;
    color: #fff;
    margin-right: 10px;
    border-radius: 6px;
    border: 1px solid #333;
}

.nav-pills .nav-link.active {
    background: #333;
}

.group-row {
    border-radius: 8px;
    transition: all 0.3s;
    cursor: pointer;
}

.group-row:hover {
    background: #32383e !important;
}

.toggle-btn i {
    transition: transform 0.3s;
}

.toggle-btn.open i {
    transform: rotate(90deg);
}

.table-dark-ui {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0 5px;
}

.table-dark-ui thead td {
    padding: 10px;
    text-transform: uppercase;
    font-size: 11px;
}

.table-dark-ui tbody tr {
    background: #1a1a1a;
}

.table-dark-ui tbody td {
    padding: 12px 10px;
    border-top: 1px solid #222;
    border-bottom: 1px solid #222;
}

.text-green { color: #00ff88; }
.text-accent { color: #00d4ff; }
.text-danger { color: #ff4d4d; }