/* ===== TOAST ===== */
.toast {
  position: fixed;
  top: 20px;
  left: 50%;
  transform: translateX(-50%) translateY(-100px);
  z-index: 999;
  padding: 12px 20px;
  border-radius: var(--radius-md);
  font-size: 14px;
  font-weight: 600;
  transition: transform 0.35s cubic-bezier(0.32, 0.72, 0, 1);
  box-shadow: var(--shadow-lg);
  white-space: nowrap;
}

.toast.show { transform: translateX(-50%) translateY(0); }
.toast.success { background: var(--accent-green); color: #0a0a0f; }
.toast.error { background: var(--accent-red); color: white; }
.toast.info { background: var(--accent-blue); color: white; }

/* ===== EMPTY STATE ===== */
.empty-state {
  text-align: center;
  padding: 40px 20px;
}

.empty-icon {
  font-size: 48px;
  margin-bottom: 12px;
}

.empty-title {
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 6px;
}

.empty-text {
  font-size: 13px;
  color: var(--text-muted);
  line-height: 1.5;
}

/* ===== DEPOSIT MODAL ===== */
.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.7);
  z-index: 200;
  opacity: 0;
  visibility: hidden;
  transition: var(--transition);
}

.modal-overlay.active {
  opacity: 1;
  visibility: visible;
}

.deposit-modal {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: var(--bg-secondary);
  border-radius: var(--radius-xl) var(--radius-xl) 0 0;
  z-index: 201;
  transform: translateY(100%);
  transition: transform 0.35s cubic-bezier(0.32, 0.72, 0, 1);
  max-height: 90vh;
  overflow-y: auto;
}

.deposit-modal.active {
  transform: translateY(0);
}

.deposit-modal-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 16px 20px;
  border-bottom: 1px solid var(--border);
}

.deposit-modal-header h3 {
  font-size: 18px;
  font-weight: 700;
  margin: 0;
}

.modal-close-btn {
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--bg-input);
  border: 1px solid var(--border);
  border-radius: 50%;
  color: var(--text-secondary);
  cursor: pointer;
  transition: var(--transition);
}

.modal-close-btn:active {
  background: var(--border);
}

.deposit-modal-body {
  padding: 20px;
}

.deposit-network,
.deposit-token {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 16px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  margin-bottom: 12px;
}

.network-label,
.token-label {
  font-size: 13px;
  color: var(--text-muted);
}

.network-value {
  font-size: 13px;
  font-weight: 600;
  color: var(--accent-yellow);
}

.token-value {
  font-size: 13px;
  font-weight: 600;
  color: var(--accent-green);
}

.qr-container {
  display: flex;
  justify-content: center;
  padding: 24px;
  background: white;
  border-radius: var(--radius-lg);
  margin: 16px 0;
}

.qr-container img {
  width: 180px;
  height: 180px;
}

.deposit-address-section {
  margin-top: 16px;
}

.address-label {
  display: block;
  font-size: 12px;
  color: var(--text-muted);
  margin-bottom: 8px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.address-row {
  display: flex;
  gap: 8px;
  align-items: stretch;
}

.address-value {
  flex: 1;
  padding: 12px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  color: var(--text-primary);
  word-break: break-all;
  line-height: 1.4;
}

.copy-btn {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 12px 16px;
  background: var(--accent-blue);
  border: none;
  border-radius: var(--radius-md);
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 13px;
  font-weight: 600;
  color: white;
  cursor: pointer;
  transition: var(--transition);
  white-space: nowrap;
}

.copy-btn:active {
  transform: scale(0.96);
  opacity: 0.9;
}

.deposit-warning {
  margin-top: 16px;
  padding: 12px;
  background: rgba(255, 152, 0, 0.1);
  border: 1px solid rgba(255, 152, 0, 0.2);
  border-radius: var(--radius-md);
  font-size: 12px;
  color: #ff9800;
  line-height: 1.4;
}

/* ===== PROFILE PAGE ===== */
.profile-header {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 20px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  margin-bottom: 16px;
}

.profile-avatar {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--accent-blue), var(--accent-purple));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
}

.profile-info {
  flex: 1;
}

.profile-name {
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 4px;
}

.profile-username {
  font-size: 13px;
  color: var(--text-muted);
}

.profile-rank {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
}

.profile-rank-label {
  font-size: 11px;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.profile-rank-value {
  font-family: 'JetBrains Mono', monospace;
  font-size: 24px;
  font-weight: 700;
  color: var(--accent-yellow);
}

.profile-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  margin-bottom: 16px;
}

.profile-stat {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 14px;
  text-align: center;
}

.profile-stat-label {
  font-size: 10px;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 4px;
}

.profile-stat-value {
  font-family: 'JetBrains Mono', monospace;
  font-size: 16px;
  font-weight: 700;
}

.profile-stat-value.positive { color: var(--accent-green); }
.profile-stat-value.negative { color: var(--accent-red); }

.profile-details {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
}

.profile-detail-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 14px 16px;
  border-bottom: 1px solid var(--border);
}

.profile-detail-row:last-child {
  border-bottom: none;
}

.profile-detail-label {
  font-size: 13px;
  color: var(--text-secondary);
}

.profile-detail-value {
  font-family: 'JetBrains Mono', monospace;
  font-size: 14px;
  font-weight: 600;
  color: var(--text-primary);
}

.profile-position-mini {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 12px;
  margin-bottom: 8px;
}

.profile-position-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 8px;
}

.profile-position-question {
  font-size: 13px;
  font-weight: 600;
  flex: 1;
  margin-right: 10px;
}

.profile-position-stats {
  display: flex;
  gap: 16px;
  font-size: 12px;
}

.profile-position-stat {
  display: flex;
  flex-direction: column;
}

.profile-position-stat-label {
  color: var(--text-muted);
  font-size: 10px;
  text-transform: uppercase;
}

.profile-position-stat-value {
  font-family: 'JetBrains Mono', monospace;
  font-weight: 600;
}

/* ===== PROFILE MODAL ===== */
.profile-modal {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: var(--bg-secondary);
  border-radius: var(--radius-xl) var(--radius-xl) 0 0;
  z-index: 201;
  transform: translateY(100%);
  transition: transform 0.35s cubic-bezier(0.32, 0.72, 0, 1);
  max-height: 85vh;
  overflow-y: auto;
}

.profile-modal.active {
  transform: translateY(0);
}

.profile-modal-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 16px 20px;
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  background: var(--bg-secondary);
  z-index: 1;
}

.profile-modal-header h3 {
  font-size: 18px;
  font-weight: 700;
  margin: 0;
}

.profile-modal-body {
  padding: 16px;
}

/* User Card */
.pm-user-card {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 16px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  margin-bottom: 16px;
}

.pm-avatar {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--accent-blue), var(--accent-purple));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 26px;
  font-weight: 700;
  color: white;
}

.pm-avatar-img {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid var(--accent-blue);
}

.pm-user-info {
  flex: 1;
}

.pm-name {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 2px;
}

.pm-username {
  font-size: 13px;
  color: var(--text-muted);
}

.pm-rank {
  text-align: right;
}

.pm-rank-label {
  display: block;
  font-size: 10px;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.pm-rank-value {
  font-family: 'JetBrains Mono', monospace;
  font-size: 22px;
  font-weight: 700;
  color: var(--accent-yellow);
}

/* Stats Grid */
.pm-stats-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-bottom: 16px;
}

.pm-stat {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
}

.pm-stat-icon {
  font-size: 24px;
}

.pm-stat-info {
  display: flex;
  flex-direction: column;
}

.pm-stat-value {
  font-family: 'JetBrains Mono', monospace;
  font-size: 16px;
  font-weight: 700;
}

.pm-stat-value.positive { color: var(--accent-green); }
.pm-stat-value.negative { color: var(--accent-red); }

.pm-stat-label {
  font-size: 11px;
  color: var(--text-muted);
}

/* Details Section */
.pm-details {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  margin-bottom: 16px;
}

.pm-details-title {
  font-size: 13px;
  font-weight: 700;
  color: var(--text-secondary);
  padding: 12px 16px;
  background: var(--bg-input);
  border-bottom: 1px solid var(--border);
}

.pm-detail-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 16px;
  border-bottom: 1px solid var(--border);
}

.pm-detail-row:last-child {
  border-bottom: none;
}

.pm-detail-label {
  font-size: 13px;
  color: var(--text-secondary);
}

.pm-detail-value {
  font-family: 'JetBrains Mono', monospace;
  font-size: 13px;
  font-weight: 600;
}

/* Achievements */
.pm-achievements {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
}

.pm-badges {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  padding: 12px;
}

.pm-badge {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px;
  background: var(--bg-input);
  border-radius: var(--radius-md);
  opacity: 0.4;
  filter: grayscale(1);
  transition: var(--transition);
}

.pm-badge.unlocked {
  opacity: 1;
  filter: none;
  background: var(--accent-green-bg);
  border: 1px solid var(--accent-green-border);
}

.pm-badge-icon {
  font-size: 20px;
}

.pm-badge-name {
  font-size: 12px;
  font-weight: 600;
  color: var(--text-secondary);
}

.pm-badge.unlocked .pm-badge-name {
  color: var(--text-primary);
}

/* Profile Balances */
.pm-balances {
  display: flex;
  gap: 10px;
  margin-bottom: 12px;
}

.pm-balance-item {
  flex: 1;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
}

.pm-balance-icon {
  font-size: 24px;
}

.pm-balance-info {
  display: flex;
  flex-direction: column;
}

.pm-balance-value {
  font-family: 'JetBrains Mono', monospace;
  font-size: 18px;
  font-weight: 700;
  color: var(--accent-green);
}

.pm-balance-value.points {
  color: #ffc107;
}

.pm-balance-label {
  font-size: 11px;
  color: var(--text-muted);
}

/* Stats Row */
.pm-stats-row {
  display: flex;
  gap: 8px;
  margin-bottom: 16px;
}

.pm-stat-mini {
  flex: 1;
  text-align: center;
  padding: 10px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
}

.pm-stat-mini-value {
  display: block;
  font-family: 'JetBrains Mono', monospace;
  font-size: 14px;
  font-weight: 700;
}

.pm-stat-mini-value.positive { color: var(--accent-green); }
.pm-stat-mini-value.negative { color: var(--accent-red); }

.pm-stat-mini-label {
  font-size: 10px;
  color: var(--text-muted);
}

/* Referral Section */
.pm-referral-section {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  margin-bottom: 12px;
}

.pm-section-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 14px;
  background: var(--bg-input);
  border-bottom: 1px solid var(--border);
}

.pm-section-title {
  font-size: 13px;
  font-weight: 700;
}

.pm-section-count {
  background: var(--accent-blue);
  color: white;
  font-size: 11px;
  font-weight: 700;
  padding: 2px 8px;
  border-radius: 10px;
}

.pm-referral-stats {
  display: flex;
  padding: 14px;
  gap: 8px;
  border-bottom: 1px solid var(--border);
}

.pm-ref-stat {
  flex: 1;
  text-align: center;
  padding: 10px 8px;
  background: var(--bg-input);
  border-radius: var(--radius-sm);
}

.pm-ref-stat.highlight {
  background: var(--accent-green-bg);
  border: 1px solid var(--accent-green-border);
}

.pm-ref-stat-value {
  display: block;
  font-family: 'JetBrains Mono', monospace;
  font-size: 16px;
  font-weight: 700;
  color: var(--text-primary);
}

.pm-ref-stat.highlight .pm-ref-stat-value {
  color: var(--accent-green);
}

.pm-ref-stat-label {
  font-size: 9px;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.3px;
}

.pm-referral-link-section {
  padding: 14px;
  border-bottom: 1px solid var(--border);
}

.pm-ref-code {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 14px;
  background: var(--bg-input);
  border-radius: var(--radius-md);
  margin-bottom: 10px;
}

.pm-ref-code-label {
  font-size: 12px;
  color: var(--text-muted);
}

.pm-ref-code-value {
  font-family: 'JetBrains Mono', monospace;
  font-size: 14px;
  font-weight: 700;
  color: var(--accent-blue);
  letter-spacing: 1px;
}

.pm-ref-actions {
  display: flex;
  gap: 8px;
}

.pm-ref-btn {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 10px;
  border: none;
  border-radius: var(--radius-md);
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition);
}

.pm-ref-btn.copy {
  background: var(--bg-input);
  border: 1px solid var(--border);
  color: var(--text-primary);
}

.pm-ref-btn.share {
  background: var(--accent-blue);
  color: white;
}

.pm-ref-btn:active {
  transform: scale(0.96);
}

.pm-ref-info {
  padding: 12px 14px;
}

.pm-ref-info-row {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 6px 0;
}

.pm-ref-info-icon {
  font-size: 16px;
}

.pm-ref-info-text {
  font-size: 12px;
  color: var(--text-secondary);
}

/* Referrals List */
.pm-referrals-list {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
}

.pm-ref-level {
  border-bottom: 1px solid var(--border);
}

.pm-ref-level:last-child {
  border-bottom: none;
}

.pm-ref-level-header {
  padding: 8px 14px;
  font-size: 11px;
  font-weight: 600;
  color: var(--text-muted);
  background: var(--bg-input);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.pm-ref-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 14px;
  border-bottom: 1px solid rgba(255,255,255,0.03);
}

.pm-ref-item:last-child {
  border-bottom: none;
}

.pm-ref-item.level2 {
  padding-left: 26px;
  opacity: 0.8;
}

.pm-ref-item-avatar {
  width: 32px;
  height: 32px;
  background: var(--bg-input);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
}

.pm-ref-item-info {
  flex: 1;
}

.pm-ref-item-name {
  display: block;
  font-size: 13px;
  font-weight: 600;
}

.pm-ref-item-date {
  font-size: 11px;
  color: var(--text-muted);
}

.pm-ref-item-earned {
  font-family: 'JetBrains Mono', monospace;
  font-size: 13px;
  font-weight: 600;
  color: var(--accent-green);
}

/* ===== PROFILE — WALLET BUTTON ===== */
.pm-wallet-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 100%;
  padding: 14px;
  margin: 16px 0;
  background: linear-gradient(135deg, var(--accent-blue), var(--accent-purple));
  border: none;
  border-radius: var(--radius-md);
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 15px;
  font-weight: 700;
  color: white;
  cursor: pointer;
  transition: var(--transition);
  letter-spacing: 0.5px;
}

.pm-wallet-btn:active {
  transform: scale(0.97);
  opacity: 0.9;
}

/* ===== PROFILE — BALANCE GRID ===== */
.pm-balance-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-bottom: 12px;
}

.pm-balance-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 16px;
}

.pm-balance-card.main {
  border-color: var(--accent-green-border);
  background: var(--accent-green-bg);
}

.pm-balance-card-label {
  font-size: 12px;
  color: var(--text-muted);
  margin-bottom: 6px;
}

.pm-balance-card-value {
  font-family: 'JetBrains Mono', monospace;
  font-size: 20px;
  font-weight: 700;
  color: var(--text-primary);
}

.pm-balance-card-value.points {
  color: var(--accent-yellow);
}

/* ===== PROFILE — 4-COL STATS ===== */
.pm-stats-grid-4 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 6px;
  margin-bottom: 16px;
}

.pm-stat-cell {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 10px 6px;
  text-align: center;
}

.pm-stat-cell-value {
  display: block;
  font-family: 'JetBrains Mono', monospace;
  font-size: 13px;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 2px;
}

.pm-stat-cell-value.positive { color: var(--accent-green); }
.pm-stat-cell-value.negative { color: var(--accent-red); }

.pm-stat-cell-label {
  font-size: 10px;
  color: var(--text-muted);
}

/* ===== WALLET MODAL ===== */
.wallet-modal {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: var(--bg-secondary);
  border-radius: var(--radius-xl) var(--radius-xl) 0 0;
  z-index: 201;
  transform: translateY(100%);
  transition: transform 0.35s cubic-bezier(0.32, 0.72, 0, 1);
  max-height: 92vh;
  overflow-y: auto;
}

.wallet-modal.active {
  transform: translateY(0);
}

.wallet-modal-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 16px 20px;
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  background: var(--bg-secondary);
  z-index: 2;
}

.wallet-modal-header h3 {
  font-size: 18px;
  font-weight: 700;
  margin: 0;
}

.wallet-modal-body {
  padding: 16px 20px 24px;
}

/* ===== WALLET TABS ===== */
.wl-tabs {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 4px;
  margin-bottom: 20px;
}

.wl-tab {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px;
  border: none;
  border-radius: var(--radius-sm);
  background: transparent;
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 14px;
  font-weight: 600;
  color: var(--text-muted);
  cursor: pointer;
  transition: var(--transition);
}

.wl-tab.active {
  background: var(--bg-secondary);
  color: var(--text-primary);
  box-shadow: 0 2px 8px rgba(0,0,0,0.3);
}

.wl-tab:active {
  transform: scale(0.97);
}

/* ===== WALLET CONTENT ===== */
.wl-content {
  animation: fadeSlideUp 0.25s ease;
}

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

.wl-balance-display {
  text-align: center;
  padding: 20px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  margin-bottom: 20px;
}

.wl-balance-label {
  display: block;
  font-size: 12px;
  color: var(--text-muted);
  margin-bottom: 6px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.wl-balance-amount {
  font-family: 'JetBrains Mono', monospace;
  font-size: 28px;
  font-weight: 700;
  color: var(--accent-green);
}

/* Deposit styles */
.wl-info-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 16px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  margin-bottom: 8px;
}

.wl-info-label {
  font-size: 13px;
  color: var(--text-muted);
}

.wl-info-value.network {
  font-size: 13px;
  font-weight: 600;
  color: var(--accent-yellow);
}

.wl-info-value.token {
  font-size: 13px;
  font-weight: 600;
  color: var(--accent-green);
}

.wl-qr-wrap {
  display: flex;
  justify-content: center;
  padding: 20px;
  margin: 16px 0;
}

.wl-qr-wrap canvas {
  border-radius: 16px;
}

.wl-address-section {
  margin-top: 12px;
}

.wl-address-label {
  display: block;
  font-size: 11px;
  color: var(--text-muted);
  margin-bottom: 8px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.wl-address-row {
  display: flex;
  gap: 8px;
  align-items: stretch;
}

.wl-address-value {
  flex: 1;
  padding: 12px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  color: var(--text-primary);
  word-break: break-all;
  line-height: 1.4;
}

.wl-copy-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  background: var(--accent-blue);
  border: none;
  border-radius: var(--radius-md);
  color: white;
  cursor: pointer;
  transition: var(--transition);
}

.wl-copy-btn:active {
  transform: scale(0.94);
}

.wl-warning {
  margin-top: 16px;
  padding: 12px;
  background: rgba(255, 152, 0, 0.1);
  border: 1px solid rgba(255, 152, 0, 0.2);
  border-radius: var(--radius-md);
  font-size: 12px;
  color: #ff9800;
  line-height: 1.4;
}

/* Withdraw styles */
.wl-section-label {
  font-size: 12px;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 8px;
  margin-top: 16px;
}

.wl-section-label:first-of-type {
  margin-top: 0;
}

.wl-network-list {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.wl-network-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 14px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  cursor: pointer;
  transition: var(--transition);
  font-family: 'Plus Jakarta Sans', sans-serif;
}

.wl-network-item.active {
  border-color: var(--accent-blue);
  background: var(--accent-blue-bg);
}

.wl-network-item:active {
  transform: scale(0.98);
}

.wl-network-info {
  display: flex;
  align-items: center;
  gap: 8px;
}

.wl-network-name {
  font-size: 14px;
  font-weight: 600;
  color: var(--text-primary);
}

.wl-network-tag {
  font-size: 11px;
  padding: 2px 8px;
  background: var(--bg-input);
  border-radius: 20px;
  color: var(--text-secondary);
  font-weight: 500;
}

.wl-network-fee {
  font-family: 'JetBrains Mono', monospace;
  font-size: 12px;
  color: var(--text-muted);
}

.wl-input-wrap {
  position: relative;
}

.wl-input-wrap.amount {
  flex: 1;
}

.wl-input {
  width: 100%;
  padding: 14px 16px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  font-family: 'JetBrains Mono', monospace;
  font-size: 14px;
  color: var(--text-primary);
  outline: none;
  transition: var(--transition);
  box-sizing: border-box;
}

.wl-input:focus {
  border-color: var(--accent-blue);
}

.wl-input::placeholder {
  color: var(--text-muted);
}

.wl-input-prefix {
  position: absolute;
  left: 14px;
  top: 50%;
  transform: translateY(-50%);
  font-family: 'JetBrains Mono', monospace;
  font-size: 14px;
  color: var(--text-muted);
  pointer-events: none;
}

.wl-input-wrap.amount .wl-input {
  padding-left: 30px;
}

.wl-amount-row {
  display: flex;
  gap: 8px;
}

.wl-max-btn {
  padding: 14px 18px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  font-family: 'JetBrains Mono', monospace;
  font-size: 12px;
  font-weight: 700;
  color: var(--accent-blue);
  cursor: pointer;
  transition: var(--transition);
  white-space: nowrap;
}

.wl-max-btn:active {
  background: var(--accent-blue-bg);
}

.wl-summary {
  margin-top: 16px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  overflow: hidden;
}

.wl-summary-row {
  display: flex;
  justify-content: space-between;
  padding: 11px 14px;
  font-size: 13px;
  border-bottom: 1px solid var(--border);
}

.wl-summary-row:last-child {
  border-bottom: none;
}

.wl-summary-row span:first-child {
  color: var(--text-muted);
}

.wl-summary-row span:last-child {
  font-family: 'JetBrains Mono', monospace;
  font-weight: 600;
  color: var(--text-primary);
}

.wl-submit-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 100%;
  padding: 16px;
  margin-top: 20px;
  background: linear-gradient(135deg, var(--accent-green), #00c853);
  border: none;
  border-radius: var(--radius-md);
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 15px;
  font-weight: 700;
  color: #0a0a0f;
  cursor: pointer;
  transition: var(--transition);
}

.wl-submit-btn:active {
  transform: scale(0.97);
  opacity: 0.9;
}

/* ===== SVG ICONS (replacing emojis) ===== */
.icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1em;
  height: 1em;
  vertical-align: -0.125em;
}

.icon svg {
  width: 100%;
  height: 100%;
  fill: currentColor;
}

.icon-star {
  color: var(--accent-yellow);
}

.icon-chart {
  color: var(--text-muted);
}

.icon-trophy {
  color: var(--accent-yellow);
}

.icon-briefcase {
  color: var(--text-muted);
}

.icon-users {
  color: var(--text-muted);
}

.icon-trending {
  color: var(--accent-green);
}

.icon-lock {
  color: var(--text-muted);
}

.icon-check {
  color: var(--accent-green);
}

.icon-clipboard {
  color: var(--text-secondary);
}

.icon-gift {
  color: var(--accent-purple);
}

.icon-warning {
  color: #ff9800;
}

.icon-refresh {
  color: var(--text-muted);
}

.icon-x {
  color: var(--accent-red);
}
