/* Botones de pago rápido (QR / Binance / Saldo) */

.obme-quick-pay-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 12px;
}

.obme-quick-pay-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 8px 12px;
  border-radius: 6px;
  border: 0;
  cursor: pointer;
  font-size: 14px;
  font-weight: 500;
  line-height: 1.2;
  text-decoration: none;
  color: #f9fafb;
  background: #1f2937;
}

.obme-quick-pay-btn--wallet {
  background: #22c55e;
  color: #022c22;
}

.obme-quick-pay-btn--qr {
  background: #0ea5e9;
}

.obme-quick-pay-btn--binance {
  background: #f59e0b;
  color: #111827;
}

.obme-quick-pay-btn:hover {
  opacity: 0.9;
}

/* Modal genérico de resultados */

.obme-modal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.6);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 99999;
}

.obme-modal {
  background: #020617;
  color: #f9fafb;
  padding: 20px 22px;
  border-radius: 8px;
  max-width: 340px;
  width: 100%;
  box-shadow: 0 20px 40px rgba(0,0,0,0.4);
  font-size: 14px;
  position: relative;
}

.obme-modal h3 {
  margin: 0 0 10px;
  font-size: 16px;
  text-align: center;
}

.obme-modal p {
  margin: 0 0 14px;
  text-align: center;
}

.obme-modal-buttons {
  display: flex;
  gap: 10px;
  justify-content: center;
  flex-wrap: wrap;
}

.obme-btn {
  border-radius: 4px;
  padding: 6px 10px;
  border: 0;
  cursor: pointer;
  font-size: 13px;
}

.obme-btn-primary {
  background: #22c55e;
  color: #022c22;
}

.obme-btn-secondary {
  background: #0f172a;
  color: #e5e7eb;
  border: 1px solid #4b5563;
}

.obme-modal-error {
  background: #7f1d1d;
  color: #fee2e2;
}

/* Botón X para cerrar */

.obme-modal-close-x {
  position: absolute;
  top: 6px;
  right: 8px;
  background: transparent;
  border: 0;
  color: #9ca3af;
  font-size: 18px;
  line-height: 1;
  cursor: pointer;
}

.obme-modal-close-x:hover {
  color: #e5e7eb;
}

/* Formulario corto de dirección dentro del modal */

.obme-modal form .obme-field {
  margin-bottom: 10px;
}

.obme-modal form label {
  display: block;
  font-size: 12px;
  margin-bottom: 2px;
}

.obme-modal form input,
.obme-modal form select {
  width: 100%;
  padding: 6px 8px;
  border-radius: 4px;
  border: 1px solid #4b5563;
  background: #0b1120;
  color: #e5e7eb;
  font-size: 13px;
  box-sizing: border-box;
}

/* Responsive: botones en columna en pantallas muy pequeñas */

@media (max-width: 480px) {
  .obme-quick-pay-buttons {
    flex-direction: column;
  }

  .obme-quick-pay-btn {
    width: 100%;
    justify-content: center;
  }
}
