#cvh-donate-overlay {
  position: fixed;
  inset: 0;
  z-index: 2147483000;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 24px;
  background: rgba(15, 23, 42, 0.72);
  backdrop-filter: blur(4px);
  font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
}

#cvh-donate-overlay.cvh-donate-open {
  display: flex;
}

#cvh-donate-overlay.cvh-donate-closing {
  display: flex;
  pointer-events: none;
  animation: cvh-donate-out 0.24s ease-in forwards;
}

#cvh-donate-overlay.cvh-donate-closing #cvh-donate-modal {
  animation: cvh-donate-modal-out 0.24s ease-in forwards;
}

@keyframes cvh-donate-out {
  from {
    opacity: 1;
  }
  to {
    opacity: 0;
  }
}

@keyframes cvh-donate-modal-out {
  from {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
  to {
    opacity: 0;
    transform: translateY(10px) scale(0.98);
  }
}

#cvh-donate-modal {
  position: relative;
  width: min(100%, 440px);
  max-height: calc(100vh - 48px);
  overflow: auto;
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.28);
  animation: cvh-donate-in 0.22s ease-out;
}

@keyframes cvh-donate-in {
  from {
    opacity: 0;
    transform: translateY(12px) scale(0.98);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

#cvh-donate-close {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 36px;
  height: 36px;
  border: 0;
  border-radius: 999px;
  background: #f3f4f6;
  color: #374151;
  font-size: 22px;
  line-height: 1;
  cursor: pointer;
}

#cvh-donate-close:hover {
  background: #e5e7eb;
}

.cvh-donate-header {
  padding: 28px 28px 0;
  text-align: center;
}

.cvh-donate-logo {
  display: block;
  max-width: 220px;
  max-height: 72px;
  margin: 0 auto 18px;
  object-fit: contain;
}

.cvh-donate-title {
  margin: 0 0 8px;
  color: #111827;
  font-size: 24px;
  font-weight: 700;
  line-height: 1.25;
}

.cvh-donate-subtitle {
  margin: 0;
  color: #6b7280;
  font-size: 15px;
  line-height: 1.5;
}

.cvh-donate-body {
  padding: 22px 28px 28px;
}

.cvh-donate-options {
  display: grid;
  gap: 12px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.cvh-donate-option {
  margin: 0;
}

.cvh-donate-btn {
  display: block;
  width: 100%;
  padding: 14px 18px;
  border: 2px solid transparent;
  border-radius: 999px;
  background: #02a95c;
  color: #fff !important;
  font-size: 16px;
  font-weight: 700;
  line-height: 1.3;
  text-align: center;
  text-decoration: none !important;
  cursor: pointer;
  transition: background 0.25s ease, color 0.25s ease, transform 0.2s ease, box-shadow 0.2s ease, border-color 0.25s ease;
}

.cvh-donate-btn:hover {
  background: #02884a;
  border-color: #02884a;
  color: #fff !important;
  transform: translateY(-2px);
  box-shadow: 0 8px 22px rgba(2, 169, 92, 0.35);
}

.cvh-donate-btn-secondary {
  background: transparent;
  color: #02a95c !important;
  border-color: #02a95c;
}

.cvh-donate-btn-secondary:hover {
  background: #02a95c;
  border-color: #02a95c;
  color: #fff !important;
  transform: translateY(-2px);
  box-shadow: 0 8px 22px rgba(2, 169, 92, 0.35);
}

#cvh-donate-overlay .cvh-donate-option-highlight .cvh-donate-btn-secondary {
  box-shadow: 0 0 0 3px rgba(2, 169, 92, 0.22);
}

.cvh-donate-option-desc {
  margin: 6px 0 0;
  color: #6b7280;
  font-size: 13px;
  line-height: 1.45;
  text-align: center;
}

.cvh-donate-footer {
  margin-top: 18px;
  padding-top: 16px;
  border-top: 1px solid #e5e7eb;
  color: #9ca3af;
  font-size: 12px;
  line-height: 1.5;
  text-align: center;
}

.cvh-donate-footer a {
  color: #02a95c;
  text-decoration: none;
}

.cvh-donate-footer a:hover {
  text-decoration: underline;
}

@media (max-width: 480px) {
  #cvh-donate-overlay {
    padding: 12px;
  }

  .cvh-donate-header,
  .cvh-donate-body {
    padding-left: 20px;
    padding-right: 20px;
  }

  .cvh-donate-title {
    font-size: 21px;
  }
}

/* reCAPTCHA / CF7: ошибка домена на зеркале */
.grecaptcha-badge,
.grecaptcha-logo,
iframe[src*="google.com/recaptcha"],
iframe[title*="reCAPTCHA"],
.wpcf7-response-output {
  display: none !important;
  visibility: hidden !important;
  opacity: 0 !important;
  pointer-events: none !important;
}
