/* ============================================================
   Trocador Admin — Minimal neutral design (zinc palette)
   Compact density · Light & Dark via <html data-theme>
   ============================================================ */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }

:root {
  --bg: #f5f6f8;
  --surface: #ffffff;
  --card: #f1f3f7;
  --card-hover: #e7eaf1;
  --border: #dbdfe8;
  --border-light: #c3c9d6;
  --text: #111827;
  --text-2: #4b5563;
  --text-3: #7b8494;
  --accent: #4f46e5;          /* vivid indigo — used across the UI */
  --accent-2: #6366f1;
  --accent-dim: rgba(79, 70, 229, .1);
  --accent-fg: #ffffff;       /* text on accent buttons */
  --link: #4f46e5;
  --link-dim: rgba(79, 70, 229, .08);
  --green: #15803d;
  --green-dim: rgba(21, 128, 61, .1);
  --yellow: #b45309;
  --yellow-dim: rgba(180, 83, 9, .1);
  --red: #dc2626;
  --red-dim: rgba(220, 38, 38, .08);
  --blue: #2563eb;
  --blue-dim: rgba(37, 99, 235, .08);
  --shadow: 0 1px 2px rgba(17, 24, 39, .05);
  --shadow-lg: 0 10px 34px rgba(17, 24, 39, .12);
  --r: 10px;
  --rs: 7px;
  --sidebar-w: 220px;
}

[data-theme="dark"] {
  --bg: #0b0d12;
  --surface: #141821;
  --card: #1b202b;
  --card-hover: #232a38;
  --border: #2b3242;
  --border-light: #3b4457;
  --text: #f3f5f9;
  --text-2: #b4bccb;
  --text-3: #7d8798;
  --accent: #818cf8;          /* brighter indigo for dark bg */
  --accent-2: #a5b4fc;
  --accent-dim: rgba(129, 140, 248, .14);
  --accent-fg: #0b0d12;
  --link: #a5b4fc;
  --link-dim: rgba(165, 180, 252, .12);
  --green: #4ade80;
  --green-dim: rgba(74, 222, 128, .13);
  --yellow: #fbbf24;
  --yellow-dim: rgba(251, 191, 36, .13);
  --red: #f87171;
  --red-dim: rgba(248, 113, 113, .13);
  --blue: #60a5fa;
  --blue-dim: rgba(96, 165, 250, .13);
  --shadow: 0 1px 2px rgba(0, 0, 0, .5);
  --shadow-lg: 0 12px 34px rgba(0, 0, 0, .6);
}

html { scroll-behavior: smooth; }

body {
  font-family: 'Inter', system-ui, sans-serif;
  background: var(--bg);
  color: var(--text);
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
  line-height: 1.5;
  font-size: 13px;
  transition: background .2s, color .2s;
}

.mono { font-family: 'JetBrains Mono', monospace; }
.hidden { display: none !important; }

::-webkit-scrollbar { width: 8px; height: 8px; }
::-webkit-scrollbar-track { background: transparent; }
::-webkit-scrollbar-thumb { background: var(--border-light); border-radius: 4px; }
::-webkit-scrollbar-thumb:hover { background: var(--text-3); }

/* ============ Login ============ */
.login-screen {
  display: flex; align-items: center; justify-content: center;
  min-height: 100vh; padding: 20px;
}

.login-card {
  width: 100%; max-width: 380px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 36px 32px;
  box-shadow: var(--shadow-lg);
}

.login-logo { display: flex; align-items: center; gap: 10px; margin-bottom: 26px; }

.login-logo-icon {
  width: 34px; height: 34px;
  background: var(--accent);
  color: var(--accent-fg);
  border-radius: 9px;
  display: flex; align-items: center; justify-content: center;
  font-size: 14px;
}

.login-logo-text { font-size: 16px; font-weight: 600; letter-spacing: -.01em; }
.login-logo-text span { color: var(--accent); font-weight: 600; }

.login-card h2 { font-size: 20px; font-weight: 600; margin-bottom: 4px; letter-spacing: -.02em; }
.login-card p { font-size: 13px; color: var(--text-3); margin-bottom: 26px; }

.field-label {
  display: block;
  font-size: 12px; font-weight: 500;
  color: var(--text-2);
  margin-bottom: 6px;
}

/* ============ Inputs & buttons ============ */
.input {
  width: 100%;
  background: var(--surface);
  border: 1px solid var(--border-light);
  border-radius: var(--rs);
  padding: 9px 12px;
  color: var(--text);
  font-size: 13px; font-family: inherit;
  outline: none;
  transition: border-color .15s, box-shadow .15s;
}
.input:focus { border-color: var(--accent); box-shadow: 0 0 0 3px var(--accent-dim); }
.input::placeholder { color: var(--text-3); }
.input-mono { font-family: 'JetBrains Mono', monospace; font-size: 12px; }

.btn-primary {
  display: flex; align-items: center; justify-content: center; gap: 7px;
  width: 100%; padding: 10px;
  border-radius: var(--rs); border: 1px solid var(--accent);
  background: var(--accent);
  color: var(--accent-fg);
  font-size: 13px; font-weight: 600; font-family: inherit;
  cursor: pointer;
  transition: opacity .15s, transform .1s, box-shadow .15s;
  margin-top: 16px;
  box-shadow: 0 2px 8px var(--accent-dim);
}
.btn-primary:hover { opacity: .9; box-shadow: 0 4px 14px var(--accent-dim); }
.btn-primary:active { transform: scale(.98); }

.alert {
  margin-top: 12px; padding: 10px 13px;
  border-radius: var(--rs);
  font-size: 12.5px; font-weight: 500;
  display: none; gap: 8px; align-items: center;
}
.alert-ok  { display: flex; background: var(--green-dim); border: 1px solid var(--green); color: var(--green); }
.alert-err { display: flex; background: var(--red-dim);   border: 1px solid var(--red);   color: var(--red); }

/* ============ Shell ============ */
.app { display: flex; min-height: 100vh; }

.sidebar {
  position: fixed; inset: 0 auto 0 0;
  width: var(--sidebar-w);
  background: var(--surface);
  border-right: 1px solid var(--border);
  display: flex; flex-direction: column;
  padding: 18px 12px;
  z-index: 50;
  transition: background .2s;
}

.sidebar-brand {
  display: flex; align-items: center; gap: 10px;
  font-size: 14px; font-weight: 600;
  color: var(--text); text-decoration: none;
  letter-spacing: -.01em;
  padding: 0 8px;
  margin-bottom: 24px;
}
.sidebar-brand span { color: var(--text-3); font-weight: 500; }

.sidebar-brand-icon {
  width: 28px; height: 28px;
  background: var(--accent);
  color: var(--accent-fg);
  border-radius: 7px;
  display: flex; align-items: center; justify-content: center;
  font-size: 12px;
}

.sidebar-label {
  font-size: 10px; font-weight: 600;
  text-transform: uppercase; letter-spacing: .8px;
  color: var(--text-3);
  padding: 0 8px;
  margin-bottom: 6px;
}

.sidebar-nav { display: flex; flex-direction: column; gap: 2px; flex: 1; }

.nav-tab {
  display: flex; align-items: center; gap: 10px;
  width: 100%;
  padding: 8px 10px;
  border-radius: var(--rs);
  border: none;
  background: transparent;
  color: var(--text-2);
  font-size: 13px; font-weight: 500; font-family: inherit;
  cursor: pointer;
  transition: background .12s, color .12s;
  text-align: left;
}
.nav-tab i { width: 16px; text-align: center; font-size: 12.5px; color: var(--text-3); }
.nav-tab:hover { background: var(--card); color: var(--text); }
.nav-tab.active { background: var(--accent-dim); color: var(--accent); font-weight: 600; }
.nav-tab.active i { color: var(--accent); }

.nav-tab .badge {
  margin-left: auto;
  display: inline-flex; align-items: center; justify-content: center;
  min-width: 18px; height: 17px; padding: 0 5px;
  background: var(--card-hover);
  border: 1px solid var(--border);
  border-radius: 5px;
  font-size: 10px; font-weight: 600;
  color: var(--text-3);
  font-family: 'JetBrains Mono', monospace;
}
.nav-tab.active .badge { background: var(--accent); border-color: var(--accent); color: var(--accent-fg); }

.sidebar-footer {
  display: flex; flex-direction: column; gap: 2px;
  border-top: 1px solid var(--border);
  padding-top: 10px;
}

.sidebar-btn {
  display: flex; align-items: center; gap: 10px;
  width: 100%;
  padding: 8px 10px;
  border-radius: var(--rs);
  border: none;
  background: transparent;
  color: var(--text-2);
  font-size: 12.5px; font-weight: 500; font-family: inherit;
  cursor: pointer;
  transition: background .12s, color .12s;
  text-align: left;
}
.sidebar-btn i { width: 16px; text-align: center; font-size: 12px; color: var(--text-3); }
.sidebar-btn:hover { background: var(--card); color: var(--text); }
.sidebar-btn.danger:hover { background: var(--red-dim); color: var(--red); }
.sidebar-btn.danger:hover i { color: var(--red); }

/* ============ Main ============ */
.main {
  flex: 1;
  margin-left: var(--sidebar-w);
  padding: 28px 32px 64px;
  max-width: calc(1060px + var(--sidebar-w));
  width: 100%;
}

/* ============ Stats — compact strip ============ */
.stats-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r);
  margin-bottom: 28px;
  overflow: hidden;
  box-shadow: var(--shadow);
}

.stat-card {
  display: flex; flex-direction: column; gap: 2px;
  padding: 16px 20px;
  border-right: 1px solid var(--border);
  position: relative;
}
.stat-card:last-child { border-right: none; }

.stat-icon { display: none; }
.stat-label { font-size: 11px; font-weight: 500; color: var(--text-3); order: 1; }
.stat-value { font-size: 24px; font-weight: 700; letter-spacing: -.02em; line-height: 1.2; order: 2; font-family: 'JetBrains Mono', monospace; color: var(--text); }
.stat-sub { font-size: 11px; color: var(--text-3); order: 3; }

/* ============ Sections ============ */
.section-header {
  display: flex; align-items: center; justify-content: space-between;
  flex-wrap: wrap; gap: 10px;
  margin-bottom: 16px;
}

.section-title {
  font-size: 15px; font-weight: 600;
  display: flex; align-items: center; gap: 8px;
  letter-spacing: -.01em;
}
.section-title i { color: var(--accent); font-size: 13px; }

.section-actions { display: flex; gap: 6px; flex-wrap: wrap; }

.btn-ghost {
  display: flex; align-items: center; gap: 6px;
  padding: 7px 12px;
  border-radius: var(--rs);
  border: 1px solid var(--border-light);
  background: var(--surface);
  color: var(--text-2);
  font-size: 12px; font-weight: 500; font-family: inherit;
  cursor: pointer;
  transition: all .12s;
  white-space: nowrap;
  box-shadow: var(--shadow);
}
.btn-ghost:hover { background: var(--card); color: var(--text); }
.btn-ghost:active { transform: scale(.97); }
.btn-ghost.green:hover  { color: var(--green); border-color: var(--green); background: var(--green-dim); }
.btn-ghost.blue:hover   { color: var(--blue); border-color: var(--blue); background: var(--blue-dim); }
.btn-ghost.danger:hover { color: var(--red); border-color: var(--red); background: var(--red-dim); }

.tab-panel { display: none; animation: fade .2s ease-out; }
.tab-panel.active { display: block; }

@keyframes fade {
  from { opacity: 0; transform: translateY(4px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* ============ Trade cards — compact ============ */
.trade-list { display: flex; flex-direction: column; gap: 10px; }

.trade-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-left: 3px solid var(--accent);
  border-radius: var(--r);
  padding: 12px 16px 14px;
  box-shadow: var(--shadow);
  animation: fade .2s ease-out;
  transition: border-color .15s, box-shadow .15s;
}
.trade-card:hover { box-shadow: var(--shadow-lg); }

.tc-head {
  display: flex; align-items: center; gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 10px;
}

.tc-id { font-family: 'JetBrains Mono', monospace; font-size: 11.5px; font-weight: 600; color: var(--text); }
.tc-meta { font-size: 11px; color: var(--text-3); }

.tc-actions { display: flex; gap: 4px; margin-left: auto; }

.ic {
  width: 27px; height: 27px;
  border-radius: 6px;
  border: 1px solid var(--border);
  background: transparent;
  color: var(--text-3);
  font-size: 11px;
  cursor: pointer;
  display: inline-flex; align-items: center; justify-content: center;
  transition: all .12s;
}
.ic:hover { background: var(--card); color: var(--text); border-color: var(--border-light); }
.ic:disabled { opacity: .3; cursor: default; pointer-events: none; }
.ic-y:hover { color: var(--yellow); border-color: var(--yellow); background: var(--yellow-dim); }
.ic-g:hover { color: var(--green); border-color: var(--green); background: var(--green-dim); }
.ic-r:hover { color: var(--red); border-color: var(--red); background: var(--red-dim); }

.pill {
  display: inline-flex; align-items: center; gap: 5px;
  padding: 3px 9px;
  border-radius: 5px;
  font-size: 10px; font-weight: 600;
  text-transform: uppercase; letter-spacing: .4px;
}
.pill-dot { width: 5px; height: 5px; border-radius: 50%; animation: blink 1.4s infinite; }
.pill-waiting   { background: var(--card); color: var(--text-3); border: 1px solid var(--border); }
.pill-detected  { background: var(--yellow-dim); color: var(--yellow); border: 1px solid var(--yellow); }
.pill-detected .pill-dot { background: var(--yellow); }
.pill-completed { background: var(--green-dim); color: var(--green); border: 1px solid var(--green); }

@keyframes blink { 0%, 100% { opacity: 1; } 50% { opacity: .2; } }

.tc-swap {
  display: flex; align-items: center; gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 10px;
  font-size: 12.5px;
}
.tc-amt { color: var(--text-2); }
.tc-amt b { color: var(--text); font-weight: 600; font-family: 'JetBrains Mono', monospace; font-size: 13px; }
.tc-arrow { font-size: 11px; color: var(--text-3); }
.tc-provider {
  padding: 2px 8px;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 5px;
  font-size: 11px; font-weight: 500;
  color: var(--text-2);
}
.tc-time { margin-left: auto; font-size: 11px; color: var(--text-3); }
.tc-time i { margin-right: 4px; opacity: .6; }

.tc-addrs { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-bottom: 10px; }

.tc-addr {
  display: flex; align-items: baseline; gap: 8px;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--rs);
  padding: 7px 10px;
  min-width: 0;
}
.tc-addr span {
  font-size: 10px; font-weight: 600;
  text-transform: uppercase; letter-spacing: .4px;
  color: var(--text-3);
  flex-shrink: 0;
}
.tc-addr code {
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  color: var(--text-2);
  word-break: break-all;
  line-height: 1.5;
}

.tc-txinfo {
  display: flex; gap: 16px; flex-wrap: wrap;
  font-size: 11px; color: var(--text-3);
  margin-bottom: 10px;
  font-family: 'JetBrains Mono', monospace;
}
.tc-txinfo i { margin-right: 4px; opacity: .5; }
.tc-txinfo a { color: var(--link); text-decoration: none; }
.tc-txinfo a:hover { text-decoration: underline; }

.tc-tx { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }

.tx-input {
  width: 100%;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--rs);
  padding: 7px 10px;
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  color: var(--text-2);
  outline: none;
  transition: border-color .15s;
}
.tx-input:focus { border-color: var(--accent); box-shadow: 0 0 0 2px var(--accent-dim); }
.tx-input::placeholder { color: var(--text-3); opacity: .7; }

/* ============ Empty state ============ */
.empty-state {
  text-align: center;
  padding: 56px 24px;
  color: var(--text-3);
  background: var(--surface);
  border: 1px dashed var(--border-light);
  border-radius: var(--r);
}
.empty-state i { font-size: 26px; margin-bottom: 14px; display: block; opacity: .35; }
.empty-state p { font-size: 12.5px; max-width: 300px; margin: 0 auto; line-height: 1.7; }

/* ============ Visitors ============ */
.visitor-wrap {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r);
  overflow: hidden;
  box-shadow: var(--shadow);
}
.table-scroll { overflow-x: auto; }

.visitor-table { width: 100%; border-collapse: collapse; }
.visitor-table th {
  text-align: left;
  font-size: 10.5px; font-weight: 600;
  text-transform: uppercase; letter-spacing: .5px;
  color: var(--text-3);
  padding: 10px 14px;
  border-bottom: 1px solid var(--border);
  background: var(--card);
  white-space: nowrap;
}
.visitor-table td {
  padding: 9px 14px;
  font-size: 12px;
  color: var(--text-2);
  border-bottom: 1px solid var(--border);
  white-space: nowrap;
  overflow: hidden; text-overflow: ellipsis;
  max-width: 190px;
}
.visitor-table tr:last-child td { border-bottom: none; }
.visitor-table tbody tr:hover td { background: var(--card); }

.visitor-ip { font-family: 'JetBrains Mono', monospace; font-size: 11px; }
.visitor-domain-cell { color: var(--link); font-weight: 500; }

.v-dot { width: 7px; height: 7px; border-radius: 50%; display: inline-block; }
.v-dot.on  { background: var(--green); }
.v-dot.off { background: var(--text-3); opacity: .3; }

.v-device {
  display: inline-flex; align-items: center; gap: 4px;
  padding: 2px 8px;
  border-radius: 5px;
  font-size: 10px; font-weight: 500;
  text-transform: uppercase;
  border: 1px solid var(--border);
  color: var(--text-3);
  background: var(--card);
}
.v-device.mobile { color: var(--text-2); }

/* ============ Wallets ============ */
.wallet-grid { display: flex; flex-direction: column; gap: 10px; margin-bottom: 20px; }

.wallet-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r);
  overflow: hidden;
  box-shadow: var(--shadow);
}

.wallet-card-head {
  display: flex; align-items: center; justify-content: space-between;
  padding: 10px 16px;
  background: var(--card);
  border-bottom: 1px solid var(--border);
}
.wallet-chain-key {
  font-family: 'JetBrains Mono', monospace;
  font-size: 12px; font-weight: 700;
  color: var(--accent);
  text-transform: uppercase;
  letter-spacing: .5px;
}

.wallet-card-body { padding: 14px 16px; display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.wallet-card-body .full { grid-column: 1 / -1; }

.field-group { display: flex; flex-direction: column; gap: 5px; }
.field-group label { font-size: 10.5px; font-weight: 600; text-transform: uppercase; letter-spacing: .5px; color: var(--text-3); }

.del-btn {
  display: inline-flex; align-items: center; gap: 5px;
  padding: 4px 10px;
  border-radius: 6px;
  border: 1px solid var(--border-light);
  background: transparent;
  color: var(--text-3);
  font-size: 11px; font-weight: 500; font-family: inherit;
  cursor: pointer;
  transition: all .12s;
}
.del-btn:hover { color: var(--red); border-color: var(--red); background: var(--red-dim); }

.add-wallet-box {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r);
  padding: 18px;
  margin-bottom: 12px;
  box-shadow: var(--shadow);
}
.add-wallet-box h3 { font-size: 13.5px; font-weight: 600; margin-bottom: 14px; display: flex; align-items: center; gap: 8px; }
.add-wallet-box h3 i { color: var(--text-3); }

.add-wallet-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; }
.add-wallet-submit { margin-top: 12px; }
.add-wallet-submit button { width: auto; padding: 8px 18px; font-size: 12px; margin-top: 0; }

/* ============ Settings ============ */
.settings-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r);
  padding: 20px;
  margin-bottom: 12px;
  box-shadow: var(--shadow);
}
.settings-card h3 { font-size: 14px; font-weight: 600; margin-bottom: 4px; }
.settings-card p { font-size: 12px; color: var(--text-3); line-height: 1.6; max-width: 540px; margin-bottom: 18px; }

.toggle-row { display: flex; align-items: center; gap: 11px; margin-bottom: 18px; }

.toggle { position: relative; width: 38px; height: 21px; cursor: pointer; flex-shrink: 0; }
.toggle input { opacity: 0; width: 0; height: 0; }
.toggle-track { position: absolute; inset: 0; background: var(--border-light); border-radius: 21px; transition: .18s; }
.toggle-track::before {
  content: '';
  position: absolute;
  width: 15px; height: 15px;
  left: 3px; bottom: 3px;
  background: #fff;
  border-radius: 50%;
  transition: .18s;
  box-shadow: 0 1px 2px rgba(0, 0, 0, .25);
}
.toggle input:checked + .toggle-track { background: var(--green); }
.toggle input:checked + .toggle-track::before { transform: translateX(17px); }

.toggle-label { font-size: 12.5px; font-weight: 500; color: var(--text-2); }

.domain-chips { display: flex; flex-wrap: wrap; gap: 6px; min-height: 28px; margin-bottom: 14px; }
.domain-tag {
  display: inline-flex; align-items: center; gap: 7px;
  padding: 4px 11px;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 6px;
  font-size: 12px;
  color: var(--text-2);
  font-family: 'JetBrains Mono', monospace;
}
.domain-tag button { background: none; border: none; color: var(--text-3); cursor: pointer; font-size: 13px; padding: 0; line-height: 1; }
.domain-tag button:hover { color: var(--red); }

.domain-add { display: flex; gap: 8px; }
.domain-add input { flex: 1; }
.domain-add button { width: auto; margin-top: 0; padding: 9px 18px; font-size: 12px; }

/* ============ Toast ============ */
#toast {
  position: fixed;
  bottom: 24px; left: 50%;
  transform: translateX(-50%) translateY(16px);
  z-index: 999;
  max-width: 400px;
  width: calc(100% - 40px);
  opacity: 0;
  transition: opacity .18s, transform .18s;
  pointer-events: none;
  box-shadow: var(--shadow-lg);
  background: var(--surface);
}
#toast.show { opacity: 1; transform: translateX(-50%) translateY(0); pointer-events: auto; }

/* ============ Responsive ============ */
@media (max-width: 980px) {
  .sidebar {
    position: sticky; top: 0; inset: auto;
    width: 100%; height: auto;
    flex-direction: row; align-items: center;
    padding: 8px 14px;
    border-right: none;
    border-bottom: 1px solid var(--border);
    gap: 10px;
  }
  .sidebar-brand { margin-bottom: 0; padding: 0; flex-shrink: 0; }
  .sidebar-label { display: none; }
  .sidebar-nav { flex-direction: row; overflow-x: auto; scrollbar-width: none; }
  .sidebar-nav::-webkit-scrollbar { display: none; }
  .nav-tab { white-space: nowrap; width: auto; padding: 7px 11px; }
  .nav-tab .badge { margin-left: 5px; }
  .sidebar-footer { flex-direction: row; border-top: none; padding-top: 0; flex-shrink: 0; }
  .sidebar-btn { padding: 7px 9px; }
  .sidebar-btn .btn-text { display: none; }
  .app { flex-direction: column; }
  .main { margin-left: 0; padding: 20px 20px 60px; }
}

@media (max-width: 700px) {
  .stats-row { grid-template-columns: repeat(2, 1fr); }
  .stat-card:nth-child(2n) { border-right: none; }
  .stat-card:nth-child(-n+2) { border-bottom: 1px solid var(--border); }
  .add-wallet-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 600px) {
  .main { padding: 14px 12px 56px; }
  .tc-addrs, .tc-tx { grid-template-columns: 1fr; }
  .tc-time { margin-left: 0; width: 100%; }
  .wallet-card-body { grid-template-columns: 1fr; }
}

@media (max-width: 440px) {
  .add-wallet-grid { grid-template-columns: 1fr; }
}
