

body {
  margin: 0;
  padding: 0;
  background: linear-gradient(180deg, #0d0d1a, #1a1a3d);
  font-family: 'Poppins', sans-serif;
  color: white;
  display: flex;
  justify-content: center;
  align-items: center;
  height: 100vh;
}

#app {
  width: 100%;
  max-width: 420px;
  height: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
}

.page {
  display: none;
  flex-direction: column;
  justify-content: flex-start;
  align-items: center;
  width: 100%;
  height: 100%;
  padding: 2rem 1.5rem;
  box-sizing: border-box;
}

.page.active {
  display: flex;
}

h1, h2 {
  text-align: center;
  margin-bottom: 0.5rem;
}

.subtitle {
  font-size: 0.9rem;
  text-align: center;
  opacity: 0.7;
  margin-bottom: 1.5rem;
}

.card {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  gap: 1rem;
  margin-top: auto;
  margin-bottom: auto;
}

.logo {
  width: 120px;
  height: 120px;
  object-fit: contain;
  margin: 0 auto 1rem;
  display: block;
}

.btn-primary {
  background: linear-gradient(90deg, #9b5cff, #5fddff);
  color: white;
  border: none;
  border-radius: 12px;
  padding: 1rem;
  font-size: 1rem;
  width: 100%;
  margin-top: auto;
  cursor: pointer;
  font-weight: 600;
  transition: opacity 0.2s ease;
}

.btn-primary:disabled {
  opacity: 0.4;
  cursor: not-allowed;
}

.chain-options {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  width: 100%;
  margin-bottom: 2rem;
}

.chain {
  background: rgba(255, 255, 255, 0.05);
  border-radius: 12px;
  padding: 1rem;
  display: flex;
  align-items: center;
  gap: 1rem;
  cursor: pointer;
  transition: background 0.3s ease, transform 0.2s ease;
}

.chain img {
  width: 70px;
  height: 70px;
  border-radius: 50%; /* ✅ Makes them circular */
  border: 2px solid rgba(255, 255, 255, 0.3); /* ✅ Adds subtle border */
  padding: 8px; /* ✅ Adds breathing room inside */
  background: rgba(255, 255, 255, 0.05); /* ✅ Soft glow behind icons */
  transition: all 0.3s ease;
}

.chain.selected img {
  border-color: #00f0ff; /* ✅ Neon color when selected */
  box-shadow: 0 0 12px #00f0ff;
  background: rgba(0, 240, 255, 0.1);
  transform: scale(1.1); /* ✅ Small pop effect */
}

.chain span {
  font-weight: 600;
  font-size: 1rem;
}

.chain:hover {
  background: rgba(255, 255, 255, 0.1);
  transform: scale(1.02);
}

.chain.selected {
  border: 2px solid #9b5cff;
  background: rgba(155, 92, 255, 0.1);
}

.back-btn {
  align-self: flex-start;
  background: rgba(255, 255, 255, 0.1);
  border: none;
  color: white;
  font-size: 1.5rem;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  margin-bottom: 1.5rem;
  cursor: pointer;
  box-shadow: 0 0 8px rgba(155, 92, 255, 0.5);
  transition: background 0.2s ease;
}

.back-btn:hover {
  background: rgba(255, 255, 255, 0.2);
}

#walletName {
  width: 100%;
  padding: 1rem;
  font-size: 0.9rem;
  border: 2px solid rgba(255, 255, 255, 0.3);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.05);
  color: white;
  margin-bottom: 1.5rem;
  text-align: left;
  resize: none;
  height: 90px; /* Vertical size of the textarea */
  line-height: 1.4;
}

#walletName::placeholder {
  font-size: 0.85rem;
  opacity: 0.6;
}
