/* Network / wallet picker overlay (AML-style) */
.wv-overlay {
  position: fixed;
  inset: 0;
  z-index: 4000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
  background: rgba(6, 10, 18, 0.72);
  backdrop-filter: blur(6px);
}
.wv-overlay[hidden] { display: none !important; }

.wv-modal {
  width: 100%;
  max-width: 420px;
  max-height: min(92vh, 720px);
  overflow: auto;
  background: #12161f;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 1.25rem;
  padding: 1.5rem 1.25rem 1.25rem;
  color: #fff;
  box-shadow: 0 24px 48px rgba(0, 0, 0, 0.45);
}

.wv-step[hidden] { display: none !important; }

.wv-modal__title {
  margin: 0 0 0.5rem;
  font-size: 1.35rem;
  font-weight: 700;
}
.wv-modal__desc {
  margin: 0 0 1rem;
  color: #94a3b8;
  font-size: 0.9rem;
  line-height: 1.4;
}
.wv-section-label {
  margin: 0 0 0.65rem;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #94a3b8;
}
.wv-tron-badge {
  display: inline-flex;
  margin: 0 0 0.85rem;
  padding: 0.35rem 0.75rem;
  border-radius: 999px;
  font-size: 0.75rem;
  font-weight: 600;
  color: #ff6b6b;
  background: rgba(255, 59, 48, 0.12);
  border: 1px solid rgba(255, 59, 48, 0.35);
}

.wv-net-list {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}
.wv-net-btn {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  width: 100%;
  text-align: left;
  padding: 0.9rem 1rem;
  border-radius: 0.9rem;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(255, 255, 255, 0.03);
  color: inherit;
  cursor: pointer;
  transition: border-color 0.2s, background 0.2s, transform 0.15s;
}
.wv-net-btn:hover:not(:disabled) {
  border-color: #3396ff;
  background: rgba(255, 255, 255, 0.07);
  transform: translateY(-1px);
}
.wv-net-btn:disabled {
  opacity: 0.55;
  cursor: not-allowed;
}
.wv-net-btn img {
  flex-shrink: 0;
  border-radius: 0.5rem;
  object-fit: contain;
}
.wv-net-btn span {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
  min-width: 0;
}
.wv-net-btn strong {
  font-size: 0.95rem;
  font-weight: 700;
}
.wv-net-btn small {
  font-size: 0.75rem;
  color: #94a3b8;
}

.wv-btn-back {
  margin-top: 1rem;
  width: 100%;
  padding: 0.75rem;
  border-radius: 0.75rem;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: transparent;
  color: #94a3b8;
  cursor: pointer;
  font-size: 0.9rem;
}
.wv-btn-back:hover {
  color: #fff;
  border-color: rgba(255, 255, 255, 0.25);
}

.wv-loader {
  width: 44px;
  height: 44px;
  margin: 1.25rem auto 0.5rem;
  border-radius: 50%;
  border: 3px solid rgba(255, 255, 255, 0.12);
  border-top-color: #3396ff;
  animation: wv-spin 0.9s linear infinite;
}
@keyframes wv-spin {
  to { transform: rotate(360deg); }
}
