/* Estilos mínimos: el layout principal usa Tailwind CDN */
.op-donar-wrap {
  font-family:
    Inter,
    system-ui,
    -apple-system,
    Segoe UI,
    Roboto,
    Arial,
    sans-serif;
}
.op-btn {
  border-radius: 12px;
  padding: 10px 12px;
  font-weight: 700;
}
.op-monto {
  border: 1px solid rgba(0, 0, 0, 0.12);
  background: #fff;
}
.op-monto.is-active {
  border-color: #15803d;
  box-shadow: 0 0 0 3px rgba(21, 128, 61, 0.15);
}
.op-msg {
  margin: 0 auto 16px;
  max-width: 80rem;
  padding: 12px 14px;
  border-radius: 12px;
  border: 1px solid rgba(0, 0, 0, 0.12);
  background: #fff;
}
.op-msg.is-ok {
  border-color: rgba(21, 128, 61, 0.35);
  background: rgba(21, 128, 61, 0.08);
  color: #14532d;
}
.op-msg.is-error {
  border-color: rgba(220, 38, 38, 0.35);
  background: rgba(220, 38, 38, 0.06);
  color: #991b1b;
}
.op-card {
  max-width: 640px;
  margin: 0 auto;
  background: #fff;
  border: 1px solid rgba(0, 0, 0, 0.12);
  border-radius: 16px;
  padding: 18px;
}
.op-title {
  font-size: 22px;
  font-weight: 800;
  margin: 0 0 6px;
}
.op-sub {
  color: #6b7280;
  margin: 0 0 12px;
}
.op-primary {
  background: #15803d;
  color: #fff;
  border: 0;
  padding: 12px 14px;
  border-radius: 12px;
  font-weight: 800;
}
.op-footnote {
  margin-top: 14px;
  color: #6b7280;
  font-size: 12px;
}
/* Neutraliza estilos de Elementor SOLO en donaciones */
/* Neutraliza Elementor SOLO dentro del widget de donar */
.op-donar-wrap img.op-img-fixed {
  height: 24px !important;
  width: auto !important;
  max-width: none !important;
  object-fit: contain !important;
  display: inline-block !important;
}

/* ====== OVERRIDE anti-Elementor/Tailwind SOLO en el widget ====== */

/* Estado normal */
.op-donar-wrap .op-montos button.op-monto.op-monto-tw {
  border-color: #15803d !important;
  color: #15803d !important;
  background-color: #ffffff !important;
}

/* Hover / Focus (aquí es donde se pone “rosita”) */
.op-donar-wrap .op-montos button.op-monto.op-monto-tw:hover,
.op-donar-wrap .op-montos button.op-monto.op-monto-tw:focus,
.op-donar-wrap .op-montos button.op-monto.op-monto-tw:focus-visible {
  border-color: #166534 !important;
  color: #166534 !important;
  background-color: #f0fdf4 !important;
  outline: none !important;
}

/* Activo */
.op-donar-wrap .op-montos button.op-monto.op-monto-tw.is-active {
  border-color: #15803d !important;
  color: #15803d !important;
  background-color: #ecfdf5 !important;
  box-shadow: 0 0 0 3px rgba(21, 128, 61, 0.2) !important;
}

/* Si Elementor aplica estilo a TODOS los botones en hover */
.op-donar-wrap button:hover,
.op-donar-wrap button:focus {
  border-color: inherit !important;
  color: inherit !important;
}

#op-payment-form [type="submit"] {
  border-color: #15803d !important;
}
