/* SweetAlert2: mensajes, confirmaciones y campos adaptados al sistema visual. */
.swal2-container { z-index: 11000 !important; }
.fc-swal-popup.swal2-popup { width: min(460px, calc(100vw - 28px)); padding: 22px; border: 1px solid var(--line); border-radius: var(--radius-lg); background: var(--panel); color: var(--text); box-shadow: var(--shadow-md); }
.fc-swal-popup .fc-swal-title { margin: 0; padding: 0; color: var(--text); font-size: 19px; font-weight: 750; line-height: 1.3; }
.fc-swal-popup .swal2-html-container, .fc-swal-popup .swal2-input-label { color: var(--muted-strong); font-size: 13px; line-height: 1.5; }
.fc-swal-popup .swal2-actions { gap: 9px; margin: 20px auto 0; }
.fc-swal-popup .swal2-styled { min-height: 44px; margin: 0; padding: 10px 16px; border: 1px solid transparent; border-radius: 10px; box-shadow: none; font: 700 13px/1.2 var(--font-body); }
.fc-swal-popup .swal2-styled.fc-swal-confirm { border-color: #1d4ed8; background: #1d4ed8; color: #fff; }
.fc-swal-popup .swal2-styled.fc-swal-confirm:hover { border-color: #1e40af; background: #1e40af; }
.fc-swal-popup .swal2-styled.fc-swal-danger { border-color: #b42332; background: #b42332; color: #fff; }
.fc-swal-popup .swal2-styled.fc-swal-danger:hover { border-color: #8f1b27; background: #8f1b27; }
.fc-swal-popup .swal2-styled.fc-swal-cancel { border-color: var(--line); background: var(--panel-2); color: var(--text); }
.fc-swal-popup .swal2-styled.fc-swal-cancel:hover { border-color: var(--border-strong); background: var(--panel-3); }
.fc-swal-popup .swal2-input.fc-swal-input, .fc-swal-settings .fc-swal-input { width: 100%; min-height: 44px; margin: 6px 0 0; padding: 10px 12px; border: 1px solid var(--line); border-radius: var(--radius-sm); background: var(--bg-elevated); color: var(--text); box-shadow: none; font: 500 14px/1.4 var(--font-body); }
.fc-swal-popup .swal2-input.fc-swal-input:focus, .fc-swal-settings .fc-swal-input:focus { border-color: var(--blue); outline: 0; box-shadow: 0 0 0 3px rgb(75 140 255 / 18%); }
.fc-swal-settings.swal2-popup { width: min(560px, calc(100vw - 28px)); }
.fc-swal-fields { display: grid; gap: 13px; text-align: left; }
.fc-swal-field { display: grid; min-width: 0; gap: 5px; color: var(--muted-strong); font-size: 12px; font-weight: 700; }
.fc-swal-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.fc-swal-popup .swal2-validation-message { border-radius: 9px; background: rgb(180 35 50 / 10%); color: var(--red); font-size: 12px; }
.fc-swal-toast.swal2-popup { width: min(520px, calc(100vw - 24px)); padding: 12px 14px; border-radius: 13px; }
.fc-swal-toast .fc-swal-toast-title { margin: 0 5px; color: var(--text); font-size: 13px; font-weight: 650; line-height: 1.4; text-align: left; }
.fc-swal-toast .swal2-close { width: 40px; min-width: 40px; height: 40px; min-height: 40px; color: var(--muted); }
@media (max-width: 520px) {
  .fc-swal-popup.swal2-popup { padding: 18px; }
  .fc-swal-grid { grid-template-columns: minmax(0, 1fr); }
  .fc-swal-popup .swal2-actions { width: 100%; }
  .fc-swal-popup .swal2-styled { min-width: 116px; min-height: 44px; }
  .swal2-container.swal2-top { padding-top: calc(12px + env(safe-area-inset-top)); }
}
