button {
  background: var(--primary);
  border: none;
  border-radius: var(--radius);
  padding: 12px 16px;
  color: #052e16;
  font-weight: 700;
  cursor: pointer;
}

button:hover {
  background: var(--primary-dark);
}

button.danger {
  background: var(--danger);
  color: #fff;
}

button.secondary {
  background: #374151;
  color: var(--text);
}

button:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

/* --------------------------------------------------------- */
/* MODAL */
/* --------------------------------------------------------- */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.7);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1000;
}

.modal {
  background: var(--panel);
  padding: 20px;
  border-radius: var(--radius);
  width: 90%;
  max-width: 320px;
  text-align: center;
}

.dev-tools {
  opacity: 0.6;
  border: 1px dashed #555;
}

.dev-tools button {
  margin-right: 8px;
}

/* --------------------------------------------------------- */
/* ESTILOS PARA EL QR */
/* --------------------------------------------------------- */
.modal img {
  margin: 12px auto;
  display: block;
  background: #fff;
  padding: 6px;
  border-radius: 8px;
}
/* --------------------------------------------------------- */
/* ESTILOS PARA EL NFC */
/* --------------------------------------------------------- */
.modal .hint {
  font-size: 12px;
  color: var(--muted);
}
.trade-actions {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
}

.qr-block img {
  background: #fff;
  padding: 6px;
  border-radius: 8px;
}

.hint {
  font-size: 12px;
  color: var(--muted);
}





