/* Confirmaciones y mensajes (SweetAlert2) con el estándar de ventanas del prototipo Concursa:
   cabecera con antetítulo y ✕, cuerpo alineado a la izquierda y pie con Cancelar / Continuar a la derecha. */
.swal2-popup.cz-pop { width: min(34rem, calc(100vw - 2rem)); padding: 0; border-radius: .75rem; font-family: 'Poppins', Arial, Helvetica, sans-serif; text-align: left; box-shadow: 0 14px 40px rgba(0, 46, 69, .2); overflow: hidden; }
.swal2-popup.cz-pop .swal2-header { position: relative; flex-direction: row; align-items: center; gap: .75rem; padding: 1rem 3.75rem 1rem 1.25rem; border-bottom: 1px solid #D5DCE0; }
.swal2-popup.cz-pop .swal2-title { display: block !important; margin: 0; padding: 0; font-size: 1.2rem !important; font-weight: 700; line-height: 1.3; color: #002E45 !important; text-align: left; }
.swal2-popup .cz-k, .cz-k { display: block !important; margin-bottom: .15rem; font-size: .75rem; font-weight: 700; letter-spacing: .02em; color: #B84A00; }
.swal2-popup.cz-pop .swal2-close.cz-x { position: absolute; top: .5rem; right: .5rem; display: grid; place-items: center; width: 2.75rem; height: 2.75rem; border-radius: .5rem; color: #627378; font-size: 0; transition: background-color .15s; }
.swal2-popup.cz-pop .swal2-close.cz-x:hover { background: #F5F7FA; color: #002E45; transform: none; }
.swal2-popup.cz-pop .swal2-close.cz-x:focus-visible { outline: 3px solid rgba(255, 105, 0, .55); }
.swal2-popup.cz-pop .swal2-close svg { width: 1.25rem; height: 1.25rem; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; }
/* Ícono pequeño junto al título (en las confirmaciones el prototipo no usa ícono grande) */
.swal2-popup.cz-pop .swal2-icon { flex: none; width: 2.5rem; height: 2.5rem; margin: 0; border-width: .18em; font-size: .55rem; }
.swal2-popup.cz-pop .swal2-icon.swal2-question, .swal2-popup.cz-pop .swal2-icon.swal2-info { display: none !important; }
.swal2-popup.cz-pop .swal2-content { padding: 1.25rem; font-size: .95rem; line-height: 1.55; color: #1C3247 !important; text-align: left; }
.swal2-popup.cz-pop .swal2-content:empty, .swal2-popup.cz-pop .swal2-content #swal2-content:empty { padding: 0; }
.swal2-popup.cz-pop .swal2-content p { margin: 0 0 .5rem; }
.swal2-popup.cz-pop .swal2-input, .swal2-popup.cz-pop .swal2-textarea, .swal2-popup.cz-pop .swal2-select { margin: .75rem 0 0; width: 100%; border: 1px solid #C6D0D9; border-radius: .5625rem; box-shadow: none; }
.swal2-popup.cz-pop .swal2-validation-message { margin: 0 1.25rem 1rem; border-radius: .5rem; }
.swal2-popup.cz-pop .swal2-actions { justify-content: flex-end; gap: .5rem; margin: 0; padding: .9rem 1.25rem; border-top: 1px solid #D5DCE0; background: #fff; }
.swal2-popup.cz-pop .swal2-actions:not(.swal2-loading) .swal2-styled { margin: 0; }
.swal2-popup.cz-pop .swal2-actions .btn { display: inline-flex !important; align-items: center; justify-content: center; gap: .5rem; height: 3rem; min-height: 3rem; margin: 0; padding: 0 1.15rem; border-width: 1.5px; border-radius: .625rem; font-size: 1rem; font-weight: 600; white-space: normal; box-shadow: none; }
.swal2-popup.cz-pop .swal2-actions .btn[style*="display: none"] { display: none !important; } /* SweetAlert oculta así el botón que no se usa (p. ej. Cancelar en avisos) */
/* Continuar: azul con círculo naranja y flecha (botón principal del prototipo) */
.swal2-popup.cz-pop .cz-ok { border-color: #002E45; background: #002E45; color: #fff; }
.swal2-popup.cz-pop .cz-ok::before { content: ""; flex: none; width: 1.75rem; height: 1.75rem; margin-left: -.35rem; border-radius: 50%; background: #FF6900 url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23001A28' stroke-width='2.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M9 6l6 6-6 6'/%3E%3C/svg%3E") center / 62% no-repeat; }
.swal2-popup.cz-pop .cz-ok:hover, .swal2-popup.cz-pop .cz-ok:focus { border-color: #264763; background: #264763; color: #fff; }
.swal2-popup.cz-pop .cz-ok:focus-visible, .swal2-popup.cz-pop .cz-no:focus-visible { box-shadow: 0 0 0 3px rgba(38, 77, 97, .5); outline: 0; }
/* Acciones destructivas (eliminar, anular, rechazar): rojo, sin flecha */
.swal2-popup.cz-pop .cz-ok.cz-ok--peligro { border-color: #A8323A; background: #A8323A; }
.swal2-popup.cz-pop .cz-ok.cz-ok--peligro:hover { border-color: #8C2830; background: #8C2830; }
.swal2-popup.cz-pop .cz-ok.cz-ok--peligro::before { display: none; }
.swal2-popup.cz-pop .cz-no { border-color: #002E45; background: #fff; color: #002E45; }
.swal2-popup.cz-pop .cz-no:hover { background: #ECF2F6; color: #002E45; }
.swal2-popup.cz-pop .swal2-footer { margin: 0; padding: .75rem 1.25rem; border-top: 1px solid #D5DCE0; font-size: .85rem; }
.swal2-container.swal2-backdrop-show, .swal2-container.swal2-shown { background: rgba(0, 26, 40, .45) !important; }

/* Contenido de las confirmaciones */
.cz-al { display: flex; align-items: center; gap: .75rem; margin: 0 0 1rem; padding: .75rem 1rem; border: 1px solid #C5D8E6; border-left: 6px solid #335F7F; border-radius: .75rem; background: #ECF2F6; color: #1C3247; font-size: .92rem; }
.cz-al svg { flex: none; width: 1.4rem; height: 1.4rem; fill: none; stroke: #335F7F; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.cz-al--alerta { border-color: #F7D3B5; border-left-color: #FF6900; background: #FFF7F0; }
.cz-al--alerta svg { stroke: #B84A00; }
.cz-qp { margin: 0 0 1rem; padding: .9rem 1rem; border-left: 4px solid #002E45; border-radius: .75rem; background: #F2F7FA; font-weight: 700; color: #002E45; text-align: left; }
.cz-qp span { display: block; margin-top: .15rem; font-size: .85rem; font-weight: 500; color: #627378; }
.cz-h { display: flex; align-items: center; gap: .5rem; margin: .9rem 0 .5rem; font-size: 1.05rem; font-weight: 700; color: #002E45; }
.cz-h svg { flex: none; width: 1.15rem; height: 1.15rem; fill: none; stroke: #3C7AA0; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.cz-steps { display: grid; gap: .5rem; margin: 0; padding: 0; list-style: none; }
.cz-steps li { display: flex; align-items: center; gap: .8rem; font-size: 1rem; }
.cz-steps .rk { display: grid; place-items: center; flex: none; width: 2rem; height: 2rem; border-radius: 50%; background: #002E45; color: #fff; font-size: .85rem; font-weight: 700; }
@media (max-width: 575.98px) {
    .swal2-popup.cz-pop .swal2-actions { flex-direction: column-reverse; align-items: stretch; }
    .swal2-popup.cz-pop .swal2-actions .btn { width: 100%; }
}
@media (prefers-reduced-motion: reduce) { .swal2-popup.cz-pop .swal2-close.cz-x { transition: none; } }
/* Confirmación de declaraciones: lista de lo declarado y botón de advertencia */
.cz-dl { display: grid; gap: .5rem; margin: 0; padding: 0; list-style: none; }
.cz-dl li { padding: .6rem .8rem; border: 1px solid #D5DCE0; border-left: 4px solid #B84A00; border-radius: .75rem; background: #fff; }
.cz-dl b { display: block; font-weight: 600; color: #002E45; }
.cz-dl span { font-size: .85rem; color: #627378; }
.swal2-popup.cz-pop .cz-warn { border-color: #B84A00 !important; background: #fff; color: #B84A00 !important; }
.swal2-popup.cz-pop .cz-warn:hover { background: #FFF1E6 !important; }
.swal2-popup .cz-hint { margin-top: .8rem; }

/* ===== Igual al estándar de ventanas (modales.css): 30/10/2026 ===== */
.swal2-popup.cz-pop { width: min(31rem, calc(100vw - 2rem)) !important; border-radius: 1rem; background: #F5F7FA; font-size: 1rem; }
.swal2-popup.cz-pop .swal2-header { padding: 1rem 3.75rem 1rem 1.25rem; background: #fff; }
.swal2-popup.cz-pop .swal2-title { font-size: 1.2rem !important; line-height: 1.3; }
.swal2-popup.cz-pop .swal2-icon { display: none !important; }  /* el tipo se indica con el antetítulo, como en el prototipo */
.swal2-popup.cz-pop .swal2-content { padding: 1rem 1.25rem; background: #F5F7FA; font-size: 1rem !important; line-height: 1.55; color: #1C3247 !important; }
.swal2-popup.cz-pop .swal2-actions { padding: .75rem 1.25rem; background: #F5F7FA; }
.swal2-popup.cz-pop .swal2-actions .btn { height: 3rem !important; min-height: 3rem !important; padding: 0 1.15rem !important; border-width: 1px; border-radius: .625rem !important; font-size: 1rem !important; font-weight: 600 !important; }
.swal2-popup.cz-pop .cz-no { border-color: #335F7F; color: #335F7F; }
.swal2-popup.cz-pop .cz-no:hover { background: #335F7F; color: #fff; }
