:root {
  --bg: #0b0d10;
  --card: #14171c;
  --border: #262b33;
  --text: #e8eaed;
  --muted: #9aa3af;
  --accent: #9945ff;
  --accent-hover: #7f2fe0;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--bg);
  color: var(--text);
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

.card {
  width: 100%;
  max-width: 420px;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 28px;
}

h1 {
  font-size: 1.3rem;
  margin: 0 0 20px;
}

h2 {
  font-size: 1rem;
  color: var(--muted);
  margin: 20px 0 10px;
}

button {
  width: 100%;
  padding: 12px 16px;
  border-radius: 10px;
  border: none;
  background: var(--accent);
  color: white;
  font-size: 0.95rem;
  font-weight: 600;
  cursor: pointer;
}

button:hover {
  background: var(--accent-hover);
}

button.secondary {
  background: transparent;
  border: 1px solid var(--border);
  color: var(--text);
  margin-top: 14px;
}

button.secondary:hover {
  background: #1c2028;
}

.row {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 8px 0;
  border-bottom: 1px solid var(--border);
}

.label {
  color: var(--muted);
}

.mono {
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 0.85rem;
  overflow-wrap: anywhere;
  text-align: right;
}

.status {
  color: var(--muted);
  font-size: 0.8rem;
  margin: 12px 0 0;
}

#tokenList,
#walletList {
  list-style: none;
  margin: 0;
  padding: 0;
}

#tokenList li {
  display: flex;
  justify-content: space-between;
  padding: 8px 0;
  border-bottom: 1px solid var(--border);
  font-size: 0.9rem;
}

.hidden {
  display: none !important;
}

.modal {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.6);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.modal-content {
  width: 100%;
  max-width: 360px;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 24px;
}

.wallet-option {
  display: flex;
  align-items: center;
  gap: 10px;
  background: #1c2028;
  margin-bottom: 8px;
  text-align: left;
  font-weight: 500;
}

.wallet-option:hover {
  background: #262b33;
}

.wallet-option img {
  border-radius: 6px;
}
