/* Donation WP – Elementor Widget base styles (no inline CSS in PHP) */
.dwp-widget { font-family: 'Jost', Arial, Helvetica, sans-serif; }
.dwp-widget * { box-sizing: border-box; }

.dwp-header { margin-bottom: 16px; }
.dwp-title { margin: 0 0 8px 0; line-height: 1.2; }
.dwp-subtitle { margin: 0; opacity: .9; }

.dwp-presets { display: flex; flex-wrap: wrap; gap: 10px; margin: 16px 0; }
.dwp-preset {
  display: inline-flex; align-items: center; justify-content: center;
  min-width: 80px; padding: 10px 14px; border: 1px solid transparent;
  border-radius: 10px; cursor: pointer; text-align: center; user-select: none;
}
.dwp-preset.is-active { outline: 2px solid rgba(0,0,0,.12); }

.dwp-fields { display: grid; gap: 12px; margin: 16px 0; }
.dwp-custom-amount input,
.dwp-note textarea {
  width: 100%; padding: 10px 12px; border: 1px solid #e2e8f0; border-radius: 10px;
  background: #fff; outline: none;
}

.dwp-actions { display: flex; align-items: center; gap: 12px; margin-top: 8px; }
.dwp-submit {
  display: inline-flex; align-items: center; justify-content: center;
  padding: 12px 18px; border-radius: 999px; border: 1px solid transparent;
  cursor: pointer; font-weight: 600;
}
.dwp-error { color: #cc0022; font-size: 13px; }

/* Utility alignment (controlled by Elementor control) */
.dwp-align-left { text-align: left; }
.dwp-align-center { text-align: center; }
.dwp-align-right { text-align: right; }

/* Responsive protection for large media in subtitle/content */
.dwp-subtitle img, .dwp-subtitle svg { max-width: 100%; height: auto; }
