/* GlobalX / Vela Trading Dashboard */

/* Market ticker */
.dash-ticker {
  background: var(--bg-1, #081018);
  border-bottom: 1px solid var(--line, rgba(255, 255, 255, 0.07));
  overflow: hidden;
  padding: 10px 0;
}

.dash-ticker__track {
  display: flex;
  gap: 28px;
  width: max-content;
  animation: dashTicker 35s linear infinite;
}

.dash-ticker__item {
  display: flex;
  align-items: center;
  gap: 8px;
  white-space: nowrap;
  font-size: 12px;
  font-weight: 600;
  color: var(--t1, #8ea3b8);
}

.dash-ticker__item .pair {
  color: var(--t0, #f2f7fb);
}

.dash-ticker__item .up {
  color: var(--ok, #3ee0a0);
}
.dash-ticker__item .down {
  color: var(--bad, #f76d7d);
}

.dash-ticker__item--loading {
  color: var(--t2, #5f6678);
  font-weight: 500;
}

@keyframes dashTicker {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-50%);
  }
}

/* Page shell */
.dash-page-header {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 20px;
}

.dash-page-header h1 {
  font-size: 24px;
  font-weight: 800;
  color: var(--t0, #f2f7fb);
  margin: 0 0 4px;
  letter-spacing: -0.02em;
}

.dash-page-header p {
  margin: 0;
  color: var(--t1, #8ea3b8);
  font-size: 14px;
}

.dash-header-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.dash-header-actions .btn {
  border-radius: 12px;
  font-weight: 600;
  font-size: 13px;
  padding: 10px 16px;
}

/* Quick actions */
.dash-quick-actions {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
  margin-bottom: 20px;
}

.dash-quick-btn {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 16px;
  background: var(--bg-2, #0d1824);
  border: 1px solid var(--line, rgba(255, 255, 255, 0.07));
  border-radius: 14px;
  color: var(--t0, #f2f7fb);
  text-decoration: none;
  transition:
    border-color 0.2s ease,
    transform 0.2s ease;
}

.dash-quick-btn:hover {
  border-color: var(--line-2, rgba(255, 255, 255, 0.13));
  color: var(--t0, #f2f7fb);
  transform: translateY(-2px);
}

.dash-quick-btn__icon {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  flex-shrink: 0;
}

.dash-quick-btn__icon.purple {
  background: rgba(0, 224, 198, 0.15);
  color: #5ef0dc;
}
.dash-quick-btn__icon.green {
  background: rgba(51, 212, 147, 0.15);
  color: #3ee0a0;
}
.dash-quick-btn__icon.blue {
  background: rgba(86, 168, 255, 0.15);
  color: #56a8ff;
}
.dash-quick-btn__icon.amber {
  background: rgba(247, 184, 78, 0.15);
  color: #f0c14a;
}

.dash-quick-btn strong {
  display: block;
  font-size: 13px;
  font-weight: 700;
}

.dash-quick-btn small {
  color: var(--t2, #5f6678);
  font-size: 11px;
}

/* Vela stat cards */
.dash-stat-card {
  background: var(--bg-2, #0d1824);
  border: 1px solid var(--line, rgba(255, 255, 255, 0.07));
  border-radius: 18px;
  padding: 18px;
  height: 100%;
  display: flex;
  flex-direction: column;
  transition: border-color 0.2s ease;
}

.dash-stat-card:hover {
  border-color: var(--line-2, rgba(255, 255, 255, 0.13));
}

.dash-stat-card__top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  margin-bottom: 14px;
}

.dash-stat-card__icon {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
}

.dash-stat-card__icon.purple {
  background: rgba(0, 224, 198, 0.15);
  color: #5ef0dc;
}
.dash-stat-card__icon.green {
  background: rgba(51, 212, 147, 0.15);
  color: #3ee0a0;
}
.dash-stat-card__icon.blue {
  background: rgba(86, 168, 255, 0.15);
  color: #56a8ff;
}
.dash-stat-card__icon.amber {
  background: rgba(247, 184, 78, 0.15);
  color: #f0c14a;
}
.dash-stat-card__icon.red {
  background: rgba(247, 109, 125, 0.15);
  color: #f76d7d;
}

.dash-stat-card__badge {
  font-size: 11px;
  font-weight: 700;
  padding: 4px 8px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  gap: 3px;
}

.dash-stat-card__badge.up {
  color: #3ee0a0;
  background: rgba(51, 212, 147, 0.12);
}

.dash-stat-card__badge.neutral {
  color: #8ea3b8;
  background: rgba(255, 255, 255, 0.06);
}

.dash-stat-card__badge.live {
  color: #3ee0a0;
  background: rgba(51, 212, 147, 0.12);
}

.dash-stat-card__badge.red {
  color: #f76d7d;
  background: rgba(247, 109, 125, 0.12);
  border: 1px solid rgba(247, 109, 125, 0.22);
}

.dash-stat-card__label {
  font-size: 12px;
  font-weight: 500;
  color: var(--t1, #8ea3b8);
  margin-bottom: 6px;
}

.dash-stat-card__value {
  font-size: 26px;
  font-weight: 800;
  color: var(--t0, #f2f7fb);
  letter-spacing: -0.02em;
  line-height: 1.1;
  margin-bottom: 12px;
}

.dash-stat-card__value--status {
  font-size: 20px;
  letter-spacing: -0.01em;
}

.dash-stat-card__value--status.is-active {
  color: #3ee0a0;
}

.dash-stat-card__value--status.is-inactive {
  color: #f76d7d;
}

.dash-stat-card--status .dash-stat-card__value {
  margin-bottom: 0;
}

.dash-stat-card__footer {
  margin-top: auto;
  padding-top: 10px;
  border-top: 1px solid var(--line, rgba(255, 255, 255, 0.07));
}

.dash-stat-card__footer a {
  font-size: 12px;
  font-weight: 600;
  color: var(--acc-2, #5ef0dc);
  text-decoration: none;
}

.dash-stat-card__footer a:hover {
  color: var(--acc, #00e0c6);
}

.dash-stat-card__footer a.dash-stat-card__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 72px;
  padding: 8px 16px;
  border-radius: 10px;
  font-size: 12px;
  font-weight: 700;
  background: rgba(0, 224, 198, 0.15);
  border: 1px solid rgba(0, 224, 198, 0.28);
  color: var(--acc-2, #5ef0dc);
  transition:
    background 0.2s ease,
    border-color 0.2s ease,
    color 0.2s ease,
    transform 0.2s ease;
}

.dash-stat-card__footer a.dash-stat-card__btn:hover {
  background: var(--acc, #00e0c6);
  border-color: var(--acc, #00e0c6);
  color: #ffffff;
  transform: translateY(-1px);
}

.dash-stat-card__spark {
  display: flex;
  align-items: flex-end;
  gap: 3px;
  height: 28px;
  margin-top: auto;
}

.dash-stat-card__spark span {
  flex: 1;
  border-radius: 3px 3px 0 0;
  background: linear-gradient(
    180deg,
    rgba(0, 224, 198, 0.8) 0%,
    rgba(0, 224, 198, 0.2) 100%
  );
  animation: dashSpark 1.4s ease-in-out infinite;
}

.dash-stat-card__spark span:nth-child(1) {
  height: 40%;
  animation-delay: 0s;
}
.dash-stat-card__spark span:nth-child(2) {
  height: 70%;
  animation-delay: 0.1s;
}
.dash-stat-card__spark span:nth-child(3) {
  height: 50%;
  animation-delay: 0.2s;
}
.dash-stat-card__spark span:nth-child(4) {
  height: 90%;
  animation-delay: 0.3s;
}
.dash-stat-card__spark span:nth-child(5) {
  height: 60%;
  animation-delay: 0.4s;
}

.dash-stat-card__spark.green span {
  background: linear-gradient(
    180deg,
    rgba(51, 212, 147, 0.8) 0%,
    rgba(51, 212, 147, 0.2) 100%
  );
}

.dash-stat-card__spark.blue span {
  background: linear-gradient(
    180deg,
    rgba(86, 168, 255, 0.8) 0%,
    rgba(86, 168, 255, 0.2) 100%
  );
}

/* Home dashboard stat grid — CSS grid overrides Bootstrap row/col on mobile */
.dash-home-stats.row {
  display: grid !important;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px !important;
  margin-left: 0 !important;
  margin-right: 0 !important;
}

.dash-home-stats > [class*="col-"] {
  width: auto !important;
  max-width: none !important;
  flex: none !important;
  padding-left: 0 !important;
  padding-right: 0 !important;
  margin-bottom: 0 !important;
}

@media (min-width: 992px) {
  .dash-home-stats.row {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (min-width: 1200px) {
  .dash-home-stats.row {
    grid-template-columns: repeat(6, minmax(0, 1fr));
  }
}

@keyframes dashSpark {
  0%,
  100% {
    opacity: 0.5;
    transform: scaleY(0.7);
  }
  50% {
    opacity: 1;
    transform: scaleY(1);
  }
}

/* Shopping voucher */
.dash-voucher {
  position: relative;
  overflow: hidden;
  border-radius: 18px;
  border: 1px solid rgba(0, 224, 198, 0.28);
  background:
    radial-gradient(
      circle at top right,
      rgba(0, 224, 198, 0.18),
      transparent 42%
    ),
    linear-gradient(135deg, #151827 0%, #0d1824 55%, #10121a 100%);
}

.dash-voucher__shine {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    115deg,
    transparent 35%,
    rgba(255, 255, 255, 0.04) 50%,
    transparent 65%
  );
  pointer-events: none;
}

.dash-voucher__inner {
  position: relative;
  z-index: 1;
  display: flex;
  flex-wrap: wrap;
  align-items: stretch;
  gap: 20px;
  padding: 22px 24px;
}

.dash-voucher__content {
  flex: 1;
  min-width: 240px;
}

.dash-voucher__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.55px;
  color: #f0c14a;
  background: rgba(247, 184, 78, 0.12);
  border: 1px solid rgba(247, 184, 78, 0.22);
  border-radius: 999px;
  padding: 6px 12px;
  margin-bottom: 14px;
}

.dash-voucher__content h3 {
  margin: 0 0 8px;
  font-size: 22px;
  font-weight: 800;
  color: var(--t0, #f2f7fb);
  letter-spacing: -0.02em;
}

.dash-voucher__content p {
  margin: 0 0 14px;
  color: var(--t1, #8ea3b8);
  font-size: 14px;
  line-height: 1.55;
  max-width: 560px;
}

.dash-voucher__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.dash-voucher__tags span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  font-weight: 600;
  color: var(--t1, #8ea3b8);
  background: var(--bg-3, #142536);
  border: 1px solid var(--line, rgba(255, 255, 255, 0.07));
  border-radius: 999px;
  padding: 6px 12px;
}

.dash-voucher__ticket {
  position: relative;
  flex: 0 1 340px;
  min-width: 280px;
  align-self: center;
  background: linear-gradient(
    180deg,
    rgba(22, 24, 34, 0.98) 0%,
    rgba(16, 18, 26, 0.98) 100%
  );
  border: 1px solid rgba(247, 184, 78, 0.22);
  border-left: 2px dashed rgba(247, 184, 78, 0.42);
  border-radius: 16px;
  padding: 0 0 0 14px;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04);
}

.dash-voucher__ticket-notch {
  position: absolute;
  left: -11px;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--bg-0, #05070c);
  border: 1px solid rgba(247, 184, 78, 0.24);
  box-shadow: 0 0 0 4px var(--bg-0, #05070c);
  z-index: 2;
}

.dash-voucher__ticket-notch--top {
  top: 22%;
}

.dash-voucher__ticket-notch--bottom {
  bottom: 22%;
}

.dash-voucher__ticket-body {
  padding: 18px 18px 16px 12px;
  text-align: center;
}

.dash-voucher__ticket-label {
  display: block;
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  color: var(--t2, #5f6678);
  margin-bottom: 10px;
}

.dash-voucher__code-wrap {
  background: rgba(9, 10, 15, 0.72);
  border: 1px solid rgba(247, 184, 78, 0.18);
  border-radius: 12px;
  padding: 12px 14px;
  margin-bottom: 14px;
}

.dash-voucher__code {
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: #f0c14a;
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  word-break: break-all;
  line-height: 1.45;
  margin: 0;
  text-shadow: 0 0 18px rgba(247, 184, 78, 0.12);
}

.dash-voucher__copy-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  border: none;
  border-radius: 12px;
  padding: 10px 16px;
  background: linear-gradient(135deg, #00e0c6 0%, #5ef0dc 100%);
  color: #fff;
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
  transition:
    transform 0.15s ease,
    box-shadow 0.15s ease;
}

.dash-voucher__copy-btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 8px 24px rgba(0, 224, 198, 0.28);
}

.dash-voucher__hint {
  display: block;
  margin-top: 10px;
  font-size: 11px;
  color: var(--t2, #5f6678);
}

@media (max-width: 767px) {
  .dash-voucher__inner {
    flex-direction: column;
    padding: 18px 16px;
  }

  .dash-voucher__ticket {
    width: 100%;
    min-width: 0;
    flex: 1 1 auto;
    align-self: stretch;
    padding-left: 12px;
  }

  .dash-voucher__ticket-body {
    padding: 16px 14px 14px 10px;
  }

  .dash-voucher__content h3 {
    font-size: 19px;
  }

  .dash-voucher__code-wrap {
    padding: 10px 12px;
  }

  .dash-voucher__code {
    font-size: 13px;
    letter-spacing: 0.03em;
  }
}

/* Panel cards */
.dash-panel {
  background: var(--bg-2, #0d1824);
  border: 1px solid var(--line, rgba(255, 255, 255, 0.07));
  border-radius: 18px;
  height: 100%;
  overflow: hidden;
}

.dash-panel__head {
  padding: 18px 20px 14px;
  border-bottom: 1px solid var(--line, rgba(255, 255, 255, 0.07));
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.dash-panel__head h3 {
  margin: 0;
  font-size: 15px;
  font-weight: 700;
  color: var(--t0, #f2f7fb);
}

.dash-panel__head span {
  font-size: 12px;
  color: var(--t1, #8ea3b8);
}

.dash-panel__body {
  padding: 18px 20px 20px;
}

.dash-info-table {
  width: 100%;
  border-collapse: collapse;
}

.dash-info-table th,
.dash-info-table td {
  padding: 10px 0;
  border-bottom: 1px solid var(--line, rgba(255, 255, 255, 0.07));
  vertical-align: top;
  text-align: left;
}

.dash-info-table tr:last-child th,
.dash-info-table tr:last-child td {
  border-bottom: none;
  padding-bottom: 0;
}

.dash-info-table th {
  width: 38%;
  font-size: 12px;
  font-weight: 600;
  color: var(--t2, #5f6678);
  text-transform: uppercase;
  letter-spacing: 0.4px;
  padding-right: 12px;
}

.dash-info-table td {
  font-size: 13px;
  font-weight: 600;
  color: var(--t0, #f2f7fb);
  word-break: break-word;
}

.dash-panel__total {
  font-size: 13px;
  color: var(--t1, #8ea3b8);
  margin-bottom: 16px;
}

.dash-panel__total strong {
  color: var(--t0, #f2f7fb);
  font-weight: 700;
}

.dash-income-bars {
  display: flex;
  height: 8px;
  border-radius: 999px;
  overflow: hidden;
  background: var(--bg-3, #142536);
  margin-bottom: 18px;
}

.dash-income-bars span {
  display: block;
  height: 100%;
}

.dash-income-bars .purple {
  background: #00e0c6;
}
.dash-income-bars .blue {
  background: #56a8ff;
}
.dash-income-bars .green {
  background: #3ee0a0;
}
.dash-income-bars .amber {
  background: #f0c14a;
}
.dash-income-bars .red {
  background: #f76d7d;
}

.dash-income-row {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 0;
  border-bottom: 1px solid var(--line, rgba(255, 255, 255, 0.07));
}

.dash-income-row:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.dash-income-dot {
  width: 10px;
  height: 10px;
  border-radius: 3px;
  flex-shrink: 0;
}

.dash-income-dot.purple {
  background: #00e0c6;
}
.dash-income-dot.blue {
  background: #56a8ff;
}
.dash-income-dot.green {
  background: #3ee0a0;
}
.dash-income-dot.amber {
  background: #f0c14a;
}
.dash-income-dot.red {
  background: #f76d7d;
}

.dash-bonus-chart {
  position: relative;
  height: 260px;
  padding: 8px 16px 16px;
  border-top: 1px solid var(--line, rgba(255, 255, 255, 0.07));
}

.dash-income-row .label {
  flex: 1;
  font-size: 13px;
  color: var(--t1, #8ea3b8);
}

.dash-income-row .value {
  font-size: 14px;
  font-weight: 700;
  color: var(--t0, #f2f7fb);
}

/* Withdrawal wallet page */
.dash-wallet-page {
  max-width: 1100px;
}

.dash-wallet-hero {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 24px 28px;
  margin-bottom: 20px;
  background: linear-gradient(
    135deg,
    rgba(51, 212, 147, 0.1) 0%,
    var(--bg-2, #0d1824) 55%
  );
  border: 1px solid rgba(51, 212, 147, 0.22);
  border-radius: 18px;
}

.dash-wallet-hero__label {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--ok, #3ee0a0);
  margin-bottom: 6px;
}

.dash-wallet-hero__balance {
  font-size: 40px;
  font-weight: 800;
  color: var(--t0, #f2f7fb);
  letter-spacing: -0.03em;
  line-height: 1.05;
  margin-bottom: 6px;
}

.dash-wallet-hero__balance small {
  font-size: 24px;
  font-weight: 700;
  color: var(--t1, #8ea3b8);
  margin-right: 2px;
}

.dash-wallet-hero__sub {
  margin: 0 0 14px;
  font-size: 14px;
  color: var(--t1, #8ea3b8);
}

.dash-wallet-hero__chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.dash-wallet-chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 11px;
  font-weight: 600;
  padding: 5px 10px;
  border-radius: 999px;
  background: var(--bg-3, #142536);
  border: 1px solid var(--line, rgba(255, 255, 255, 0.07));
  color: var(--t1, #8ea3b8);
}

.dash-wallet-chip.blue {
  color: var(--info, #56a8ff);
  border-color: rgba(86, 168, 255, 0.25);
  background: rgba(86, 168, 255, 0.08);
}

.dash-wallet-chip.green {
  color: var(--ok, #3ee0a0);
  border-color: rgba(51, 212, 147, 0.25);
  background: rgba(51, 212, 147, 0.08);
}

.dash-wallet-chip.amber {
  color: var(--warn, #f0c14a);
  border-color: rgba(247, 184, 78, 0.25);
  background: rgba(247, 184, 78, 0.08);
}

.dash-wallet-hero__icon {
  width: 64px;
  height: 64px;
  border-radius: 16px;
  background: rgba(51, 212, 147, 0.12);
  border: 1px solid rgba(51, 212, 147, 0.25);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 26px;
  color: var(--ok, #3ee0a0);
  flex-shrink: 0;
}

.dash-wallet-hero--bonus {
  background: linear-gradient(
    135deg,
    rgba(0, 224, 198, 0.12) 0%,
    var(--bg-2, #0d1824) 55%
  );
  border-color: rgba(0, 224, 198, 0.28);
}

.dash-wallet-hero--bonus .dash-wallet-hero__label {
  color: var(--acc-2, #5ef0dc);
}

.dash-wallet-hero--bonus .dash-wallet-hero__icon {
  background: rgba(0, 224, 198, 0.15);
  border-color: rgba(0, 224, 198, 0.3);
  color: var(--acc-2, #5ef0dc);
}

.dash-wallet-hero--deposit {
  background: linear-gradient(
    135deg,
    rgba(86, 168, 255, 0.12) 0%,
    var(--bg-2, #0d1824) 55%
  );
  border-color: rgba(86, 168, 255, 0.28);
}

.dash-wallet-hero--deposit .dash-wallet-hero__label {
  color: var(--info, #56a8ff);
}

.dash-wallet-hero--deposit .dash-wallet-hero__icon {
  background: rgba(86, 168, 255, 0.15);
  border-color: rgba(86, 168, 255, 0.3);
  color: var(--info, #56a8ff);
}

a.dash-wallet-chip {
  text-decoration: none;
  transition:
    border-color 0.2s ease,
    background 0.2s ease;
}

a.dash-wallet-chip:hover {
  border-color: rgba(247, 184, 78, 0.45);
  background: rgba(247, 184, 78, 0.14);
  color: var(--warn, #f0c14a);
}

.dash-fund-feedback {
  min-height: 0;
  font-size: 13px;
  font-weight: 600;
  margin: -8px 0 4px;
}

.dash-fund-feedback.is-error {
  color: var(--bad, #f76d7d);
}

.dash-fund-feedback.is-ok {
  color: var(--ok, #3ee0a0);
}

.dash-wallet-panel .dash-wallet-note {
  margin-top: 18px;
}

.dash-wallet-page .row > [class*="col-"] {
  display: flex;
}

.dash-wallet-panel {
  flex: 1;
  display: flex;
  flex-direction: column;
}

.dash-wallet-panel .dash-table-panel__body--fill {
  flex: 1;
  display: flex;
  flex-direction: column;
}

.dash-wallet-closed {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 18px;
  border-radius: 14px;
  background: rgba(247, 184, 78, 0.08);
  border: 1px solid rgba(247, 184, 78, 0.2);
  margin-bottom: 16px;
}

.dash-wallet-closed i {
  font-size: 22px;
  color: var(--warn, #f0c14a);
  margin-top: 2px;
}

.dash-wallet-closed p {
  margin: 0;
  font-size: 14px;
  line-height: 1.5;
  color: var(--t1, #8ea3b8);
}

.dash-wallet-closed strong {
  color: var(--t0, #f2f7fb);
}

.dash-wallet-note {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-top: auto;
  padding: 14px 16px;
  border-radius: 12px;
  background: rgba(86, 168, 255, 0.06);
  border: 1px solid rgba(86, 168, 255, 0.15);
  font-size: 12px;
  line-height: 1.5;
  color: var(--t1, #8ea3b8);
}

.dash-wallet-note i {
  color: var(--info, #56a8ff);
  margin-top: 2px;
}

.dash-wallet-note strong {
  color: var(--t0, #f2f7fb);
}

.dash-wallet-page .dash-profile-form--stacked {
  flex: 1;
}

@media (max-width: 767px) {
  .dash-wallet-hero {
    flex-direction: column;
    align-items: flex-start;
  }
}

.dash-wallet-balance {
  font-size: 28px;
  font-weight: 800;
  color: var(--t0, #f2f7fb);
  letter-spacing: -0.02em;
  margin: 8px 0 16px;
}

.dash-wallet-actions {
  display: flex;
  gap: 8px;
}

.dash-wallet-actions .btn {
  flex: 1;
  border-radius: 12px;
  font-weight: 600;
  font-size: 13px;
  padding: 10px 14px;
}

.dash-wallet-actions .btn-deposit {
  background: var(--acc, #00e0c6);
  border: none;
  color: #fff;
}

.dash-wallet-actions .btn-deposit:hover {
  background: #00c4b0;
  color: #fff;
}

.dash-wallet-actions .btn-withdraw {
  background: transparent;
  border: 1px solid var(--line-2, rgba(255, 255, 255, 0.13));
  color: var(--t0, #f2f7fb);
}

.dash-wallet-actions .btn-withdraw:hover {
  border-color: var(--acc, #00e0c6);
  color: var(--acc-2, #5ef0dc);
}

.dash-withdraw-timer {
  margin: 14px 0 16px;
  padding: 14px 16px;
  border-radius: 14px;
  border: 1px solid var(--line, rgba(255, 255, 255, 0.07));
  background: var(--bg-3, #142536);
}

.dash-withdraw-timer__label {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--t2, #6b7289);
  margin-bottom: 10px;
}

.dash-withdraw-timer__grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 8px;
}

.dash-withdraw-timer__grid div {
  text-align: center;
  padding: 8px 4px;
  border-radius: 10px;
  background: rgba(0, 255, 65, 0.06);
  border: 1px solid rgba(0, 255, 65, 0.22);
  box-shadow: inset 0 0 12px rgba(0, 255, 65, 0.04);
}

.dash-withdraw-timer__grid span {
  display: block;
  font-size: 20px;
  font-weight: 800;
  line-height: 1.1;
  color: #00ff41;
  font-variant-numeric: tabular-nums;
  font-family: "Courier New", Courier, monospace;
  text-shadow: 0 0 8px rgba(0, 255, 65, 0.55);
}

.dash-withdraw-timer__grid small {
  display: block;
  margin-top: 4px;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #00b832;
}

.dash-withdraw-timer__meta {
  margin-top: 10px;
  font-size: 11px;
  color: var(--t2, #6b7289);
}

.dash-withdraw-timer__ready {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 600;
  color: #3ee0a0;
}

.dash-withdraw-timer__ready i {
  font-size: 16px;
}

.dash-withdraw-timer--ready {
  border-color: rgba(51, 212, 147, 0.25);
  background: rgba(51, 212, 147, 0.08);
}

.dash-withdraw-timer--inactive {
  border-color: rgba(247, 109, 125, 0.2);
  background: rgba(247, 109, 125, 0.06);
}

.dash-withdraw-timer__inactive-msg {
  font-size: 13px;
  color: var(--t1, #8ea3b8);
  line-height: 1.45;
}

/* Welcome card trading variant */
.dash-welcome {
  background: var(--bg-2, #0d1824);
  border: 1px solid var(--line, rgba(255, 255, 255, 0.07));
  border-radius: 18px;
  padding: 22px 24px;
  margin-bottom: 20px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 20px;
  max-width: 100%;
  overflow: hidden;
}

.dash-welcome__top {
  display: contents;
}

.dash-welcome__avatar {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  overflow: hidden;
  border: 2px solid var(--line-2, rgba(255, 255, 255, 0.13));
  flex-shrink: 0;
}

.dash-welcome__avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.dash-welcome__main {
  flex: 1;
  min-width: 0;
}

.dash-welcome__main h2 {
  font-size: 22px;
  font-weight: 800;
  color: var(--t0, #f2f7fb);
  margin: 0 0 6px;
  letter-spacing: -0.02em;
}

.dash-welcome__main p {
  margin: 0;
  color: var(--t1, #8ea3b8);
  font-size: 14px;
}

.dash-welcome__main .highlight {
  color: var(--acc-2, #5ef0dc);
  font-weight: 600;
}

.dash-welcome__pills {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 12px;
}

.dash-welcome__pill {
  font-size: 11px;
  font-weight: 600;
  padding: 5px 10px;
  border-radius: 999px;
  background: var(--bg-3, #142536);
  border: 1px solid var(--line, rgba(255, 255, 255, 0.07));
  color: var(--t1, #8ea3b8);
}

.dash-welcome__pill.live {
  color: #3ee0a0;
  border-color: rgba(51, 212, 147, 0.25);
  background: rgba(51, 212, 147, 0.08);
}

.dash-welcome__ref {
  flex: 1;
  min-width: 0;
  max-width: 420px;
  background: var(--bg-3, #142536);
  border: 1px solid var(--line, rgba(255, 255, 255, 0.07));
  border-radius: 14px;
  padding: 12px 14px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.dash-welcome__ref-body {
  flex: 1;
  min-width: 0;
}

.dash-welcome__ref-label {
  display: block;
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.6px;
  color: var(--t2, #5f6678);
  margin-bottom: 4px;
}

.dash-welcome__ref-link {
  font-size: 12px;
  font-weight: 700;
  color: var(--t0, #f2f7fb);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.dash-welcome__ref-actions {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
}

.dash-welcome__ref-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  background: var(--acc, #00e0c6);
  color: #fff !important;
  border: none;
  border-radius: 10px;
  padding: 8px 14px;
  font-size: 12px;
  font-weight: 600;
  text-decoration: none;
  white-space: nowrap;
}

.dash-welcome__ref-btn:hover {
  background: #00c4b0;
  color: #fff !important;
}

.dash-welcome__ref-btn--whatsapp {
  background: #25d366;
}

.dash-welcome__ref-btn--whatsapp:hover {
  background: #1ebe57;
  color: #fff !important;
}

.dash-section-title {
  font-size: 16px;
  font-weight: 700;
  color: var(--t0, #f2f7fb);
  margin-bottom: 14px;
  letter-spacing: -0.01em;
}

@media (max-width: 991px) {
  .dash-quick-actions {
    grid-template-columns: repeat(2, 1fr);
  }

  .dash-welcome {
    flex-direction: column;
    align-items: stretch;
    padding: 18px 16px;
    gap: 16px;
  }

  .dash-welcome__top {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    width: 100%;
    min-width: 0;
  }

  .dash-welcome__ref {
    width: 100%;
    max-width: none;
  }
}

@media (max-width: 575px) {
  .dash-quick-actions {
    grid-template-columns: 1fr;
  }

  .dash-welcome {
    padding: 14px;
    gap: 12px;
    border-radius: 14px;
  }

  .dash-welcome__avatar {
    width: 52px;
    height: 52px;
  }

  .dash-welcome__main h2 {
    font-size: 17px;
    line-height: 1.35;
    word-break: break-word;
  }

  .dash-welcome__main p {
    font-size: 13px;
  }

  .dash-welcome__pills {
    margin-top: 10px;
    gap: 6px;
  }

  .dash-welcome__pill {
    font-size: 10px;
    padding: 4px 8px;
  }

  .dash-welcome__ref {
    flex-direction: column;
    align-items: stretch;
    gap: 10px;
    padding: 12px;
  }

  .dash-welcome__ref-link {
    font-size: 11px;
    white-space: normal;
    word-break: break-all;
    line-height: 1.45;
  }

  .dash-welcome__ref-actions {
    width: 100%;
  }

  .dash-welcome__ref-actions .dash-welcome__ref-btn {
    flex: 1;
    text-align: center;
    padding: 10px 14px;
  }

  .dash-stat-card__value {
    font-size: 22px;
  }

  .dash-home-stats .dash-stat-card {
    padding: 16px 14px;
    border-radius: 14px;
  }

  .dash-home-stats .dash-stat-card__top {
    margin-bottom: 12px;
  }

  .dash-home-stats .dash-stat-card__icon {
    width: 36px;
    height: 36px;
    font-size: 15px;
    border-radius: 10px;
  }

  .dash-home-stats .dash-stat-card__label {
    font-size: 11px;
    line-height: 1.35;
    margin-bottom: 6px;
  }

  .dash-home-stats .dash-stat-card__value {
    font-size: 20px;
    margin-bottom: 10px;
  }

  .dash-home-stats .dash-stat-card__footer {
    padding-top: 8px;
  }

  .dash-home-stats .dash-stat-card__footer a {
    font-size: 11px;
  }
}

/* Data tables — downline & reports */
.dash-table-panel {
  background: var(--bg-2, #0d1824);
  border: 1px solid var(--line, rgba(255, 255, 255, 0.07));
  border-radius: 18px;
  overflow: hidden;
}

.dash-table-panel__head {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 18px 20px;
  border-bottom: 1px solid var(--line, rgba(255, 255, 255, 0.07));
}

.dash-table-panel__head h3 {
  margin: 0;
  font-size: 16px;
  font-weight: 700;
  color: var(--t0, #f2f7fb);
}

.dash-table-panel__head p {
  margin: 4px 0 0;
  font-size: 13px;
  color: var(--t1, #8ea3b8);
}

.dash-table-panel__filter {
  min-width: 180px;
}

.dash-table-panel__filter label {
  display: block;
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: var(--t2, #5f6678);
  margin-bottom: 6px;
}

.dash-table-panel__filter .form-select {
  background: var(--bg-3, #142536);
  border: 1px solid var(--line, rgba(255, 255, 255, 0.07));
  border-radius: 12px;
  color: var(--t0, #f2f7fb);
  font-size: 13px;
  font-weight: 500;
  padding: 10px 14px;
}

.dash-table-panel__filter .form-select:focus {
  border-color: var(--acc, #00e0c6);
  box-shadow: 0 0 0 3px var(--acc-soft, rgba(0, 224, 198, 0.15));
}

.ref-nav {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin: 0 0 12px;
}

.ref-nav__btn {
  appearance: none;
  -webkit-appearance: none;
  border: 1px solid rgba(0, 224, 198, 0.28);
  background: rgba(0, 224, 198, 0.08);
  color: #5ef0dc;
  border-radius: 999px;
  padding: 8px 14px;
  font-family: inherit;
  font-size: 13px;
  font-weight: 700;
  line-height: 1.2;
  cursor: pointer;
}

.ref-nav__btn:hover {
  background: rgba(0, 224, 198, 0.16);
}

.ref-nav__path {
  flex: 1 1 100%;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
  margin: 0;
  padding: 0;
  list-style: none;
  color: #8ea3b8;
  font-size: 13px;
  font-weight: 600;
}

.ref-nav__path li {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.ref-nav__path li[aria-current="page"] {
  color: #f2f7fb;
}

.ref-nav__path button,
.ref-id {
  appearance: none;
  -webkit-appearance: none;
  border: 0;
  background: none;
  padding: 0;
  color: #5ef0dc;
  font-family: inherit;
  font-size: inherit;
  font-weight: 700;
  line-height: inherit;
  cursor: pointer;
  text-align: left;
}

.ref-nav__path button:hover,
.ref-id:hover {
  text-decoration: underline;
}

.dash-table-panel__body {
  padding: 0;
}

.dash-table-panel__body--padded {
  padding: 20px 22px;
}

.dash-table-panel__body--fill {
  height: 100%;
}

.dash-table-wrap {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

.dash-table,
body.trading-dashboard-theme .data-table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  margin: 0;
  background: transparent !important;
  backdrop-filter: none !important;
}

.dash-table thead th,
body.trading-dashboard-theme .data-table thead th {
  background: var(--bg-3, #142536) !important;
  padding: 12px 16px;
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: var(--t1, #8ea3b8) !important;
  border-bottom: 1px solid var(--line, rgba(255, 255, 255, 0.07)) !important;
  white-space: nowrap;
}

.dash-table tbody td,
body.trading-dashboard-theme .data-table tbody td {
  padding: 14px 16px;
  font-size: 13px;
  color: var(--t0, #f2f7fb) !important;
  border-bottom: 1px solid var(--line, rgba(255, 255, 255, 0.07)) !important;
  vertical-align: middle;
  background: transparent !important;
}

.dash-table tbody tr:last-child td,
body.trading-dashboard-theme .data-table tbody tr:last-child td {
  border-bottom: none !important;
}

.dash-table tbody tr,
body.trading-dashboard-theme .data-table tbody tr {
  transition: background 0.15s ease;
  animation: none !important;
  transform: none !important;
}

.dash-table tbody tr:hover,
body.trading-dashboard-theme .data-table tbody tr:hover {
  background: rgba(0, 224, 198, 0.06) !important;
  box-shadow: none !important;
  transform: none !important;
}

.dash-table .col-index {
  color: var(--t2, #5f6678) !important;
  font-weight: 600;
  width: 48px;
}

.dash-table .col-id {
  font-weight: 700;
  color: var(--t0, #f2f7fb) !important;
}

.dash-table .col-muted {
  color: var(--t1, #8ea3b8) !important;
}

.dash-table .col-money {
  font-weight: 700;
  font-variant-numeric: tabular-nums;
  color: var(--t0, #f2f7fb) !important;
}

.ox-count {
  display: inline-grid;
  place-items: center;
  min-width: 28px;
  height: 28px;
  padding: 0 8px;
  border-radius: 999px;
  border: 1px solid rgba(0, 224, 198, 0.45);
  background: rgba(0, 224, 198, 0.14);
  color: #e8fffb;
  font-size: 13px;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
  letter-spacing: -0.03em;
  line-height: 1;
}

.ox-count--gold {
  border-color: rgba(240, 193, 74, 0.55);
  background: rgba(240, 193, 74, 0.16);
  color: #ffe7a3;
}

body.trading-dashboard-theme .dash-table.data-table thead th.col-green,
body.trading-dashboard-theme .dash-table.data-table tbody td.col-green,
.dash-table thead th.col-green,
.dash-table tbody td.col-green {
  color: #3ee0a0 !important;
  font-weight: 700;
}

body.trading-dashboard-theme .dash-table.data-table thead th.col-amber,
body.trading-dashboard-theme .dash-table.data-table tbody td.col-amber,
.dash-table thead th.col-amber,
.dash-table tbody td.col-amber {
  color: #f0c14a !important;
}

.dash-single-leg-page .dash-table thead th:nth-child(4),
.dash-single-leg-page .dash-table tbody td:nth-child(4) {
  color: #3ee0a0 !important;
}

.dash-single-leg-page .dash-table thead th:nth-child(5),
.dash-single-leg-page .dash-table tbody td:nth-child(5) {
  color: #f0c14a !important;
}

.dash-badge {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 5px 10px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 600;
  white-space: nowrap;
}

.dash-badge--active {
  color: #3ee0a0;
  background: rgba(51, 212, 147, 0.12);
  border: 1px solid rgba(51, 212, 147, 0.25);
}

.dash-badge--inactive {
  color: #f0c14a;
  background: rgba(247, 184, 78, 0.12);
  border: 1px solid rgba(247, 184, 78, 0.25);
}

.dash-badge--done {
  color: #56a8ff;
  background: rgba(86, 168, 255, 0.12);
  border: 1px solid rgba(86, 168, 255, 0.25);
}

.dash-badge--pending {
  color: #f0c14a;
  background: rgba(247, 184, 78, 0.12);
  border: 1px solid rgba(247, 184, 78, 0.25);
}

.dash-badge--transferred {
  color: #3ee0a0;
  background: rgba(51, 212, 147, 0.12);
  border: 1px solid rgba(51, 212, 147, 0.25);
}

.dash-badge--info {
  color: #56a8ff;
  background: rgba(86, 168, 255, 0.12);
  border: 1px solid rgba(86, 168, 255, 0.25);
}

.dash-badge--danger {
  color: #f76d7d;
  background: rgba(247, 109, 125, 0.12);
  border: 1px solid rgba(247, 109, 125, 0.25);
}

.dash-table .col-txid {
  max-width: 140px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-size: 12px;
  color: var(--t1, #8ea3b8) !important;
}

.dash-table .tx-link {
  color: var(--acc-2, #5ef0dc);
  font-size: 12px;
  font-weight: 600;
  text-decoration: none;
}

.dash-table .tx-link:hover {
  color: var(--acc, #00e0c6);
}

body.trading-dashboard-theme .badge-success,
body.trading-dashboard-theme .dash-badge--active {
  background: rgba(51, 212, 147, 0.12) !important;
  color: #3ee0a0 !important;
  border: 1px solid rgba(51, 212, 147, 0.25) !important;
  box-shadow: none !important;
  backdrop-filter: none !important;
}

body.trading-dashboard-theme .badge-warning,
body.trading-dashboard-theme .dash-badge--inactive {
  background: rgba(247, 184, 78, 0.12) !important;
  color: #f0c14a !important;
  border: 1px solid rgba(247, 184, 78, 0.25) !important;
  box-shadow: none !important;
  backdrop-filter: none !important;
}

body.trading-dashboard-theme .dash-badge--done {
  background: rgba(86, 168, 255, 0.12) !important;
  color: #56a8ff !important;
  border: 1px solid rgba(86, 168, 255, 0.25) !important;
  box-shadow: none !important;
  backdrop-filter: none !important;
}

body.trading-dashboard-theme .dash-badge--pending {
  background: rgba(247, 184, 78, 0.12) !important;
  color: #f0c14a !important;
  border: 1px solid rgba(247, 184, 78, 0.25) !important;
  box-shadow: none !important;
}

body.trading-dashboard-theme .dash-badge--transferred {
  background: rgba(51, 212, 147, 0.12) !important;
  color: #3ee0a0 !important;
  border: 1px solid rgba(51, 212, 147, 0.25) !important;
  box-shadow: none !important;
}

body.trading-dashboard-theme .dash-badge--info {
  background: rgba(86, 168, 255, 0.12) !important;
  color: #56a8ff !important;
  border: 1px solid rgba(86, 168, 255, 0.25) !important;
  box-shadow: none !important;
}

body.trading-dashboard-theme .dash-badge--danger {
  background: rgba(247, 109, 125, 0.12) !important;
  color: #f76d7d !important;
  border: 1px solid rgba(247, 109, 125, 0.25) !important;
  box-shadow: none !important;
}

.dash-table-empty {
  padding: 48px 20px;
  text-align: center;
  color: var(--t1, #8ea3b8);
  font-size: 14px;
}

.dash-table-empty i {
  display: block;
  font-size: 32px;
  color: var(--t2, #5f6678);
  margin-bottom: 12px;
}

.dash-table-count {
  font-size: 12px;
  color: var(--t2, #5f6678);
  padding: 12px 20px;
  border-top: 1px solid var(--line, rgba(255, 255, 255, 0.07));
}

.dash-table-count strong {
  color: var(--acc-2, #5ef0dc);
}

.dash-table-more {
  display: flex;
  justify-content: center;
  padding: 0 16px 16px;
}

.dash-table-more button {
  border: 1px solid rgba(0, 224, 198, 0.35);
  background: rgba(0, 224, 198, 0.08);
  color: #5ef0dc;
  border-radius: 999px;
  padding: 8px 16px;
  font: inherit;
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
}

.dash-table-more button:disabled {
  opacity: 0.6;
  cursor: default;
}

/* Top header logo — native 100×40 asset, no upscale blur */
.top-header .header-logo {
  display: flex;
  align-items: center;
  flex-shrink: 0;
  line-height: 0;
  text-decoration: none;
}

.top-header .logo-img,
.top-header .xl-logo {
  display: inline-block;
  line-height: 0;
}

.top-header .logo-img {
  height: auto;
  max-height: none;
  width: auto;
  max-width: none;
}

body.trading-dashboard-theme .top-header {
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
}

@media (max-width: 767px) {
  .top-header .xl-logo {
    transform: scale(0.9);
    transform-origin: left center;
  }

  .dash-table-panel__head {
    flex-direction: column;
    align-items: stretch;
  }

  .dash-table-panel__filter {
    width: 100%;
  }

  .dash-table thead th,
  .dash-table tbody td,
  body.trading-dashboard-theme .data-table thead th,
  body.trading-dashboard-theme .data-table tbody td {
    padding: 10px 12px;
    font-size: 12px;
  }

  .dash-deposit-address {
    flex-direction: column;
  }

  .dash-deposit-copy {
    width: 100%;
    justify-content: center;
  }
}

/* USDT BEP-20 deposit page */
.dash-deposit-page {
  margin-bottom: 24px;
}

.dash-deposit-hero {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 24px 28px;
  margin-bottom: 20px;
  background: linear-gradient(
    135deg,
    rgba(86, 168, 255, 0.12) 0%,
    var(--bg-2, #0d1824) 55%
  );
  border: 1px solid rgba(86, 168, 255, 0.22);
  border-radius: 18px;
}

.dash-deposit-hero__label {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.6px;
  color: #56a8ff;
  margin-bottom: 6px;
}

.dash-deposit-hero__title {
  margin: 0 0 8px;
  font-size: 24px;
  font-weight: 800;
  color: var(--t0, #f2f7fb);
  letter-spacing: -0.02em;
}

.dash-deposit-hero__sub {
  margin: 0;
  font-size: 14px;
  color: var(--t1, #8ea3b8);
  line-height: 1.5;
}

.dash-deposit-hero__chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 14px;
}

.dash-deposit-chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 11px;
  font-weight: 600;
  padding: 5px 10px;
  border-radius: 999px;
  background: var(--bg-3, #142536);
  border: 1px solid var(--line, rgba(255, 255, 255, 0.07));
  color: var(--t1, #8ea3b8);
}

.dash-deposit-chip.green {
  color: #3ee0a0;
  border-color: rgba(51, 212, 147, 0.25);
  background: rgba(51, 212, 147, 0.08);
}

.dash-deposit-hero__icon {
  width: 64px;
  height: 64px;
  border-radius: 16px;
  background: rgba(86, 168, 255, 0.15);
  border: 1px solid rgba(86, 168, 255, 0.25);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 26px;
  color: #56a8ff;
  flex-shrink: 0;
}

.dash-deposit-card {
  background: var(--bg-2, #0d1824);
  border: 1px solid var(--line, rgba(255, 255, 255, 0.07));
  border-radius: 18px;
  height: 100%;
}

.dash-deposit-card--info {
  margin-top: 16px;
  height: auto;
}

.dash-deposit-card__head {
  padding: 20px 22px 0;
}

.dash-deposit-card__head h3 {
  margin: 0 0 4px;
  font-size: 17px;
  font-weight: 700;
  color: var(--t0, #f2f7fb);
}

.dash-deposit-card__head p {
  margin: 0;
  font-size: 13px;
  color: var(--t1, #8ea3b8);
}

.dash-deposit-card__body {
  padding: 20px 22px 22px;
}

.dash-deposit-card__body--center {
  text-align: center;
}

.dash-deposit-qr {
  display: inline-flex;
  padding: 14px;
  background: #fff;
  border-radius: 14px;
  border: 1px solid var(--line-2, rgba(255, 255, 255, 0.13));
  margin-bottom: 20px;
}

.dash-deposit-qr canvas {
  display: block;
  width: 200px !important;
  height: 200px !important;
}

.dash-deposit-label {
  display: block;
  text-align: left;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: var(--t2, #5f6678);
  margin-bottom: 8px;
}

.dash-deposit-address {
  display: flex;
  gap: 8px;
  margin-bottom: 14px;
}

.dash-deposit-address .form-control {
  flex: 1;
  background: var(--bg-1, #081018);
  border: 1px solid var(--line, rgba(255, 255, 255, 0.07));
  border-radius: 12px;
  color: var(--t0, #f2f7fb);
  font-size: 13px;
  padding: 12px 14px;
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
}

.dash-deposit-address .form-control:focus {
  background: var(--bg-1, #081018);
  border-color: #56a8ff;
  box-shadow: 0 0 0 3px rgba(86, 168, 255, 0.15);
  color: var(--t0, #f2f7fb);
}

.dash-deposit-copy {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 12px 16px;
  border: none;
  border-radius: 12px;
  background: var(--acc, #00e0c6);
  color: #fff;
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
  white-space: nowrap;
  transition: background 0.2s ease;
}

.dash-deposit-copy:hover {
  background: #00c4b0;
}

.dash-deposit-alert {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  text-align: left;
  padding: 12px 14px;
  border-radius: 12px;
  background: rgba(247, 184, 78, 0.08);
  border: 1px solid rgba(247, 184, 78, 0.2);
  font-size: 12px;
  line-height: 1.55;
  color: var(--t1, #8ea3b8);
}

.dash-deposit-alert i {
  color: #f0c14a;
  margin-top: 2px;
  flex-shrink: 0;
}

.dash-deposit-alert strong {
  color: var(--t0, #f2f7fb);
}

.dash-deposit-status {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 16px;
  background: var(--bg-1, #081018);
  border: 1px solid var(--line, rgba(255, 255, 255, 0.07));
  border-radius: 14px;
  margin-bottom: 14px;
}

.dash-deposit-status__icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: rgba(0, 224, 198, 0.15);
  color: var(--acc-2, #5ef0dc);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  flex-shrink: 0;
}

.dash-deposit-status__text {
  flex: 1;
  min-width: 0;
}

.dash-deposit-status__text div {
  font-size: 15px;
  font-weight: 700;
  color: var(--t0, #f2f7fb);
  margin-bottom: 2px;
}

.dash-deposit-status__text span {
  font-size: 12px;
  color: var(--t1, #8ea3b8);
}

.dash-deposit-status__live {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: #3ee0a0;
  padding: 5px 10px;
  border-radius: 999px;
  background: rgba(51, 212, 147, 0.1);
  border: 1px solid rgba(51, 212, 147, 0.25);
  flex-shrink: 0;
}

.dash-deposit-status__dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #3ee0a0;
}

.dash-deposit-progress {
  height: 4px;
  background: var(--bg-3, #142536);
  border-radius: 999px;
  overflow: hidden;
  margin-bottom: 18px;
}

.dash-deposit-progress__bar {
  height: 100%;
  width: 40%;
  background: linear-gradient(90deg, #56a8ff, var(--acc, #00e0c6));
  border-radius: 999px;
}

.dash-deposit-steps {
  list-style: none;
  margin: 0 0 18px;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.dash-deposit-steps li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 13px;
  color: var(--t1, #8ea3b8);
}

.dash-deposit-steps li i {
  color: var(--acc, #00e0c6);
  width: 16px;
  text-align: center;
}

.dash-deposit-submit {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  padding: 14px 20px;
  border: none;
  border-radius: 12px;
  background: var(--acc, #00e0c6);
  color: #fff;
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
  transition:
    background 0.2s ease,
    transform 0.2s ease;
  box-shadow: 0 4px 16px rgba(0, 224, 198, 0.3);
}

.dash-deposit-submit:hover:not(:disabled) {
  background: #00c4b0;
  transform: translateY(-1px);
}

.dash-deposit-submit:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}

.dash-deposit-note {
  margin-top: 14px;
  font-size: 12px;
  line-height: 1.55;
  color: var(--t2, #5f6678);
  text-align: center;
}

.dash-deposit-note strong {
  color: var(--t0, #f2f7fb);
}

.dash-deposit-powered {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: var(--t1, #8ea3b8);
  margin-bottom: 6px;
}

.dash-deposit-powered strong {
  color: var(--acc-2, #5ef0dc);
  font-weight: 800;
}

.dash-deposit-disclaimer {
  margin: 0;
  font-size: 12px;
  color: var(--t2, #5f6678);
  line-height: 1.5;
}

/* Trading Desk (zCrypto) */
.trade-hub__top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 14px;
}

.trade-hub__title {
  margin-bottom: 4px;
}

.trade-hub__subtitle {
  margin: 0;
  font-size: 13px;
  color: var(--t1, #8ea3b8);
}

.trade-hub__status {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 14px;
  border-radius: 10px;
  border: 1px solid rgba(51, 212, 147, 0.25);
  background: rgba(51, 212, 147, 0.08);
  color: var(--ok, #3ee0a0);
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.trade-hub__status-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--ok, #3ee0a0);
  box-shadow: 0 0 10px rgba(51, 212, 147, 0.7);
  animation: tradeHubPulse 2s ease-in-out infinite;
}

@keyframes tradeHubPulse {
  0%,
  100% {
    opacity: 1;
  }
  50% {
    opacity: 0.45;
  }
}

.trade-hub__stats {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
  margin-bottom: 16px;
}

.trade-hub__stat {
  padding: 14px 16px;
  border-radius: 14px;
  border: 1px solid var(--line, rgba(255, 255, 255, 0.07));
  background: linear-gradient(
    180deg,
    var(--bg-2, #0d1824) 0%,
    var(--bg-3, #142536) 100%
  );
}

.trade-hub__stat-label {
  display: block;
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--t2, #5f6678);
  margin-bottom: 6px;
}

.trade-hub__stat-value {
  font-size: 18px;
  font-weight: 800;
  color: var(--t0, #f2f7fb);
  letter-spacing: -0.02em;
}

.trade-hub__stat-value--info {
  color: var(--info, #56a8ff);
}
.trade-hub__stat-value--warn {
  color: var(--warn, #f0c14a);
}

.trade-hub__panel {
  border-radius: 18px;
  border: 1px solid var(--line, rgba(255, 255, 255, 0.07));
  background: var(--bg-2, #0d1824);
  overflow: hidden;
}

.trade-hub__toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
  padding: 14px 16px;
  border-bottom: 1px solid var(--line, rgba(255, 255, 255, 0.07));
  background: var(--bg-1, #081018);
}

.trade-hub__market-label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 14px;
  border-radius: 10px;
  border: 1px solid rgba(0, 224, 198, 0.25);
  background: rgba(0, 224, 198, 0.1);
  color: var(--acc-2, #5ef0dc);
  font-size: 12px;
  font-weight: 700;
}

.trade-hub__market-label i {
  font-size: 14px;
}

.trade-hub__tabs {
  display: flex;
  gap: 6px;
}

.trade-hub__tab {
  border: 1px solid var(--line, rgba(255, 255, 255, 0.07));
  background: transparent;
  color: var(--t1, #8ea3b8);
  border-radius: 10px;
  padding: 8px 16px;
  font-size: 12px;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.2s ease;
}

.trade-hub__tab:hover,
.trade-hub__tab.active {
  color: var(--t0, #f2f7fb);
  border-color: rgba(86, 168, 255, 0.35);
  background: rgba(86, 168, 255, 0.12);
}

.trade-hub__tab[data-market="crypto"].active {
  border-color: rgba(0, 224, 198, 0.35);
  background: rgba(0, 224, 198, 0.12);
}

.trade-hub__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.trade-hub__action {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 14px;
  border-radius: 10px;
  border: 1px solid var(--line-2, rgba(255, 255, 255, 0.13));
  background: var(--bg-3, #142536);
  color: var(--t1, #8ea3b8);
  font-size: 12px;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.2s ease;
}

.trade-hub__action:hover {
  color: var(--t0, #f2f7fb);
  border-color: rgba(0, 224, 198, 0.35);
}

.trade-hub__action--primary {
  background: var(--acc, #00e0c6);
  border-color: var(--acc, #00e0c6);
  color: #fff;
}

.trade-hub__action--primary:hover {
  background: #00c4b0;
  color: #fff;
}

.trade-hub__body {
  display: grid;
  grid-template-columns: 240px minmax(0, 1fr) 220px;
  gap: 0;
  min-height: 520px;
}

.trade-hub__watch,
.trade-hub__side {
  border-right: 1px solid var(--line, rgba(255, 255, 255, 0.07));
  background: var(--bg-1, #081018);
}

.trade-hub__side {
  border-right: none;
  border-left: 1px solid var(--line, rgba(255, 255, 255, 0.07));
}

.trade-hub__watch-head {
  display: flex;
  justify-content: space-between;
  gap: 8px;
  padding: 12px 14px;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--t2, #5f6678);
  border-bottom: 1px solid var(--line, rgba(255, 255, 255, 0.07));
}

.trade-hub__watch-list {
  display: flex;
  flex-direction: column;
  max-height: 460px;
  overflow: auto;
}

.trade-hub__watch-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  width: 100%;
  padding: 12px 14px;
  border: none;
  border-bottom: 1px solid rgba(255, 255, 255, 0.04);
  background: transparent;
  text-align: left;
  cursor: pointer;
  transition: background 0.2s ease;
}

.trade-hub__watch-row:hover,
.trade-hub__watch-row.active {
  background: rgba(86, 168, 255, 0.08);
}

.trade-hub__watch-row.active {
  box-shadow: inset 3px 0 0 var(--info, #56a8ff);
}

.trade-hub__watch-symbol strong {
  display: block;
  color: var(--t0, #f2f7fb);
  font-size: 13px;
}

.trade-hub__watch-symbol small {
  display: block;
  color: var(--t2, #5f6678);
  font-size: 10px;
  margin-top: 2px;
}

.trade-hub__watch-quote {
  text-align: right;
}

.trade-hub__watch-quote span {
  display: block;
  color: var(--t0, #f2f7fb);
  font-size: 12px;
  font-weight: 700;
}

.trade-hub__watch-quote em {
  display: block;
  font-style: normal;
  font-size: 11px;
  font-weight: 700;
  margin-top: 2px;
}

.trade-hub__watch-quote em.up {
  color: var(--ok, #3ee0a0);
}
.trade-hub__watch-quote em.down {
  color: var(--bad, #f76d7d);
}

.trade-hub__terminal {
  display: flex;
  flex-direction: column;
  min-width: 0;
  background: #05070c;
}

.trade-hub__hero {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  padding: 16px 18px 12px;
  border-bottom: 1px solid var(--line, rgba(255, 255, 255, 0.07));
}

.trade-hub__hero-badge {
  display: inline-block;
  margin-bottom: 6px;
  padding: 3px 8px;
  border-radius: 6px;
  background: rgba(86, 168, 255, 0.12);
  color: var(--info, #56a8ff);
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.trade-hub__hero-main h4 {
  margin: 0 0 4px;
  font-size: 14px;
  font-weight: 600;
  color: var(--t1, #8ea3b8);
}

.trade-hub__hero-price {
  font-size: 32px;
  font-weight: 800;
  color: var(--t0, #f2f7fb);
  letter-spacing: -0.03em;
  line-height: 1.1;
}

.trade-hub__hero-change {
  margin-top: 4px;
  font-size: 13px;
  font-weight: 700;
  color: var(--t1, #8ea3b8);
}

.trade-hub__hero-change.up {
  color: var(--ok, #3ee0a0);
}
.trade-hub__hero-change.down {
  color: var(--bad, #f76d7d);
}

.trade-hub__hero-meta {
  display: grid;
  grid-template-columns: repeat(3, minmax(80px, 1fr));
  gap: 12px;
}

.trade-hub__hero-meta small {
  display: block;
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--t2, #5f6678);
  margin-bottom: 4px;
}

.trade-hub__hero-meta strong {
  font-size: 13px;
  color: var(--t0, #f2f7fb);
}

.trade-hub__intervals {
  display: flex;
  gap: 6px;
  padding: 10px 18px;
  border-bottom: 1px solid var(--line, rgba(255, 255, 255, 0.07));
}

.trade-hub__interval {
  border: 1px solid var(--line, rgba(255, 255, 255, 0.07));
  background: var(--bg-2, #0d1824);
  color: var(--t1, #8ea3b8);
  border-radius: 8px;
  padding: 5px 12px;
  font-size: 11px;
  font-weight: 700;
  cursor: pointer;
}

.trade-hub__interval.active,
.trade-hub__interval:hover {
  color: var(--t0, #f2f7fb);
  border-color: rgba(86, 168, 255, 0.35);
  background: rgba(86, 168, 255, 0.1);
}

.trade-hub__chart {
  flex: 1;
  min-height: 340px;
}

.trade-hub__chart #tradingview_trade_hub {
  height: 100%;
  min-height: 340px;
}

.trade-hub__side-block {
  padding: 14px;
  border-bottom: 1px solid var(--line, rgba(255, 255, 255, 0.07));
}

.trade-hub__side-block h5 {
  margin: 0 0 10px;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--t2, #5f6678);
}

.trade-hub__session-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.trade-hub__session-list li {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  color: var(--t1, #8ea3b8);
}

.trade-hub__session-list strong {
  margin-left: auto;
  color: var(--t0, #f2f7fb);
  font-size: 11px;
}

.trade-hub__session-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  flex-shrink: 0;
}

.trade-hub__session-dot.open {
  background: var(--ok, #3ee0a0);
}
.trade-hub__session-dot.closed {
  background: var(--t2, #5f6678);
}

.trade-hub__movers {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.trade-hub__mover {
  display: grid;
  grid-template-columns: 18px 1fr auto;
  gap: 8px;
  align-items: center;
  font-size: 12px;
}

.trade-hub__mover-rank {
  color: var(--t2, #5f6678);
  font-weight: 700;
}

.trade-hub__mover-symbol {
  color: var(--t0, #f2f7fb);
  font-weight: 600;
}

.trade-hub__mover-change.up {
  color: var(--ok, #3ee0a0);
  font-weight: 700;
}
.trade-hub__mover-change.down {
  color: var(--bad, #f76d7d);
  font-weight: 700;
}

.trade-hub__side-note {
  font-size: 11px;
  line-height: 1.5;
  color: var(--t2, #5f6678);
}

.trade-hub__side-note i {
  color: var(--info, #56a8ff);
  margin-right: 6px;
}

.trade-hub__heatmap-head {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  padding: 12px 16px;
  border-top: 1px solid var(--line, rgba(255, 255, 255, 0.07));
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--t2, #5f6678);
  background: var(--bg-1, #081018);
}

.trade-hub__heatmap {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 1px;
  background: var(--line, rgba(255, 255, 255, 0.07));
}

.trade-hub__heat-tile {
  padding: 14px 12px;
  background: var(--bg-3, #142536);
  text-align: center;
}

.trade-hub__heat-tile strong {
  display: block;
  font-size: 12px;
  color: var(--t0, #f2f7fb);
  margin-bottom: 4px;
}

.trade-hub__heat-tile span {
  display: block;
  font-size: 13px;
  font-weight: 800;
  margin-bottom: 4px;
}

.trade-hub__heat-tile small {
  display: block;
  font-size: 11px;
  color: var(--t1, #8ea3b8);
}

.trade-hub__heat-tile.up {
  background: linear-gradient(
    180deg,
    rgba(51, 212, 147, calc(var(--heat, 20) / 100)) 0%,
    var(--bg-3, #142536) 100%
  );
}

.trade-hub__heat-tile.up span {
  color: var(--ok, #3ee0a0);
}

.trade-hub__heat-tile.down {
  background: linear-gradient(
    180deg,
    rgba(247, 109, 125, calc(var(--heat, 20) / 100)) 0%,
    var(--bg-3, #142536) 100%
  );
}

.trade-hub__heat-tile.down span {
  color: var(--bad, #f76d7d);
}

.trade-hub__heat-tile.neutral span {
  color: var(--t1, #8ea3b8);
}

.trade-hub__loading {
  padding: 20px 14px;
  font-size: 12px;
  color: var(--t1, #8ea3b8);
}

@media (max-width: 1199px) {
  .trade-hub__body {
    grid-template-columns: 220px minmax(0, 1fr);
  }

  .trade-hub__side {
    display: none;
  }
}

@media (max-width: 991px) {
  .trade-hub__stats {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .trade-hub__body {
    grid-template-columns: 1fr;
  }

  .trade-hub__watch {
    border-right: none;
    border-bottom: 1px solid var(--line, rgba(255, 255, 255, 0.07));
  }

  .trade-hub__watch-list {
    max-height: 220px;
  }

  .trade-hub__heatmap {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 575px) {
  .trade-hub__stats {
    grid-template-columns: 1fr;
  }

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

/* Profile page */
.dash-profile-page {
  max-width: 960px;
}

.dash-profile-hero {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 24px;
  margin-bottom: 20px;
  border-radius: 18px;
  border: 1px solid var(--line, rgba(255, 255, 255, 0.07));
  background: linear-gradient(
    135deg,
    var(--bg-2, #0d1824) 0%,
    var(--bg-3, #142536) 100%
  );
}

.dash-profile-hero__avatar {
  width: 72px;
  height: 72px;
  border-radius: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  font-weight: 800;
  color: #fff;
  background: linear-gradient(
    135deg,
    var(--acc, #00e0c6),
    var(--acc-2, #5ef0dc)
  );
  flex-shrink: 0;
  box-shadow: 0 8px 24px rgba(0, 224, 198, 0.25);
}

.dash-profile-hero__info h2 {
  margin: 0 0 6px;
  font-size: 22px;
  font-weight: 800;
  color: var(--t0, #f2f7fb);
  letter-spacing: -0.02em;
}

.dash-profile-hero__info p {
  margin: 0 0 12px;
  font-size: 13px;
  color: var(--t1, #8ea3b8);
}

.dash-profile-hero__info strong {
  color: var(--t0, #f2f7fb);
}

.dash-profile-hero__chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.dash-profile-chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 12px;
  border-radius: 999px;
  border: 1px solid var(--line, rgba(255, 255, 255, 0.07));
  background: var(--bg-1, #081018);
  font-size: 11px;
  font-weight: 600;
  color: var(--t1, #8ea3b8);
}

.dash-profile-chip i {
  color: var(--acc-2, #5ef0dc);
  font-size: 10px;
}

.dash-profile-panel .dash-table-panel__head {
  align-items: center;
}

.dash-profile-2fa__toggle {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  margin-bottom: 4px;
}

.dash-profile-2fa__toggle strong {
  display: block;
  font-size: 14px;
  color: var(--t0, #f2f7fb);
  margin-bottom: 4px;
}

.dash-profile-2fa__toggle p {
  margin: 0;
  font-size: 13px;
  color: var(--t1, #8ea3b8);
  line-height: 1.45;
}

.dash-profile-switch {
  position: relative;
  display: inline-block;
  width: 52px;
  height: 28px;
  flex-shrink: 0;
  margin-top: 2px;
}

.dash-profile-switch input {
  opacity: 0;
  width: 0;
  height: 0;
}

.dash-profile-switch__track {
  position: absolute;
  inset: 0;
  border-radius: 999px;
  background: var(--bg-3, #142536);
  border: 1px solid var(--line-2, rgba(255, 255, 255, 0.13));
  cursor: pointer;
  transition:
    background 0.25s ease,
    border-color 0.25s ease;
}

.dash-profile-switch__track::after {
  content: "";
  position: absolute;
  top: 3px;
  left: 3px;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--t1, #8ea3b8);
  transition:
    transform 0.25s ease,
    background 0.25s ease;
}

.dash-profile-switch input:checked + .dash-profile-switch__track {
  background: rgba(51, 212, 147, 0.15);
  border-color: rgba(51, 212, 147, 0.4);
}

.dash-profile-switch input:checked + .dash-profile-switch__track::after {
  transform: translateX(24px);
  background: var(--ok, #3ee0a0);
}

.dash-profile-2fa__form {
  margin-top: 18px;
  padding-top: 18px;
  border-top: 1px solid var(--line, rgba(255, 255, 255, 0.07));
}

.dash-profile-form .row {
  --bs-gutter-x: 16px;
  --bs-gutter-y: 16px;
}

.dash-profile-form--stacked .dash-profile-label {
  margin-top: 16px;
}

.dash-profile-form--stacked .dash-profile-label:first-child {
  margin-top: 0;
}

.dash-profile-form--stacked .dash-profile-btn {
  margin-top: 20px;
  width: 100%;
  justify-content: center;
}

.dash-profile-label {
  display: block;
  margin-bottom: 8px;
  font-size: 12px;
  font-weight: 600;
  color: var(--t1, #8ea3b8);
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.dash-profile-hint {
  font-size: 11px;
  font-weight: 500;
  text-transform: none;
  letter-spacing: 0;
  color: var(--t2, #5f6678);
}

.dash-profile-input {
  width: 100%;
  padding: 12px 14px !important;
  border-radius: 12px !important;
  border: 1px solid var(--line, rgba(255, 255, 255, 0.07)) !important;
  background: var(--bg-1, #081018) !important;
  color: var(--t0, #f2f7fb) !important;
  font-size: 14px !important;
  transition:
    border-color 0.2s ease,
    box-shadow 0.2s ease;
}

.dash-profile-input:focus {
  border-color: rgba(0, 224, 198, 0.45) !important;
  box-shadow: 0 0 0 3px rgba(0, 224, 198, 0.12) !important;
  outline: none !important;
}

.dash-profile-input--readonly {
  background: var(--bg-3, #142536) !important;
  color: var(--t1, #8ea3b8) !important;
  cursor: not-allowed;
}

.dash-profile-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 22px;
  border: none;
  border-radius: 12px;
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
  transition:
    background 0.2s ease,
    transform 0.15s ease;
}

.dash-profile-btn--primary {
  background: var(--acc, #00e0c6);
  color: #04221f;
}

.dash-profile-btn--primary:hover {
  background: #5ef0dc;
  color: #04221f;
}

.dash-profile-btn--danger {
  background: rgba(247, 109, 125, 0.15);
  border: 1px solid rgba(247, 109, 125, 0.35);
  color: var(--bad, #f76d7d);
}

.dash-profile-btn--danger:hover {
  background: rgba(247, 109, 125, 0.25);
}

@media (max-width: 575px) {
  .dash-profile-hero {
    flex-direction: column;
    text-align: center;
  }

  .dash-profile-hero__chips {
    justify-content: center;
  }
}

/* Wallet convert page */
.dash-convert-page {
  max-width: 1100px;
}

.dash-convert-page .row > [class*="col-"] {
  display: flex;
}

.dash-convert-page .dash-table-panel {
  flex: 1;
  display: flex;
  flex-direction: column;
}

.dash-convert-page .dash-table-panel__body--fill {
  flex: 1;
  display: flex;
  flex-direction: column;
}

.dash-convert-page .dash-convert-note {
  margin-top: auto;
}

.dash-convert-balances {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 16px;
  align-items: center;
  margin-bottom: 20px;
}

.dash-convert-balance {
  padding: 22px 24px;
  border-radius: 18px;
  border: 1px solid var(--line, rgba(255, 255, 255, 0.07));
  background: linear-gradient(
    135deg,
    var(--bg-2, #0d1824) 0%,
    var(--bg-3, #142536) 100%
  );
}

.dash-convert-balance--deposit {
  border-color: rgba(86, 168, 255, 0.2);
  background: linear-gradient(
    135deg,
    rgba(86, 168, 255, 0.06) 0%,
    var(--bg-3, #142536) 100%
  );
}

.dash-convert-balance__label {
  display: block;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--t2, #5f6678);
  margin-bottom: 8px;
}

.dash-convert-balance__amount {
  font-size: 32px;
  font-weight: 800;
  color: var(--t0, #f2f7fb);
  letter-spacing: -0.03em;
  line-height: 1.1;
  margin-bottom: 6px;
}

.dash-convert-balance--deposit .dash-convert-balance__amount {
  color: var(--info, #56a8ff);
}

.dash-convert-balance__hint {
  font-size: 12px;
  color: var(--t1, #8ea3b8);
}

.dash-convert-flow {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  min-width: 48px;
}

.dash-convert-flow__line {
  width: 2px;
  height: 18px;
  border-radius: 999px;
  background: linear-gradient(
    180deg,
    transparent,
    var(--acc, #00e0c6),
    transparent
  );
}

.dash-convert-flow__icon {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0, 224, 198, 0.15);
  border: 1px solid rgba(0, 224, 198, 0.3);
  color: var(--acc-2, #5ef0dc);
  font-size: 14px;
}

.dash-convert-info {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-bottom: 16px;
}

.dash-convert-info__item {
  display: flex;
  align-items: flex-start;
  gap: 14px;
}

.dash-convert-info__item i {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-size: 14px;
  background: var(--bg-3, #142536);
  border: 1px solid var(--line, rgba(255, 255, 255, 0.07));
}

.dash-convert-info__item i.purple {
  color: var(--acc-2, #5ef0dc);
  background: rgba(0, 224, 198, 0.12);
  border-color: rgba(0, 224, 198, 0.2);
}
.dash-convert-info__item i.green {
  color: var(--ok, #3ee0a0);
  background: rgba(51, 212, 147, 0.1);
  border-color: rgba(51, 212, 147, 0.2);
}
.dash-convert-info__item i.amber {
  color: var(--warn, #f0c14a);
  background: rgba(247, 184, 78, 0.1);
  border-color: rgba(247, 184, 78, 0.2);
}
.dash-convert-info__item i.blue {
  color: var(--info, #56a8ff);
  background: rgba(86, 168, 255, 0.1);
  border-color: rgba(86, 168, 255, 0.2);
}

.dash-convert-info__item strong {
  display: block;
  font-size: 14px;
  color: var(--t0, #f2f7fb);
  margin-bottom: 4px;
}

.dash-convert-info__item span {
  display: block;
  font-size: 13px;
  color: var(--t1, #8ea3b8);
  line-height: 1.45;
}

.dash-convert-note {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 14px 16px;
  border-radius: 12px;
  background: rgba(86, 168, 255, 0.06);
  border: 1px solid rgba(86, 168, 255, 0.15);
  font-size: 12px;
  line-height: 1.5;
  color: var(--t1, #8ea3b8);
}

.dash-convert-note i {
  color: var(--info, #56a8ff);
  margin-top: 2px;
}

.dash-convert-note strong {
  color: var(--t0, #f2f7fb);
}

.dash-convert-page .dash-profile-form .dash-profile-label:first-of-type {
  margin-top: 0;
}

@media (max-width: 767px) {
  .dash-convert-balances {
    grid-template-columns: 1fr;
  }

  .dash-convert-flow {
    flex-direction: row;
    justify-content: center;
    min-width: 0;
  }

  .dash-convert-flow__line {
    width: 40px;
    height: 2px;
    background: linear-gradient(
      90deg,
      transparent,
      var(--acc, #00e0c6),
      transparent
    );
  }
}

/* Global bonus / single leg */
.dash-single-leg-page {
  max-width: 1200px;
}

.dash-single-leg-summary .dash-stat-card {
  height: 100%;
}

.dash-single-leg-stats {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin-bottom: 20px;
}

.dash-single-leg-stat {
  padding: 16px 18px;
  border-radius: 14px;
  border: 1px solid var(--line, rgba(255, 255, 255, 0.07));
  background: var(--bg-2, #0d1824);
}

.dash-single-leg-stat__label {
  display: block;
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--t2, #5f6678);
  margin-bottom: 8px;
}

.dash-single-leg-stat__value {
  font-size: 24px;
  font-weight: 800;
  color: var(--t0, #f2f7fb);
  letter-spacing: -0.02em;
}

.dash-single-leg-stat__value.green {
  color: var(--ok, #3ee0a0);
}
.dash-single-leg-stat__value.blue {
  color: var(--info, #56a8ff);
}
.dash-single-leg-stat__value.purple {
  color: var(--acc-2, #5ef0dc);
}

.dash-single-leg-row.is-active {
  background: rgba(51, 212, 147, 0.04) !important;
}

.dash-single-leg-row.is-done {
  background: rgba(86, 168, 255, 0.04) !important;
}

.dash-single-leg-progress {
  min-width: 120px;
}

.dash-single-leg-progress__bar {
  height: 6px;
  border-radius: 999px;
  background: var(--bg-3, #142536);
  overflow: hidden;
  margin-bottom: 4px;
}

.dash-single-leg-progress__bar span {
  display: block;
  height: 100%;
  border-radius: 999px;
  background: linear-gradient(
    90deg,
    var(--acc, #00e0c6),
    var(--acc-2, #5ef0dc)
  );
}

.dash-single-leg-row.is-active .dash-single-leg-progress__bar span {
  background: linear-gradient(90deg, #3ee0a0, #56a8ff);
}

.dash-single-leg-row.is-done .dash-single-leg-progress__bar span {
  background: linear-gradient(90deg, #56a8ff, var(--acc-2, #5ef0dc));
}

.dash-single-leg-progress small {
  font-size: 11px;
  font-weight: 600;
  color: var(--t2, #5f6678);
}

@media (max-width: 991px) {
  .dash-single-leg-stats {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 575px) {
  .dash-single-leg-stats {
    grid-template-columns: 1fr;
  }
}
