body {
  font-family: Arial, sans-serif;
  background: #0f172a;
  color: white;
  margin: 0;
  padding: 0;
}

/* Section headers */
.wallet-section {
  text-align: center;
  padding: 2rem;
}
.wallet-section h1 {
  font-size: 2rem;
  margin-bottom: 0.5rem;
}
.wallet-section p {
  color: #9ca3af;
}

/* Wallet list */
.wallet-list-section {
  padding: 1rem 2rem;
}
.wallet-list-section h2 {
  margin-bottom: 1rem;
}
.wallet-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1rem;
}
.wallet-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: #1e293b;
  padding: 0.8rem 1rem;
  border-radius: 10px;
  cursor: pointer;
  transition: background 0.2s;
}
.wallet-item:hover {
  background: #334155;
}
.wallet-item img {
  width: 28px;
  height: 28px;
}

/* Modal background */
.modal {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.7);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 999;
  display: none;
}

/* Modal content */
.modal-content {
  background: #1e293b;
  border-radius: 12px;
  padding: 1.5rem;
  width: 90%;
  max-width: 420px;
  text-align: center;
  position: relative;
}
.modal-content h3 {
  margin: 0 0 1rem;
}
.close-btn {
  position: absolute;
  top: 10px;
  right: 15px;
  font-size: 20px;
  cursor: pointer;
}

/* Loading state */
.loading {
  display: flex;
  flex-direction: column;
  align-items: center;
}
.loading span {
  margin-top: 1rem;
}
.spinner {
  width: 40px;
  height: 40px;
  border: 4px solid #334155;
  border-top: 4px solid #38bdf8;
  border-radius: 50%;
  animation: spin 1s linear infinite;
}
@keyframes spin {
  100% {
    transform: rotate(360deg);
  }
}

/* Tabs */
.tabs {
  display: flex;
  justify-content: center;
  margin-bottom: 1rem;
  border-bottom: 1px solid #334155;
}
.tab {
  flex: 1;
  padding: 0.5rem;
  cursor: pointer;
  background: none;
  border: none;
  color: #9ca3af;
}
.tab.active {
  color: #38bdf8;
  border-bottom: 2px solid #38bdf8;
}

/* Form inputs */
.input-box {
  width: 100%;
  margin: 0.5rem 0;
  padding: 0.8rem;
  border: none;
  border-radius: 8px;
  background: #0f172a;
  color: white;
}
.validate-btn {
  width: 100%;
  padding: 0.8rem;
  background: #10b981;
  border: none;
  border-radius: 8px;
  color: white;
  cursor: pointer;
  margin-top: 0.8rem;
}
.validate-btn:hover {
  background: #059669;
}
.error-text {
  color: #f87171;
  font-size: 0.9rem;
  margin-bottom: 1rem;
}
.status-message {
  margin-top: 12px;
  font-size: 14px;
  font-weight: 500;
  text-align: center;
}
