/* ==============================================================================
   PUMPCARDS CARDHOLDER DASHBOARD & SPENDING TERMINAL STYLES
   Obsidian Dark Fin-Tech Aesthetic · Monolithic Precision · Zero-KYC Virtual Visa
   ============================================================================== */

/* Layout Shell */
.dashboard-body {
  background-color: var(--void);
  color: var(--text-pure);
  font-family: var(--font-sans);
  min-height: 100vh;
  margin: 0;
  padding: 0;
  overflow-x: hidden;
  position: relative;
}

.dash-shell {
  display: flex;
  min-height: 100vh;
  position: relative;
  z-index: 1;
}

/* ─────────────────────────────────────────────────────────────────────────────
   1. SIDEBAR
   ───────────────────────────────────────────────────────────────────────────── */
.dash-sidebar {
  width: 250px;
  background-color: #07090C;
  border-right: 1px solid rgba(255, 255, 255, 0.06);
  display: flex;
  flex-direction: column;
  flex-shrink: 0;
  position: fixed;
  top: 0;
  bottom: 0;
  left: 0;
  z-index: 100;
  transition: transform 0.25s var(--ease-smooth);
}

.dash-brand-wrap {
  padding: 1.5rem 1.4rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.dash-brand {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  text-decoration: none;
}

.dash-brand-logo {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  object-fit: cover;
  box-shadow: 0 0 12px rgba(0, 229, 153, 0.25);
}

.dash-brand-text {
  display: flex;
  flex-direction: column;
}

.dash-brand-name {
  font-size: 1.05rem;
  font-weight: 700;
  color: #fff;
  letter-spacing: -0.02em;
}

.dash-brand-name span {
  color: var(--emerald);
}

.dash-brand-tier {
  font-size: 0.6rem;
  font-family: var(--font-mono);
  font-weight: 700;
  letter-spacing: 0.12em;
  color: #94A3B8;
  margin-top: -2px;
}

/* Navigation List */
.dash-nav {
  flex: 1;
  padding: 1.2rem 0.8rem;
  overflow-y: auto;
}

.nav-section-label {
  font-size: 0.68rem;
  font-family: var(--font-mono);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #526071;
  padding: 0.6rem 0.8rem 0.4rem;
}

.dash-nav-list {
  list-style: none;
  margin-bottom: 1.2rem;
}

.dash-nav-btn {
  width: 100%;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.68rem 0.85rem;
  font-size: 0.88rem;
  font-weight: 500;
  color: #94A3B8;
  background: transparent;
  border: 1px solid transparent;
  border-radius: var(--radius-md);
  cursor: pointer;
  transition: all 0.15s ease;
  text-align: left;
}

.dash-nav-btn:hover {
  color: #fff;
  background-color: rgba(255, 255, 255, 0.04);
}

.dash-nav-btn.active {
  color: #fff;
  background-color: #12151D;
  border-color: rgba(255, 255, 255, 0.08);
  font-weight: 600;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}

.dash-nav-icon {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
  stroke: currentColor;
}

.dash-nav-btn.active .dash-nav-icon {
  stroke: var(--emerald);
}

.dash-nav-pill {
  margin-left: auto;
  font-size: 0.65rem;
  font-family: var(--font-mono);
  padding: 0.18rem 0.45rem;
  border-radius: var(--radius-pill);
  background: rgba(255, 255, 255, 0.06);
  color: #94A3B8;
  font-weight: 600;
}

.dash-nav-pill.pill-emerald {
  background: rgba(0, 229, 153, 0.12);
  color: var(--emerald);
  border: 1px solid rgba(0, 229, 153, 0.25);
}

/* Sidebar Footer */
.dash-sidebar-footer {
  padding: 1.2rem 1rem;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
}

.dash-exit-link {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  color: #718096;
  font-size: 0.82rem;
  text-decoration: none;
  padding: 0.5rem 0.6rem;
  border-radius: var(--radius-sm);
  transition: all 0.15s ease;
}

.dash-exit-link:hover {
  color: #fff;
  background: rgba(255, 255, 255, 0.04);
}

.dash-user-indicator {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.7rem;
  font-family: var(--font-mono);
  color: #4B5563;
  padding: 0 0.6rem;
}

.indicator-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background-color: var(--emerald);
  box-shadow: 0 0 6px var(--emerald);
}

/* ─────────────────────────────────────────────────────────────────────────────
   2. MAIN APPLICATION WORKSPACE & TOP BAR
   ───────────────────────────────────────────────────────────────────────────── */
.dash-main {
  flex: 1;
  margin-left: 250px;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  background-color: var(--void);
}

.dash-topbar {
  height: 64px;
  padding: 0 2rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  display: flex;
  align-items: center;
  justify-content: space-between;
  background-color: rgba(7, 9, 12, 0.7);
  backdrop-filter: blur(12px);
  position: sticky;
  top: 0;
  z-index: 90;
}

.topbar-left {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.dash-mobile-toggle {
  display: none;
  background: transparent;
  border: none;
  color: #94A3B8;
  cursor: pointer;
  padding: 0.4rem;
}

.topbar-crumb {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.85rem;
  font-weight: 500;
}

.crumb-root {
  color: #526071;
}

.crumb-separator {
  color: #334155;
}

.crumb-active {
  color: #EDEDED;
  font-weight: 600;
}

.topbar-right {
  display: flex;
  align-items: center;
  gap: 0.9rem;
}

.topbar-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.32rem 0.7rem;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: var(--radius-pill);
  font-size: 0.74rem;
  font-family: var(--font-mono);
  color: #94A3B8;
}

.badge-ping {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--emerald);
  box-shadow: 0 0 6px var(--emerald);
}

.topbar-popover-wrap {
  position: relative;
}

.topbar-wallet-container {
  position: relative;
}

.btn-dash-connect {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  font-size: 0.8rem;
  font-weight: 600;
  padding: 0.45rem 0.85rem;
}

.dot-idle {
  background-color: #64748B !important;
  box-shadow: none !important;
}

.badge-pulse.pulse-idle {
  background-color: #64748B !important;
  box-shadow: none !important;
}

/* Connected User Profile Pill */
.topbar-user-pill {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.3rem 0.75rem 0.3rem 0.4rem;
  background: #0D1016;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-pill);
  cursor: pointer;
  transition: all 0.15s ease;
  user-select: none;
}

.topbar-user-pill:hover {
  border-color: rgba(0, 229, 153, 0.4);
  background: #131720;
}

.user-chevron {
  color: #64748B;
  transition: transform 0.15s ease;
}

.wallet-session-menu {
  position: absolute;
  top: calc(100% + 10px);
  right: 0;
  width: 290px;
  background: #0E1218;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-md);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.6);
  padding: 1rem;
  display: none;
  z-index: 120;
}

.wallet-session-menu.show {
  display: block;
}

.w-menu-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.72rem;
  color: #718096;
}

.w-menu-copy {
  color: var(--emerald);
  cursor: pointer;
  font-size: 0.7rem;
  font-weight: 600;
}

.w-menu-address {
  font-size: 0.78rem;
  font-weight: 600;
  color: #FFFFFF;
  margin: 0.4rem 0 0.8rem;
  word-break: break-all;
}

.w-menu-divider {
  height: 1px;
  background: rgba(255, 255, 255, 0.06);
  margin: 0.7rem 0;
}

.w-menu-stats {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.w-menu-stat-row {
  display: flex;
  justify-content: space-between;
  font-size: 0.78rem;
  color: #94A3B8;
}

.w-menu-actions {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  margin-top: 0.6rem;
}

.w-menu-btn {
  width: 100%;
  display: flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.55rem 0.7rem;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: var(--radius-xs);
  color: #EDEDED;
  font-size: 0.78rem;
  font-weight: 500;
  cursor: pointer;
  text-align: left;
  transition: all 0.12s ease;
}

.w-menu-btn:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.12);
}

.btn-disconnect {
  color: #EF4444;
}

.btn-disconnect:hover {
  background: rgba(239, 68, 68, 0.1);
  border-color: rgba(239, 68, 68, 0.25);
  color: #F87171;
}

/* Wallet Select Modal Elements */
.wallet-option-list {
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
  margin: 1.4rem 0 1rem;
}

.wallet-select-btn {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 0.85rem 1rem;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-md);
  cursor: pointer;
  transition: all 0.15s ease;
  text-align: left;
}

.wallet-select-btn:hover {
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(0, 229, 153, 0.4);
}

.wallet-icon-box {
  font-size: 1.4rem;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.04);
  display: flex;
  align-items: center;
  justify-content: center;
}

.wallet-info {
  display: flex;
  flex-direction: column;
}

.wallet-name {
  font-size: 0.92rem;
  font-weight: 700;
  color: #FFFFFF;
}

.wallet-desc {
  font-size: 0.74rem;
  color: #718096;
}

.wallet-manual-divider {
  display: flex;
  align-items: center;
  text-align: center;
  margin: 1.2rem 0 0.9rem;
}

.wallet-manual-divider::before,
.wallet-manual-divider::after {
  content: '';
  flex: 1;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.wallet-manual-divider span {
  padding: 0 0.8rem;
  font-size: 0.65rem;
  font-family: var(--font-mono);
  color: #526071;
  letter-spacing: 0.06em;
}

.manual-input-wrap {
  display: flex;
  gap: 0.6rem;
  margin-bottom: 1.2rem;
}

.manual-wallet-input {
  flex: 1;
  background: #080A0E;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-sm);
  padding: 0.6rem 0.8rem;
  font-family: var(--font-mono);
  font-size: 0.78rem;
  color: #EDEDED;
  outline: none;
}

.manual-wallet-input:focus {
  border-color: var(--emerald);
}

.quick-test-shortcuts {
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: var(--radius-sm);
  padding: 0.8rem;
}

.shortcut-label {
  font-size: 0.7rem;
  font-family: var(--font-mono);
  color: #64748B;
  display: block;
  margin-bottom: 0.5rem;
}

.shortcut-chips {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.chip-btn {
  background: rgba(0, 229, 153, 0.06);
  border: 1px solid rgba(0, 229, 153, 0.2);
  color: var(--emerald);
  font-size: 0.72rem;
  font-weight: 600;
  padding: 0.4rem 0.7rem;
  border-radius: var(--radius-xs);
  cursor: pointer;
  text-align: left;
  transition: all 0.12s ease;
}

.chip-btn:hover {
  background: rgba(0, 229, 153, 0.15);
  border-color: var(--emerald);
  color: #fff;
}

/* Empty State for Epoch Table */
.epoch-empty-state {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 2.2rem 1rem;
}

.topbar-icon-btn {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  color: #94A3B8;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  position: relative;
  transition: all 0.15s ease;
}

.topbar-icon-btn:hover {
  color: #fff;
  border-color: rgba(255, 255, 255, 0.15);
  background: rgba(255, 255, 255, 0.06);
}

.notif-badge {
  position: absolute;
  top: -2px;
  right: -2px;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: var(--emerald);
  color: #050608;
  font-size: 0.6rem;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
}

.notif-dropdown {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  width: 300px;
  background: #0E1217;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-md);
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.5);
  padding: 0.8rem;
  display: none;
  z-index: 120;
}

.notif-dropdown.show {
  display: block;
}

.notif-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.78rem;
  font-weight: 600;
  color: #94A3B8;
  padding-bottom: 0.5rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  margin-bottom: 0.5rem;
}

.notif-mark {
  color: var(--emerald);
  cursor: pointer;
  font-size: 0.7rem;
}

.notif-item {
  display: flex;
  gap: 0.6rem;
  padding: 0.5rem;
  border-radius: var(--radius-xs);
  background: rgba(0, 229, 153, 0.04);
  border-left: 2px solid var(--emerald);
}

.notif-title {
  font-size: 0.78rem;
  font-weight: 600;
  color: #EDEDED;
}

.notif-time {
  font-size: 0.7rem;
  color: #718096;
  margin-top: 2px;
}

/* User Pill (Matches spending.to `SP Spending user` header pill) */
.topbar-user-pill {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.3rem 0.75rem 0.3rem 0.4rem;
  background: #0D1016;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-pill);
  cursor: pointer;
  transition: all 0.15s ease;
}

.topbar-user-pill:hover {
  border-color: rgba(255, 255, 255, 0.16);
  background: #131720;
}

.user-avatar {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: linear-gradient(135deg, #1C2430 0%, #0E131A 100%);
  border: 1px solid rgba(0, 229, 153, 0.4);
  color: var(--emerald);
  font-size: 0.72rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
}

.user-info-text {
  display: flex;
  flex-direction: column;
}

.user-name {
  font-size: 0.8rem;
  font-weight: 600;
  color: #EDEDED;
  line-height: 1.2;
}

.user-sub {
  font-size: 0.62rem;
  font-family: var(--font-mono);
  color: #64748B;
  line-height: 1;
}

.btn-dash-wizard {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.78rem;
  padding: 0.45rem 0.8rem;
}

/* ─────────────────────────────────────────────────────────────────────────────
   3. TAB PANELS & GENERAL CARDS
   ───────────────────────────────────────────────────────────────────────────── */
.dash-view-container {
  flex: 1;
  padding: 2rem;
  max-width: 1240px;
  width: 100%;
  margin: 0 auto;
}

.dash-tab-panel {
  display: none;
  animation: fadeInTab 0.2s var(--ease-smooth);
}

.dash-tab-panel.active {
  display: block;
}

@keyframes fadeInTab {
  from { opacity: 0; transform: translateY(6px); }
  to { opacity: 1; transform: translateY(0); }
}

.dash-card {
  background-color: #0B0E13;
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 16px;
  padding: 1.5rem;
  position: relative;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
}

.dash-card-title {
  font-size: 1rem;
  font-weight: 700;
  color: #EDEDED;
  letter-spacing: -0.01em;
}

.dash-card-desc {
  font-size: 0.82rem;
  color: #718096;
  margin-top: 0.3rem;
  line-height: 1.4;
}

.view-title {
  font-size: 1.5rem;
  font-weight: 800;
  color: #fff;
  letter-spacing: -0.02em;
}

.view-subtitle {
  font-size: 0.88rem;
  color: #94A3B8;
  margin-top: 0.3rem;
}

/* ─────────────────────────────────────────────────────────────────────────────
   4. TAB 1: HOME GRID & CARDS
   ───────────────────────────────────────────────────────────────────────────── */
.dash-home-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr;
  gap: 1.5rem;
  align-items: start;
}

.home-main-col,
.home-side-col {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

/* Card 1: Available for card top-ups */
.available-card {
  padding: 1.8rem;
}

.available-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.dash-label {
  font-size: 0.82rem;
  font-weight: 500;
  color: #94A3B8;
}

.available-badge {
  font-size: 0.65rem;
  font-family: var(--font-mono);
  font-weight: 600;
  padding: 0.2rem 0.55rem;
  border-radius: var(--radius-pill);
  background: rgba(0, 229, 153, 0.08);
  border: 1px solid rgba(0, 229, 153, 0.2);
  color: var(--emerald);
}

.available-balance-row {
  display: flex;
  align-items: baseline;
  gap: 0.5rem;
  margin: 0.8rem 0 0.5rem;
}

.balance-display {
  font-size: 2.8rem;
  font-weight: 800;
  color: #FFFFFF;
  letter-spacing: -0.03em;
  font-family: var(--font-sans);
  line-height: 1.1;
}

.balance-currency {
  font-size: 1rem;
  font-family: var(--font-mono);
  font-weight: 600;
  color: #64748B;
}

.available-subtitle {
  font-size: 0.84rem;
  color: #718096;
  margin-bottom: 1.4rem;
  line-height: 1.4;
}

.available-actions {
  display: flex;
  gap: 0.8rem;
}

/* Card 2: Recent transactions */
.transactions-card {
  padding: 1.6rem;
}

.tx-card-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1.2rem;
  flex-wrap: wrap;
  gap: 0.8rem;
}

.tx-title-group {
  display: flex;
  align-items: baseline;
  gap: 0.6rem;
}

.tx-time-filter {
  font-size: 0.74rem;
  color: #64748B;
  font-family: var(--font-mono);
}

.tx-filter-pills {
  display: flex;
  gap: 0.35rem;
  background: rgba(255, 255, 255, 0.03);
  padding: 0.2rem;
  border-radius: var(--radius-sm);
  border: 1px solid rgba(255, 255, 255, 0.05);
}

.tx-filter-btn {
  background: transparent;
  border: none;
  color: #718096;
  font-size: 0.74rem;
  font-weight: 600;
  padding: 0.3rem 0.65rem;
  border-radius: var(--radius-xs);
  cursor: pointer;
  transition: all 0.12s ease;
}

.tx-filter-btn:hover {
  color: #EDEDED;
}

.tx-filter-btn.active {
  background: #171C24;
  color: #EDEDED;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.3);
}

.tx-content-area {
  min-height: 140px;
}

/* Populated Transaction Rows */
.tx-list {
  display: flex;
  flex-direction: column;
  gap: 0.7rem;
}

.tx-row {
  display: flex;
  align-items: center;
  gap: 0.9rem;
  padding: 0.8rem 0.9rem;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.04);
  border-radius: var(--radius-md);
  transition: all 0.15s ease;
}

.tx-row:hover {
  background: rgba(255, 255, 255, 0.04);
  border-color: rgba(255, 255, 255, 0.08);
}

.tx-icon {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.tx-icon.tx-in {
  background: rgba(0, 229, 153, 0.1);
  color: var(--emerald);
}

.tx-icon.tx-neutral {
  background: rgba(255, 255, 255, 0.06);
  color: #94A3B8;
}

.tx-details {
  flex: 1;
}

.tx-name {
  font-size: 0.86rem;
  font-weight: 600;
  color: #EDEDED;
}

.tx-meta {
  font-size: 0.72rem;
  color: #64748B;
  margin-top: 1px;
}

.tx-status {
  padding: 0 0.5rem;
}

.badge-status-settled {
  font-size: 0.65rem;
  font-family: var(--font-mono);
  font-weight: 600;
  padding: 0.18rem 0.45rem;
  border-radius: var(--radius-pill);
  background: rgba(0, 229, 153, 0.08);
  color: var(--emerald);
  border: 1px solid rgba(0, 229, 153, 0.2);
}

.badge-status-free {
  font-size: 0.65rem;
  font-family: var(--font-mono);
  font-weight: 600;
  padding: 0.18rem 0.45rem;
  border-radius: var(--radius-pill);
  background: rgba(59, 130, 246, 0.08);
  color: #60A5FA;
  border: 1px solid rgba(59, 130, 246, 0.2);
}

.tx-amount {
  font-size: 0.92rem;
  font-family: var(--font-mono);
  font-weight: 700;
}

.tx-plus {
  color: var(--emerald);
}

.tx-zero {
  color: #94A3B8;
}

/* Empty State (1:1 with spending.to screenshot) */
.tx-empty-state {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 2.2rem 1rem;
}

.tx-empty-icon {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.06);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #526071;
  margin-bottom: 0.9rem;
}

.tx-empty-title {
  font-size: 0.92rem;
  font-weight: 600;
  color: #EDEDED;
  margin-bottom: 0.3rem;
}

.tx-empty-text {
  font-size: 0.8rem;
  color: #64748B;
  max-width: 280px;
}

.tx-footer-tools {
  margin-top: 1rem;
  padding-top: 0.8rem;
  border-top: 1px solid rgba(255, 255, 255, 0.04);
  display: flex;
  justify-content: flex-end;
}

.tx-toggle-view-btn {
  background: transparent;
  border: none;
  font-size: 0.72rem;
  font-family: var(--font-mono);
  color: #526071;
  cursor: pointer;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.tx-toggle-view-btn:hover {
  color: #94A3B8;
}

/* Spotlight Mini Card */
.card-spotlight-card {
  padding: 1.6rem;
}

.spotlight-title {
  font-size: 0.95rem;
  font-weight: 700;
  color: #fff;
}

.spotlight-sub {
  font-size: 0.78rem;
  color: #718096;
  margin-top: 0.2rem;
}

.mini-card-stage {
  margin: 1.2rem 0;
  perspective: 900px;
  display: flex;
  justify-content: center;
  cursor: pointer;
}

.mini-titanium-card {
  width: 100%;
  max-width: 280px;
  aspect-ratio: 1.586 / 1;
  background: linear-gradient(135deg, #1C2028 0%, #0F1218 60%, #080A0E 100%);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 12px;
  padding: 1.1rem;
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.4), inset 0 1px 0 rgba(255, 255, 255, 0.1);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  position: relative;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.mini-titanium-card:hover {
  transform: translateY(-3px) scale(1.02);
  box-shadow: 0 14px 30px rgba(0, 0, 0, 0.5), 0 0 16px rgba(0, 229, 153, 0.15);
}

.mini-card-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.mini-card-brand {
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  color: #EDEDED;
}

.mini-card-tier {
  font-size: 0.55rem;
  font-family: var(--font-mono);
  font-weight: 700;
  letter-spacing: 0.12em;
  color: var(--emerald);
}

.mini-card-mid {
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

.mini-chip {
  width: 28px;
  height: 20px;
  border-radius: 3px;
  background: linear-gradient(135deg, #E2B755 0%, #A27B20 100%);
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.mini-waves {
  color: #64748B;
}

.mini-card-bottom {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
}

.mini-card-pan {
  font-family: var(--font-mono);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  color: #EDEDED;
}

.mini-card-visa {
  font-size: 0.92rem;
  font-weight: 800;
  font-style: italic;
  letter-spacing: 0.04em;
  color: #FFFFFF;
}

/* Summary Card */
.summary-card {
  padding: 1.5rem;
}

.summary-header {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  margin-bottom: 1.1rem;
}

.summary-period {
  font-size: 0.72rem;
  font-family: var(--font-mono);
  color: #64748B;
}

.summary-rows {
  display: flex;
  flex-direction: column;
  gap: 0.9rem;
}

.summary-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.85rem;
}

.summary-label {
  color: #94A3B8;
}

.summary-value {
  font-family: var(--font-mono);
  font-weight: 700;
  color: #EDEDED;
}

/* ─────────────────────────────────────────────────────────────────────────────
   5. TAB 2: CARDS (Single Card Workstation)
   ───────────────────────────────────────────────────────────────────────────── */
.cards-view-shell {
  display: flex;
  flex-direction: column;
  gap: 1.8rem;
}

.cards-view-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  flex-wrap: wrap;
  gap: 1rem;
}

.cards-plan-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.35rem 0.8rem;
  background: #11151D;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-pill);
  font-size: 0.76rem;
  font-family: var(--font-mono);
  color: #94A3B8;
}

.pill-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background-color: var(--emerald);
}

.card-station-card {
  padding: 2.2rem;
}

.station-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2.5rem;
  align-items: center;
}

/* Interactive Card Render */
.station-visual-col {
  display: flex;
  flex-direction: column;
  gap: 1.4rem;
}

.interactive-card-slab {
  width: 100%;
  aspect-ratio: 1.586 / 1;
  border-radius: 16px;
  background: radial-gradient(circle at 80% 20%, #252B37 0%, #12151D 50%, #090B0F 100%);
  border: 1px solid rgba(255, 255, 255, 0.12);
  padding: 1.8rem;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.6), inset 0 1px 0 rgba(255, 255, 255, 0.15);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  position: relative;
  overflow: hidden;
  transition: all 0.3s ease;
}

.card-glass-sheen {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 50%;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.06) 0%, transparent 100%);
  pointer-events: none;
}

.card-row-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  position: relative;
  z-index: 2;
}

.card-brand-meta {
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

.card-chip-brand {
  width: 24px;
  height: 24px;
  border-radius: 50%;
}

.card-label-text {
  font-size: 0.85rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  color: #fff;
}

.card-badge-status {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.65rem;
  font-family: var(--font-mono);
  font-weight: 700;
  letter-spacing: 0.08em;
  padding: 0.2rem 0.5rem;
  border-radius: var(--radius-pill);
  background: rgba(0, 229, 153, 0.12);
  color: var(--emerald);
  border: 1px solid rgba(0, 229, 153, 0.25);
}

.status-indicator-dot {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background-color: currentColor;
}

.card-badge-status.frozen {
  background: rgba(245, 158, 11, 0.12);
  color: #FBBF24;
  border-color: rgba(245, 158, 11, 0.3);
}

.card-hardware-spec {
  display: flex;
  align-items: center;
  gap: 0.9rem;
  margin: 0.4rem 0;
  position: relative;
  z-index: 2;
}

.card-emv-gold {
  width: 42px;
  height: 30px;
  border-radius: 5px;
  background: linear-gradient(135deg, #E6C26D 0%, #B88B2A 100%);
  border: 1px solid rgba(255, 255, 255, 0.25);
  box-shadow: inset 0 0 3px rgba(0,0,0,0.4);
}

.card-contactless {
  color: #718096;
}

.card-pan-row {
  margin: 0.4rem 0;
  position: relative;
  z-index: 2;
}

.card-pan-digits {
  font-family: var(--font-mono);
  font-size: 1.25rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  color: #FFFFFF;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
}

.card-row-bottom {
  display: flex;
  align-items: flex-end;
  gap: 1.2rem;
  position: relative;
  z-index: 2;
}

.card-meta-block {
  display: flex;
  flex-direction: column;
}

.card-meta-label {
  font-size: 0.55rem;
  font-family: var(--font-mono);
  font-weight: 600;
  letter-spacing: 0.1em;
  color: #64748B;
}

.card-meta-value {
  font-family: var(--font-mono);
  font-size: 0.85rem;
  font-weight: 700;
  color: #EDEDED;
  margin-top: 1px;
}

.card-holder-block {
  margin-right: auto;
}

.card-visa-logo {
  font-size: 1.35rem;
  font-weight: 800;
  font-style: italic;
  letter-spacing: 0.04em;
  color: #FFFFFF;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.4);
}

/* Card Frozen Overlay */
.card-frozen-overlay {
  position: absolute;
  inset: 0;
  background: rgba(10, 13, 18, 0.85);
  backdrop-filter: blur(6px);
  display: none;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  color: #FBBF24;
  font-family: var(--font-mono);
  font-weight: 800;
  font-size: 0.9rem;
  letter-spacing: 0.1em;
  z-index: 10;
}

.interactive-card-slab.frozen .card-frozen-overlay {
  display: flex;
}

.card-quick-indicators {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.indicator-item {
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: var(--radius-md);
  padding: 0.8rem 1rem;
  display: flex;
  flex-direction: column;
}

.ind-label {
  font-size: 0.72rem;
  color: #64748B;
}

.ind-val {
  font-size: 1.05rem;
  font-family: var(--font-mono);
  font-weight: 700;
  color: #EDEDED;
  margin-top: 0.2rem;
}

.ind-emerald {
  color: var(--emerald);
}

/* Controls Column */
.station-controls-col {
  display: flex;
  flex-direction: column;
  gap: 1.4rem;
}

.controls-title {
  font-size: 1.15rem;
  font-weight: 700;
  color: #fff;
}

.controls-desc {
  font-size: 0.84rem;
  color: #94A3B8;
  margin-top: 0.3rem;
  line-height: 1.4;
}

.controls-action-stack {
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
}

.control-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  padding: 0.75rem 1rem;
  font-size: 0.86rem;
}

.freeze-toggle-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.9rem 1.1rem;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: var(--radius-md);
  margin-top: 0.4rem;
}

.freeze-title {
  font-size: 0.86rem;
  font-weight: 600;
  color: #EDEDED;
}

.freeze-sub {
  font-size: 0.72rem;
  color: #64748B;
  margin-top: 1px;
}

/* Switch UI */
.switch {
  position: relative;
  display: inline-block;
  width: 44px;
  height: 24px;
}

.switch input {
  opacity: 0;
  width: 0;
  height: 0;
}

.slider {
  position: absolute;
  cursor: pointer;
  inset: 0;
  background-color: #1E2530;
  transition: 0.2s;
  border-radius: 34px;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.slider:before {
  position: absolute;
  content: "";
  height: 16px;
  width: 16px;
  left: 3px;
  bottom: 3px;
  background-color: #94A3B8;
  transition: 0.2s;
  border-radius: 50%;
}

input:checked + .slider {
  background-color: rgba(245, 158, 11, 0.3);
  border-color: #F59E0B;
}

input:checked + .slider:before {
  transform: translateX(20px);
  background-color: #FBBF24;
}

.station-meta-footnote {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.74rem;
  color: #64748B;
  line-height: 1.4;
  padding: 0.6rem 0.8rem;
  background: rgba(0, 229, 153, 0.03);
  border: 1px solid rgba(0, 229, 153, 0.08);
  border-radius: var(--radius-sm);
}

/* Specifications Card */
.specs-card {
  padding: 1.8rem;
}

.specs-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1.4rem;
}

.specs-tag {
  font-size: 0.7rem;
  font-family: var(--font-mono);
  color: #64748B;
}

.specs-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
}

.spec-cell {
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: var(--radius-md);
  padding: 1rem 1.2rem;
}

.spec-label {
  font-size: 0.74rem;
  color: #64748B;
  margin-bottom: 0.3rem;
}

.spec-value {
  font-size: 0.88rem;
  font-weight: 600;
  color: #EDEDED;
}

.val-emerald {
  color: var(--emerald) !important;
}

/* ─────────────────────────────────────────────────────────────────────────────
   6. TAB 3: REFLECTIONS
   ───────────────────────────────────────────────────────────────────────────── */
.reflections-view-shell {
  display: flex;
  flex-direction: column;
  gap: 1.8rem;
}

.reflections-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  flex-wrap: wrap;
  gap: 1rem;
}

.reflections-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.35rem 0.8rem;
  background: rgba(0, 229, 153, 0.08);
  border: 1px solid rgba(0, 229, 153, 0.25);
  border-radius: var(--radius-pill);
  font-size: 0.75rem;
  font-family: var(--font-mono);
  color: var(--emerald);
}

.badge-pulse {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--emerald);
  box-shadow: 0 0 8px var(--emerald);
}

.telemetry-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.2rem;
}

.metric-card {
  padding: 1.4rem;
}

.metric-label {
  font-size: 0.72rem;
  font-family: var(--font-mono);
  color: #64748B;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.metric-value {
  font-size: 1.45rem;
  font-family: var(--font-mono);
  font-weight: 700;
  color: #FFFFFF;
  margin: 0.5rem 0 0.2rem;
}

.metric-sub {
  font-size: 0.72rem;
  color: #64748B;
}

.auto-sweep-card {
  padding: 1.8rem;
}

.sweep-header-row {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: 1.2rem;
  flex-wrap: wrap;
  gap: 1rem;
}

.sweep-numbers {
  font-family: var(--font-mono);
  font-size: 1.3rem;
  font-weight: 700;
}

.sweep-current {
  color: var(--emerald);
}

.sweep-divider {
  color: #526071;
  margin: 0 0.2rem;
}

.sweep-target {
  color: #94A3B8;
}

.sweep-progress-track {
  width: 100%;
  height: 10px;
  background: rgba(255, 255, 255, 0.05);
  border-radius: var(--radius-pill);
  overflow: hidden;
  margin-bottom: 0.8rem;
}

.sweep-progress-fill {
  height: 100%;
  background: linear-gradient(90deg, #00E599 0%, #10B981 100%);
  box-shadow: 0 0 12px rgba(0, 229, 153, 0.5);
  transition: width 0.4s ease;
}

.sweep-meta-bar {
  display: flex;
  justify-content: space-between;
  font-size: 0.74rem;
  font-family: var(--font-mono);
  color: #64748B;
}

.epoch-table-card {
  padding: 1.6rem;
}

.epoch-card-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1.2rem;
}

.epoch-note {
  font-size: 0.72rem;
  font-family: var(--font-mono);
  color: #64748B;
}

.epoch-table-wrap {
  overflow-x: auto;
}

.dash-table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
  font-size: 0.84rem;
}

.dash-table th {
  padding: 0.7rem 1rem;
  font-size: 0.72rem;
  font-family: var(--font-mono);
  color: #64748B;
  text-transform: uppercase;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.dash-table td {
  padding: 0.9rem 1rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.03);
  color: #EDEDED;
}

.dash-table tbody tr:hover td {
  background: rgba(255, 255, 255, 0.02);
}

/* ─────────────────────────────────────────────────────────────────────────────
   7. TAB 4: SETTINGS (Matches screenshot 3)
   ───────────────────────────────────────────────────────────────────────────── */
.settings-view-shell {
  display: flex;
  flex-direction: column;
  gap: 1.8rem;
}

.settings-view-header {
  margin-bottom: 0.5rem;
}

.settings-grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: 1.8rem;
  align-items: start;
}

.settings-col {
  display: flex;
  flex-direction: column;
  gap: 1.8rem;
}

.settings-group-label {
  font-size: 0.92rem;
  font-weight: 700;
  color: #EDEDED;
  margin-bottom: 0.4rem;
}

.settings-group-desc {
  font-size: 0.78rem;
  color: #718096;
  margin-bottom: 0.8rem;
}

.settings-card {
  padding: 0.5rem;
}

.settings-row-btn {
  width: 100%;
  display: flex;
  align-items: center;
  gap: 0.9rem;
  padding: 0.9rem 1rem;
  background: transparent;
  border: none;
  color: inherit;
  text-decoration: none;
  cursor: pointer;
  border-radius: var(--radius-md);
  text-align: left;
  transition: all 0.15s ease;
}

.settings-row-btn:hover {
  background: rgba(255, 255, 255, 0.04);
}

.settings-row-item {
  display: flex;
  align-items: center;
  gap: 0.9rem;
  padding: 0.9rem 1rem;
}

.row-icon {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.06);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #94A3B8;
  flex-shrink: 0;
}

.row-body {
  flex: 1;
}

.row-title {
  font-size: 0.88rem;
  font-weight: 600;
  color: #EDEDED;
}

.row-title-flex {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.88rem;
  font-weight: 600;
  color: #EDEDED;
}

.status-badge-off {
  font-size: 0.65rem;
  font-family: var(--font-mono);
  font-weight: 600;
  color: #64748B;
  padding: 0.1rem 0.4rem;
  background: rgba(255, 255, 255, 0.04);
  border-radius: var(--radius-pill);
}

.status-badge-on {
  font-size: 0.65rem;
  font-family: var(--font-mono);
  font-weight: 600;
  color: var(--emerald);
  padding: 0.1rem 0.4rem;
  background: rgba(0, 229, 153, 0.1);
  border-radius: var(--radius-pill);
}

.row-sub {
  font-size: 0.76rem;
  color: #718096;
  margin-top: 2px;
}

.row-chevron {
  color: #526071;
}

.row-divider {
  height: 1px;
  background: rgba(255, 255, 255, 0.04);
  margin: 0 0.8rem;
}

.settings-note-card {
  padding: 1.2rem;
  background: rgba(255, 255, 255, 0.02);
  border-color: rgba(255, 255, 255, 0.05);
}

.note-header {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.82rem;
  font-weight: 600;
  color: #EDEDED;
  margin-bottom: 0.4rem;
}

.note-body {
  font-size: 0.76rem;
  color: #718096;
  line-height: 1.45;
}

.session-card {
  padding: 1.4rem;
}

.session-title {
  font-size: 0.92rem;
  font-weight: 700;
  color: #EDEDED;
  margin-bottom: 0.4rem;
}

.session-desc {
  font-size: 0.78rem;
  color: #718096;
  line-height: 1.45;
  margin-bottom: 1.2rem;
}

.btn-signout {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  color: #EF4444;
}

.btn-signout:hover {
  background: rgba(239, 68, 68, 0.1);
  border-color: rgba(239, 68, 68, 0.3);
  color: #F87171;
}

/* ─────────────────────────────────────────────────────────────────────────────
   8. TAB 5: RESELLERS & API (Matches screenshot 4)
   ───────────────────────────────────────────────────────────────────────────── */
.api-view-shell {
  display: flex;
  flex-direction: column;
  gap: 1.8rem;
}

.restricted-api-card {
  max-width: 640px;
  padding: 2.2rem;
}

.restricted-icon-wrap {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.06);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #94A3B8;
  margin-bottom: 1.2rem;
}

.restricted-badge {
  display: inline-block;
  font-size: 0.7rem;
  font-family: var(--font-mono);
  color: #718096;
  margin-bottom: 0.4rem;
}

.restricted-title {
  font-size: 1.15rem;
  font-weight: 700;
  color: #FFFFFF;
  margin-bottom: 0.6rem;
}

.restricted-desc {
  font-size: 0.86rem;
  color: #94A3B8;
  line-height: 1.5;
  margin-bottom: 1.6rem;
}

.developer-stream-card {
  padding: 1.8rem;
}

.dev-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 1.2rem;
}

.code-terminal {
  background: #06080B;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-md);
  overflow: hidden;
}

.code-terminal-header {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  padding: 0.6rem 1rem;
  background: rgba(255, 255, 255, 0.03);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.term-dots {
  display: flex;
  gap: 5px;
}

.term-dots span {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #252D3A;
}

.term-title {
  font-size: 0.72rem;
  font-family: var(--font-mono);
  color: #64748B;
}

.code-snippet {
  margin: 0;
  padding: 1.2rem;
  font-family: var(--font-mono);
  font-size: 0.78rem;
  color: #A7F3D0;
  overflow-x: auto;
  line-height: 1.5;
}

/* ─────────────────────────────────────────────────────────────────────────────
   9. MODALS & ONBOARDING WIZARD (Matches screenshot 5)
   ───────────────────────────────────────────────────────────────────────────── */
.dash-modal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(5, 6, 8, 0.75);
  backdrop-filter: blur(14px);
  display: none;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
  z-index: 200;
  animation: fadeInModal 0.2s var(--ease-smooth);
}

.dash-modal-backdrop.show {
  display: flex;
}

@keyframes fadeInModal {
  from { opacity: 0; }
  to { opacity: 1; }
}

.dash-modal {
  background: #0E1217;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 20px;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.7);
  width: 100%;
  position: relative;
  overflow: hidden;
}

.wizard-modal {
  max-width: 520px;
  padding: 2.2rem;
}

.small-modal {
  max-width: 440px;
  padding: 2rem;
}

.modal-close-btn {
  position: absolute;
  top: 1.2rem;
  right: 1.2rem;
  background: transparent;
  border: none;
  color: #64748B;
  cursor: pointer;
  padding: 0.4rem;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.15s ease;
}

.modal-close-btn:hover {
  color: #fff;
  background: rgba(255, 255, 255, 0.05);
}

/* 4-Step Stepper Header */
.wizard-stepper {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 2rem;
  position: relative;
}

.step-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.3rem;
  position: relative;
  z-index: 2;
}

.step-num {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: #141820;
  border: 1px solid rgba(255, 255, 255, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
  font-family: var(--font-mono);
  font-weight: 700;
  color: #64748B;
}

.step-item.active .step-num {
  background: rgba(0, 229, 153, 0.15);
  border-color: var(--emerald);
  color: var(--emerald);
  box-shadow: 0 0 10px rgba(0, 229, 153, 0.3);
}

.step-item.completed .step-num {
  background: var(--emerald);
  border-color: var(--emerald);
  color: #050608;
}

.step-label {
  font-size: 0.72rem;
  font-weight: 600;
  color: #64748B;
}

.step-item.active .step-label {
  color: #EDEDED;
}

.step-line {
  flex: 1;
  height: 1px;
  background: rgba(255, 255, 255, 0.08);
  margin: 0 0.5rem;
  margin-top: -16px;
  z-index: 1;
}

.wizard-step-pane {
  display: none;
}

.wizard-step-pane.active {
  display: block;
}

.modal-title {
  font-size: 1.45rem;
  font-weight: 800;
  color: #FFFFFF;
  letter-spacing: -0.02em;
}

.modal-sub {
  font-size: 0.85rem;
  color: #94A3B8;
  margin-top: 0.4rem;
  line-height: 1.45;
}

/* Feature List (Step 1) */
.wizard-feature-list {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin: 1.6rem 0;
}

.wizard-feature-item {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 0.85rem 1rem;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: var(--radius-md);
}

.feat-icon {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.04);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #94A3B8;
  flex-shrink: 0;
}

.feat-title {
  font-size: 0.88rem;
  font-weight: 600;
  color: #EDEDED;
}

.feat-desc {
  font-size: 0.74rem;
  color: #64748B;
}

.wizard-checkbox-box {
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: var(--radius-md);
  padding: 0.9rem 1rem;
  margin-bottom: 1.2rem;
}

.custom-checkbox {
  display: flex;
  align-items: flex-start;
  gap: 0.7rem;
  cursor: pointer;
  user-select: none;
}

.custom-checkbox input {
  display: none;
}

.checkmark {
  width: 18px;
  height: 18px;
  border-radius: 4px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  background: rgba(255, 255, 255, 0.04);
  margin-top: 1px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.12s ease;
}

.custom-checkbox input:checked + .checkmark {
  background: var(--emerald);
  border-color: var(--emerald);
}

.custom-checkbox input:checked + .checkmark::after {
  content: '✓';
  color: #050608;
  font-size: 0.75rem;
  font-weight: 800;
}

.checkbox-label {
  font-size: 0.78rem;
  color: #94A3B8;
  line-height: 1.4;
}

.checkbox-label a {
  color: #EDEDED;
  text-decoration: underline;
}

.wizard-submit-btn:disabled {
  opacity: 0.45;
  cursor: not-allowed;
}

.wizard-agree-hint {
  font-size: 0.72rem;
  text-align: center;
  color: #64748B;
  margin-top: 0.6rem;
}

.wizard-footer-link {
  font-size: 0.78rem;
  text-align: center;
  color: #718096;
  margin-top: 1.2rem;
}

.wizard-footer-link a {
  color: var(--emerald);
  font-weight: 600;
  text-decoration: none;
}

/* Step 2: Access Key Box */
.secret-display-box {
  background: #080A0E;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-md);
  padding: 1.4rem;
  margin: 1.4rem 0 1.8rem;
  text-align: center;
}

.secret-label {
  font-size: 0.72rem;
  font-family: var(--font-mono);
  color: #64748B;
  text-transform: uppercase;
}

.secret-code {
  font-family: var(--font-mono);
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--emerald);
  margin: 0.6rem 0 1rem;
  letter-spacing: 0.08em;
}

.btn-copy-secret {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
}

/* Step 3: Mnemonic Grid */
.mnemonic-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.6rem;
  margin: 1.4rem 0 1.8rem;
}

.seed-word {
  background: #0A0D12;
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: var(--radius-xs);
  padding: 0.55rem 0.7rem;
  font-family: var(--font-mono);
  font-size: 0.78rem;
  color: #EDEDED;
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

.seed-word span {
  color: #526071;
  font-size: 0.68rem;
}

/* Step 4: Ready Hero */
.wizard-ready-hero {
  text-align: center;
  padding: 1.5rem 0 2rem;
}

.ready-check-icon {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: rgba(0, 229, 153, 0.15);
  border: 2px solid var(--emerald);
  color: var(--emerald);
  font-size: 1.6rem;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.2rem;
  box-shadow: 0 0 20px rgba(0, 229, 153, 0.3);
}

/* Deposit Modal Styles */
.deposit-presets {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.5rem;
  margin: 1.2rem 0;
}

.preset-btn {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-sm);
  padding: 0.6rem 0;
  color: #94A3B8;
  font-family: var(--font-mono);
  font-weight: 600;
  cursor: pointer;
  transition: all 0.12s ease;
}

.preset-btn:hover {
  color: #fff;
  border-color: rgba(255, 255, 255, 0.16);
}

.preset-btn.active {
  background: rgba(0, 229, 153, 0.12);
  border-color: var(--emerald);
  color: var(--emerald);
}

.deposit-input-wrap {
  display: flex;
  align-items: center;
  background: #080A0E;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-md);
  padding: 0.7rem 1.1rem;
  margin-bottom: 1.2rem;
}

.deposit-currency-sym {
  font-size: 1.3rem;
  font-weight: 700;
  color: #64748B;
  margin-right: 0.5rem;
}

.deposit-input {
  flex: 1;
  background: transparent;
  border: none;
  font-family: var(--font-mono);
  font-size: 1.4rem;
  font-weight: 700;
  color: #fff;
  outline: none;
}

.deposit-tag {
  font-size: 0.78rem;
  font-family: var(--font-mono);
  color: #64748B;
}

.deposit-token-selector {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  margin-bottom: 1.5rem;
}

.token-choice {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  padding: 0.7rem 0.9rem;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: var(--radius-sm);
  cursor: pointer;
  font-size: 0.82rem;
  color: #94A3B8;
  transition: all 0.12s ease;
}

.token-choice.active {
  background: rgba(0, 229, 153, 0.05);
  border-color: rgba(0, 229, 153, 0.3);
  color: #fff;
}

.token-radio {
  width: 14px;
  height: 14px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.2);
  display: inline-block;
}

.token-choice.active .token-radio {
  border-color: var(--emerald);
  background: var(--emerald);
}

/* Wallet Steps (Apple / Google Pay Modal) */
.wallet-steps {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin: 1.4rem 0 1.8rem;
}

.w-step {
  display: flex;
  align-items: flex-start;
  gap: 0.8rem;
  font-size: 0.84rem;
  color: #94A3B8;
  line-height: 1.45;
}

.w-num {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: rgba(0, 229, 153, 0.1);
  color: var(--emerald);
  font-size: 0.72rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-top: 1px;
}

.w-step code {
  color: #EDEDED;
  background: rgba(255, 255, 255, 0.06);
  padding: 0.1rem 0.35rem;
  border-radius: var(--radius-xs);
}

/* ─────────────────────────────────────────────────────────────────────────────
   10. TOAST NOTIFICATION
   ───────────────────────────────────────────────────────────────────────────── */
.dash-toast {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  background: #12161F;
  border: 1px solid rgba(0, 229, 153, 0.3);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.6), 0 0 15px rgba(0, 229, 153, 0.2);
  border-radius: var(--radius-md);
  padding: 0.75rem 1.1rem;
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.84rem;
  font-weight: 600;
  color: #EDEDED;
  z-index: 300;
  transform: translateY(100px);
  opacity: 0;
  transition: all 0.25s var(--ease-smooth);
}

.dash-toast.show {
  transform: translateY(0);
  opacity: 1;
}

.toast-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background-color: var(--emerald);
  box-shadow: 0 0 8px var(--emerald);
}

/* ─────────────────────────────────────────────────────────────────────────────
   11. RESPONSIVE BREAKPOINTS
   ───────────────────────────────────────────────────────────────────────────── */
@media (max-width: 1024px) {
  .dash-home-grid {
    grid-template-columns: 1fr;
  }
  .station-grid {
    grid-template-columns: 1fr;
  }
  .settings-grid {
    grid-template-columns: 1fr;
  }
  .telemetry-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .dash-sidebar {
    transform: translateX(-100%);
  }
  .dash-sidebar.open {
    transform: translateX(0);
    box-shadow: 10px 0 40px rgba(0, 0, 0, 0.8);
  }
  .dash-main {
    margin-left: 0;
  }
  .dash-mobile-toggle {
    display: flex;
  }
  .dash-view-container {
    padding: 1.2rem;
  }
  .specs-grid {
    grid-template-columns: 1fr;
  }
  .telemetry-grid {
    grid-template-columns: 1fr;
  }
}

