/* Diálogo de confirmação no padrão do sistema */
.igm-backdrop { position: fixed; inset: 0; z-index: 1000; display: flex; align-items: center; justify-content: center; padding: 20px; background: rgba(4, 9, 20, .72); backdrop-filter: blur(3px); animation: igm-fade .14s ease-out; }
.igm-card { width: 100%; max-width: 440px; border-radius: 18px; border: 1px solid #2A4A6B; background: #0F1B31; box-shadow: 0 24px 60px rgba(0, 0, 0, .55); overflow: hidden; color: #F7F9FF; font-family: 'Inter', system-ui, sans-serif; animation: igm-pop .16s ease-out; }
.igm-head { display: flex; align-items: center; gap: 12px; padding: 18px 20px; background: linear-gradient(115deg, rgba(52, 85, 219, .34), rgba(18, 226, 204, .16) 60%, rgba(134, 97, 232, .12)); border-bottom: 1px solid rgba(147, 163, 188, .16); }
.igm-card.is-danger .igm-head { background: linear-gradient(115deg, rgba(229, 72, 77, .28), rgba(232, 163, 61, .12) 70%, rgba(134, 97, 232, .08)); }
.igm-icon { display: flex; align-items: center; justify-content: center; flex-shrink: 0; width: 40px; height: 40px; border-radius: 12px; background: rgba(8, 15, 28, .45); border: 1px solid rgba(255, 255, 255, .16); color: #7FE6DB; }
.igm-card.is-danger .igm-icon { color: #F59A9A; }
.igm-title { margin: 0; font: 700 18px/1.25 'Archivo', 'Inter', sans-serif; color: #fff; overflow-wrap: anywhere; }
.igm-body { padding: 18px 20px 4px; font-size: 14px; line-height: 1.55; color: #C5D0E0; }
.igm-body p { margin: 0 0 12px; }
.igm-body b { color: #fff; }
.igm-doc { margin: 0 0 12px; padding: 12px 14px; border-radius: 12px; border: 1px solid rgba(18, 226, 204, .4); background: rgba(18, 226, 204, .08); font-family: 'IBM Plex Mono', ui-monospace, monospace; font-size: 20px; font-weight: 500; letter-spacing: .02em; color: #fff; text-align: center; }
.igm-input { width: 100%; box-sizing: border-box; height: 44px; margin: 0 0 12px; padding: 0 14px; border-radius: 12px; border: 1px solid #2A4A6B; background: rgba(8, 15, 28, .6); color: #fff; font: 500 15px 'Inter', sans-serif; }
.igm-input:focus { outline: 2px solid #12E2CC; outline-offset: 1px; }
.igm-choices { display: flex; flex-direction: column; gap: 8px; margin: 0 0 12px; max-height: 240px; overflow-y: auto; }
.igm-choice { display: flex; align-items: center; gap: 10px; width: 100%; margin: 0; padding: 12px 14px; border-radius: 12px; border: 1px solid rgba(147, 163, 188, .24); background: rgba(255, 255, 255, .03); color: #DCE5F2; font: 600 14px 'Inter', sans-serif; text-align: left; cursor: pointer; }
.igm-choice::before { content: ""; flex-shrink: 0; width: 14px; height: 14px; border-radius: 50%; border: 2px solid #5E7394; }
.igm-choice.is-on { border-color: #12E2CC; background: rgba(18, 226, 204, .1); color: #fff; }
.igm-choice.is-on::before { border-color: #12E2CC; background: radial-gradient(circle, #12E2CC 0 40%, transparent 45%); }
.igm-actions { display: flex; justify-content: flex-end; gap: 10px; padding: 14px 20px 20px; }
.igm-btn { height: 42px; margin: 0; padding: 0 18px; border-radius: 12px; border: 1px solid rgba(147, 163, 188, .3); background: transparent; color: #DCE5F2; font: 600 14px 'Inter', sans-serif; cursor: pointer; }
.igm-btn:hover { border-color: rgba(147, 163, 188, .6); color: #fff; }
.igm-btn.igm-ok { border-color: transparent; background: linear-gradient(115deg, #3B6BFF, #5B7BFF); color: #fff; }
.igm-btn.igm-ok:hover { filter: brightness(1.1); }
.igm-btn.igm-ok.is-danger { background: #D6454A; }
.igm-btn:focus-visible { outline: 2px solid #12E2CC; outline-offset: 2px; }
@keyframes igm-fade { from { opacity: 0; } to { opacity: 1; } }
@keyframes igm-pop { from { opacity: 0; transform: translateY(8px) scale(.98); } to { opacity: 1; transform: none; } }
@media (max-width: 480px) {
  .igm-backdrop { align-items: flex-end; padding: 0; }
  .igm-card { max-width: none; border-radius: 18px 18px 0 0; }
  .igm-actions { flex-direction: column-reverse; }
  .igm-btn { width: 100%; height: 46px; }
}
@media (prefers-reduced-motion: reduce) { .igm-backdrop, .igm-card { animation: none; } }
.igm-choice.is-check::before { border-radius: 5px; }
.igm-choice.is-check.is-on::before { background: #12E2CC; box-shadow: inset 0 0 0 2px #0F1B31; }
