/* ═══════════════════════════════════════════════════════════════════════════
   dashboard.css — Bind-inspired · Monad brand colors
   ═══════════════════════════════════════════════════════════════════════════ */

/* ─── Design tokens (mirror landing.css) ────────────────────────────────── */
:root {
  --monad:        #836EF9;
  --monad-light:  #A594FB;
  --monad-dark:   #6C57E8;
  --monad-glow:   rgba(131,110,249,0.25);
  --monad-dim:    rgba(131,110,249,0.12);
  --monad-border: rgba(131,110,249,0.25);

  --navy:         #060608;
  --navy-1:       #0f0f14;
  --navy-2:       #18181f;
  --navy-3:       #1e2029;
  --navy-border:  rgba(255,255,255,0.07);
  --navy-border2: rgba(255,255,255,0.12);

  --ivory:        #f2f2ef;
  --ivory-muted:  #7a7a8c;
  --ivory-dim:    #4a4a58;

  --green:        #5FD87B;
  --green-dim:    rgba(95,216,123,0.12);
  --amber:        #F0BE45;
  --amber-dim:    rgba(240,190,69,0.12);
  --red:          #F06060;
  --red-dim:      rgba(240,96,96,0.12);

  --mono: 'JetBrains Mono', monospace;
  --radius: 12px;
  --radius-sm: 8px;
  --radius-pill: 999px;
}

/* ─── Reset ──────────────────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { font-size: 16px; }
body {
  font-family: 'Inter', system-ui, sans-serif;
  background: var(--navy);
  color: var(--ivory);
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
  display: flex; flex-direction: column;
}
a { text-decoration: none; color: inherit; }

/* ─── Nav ─────────────────────────────────────────────────────────────────── */
.nav {
  position: fixed; top: 16px; left: 0; right: 0; z-index: 100;
  padding: 0 24px;
}
.nav-inner {
  width: 100%; max-width: 900px; margin: 0 auto;
  height: 56px;
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  border: 1px solid var(--navy-border2);
  border-radius: 999px;
  background: rgba(6, 6, 8, 0.8);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  padding: 0 20px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
}

.nav-right {
  display: flex;
  align-items: center;
  gap: 12px;
}

/* Hamburger menu toggle */
.menu-toggle {
  display: none;
  flex-direction: column;
  justify-content: space-between;
  width: 22px;
  height: 16px;
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 0;
  z-index: 210;
}
.menu-toggle span {
  width: 100%;
  height: 2px;
  background-color: var(--ivory);
  border-radius: 2px;
  transition: all 0.3s cubic-bezier(0.22, 1, 0.36, 1);
}
.menu-toggle.active span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}
.menu-toggle.active span:nth-child(2) {
  opacity: 0;
}
.menu-toggle.active span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* Logo */
.logo {
  display: flex; align-items: center; gap: 9px;
  font-weight: 700; font-size: 15px;
  letter-spacing: -0.025em; color: var(--ivory);
}
.logo-icon {
  width: 30px; height: 30px; border-radius: 7px;
  background: var(--monad-dim);
  border: 1px solid var(--monad-border);
  display: flex; align-items: center; justify-content: center;
  color: var(--monad-light);
}
.logo-accent { color: var(--monad-light); }
.logo-text   { font-weight: 700; }

/* Nav right */
.nav-right { display: flex; align-items: center; gap: 10px; }

/* Network badge */
.network-badge {
  display: flex; align-items: center; gap: 6px;
  padding: 5px 11px; border-radius: var(--radius-pill);
  background: var(--green-dim);
  border: 1px solid rgba(95,216,123,0.2);
  font-size: 12px; font-weight: 500; color: var(--green);
}
.network-dot {
  width: 6px; height: 6px; border-radius: 50%; background: var(--green);
  animation: nd-blink 2s infinite;
}
@keyframes nd-blink { 0%,100%{opacity:1} 50%{opacity:0.3} }

/* Network Dropdown Selection */
.network-select-wrap {
  position: relative;
  display: flex;
  align-items: center;
}
.network-dropdown {
  background: var(--navy-2);
  border: 1px solid var(--navy-border2);
  border-radius: var(--radius-pill);
  padding: 5px 12px;
  font-size: 12px;
  font-weight: 500;
  color: var(--ivory);
  cursor: pointer;
  outline: none;
  font-family: inherit;
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  padding-right: 26px;
  background-image: url("data:image/svg+xml;charset=UTF-8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23a1a1b5' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 10px center;
  background-size: 11px;
  transition: border-color 0.2s, background 0.2s;
}
.network-dropdown:hover {
  border-color: var(--monad-light);
  background: var(--navy-3);
}
.network-dropdown:focus {
  border-color: var(--monad);
  box-shadow: 0 0 0 2px rgba(131,88,255,0.2);
}
.network-dropdown option {
  background: var(--navy-bg);
  color: var(--ivory);
}

/* Wallet info chip */
.wallet-info {
  display: flex; align-items: center; gap: 7px;
  padding: 5px 8px 5px 6px;
  border-radius: var(--radius-pill);
  border: 1px solid var(--navy-border2);
  background: var(--navy-2);
}
.wallet-avatar {
  width: 22px; height: 22px; border-radius: 50%;
  background: linear-gradient(135deg, var(--monad), var(--monad-light));
  flex-shrink: 0;
}
.wallet-address {
  font-size: 12px; font-family: var(--mono); color: var(--ivory-muted);
  letter-spacing: -0.01em;
}

/* Disconnect button */
.disconnect-btn {
  display: flex; align-items: center; justify-content: center;
  width: 24px; height: 24px;
  border-radius: 6px; border: none; background: transparent;
  color: var(--ivory-dim); cursor: pointer; transition: all 0.18s;
  flex-shrink: 0;
}
.disconnect-btn:hover { background: var(--red-dim); color: var(--red); }

/* ─── Buttons ─────────────────────────────────────────────────────────────── */
.btn {
  display: inline-flex; align-items: center; gap: 6px;
  font-family: inherit; font-size: 14px; font-weight: 600;
  border: none; cursor: pointer;
  transition: all 0.18s; outline: none;
  white-space: nowrap; text-decoration: none;
  position: relative; overflow: hidden;
}
.btn:active { transform: scale(0.97); }

/* Primary pill */
.btn-primary {
  padding: 10px 20px;
  border-radius: var(--radius-pill);
  background: var(--monad);
  color: #ffffff !important;
  box-shadow: 0 0 20px var(--monad-glow);
}
.btn-primary:hover {
  background: var(--monad-light);
  color: #ffffff !important;
  box-shadow: 0 0 32px rgba(131,110,249,0.4);
  transform: translateY(-1px);
}

/* Danger */
.btn-danger {
  padding: 8px 16px; border-radius: var(--radius-pill);
  background: var(--red-dim); color: var(--red);
  border: 1px solid rgba(240,96,96,0.2);
}
.btn-danger:hover { background: rgba(240,96,96,0.22); }

/* Success */
.btn-success {
  padding: 8px 16px; border-radius: var(--radius-pill);
  background: var(--green-dim); color: var(--green);
  border: 1px solid rgba(95,216,123,0.2);
}
.btn-success:hover { background: rgba(95,216,123,0.22); }

/* Outline */
.btn-outline {
  padding: 8px 16px; border-radius: var(--radius-pill);
  background: transparent; color: var(--ivory-muted);
  border: 1px solid var(--navy-border2);
}
.btn-outline:hover { color: var(--ivory); border-color: rgba(255,255,255,0.2); background: rgba(255,255,255,0.03); }

/* Ghost */
.btn-ghost { padding: 8px 14px; border-radius: var(--radius-pill); background: transparent; color: var(--ivory-muted); }
.btn-ghost:hover { color: var(--ivory); }

.btn-lg  { padding: 12px 24px; font-size: 15px; }
.btn-full { width: 100%; justify-content: center; }
.btn:disabled { opacity: 0.4; cursor: not-allowed; transform: none !important; }

/* ─── Container ───────────────────────────────────────────────────────────── */
.container { width: 100%; max-width: 900px; margin: 0 auto; padding: 0 24px; }

/* ─── Dashboard Header ────────────────────────────────────────────────────── */
.dash-header {
  padding: 104px 0 28px;
  border-bottom: 1px solid var(--navy-border);
  background: linear-gradient(to bottom, var(--navy-1), var(--navy));
}
.dash-title { font-size: 24px; font-weight: 800; letter-spacing: -0.04em; margin-bottom: 4px; }
.dash-sub   { font-size: 13px; color: var(--ivory-muted); margin-bottom: 20px; }
.dash-stats { display: flex; gap: 20px; flex-wrap: wrap; }
.dash-stat  { display: flex; flex-direction: column; gap: 2px; }
.dash-stat-val   { font-size: 18px; font-weight: 800; letter-spacing: -0.03em; color: var(--ivory); }
.dash-stat-label { font-size: 10px; color: var(--ivory-dim); text-transform: uppercase; letter-spacing: 0.08em; }

/* ─── Not Connected ───────────────────────────────────────────────────────── */
.not-connected { padding: 112px 0 60px; flex: 1; }
.not-connected-card {
  display: flex; flex-direction: column; align-items: center;
  gap: 12px; text-align: center;
  padding: 56px 32px;
  border-radius: 16px;
  border: 1px dashed var(--navy-border2);
  background: var(--navy-1);
}
.not-connected-icon {
  width: 60px; height: 60px; border-radius: 14px;
  background: var(--monad-dim); border: 1px solid var(--monad-border);
  display: flex; align-items: center; justify-content: center;
  color: var(--monad-light); margin-bottom: 8px;
}
.not-connected-card h3 { font-size: 18px; font-weight: 700; }
.not-connected-card p  { font-size: 14px; color: var(--ivory-muted); margin-bottom: 4px; }

/* ─── Main App ────────────────────────────────────────────────────────────── */
.main-app { padding: 28px 0 80px; flex: 1; }

/* ─── Tabs ────────────────────────────────────────────────────────────────── */
.tabs {
  display: flex;
  gap: 4px;
  padding: 5px;
  background: var(--navy-2);
  border: 1px solid var(--navy-border);
  border-radius: var(--radius-pill);
  margin-bottom: 24px;
}
.tab {
  flex: 1;
  display: flex; align-items: center; justify-content: center; gap: 6px;
  padding: 9px 16px;
  border-radius: var(--radius-pill);
  border: none;
  background: transparent;
  color: var(--ivory-muted);
  font-family: inherit; font-size: 13px; font-weight: 500;
  cursor: pointer; transition: all 0.2s;
  position: relative;
}
.tab:hover { color: var(--ivory); }
.tab.active {
  background: var(--navy-3);
  color: var(--ivory);
  border: 1px solid var(--navy-border2);
  box-shadow: 0 1px 4px rgba(0,0,0,0.4);
}
.tab-badge {
  display: none; align-items: center; justify-content: center;
  min-width: 17px; height: 17px; padding: 0 5px;
  border-radius: 999px;
  background: var(--monad); color: #fff;
  font-size: 10px; font-weight: 700;
}
.tab-badge.show { display: flex; }
.tab-content { display: none; }
.tab-content.active { display: block; }

/* ─── Panel ───────────────────────────────────────────────────────────────── */
.panel {
  border-radius: 16px;
  border: 1px solid var(--navy-border2);
  background: linear-gradient(160deg, #14151d 0%, #0c0c10 70%);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.06);
  overflow: hidden;
}
.panel-header { padding: 26px 26px 0; margin-bottom: 24px; }
.panel-title  { font-size: 18px; font-weight: 700; letter-spacing: -0.03em; margin-bottom: 5px; }
.panel-sub    { font-size: 13px; color: var(--ivory-muted); line-height: 1.5; }

/* ─── Form ────────────────────────────────────────────────────────────────── */
form { padding: 0 26px 26px; display: flex; flex-direction: column; gap: 20px; }
.field { display: flex; flex-direction: column; gap: 7px; }
.field-label { font-size: 12px; font-weight: 600; color: var(--ivory-muted); letter-spacing: 0.04em; text-transform: uppercase; }
.field-sub   { font-size: 12px; color: var(--ivory-dim); margin-top: -3px; }
.field-hint  { font-size: 12px; color: var(--ivory-dim); }
.field-hint.error   { color: var(--red); }
.field-hint.success { color: var(--green); }

.field-input {
  width: 100%;
  padding: 11px 14px;
  background: var(--navy-2);
  border: 1px solid var(--navy-border2);
  border-radius: var(--radius-sm);
  color: var(--ivory);
  font-family: inherit; font-size: 14px;
  outline: none; transition: border-color 0.18s, box-shadow 0.18s;
}
.field-input::placeholder { color: var(--ivory-dim); }
.field-input:focus {
  border-color: var(--monad);
  box-shadow: 0 0 0 3px var(--monad-dim);
}
.field-input.mono { font-family: var(--mono); font-size: 12px; }

input[type="number"]::-webkit-inner-spin-button,
input[type="number"]::-webkit-outer-spin-button { -webkit-appearance: none; }
input[type="number"] { -moz-appearance: textfield; }

/* Token toggle */
.token-toggle {
  display: grid; grid-template-columns: 1fr 1fr; gap: 3px;
  padding: 4px; background: var(--navy-2); border-radius: var(--radius-sm);
  border: 1px solid var(--navy-border);
}
.toggle-btn {
  padding: 9px; border: none; border-radius: 6px;
  background: transparent; color: var(--ivory-muted);
  font-family: inherit; font-size: 13px; font-weight: 500;
  cursor: pointer; transition: all 0.18s;
}
.toggle-btn:hover { color: var(--ivory); }
.toggle-btn.active {
  background: var(--navy-3); color: var(--ivory);
  border: 1px solid var(--navy-border2);
  box-shadow: 0 1px 4px rgba(0,0,0,0.3);
}

/* Amount row */
.amount-row { display: flex; gap: 8px; }
.amount-row .field-input { flex: 1; }
.max-btn {
  padding: 11px 14px; border-radius: var(--radius-sm);
  background: var(--monad-dim);
  border: 1px solid var(--monad-border);
  color: var(--monad-light);
  font-family: var(--mono); font-size: 11px; font-weight: 700;
  cursor: pointer; transition: all 0.18s; white-space: nowrap;
}
.max-btn:hover { background: rgba(131,110,249,0.2); }

/* Timelock grid */
.timelock-grid {
  display: grid; grid-template-columns: repeat(4,1fr); gap: 8px;
}
.timelock-btn {
  padding: 10px 8px; background: var(--navy-2);
  border: 1px solid var(--navy-border2);
  border-radius: var(--radius-sm);
  color: var(--ivory-muted);
  font-family: inherit; font-size: 12px; font-weight: 500;
  cursor: pointer; transition: all 0.18s; text-align: center;
}
.timelock-btn:hover { color: var(--ivory); border-color: rgba(255,255,255,0.2); }
.timelock-btn.active {
  background: var(--monad-dim); border-color: var(--monad-border);
  color: var(--monad-light);
}

/* Summary */
.transfer-summary {
  border-radius: var(--radius-sm);
  border: 1px solid var(--monad-border);
  background: var(--monad-dim);
  padding: 16px;
  display: flex; flex-direction: column; gap: 9px;
}
.summary-row {
  display: flex; justify-content: space-between; align-items: center;
  font-size: 13px; color: var(--ivory-muted);
}
.summary-value       { color: var(--ivory); font-weight: 500; }
.summary-value.mono  { font-family: var(--mono); font-size: 12px; }

/* ─── Transfer List ───────────────────────────────────────────────────────── */
.tab-header-row {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 24px;
  gap: 16px;
}
.tab-header-row .panel-title {
  font-size: 18px;
  font-weight: 700;
  letter-spacing: -0.03em;
  margin-bottom: 5px;
}
.tab-header-row .panel-sub {
  font-size: 13px;
  color: var(--ivory-muted);
  line-height: 1.5;
}

.transfer-list {
  padding: 0 18px;
  display: flex; flex-direction: column; gap: 10px;
  min-height: 120px;
}

.transfer-list-separate {
  display: flex;
  flex-direction: column;
  gap: 16px;
  min-height: 120px;
}

.transfer-card {
  border-radius: var(--radius);
  border: 1px solid var(--navy-border2);
  background: linear-gradient(160deg, #14151d 0%, #0c0c10 70%);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.06), 0 8px 24px rgba(0,0,0,0.35);
  padding: 20px 22px;
  transition: all 0.22s ease;
}
.transfer-card:hover {
  border-color: rgba(131,110,249,0.3);
  transform: translateY(-2px);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.08), 0 12px 32px rgba(131,110,249,0.08);
}
.transfer-card-header {
  display: flex; justify-content: space-between; align-items: flex-start;
  margin-bottom: 12px; gap: 10px;
}
.transfer-id   { font-size: 10px; font-family: var(--mono); color: var(--ivory-dim); }
.transfer-amount-big {
  font-size: 18px; font-weight: 800;
  letter-spacing: -0.03em; color: var(--ivory); margin-top: 2px;
}

/* Status badges */
.status-badge {
  display: inline-flex; align-items: center; gap: 5px;
  padding: 3px 10px; border-radius: 999px;
  font-size: 10px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.06em;
  white-space: nowrap;
}
.status-pending   { background: var(--amber-dim); color: var(--amber);  border: 1px solid rgba(240,190,69,0.2); }
.status-claimed   { background: var(--green-dim);  color: var(--green);  border: 1px solid rgba(95,216,123,0.2); }
.status-cancelled { background: var(--red-dim);    color: var(--red);    border: 1px solid rgba(240,96,96,0.2); }
.status-expired   { background: rgba(80,80,100,0.15); color: var(--ivory-dim); border: 1px solid var(--navy-border2); }

.status-dot { width: 5px; height: 5px; border-radius: 50%; background: currentColor; }
.status-pending .status-dot { animation: sd-blink 1.6s infinite; }
@keyframes sd-blink { 0%,100%{opacity:1} 50%{opacity:0.2} }

.transfer-card-body { display: flex; flex-direction: column; gap: 7px; }
.transfer-row { display: flex; justify-content: space-between; align-items: center; font-size: 12px; gap: 8px; }
.transfer-label { color: var(--ivory-muted); flex-shrink: 0; }
.transfer-value { color: var(--ivory); font-weight: 500; text-align: right; overflow: hidden; text-overflow: ellipsis; }
.transfer-value.mono { font-family: var(--mono); font-size: 11px; }
.transfer-value.full-address {
  word-break: break-all;
  white-space: normal;
  overflow: visible;
  text-overflow: clip;
  max-width: 100%;
}

.transfer-card-footer {
  display: flex; align-items: center; justify-content: space-between;
  margin-top: 14px; padding-top: 12px;
  border-top: 1px solid var(--navy-border);
  gap: 10px;
}
.countdown { font-size: 11px; color: var(--ivory-dim); font-family: var(--mono); }
.countdown.urgent       { color: var(--red); }
.countdown.expired-label{ color: var(--ivory-dim); }

.refresh-btn { margin: 14px 18px 20px; font-size: 12px; }

/* ─── Loading / Empty ─────────────────────────────────────────────────────── */
.loading-state, .empty-state {
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  gap: 12px; padding: 52px 20px;
  text-align: center; color: var(--ivory-dim); font-size: 14px;
}
.empty-state svg { opacity: 0.25; }
.empty-state p { color: var(--ivory-muted); }

/* Spinner */
.spinner {
  width: 22px; height: 22px;
  border: 2px solid var(--navy-border2);
  border-top-color: var(--monad-light);
  border-radius: 50%;
  animation: spin 0.7s linear infinite;
}
.spinner-lg { width: 40px; height: 40px; border-width: 3px; }
@keyframes spin { to { transform: rotate(360deg); } }

/* ─── Modal ───────────────────────────────────────────────────────────────── */
.modal-overlay {
  position: fixed; inset: 0;
  background: rgba(0,0,0,0.75);
  backdrop-filter: blur(10px);
  z-index: 200;
  display: flex; align-items: center; justify-content: center; padding: 20px;
}
.modal {
  background: linear-gradient(160deg, #1c1e2b, #0e0e14);
  border: 1px solid var(--navy-border2);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.07), 0 40px 80px rgba(0,0,0,0.6);
  border-radius: 18px;
  padding: 36px 32px;
  width: 100%; max-width: 380px;
  text-align: center;
  display: flex; flex-direction: column; align-items: center; gap: 12px;
}
.modal-icon {
  width: 64px; height: 64px; border-radius: 16px;
  background: var(--monad-dim);
  border: 1px solid var(--monad-border);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 4px;
}
.modal-icon.success { background: var(--green-dim); border-color: rgba(95,216,123,0.25); color: var(--green); }
.modal-icon.error   { background: var(--red-dim);   border-color: rgba(240,96,96,0.25); color: var(--red); }
.modal h3 { font-size: 18px; font-weight: 700; letter-spacing: -0.03em; }
.modal p  { font-size: 14px; color: var(--ivory-muted); line-height: 1.55; }

/* ─── Toast ───────────────────────────────────────────────────────────────── */
.toast-container {
  position: fixed; bottom: 24px; right: 24px; z-index: 300;
  display: flex; flex-direction: column; gap: 10px; pointer-events: none;
}
.toast {
  display: flex; align-items: center; gap: 10px;
  padding: 12px 16px; border-radius: var(--radius);
  border: 1px solid var(--navy-border2);
  background: linear-gradient(145deg, #1c1e28, #0e0e14);
  font-size: 13px; font-weight: 500;
  min-width: 280px; pointer-events: all;
  box-shadow: 0 8px 32px rgba(0,0,0,0.5);
  animation: slide-in 0.25s ease;
}
@keyframes slide-in { from { transform: translateX(120%); opacity: 0; } to { transform: translateX(0); opacity: 1; } }
.toast.fade-out { animation: slide-out 0.25s ease forwards; }
@keyframes slide-out { to { transform: translateX(120%); opacity: 0; } }
.toast-success { border-color: rgba(95,216,123,0.25); color: var(--green); }
.toast-error   { border-color: rgba(240,96,96,0.25);  color: var(--red); }
.toast-info    { border-color: var(--monad-border);   color: var(--monad-light); }

/* ─── Footer ──────────────────────────────────────────────────────────────── */
.footer {
  border-top: 1px solid var(--navy-border);
  padding: 22px 0;
  background: var(--navy);
  margin-top: auto;
}
.footer-inner {
  display: flex; align-items: center; justify-content: space-between;
  flex-wrap: wrap; gap: 12px;
  font-size: 12px; color: var(--ivory-muted);
}
.footer-logo { font-weight: 700; color: var(--ivory); }
.footer-links { display: flex; gap: 16px; }
.footer-links a { color: var(--ivory-dim); transition: color 0.15s; }
.footer-links a:hover { color: var(--ivory); }
.footer-tagline a { color: var(--monad-light); }

/* ─── Utilities ───────────────────────────────────────────────────────────── */
.hidden { display: none !important; }

/* ─── Responsive ──────────────────────────────────────────────────────────── */
@media (max-width: 768px) {
  .menu-toggle {
    display: flex;
  }
  
  .nav-right {
    display: flex;
    flex-direction: column;
    align-items: center;
    position: fixed;
    top: 80px;
    left: 24px;
    right: 24px;
    background: rgba(6, 6, 8, 0.96);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    border: 1px solid var(--navy-border2);
    border-radius: 20px;
    padding: 24px;
    gap: 16px;
    transform: translateY(-150%);
    opacity: 0;
    transition: transform 0.4s cubic-bezier(0.22, 1, 0.36, 1), opacity 0.3s;
    z-index: 90;
    pointer-events: none;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.5);
  }
  
  .nav-right.active {
    transform: translateY(0);
    opacity: 1;
    pointer-events: all;
  }
  
  .network-badge {
    width: 100%;
    justify-content: center;
  }
  
  .network-select-wrap {
    width: 100%;
  }
  
  .network-dropdown {
    width: 100%;
    text-align: center;
  }
  
  .wallet-info {
    width: 100%;
    justify-content: space-between;
  }
  
  #connect-btn {
    width: 100%;
    justify-content: center;
  }
}

@media (max-width: 600px) {
  .nav { padding: 0 16px; top: 12px; }
  .nav-right { top: 72px; left: 16px; right: 16px; }
  .container { padding: 0 16px; }
  .dash-header { padding-top: 96px; }
  
  .tab-header-row {
    flex-direction: column;
    align-items: stretch;
    gap: 12px;
    margin-bottom: 16px;
  }
  .tab-header-row .btn {
    align-self: flex-start;
    width: 100%;
    justify-content: center;
  }
  
  .dash-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
  }
  
  .tabs { border-radius: 12px; }
  .tab { font-size: 12px; padding: 8px 10px; }
  .timelock-grid { grid-template-columns: 1fr 1fr; }
  .panel-header, form { padding-left: 16px; padding-right: 16px; }
  .transfer-list, .transfer-list-separate { padding: 0 4px; }
  .footer-inner { flex-direction: column; align-items: flex-start; }
  .toast { min-width: unset; width: calc(100vw - 32px); }
  .toast-container { left: 16px; right: 16px; }
}

@media (max-width: 480px) {
  .dash-stats {
    grid-template-columns: 1fr;
    gap: 12px;
  }
}

/* Wallet selector modal specifics */
.wallet-selector-modal {
  max-width: 420px !important;
  text-align: left;
  align-items: stretch !important;
}
.wallet-selector-modal h3 {
  margin: 0;
  flex: 1;
}
.modal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  margin-bottom: 4px;
}
.modal-close {
  background: none;
  border: none;
  color: var(--ivory-muted);
  font-size: 24px;
  cursor: pointer;
  padding: 0;
  line-height: 1;
  transition: color 0.2s;
}
.modal-close:hover {
  color: var(--ivory);
}
.modal-subtitle {
  font-size: 13px;
  color: var(--ivory-muted);
  margin-bottom: 12px;
}
.wallet-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
  width: 100%;
}
.wallet-option-btn {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 14px 18px;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid var(--navy-border2);
  border-radius: 12px;
  cursor: pointer;
  color: var(--ivory);
  text-align: left;
  transition: all 0.2s ease;
  width: 100%;
}
.wallet-option-btn:hover {
  background: rgba(131, 84, 240, 0.08);
  border-color: var(--monad-purple);
  transform: translateY(-1px);
}
.wallet-option-btn:active {
  background: rgba(131, 84, 240, 0.15);
  border-color: var(--monad-purple);
}
.wallet-option-icon {
  width: 32px;
  height: 32px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background: rgba(255,255,255,0.05);
}
.wallet-option-icon img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}
.wallet-option-icon svg {
  color: var(--monad-purple);
}
.wallet-option-info {
  display: flex;
  flex-direction: column;
  gap: 2px;
  flex: 1;
}
.wallet-option-name {
  font-size: 15px;
  font-weight: 600;
}
.wallet-option-desc {
  font-size: 11px;
  color: var(--ivory-muted);
}
.modal-divider {
  border: 0;
  border-top: 1px solid var(--navy-border2);
  width: 100%;
  margin: 12px 0;
}
.modal-fallback {
  width: 100%;
}
