/* ============================================================
   Web3Forms feedback states (success + error)
   Loaded automatically alongside web3forms.js
   ============================================================ */

.web3forms-success {
  padding: 28px 24px;
  border-radius: 16px;
  background: rgba(63, 125, 90, 0.08);
  border: 1.5px solid rgba(63, 125, 90, 0.25);
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 8px;
  animation: web3formsFadeIn 380ms cubic-bezier(.4, 0, .2, 1);
  margin-top: 12px;
}

.web3forms-success-icon {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: #3F7D5A;
  color: #fff;
  font-size: 22px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 6px;
}

.web3forms-success-title {
  font-size: 17px;
  font-weight: 700;
  color: #1A2E22;
  letter-spacing: -0.01em;
}

.web3forms-success-body {
  font-size: 14px;
  color: #5B6B62;
  line-height: 1.55;
  max-width: 420px;
}

.web3forms-error {
  padding: 12px 16px;
  border-radius: 12px;
  background: rgba(184, 92, 58, 0.1);
  border: 1.5px solid rgba(184, 92, 58, 0.3);
  color: #9A4928;
  font-size: 13px;
  font-weight: 600;
  line-height: 1.5;
  margin-bottom: 16px;
  animation: web3formsFadeIn 240ms cubic-bezier(.4, 0, .2, 1);
}

/* Footer success state — adjusts colors for dark green background */
.footer .web3forms-success {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.2);
  padding: 20px 16px;
}
.footer .web3forms-success-icon {
  background: #fff;
  color: #3F7D5A;
  width: 36px;
  height: 36px;
  font-size: 18px;
}
.footer .web3forms-success-title { color: #fff; font-size: 14px; }
.footer .web3forms-success-body { color: rgba(255, 255, 255, 0.78); font-size: 12px; }

@keyframes web3formsFadeIn {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: translateY(0); }
}
