/* DD Alertas v1.0.4 — DonDigital */
/* El mensaje de Elementor bajo el formulario se oculta a la vista (lo muestra SweetAlert) */
.dda-on .elementor-form .elementor-message { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; margin: 0; }

.swal2-popup.dda-popup { width: min(92vw, 480px); border-radius: 16px; padding: max(24px, 1.8vw) max(20px, 1.6vw); font-family: 'Inter Tight', sans-serif; }
.swal2-title.dda-title { color: #145499; font-family: 'Inter Tight', sans-serif; font-weight: 800; font-size: clamp(20px, 1.6vw, 24px); line-height: 1.25; }
.swal2-html-container.dda-text { font-family: 'Inter Tight', sans-serif; color: #1F1F1F; font-size: clamp(14px, 1.05vw, 16px); line-height: 1.55; }
.swal2-actions.dda-actions { gap: 10px; }
.dda-btn { background: #0740F9; color: #fff; border: 0; border-radius: 999px; padding: 12px max(26px, 2vw); font-family: 'Inter Tight', sans-serif; font-weight: 600; font-size: 15px; cursor: pointer; transition: background-color .15s; }
.dda-btn:hover { background: #0637d6; }
.dda-btn:focus-visible { outline: 3px solid #F2C230; outline-offset: 2px; }
.dda-btn--ghost { background: #fff; color: #145499; box-shadow: inset 0 0 0 1.5px #145499; }
.dda-btn--ghost:hover { background: #EAF2FC; }
.dda-list { text-align: left; max-width: 360px; margin: 12px auto 0; padding-left: 1.2em; }
.dda-list li { margin: 4px 0; }

/* Campo con error */
.dda-on .elementor-field-group.dda-invalid .elementor-field,
.dda-on .elementor-field-group.dda-invalid .elementor-field-option label { border-color: #d63638 !important; }
.dda-on .elementor-field-group.dda-invalid > label.elementor-field-label { color: #d63638; }

.dda-text p { margin: 0 0 .7em; }
.dda-text p:last-of-type { margin-bottom: 0; }
.dda-text p.dda-note { background: #F5FCD6; border: 1px solid #DAF65D; border-left: 4px solid #B9D93A; border-radius: 6px; padding: 10px 12px; color: #1F2A0E; text-align: left; }
.dda-text p.dda-small { font-size: .85em; color: #5b6472; }
