/* ── Warning box ── */
.warning-box {
  display: flex;
  gap: 10px;
  padding: 12px 14px;
  background: var(--red-dim);
  border: 1px solid rgba(255,95,95,0.2);
  border-radius: 10px;
  margin-bottom: 1.5rem;
  font-size: 12px;
  color: #ff9f9f;
  line-height: 1.5;
  font-family: var(--mono);
}

.warning-icon {
  font-size: 14px;
  flex-shrink: 0;
  margin-top: 1px;
}

/* ── Field labels ── */
.field-label {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-sec);
  margin-bottom: 10px;
  font-family: var(--mono);
}

.field-label-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 10px;
}

/* ── Seed grid ── */
.seed-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  margin-bottom: 1.25rem;
}

.seed-word {
  position: relative;
}

.seed-num {
  position: absolute;
  top: 7px;
  left: 8px;
  font-size: 9px;
  color: var(--text-dim);
  font-family: var(--mono);
  pointer-events: none;
  z-index: 1;
}

.seed-input {
  width: 100%;
  padding: 22px 8px 7px 8px;
  background: var(--surface2);
  border: 1px solid var(--border);
  border-radius: 8px;
  color: var(--text);
  font-family: var(--mono);
  font-size: 12px;
  outline: none;
  transition: border-color 0.2s;
  -webkit-text-security: disc;
  text-security: disc;
}

.seed-input:focus {
  border-color: rgba(127,255,110,0.3);
}

.seed-input.visible {
  -webkit-text-security: none;
  text-security: none;
}

/* ── Seed toggle ── */
.seed-toggle {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 11px;
  color: var(--text-sec);
  font-family: var(--mono);
  cursor: pointer;
  margin-bottom: 1.25rem;
  width: fit-content;
}

.seed-toggle input[type=checkbox] {
  accent-color: var(--accent);
}

.seed-mode-toggle {
  display: flex;
  gap: 8px;
  margin-bottom: 12px;
}

.seed-mode-toggle button {
  padding: 6px 16px;
  border: 1px solid #555;
  background: transparent;
  color: #aaa;
  border-radius: 6px;
  cursor: pointer;
}

.seed-mode-toggle button.active {
  background: #fff;
  color: #000;
  border-color: #fff;
}
/* ── Network select ── */
.select-wrap {
  position: relative;
  margin-bottom: 1.25rem;
}

.select-wrap select {
  width: 100%;
  padding: 11px 14px;
  background: var(--surface2);
  border: 1px solid var(--border);
  border-radius: 10px;
  color: var(--text);
  font-family: var(--mono);
  font-size: 12px;
  outline: none;
  appearance: none;
  cursor: pointer;
}

.select-arrow {
  position: absolute;
  right: 14px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--text-sec);
  font-size: 12px;
  pointer-events: none;
}

/* ── Password ── */
.password-wrap {
  position: relative;
  margin-bottom: 1.5rem;
}

.password-input {
  width: 100%;
  padding: 12px 14px;
  background: var(--surface2);
  border: 1px solid var(--border);
  border-radius: 10px;
  color: var(--text);
  font-family: var(--mono);
  font-size: 13px;
  outline: none;
  transition: border-color 0.2s;
}

.password-input:focus {
  border-color: rgba(127,255,110,0.3);
}

.password-eye {
  position: absolute;
  right: 12px;
  top: 50%;
  transform: translateY(-50%);
  background: none;
  border: none;
  color: var(--text-dim);
  cursor: pointer;
  font-size: 16px;
  transition: color 0.2s;
}

.password-eye:hover {
  color: var(--text-sec);
}

.loader-dot {
  display: inline-block;
  width: 8px;
  height: 8px;
  margin: 0 3px;
  background-color: white;
  border-radius: 50%;
  animation: bounce 1.2s infinite ease-in-out;
}

.loader-dot:nth-child(1) { animation-delay: 0s; }
.loader-dot:nth-child(2) { animation-delay: 0.2s; }
.loader-dot:nth-child(3) { animation-delay: 0.4s; }

@keyframes bounce {
  0%, 80%, 100% { transform: scale(0.6); opacity: 0.4; }
  40% { transform: scale(1); opacity: 1; }
}
