#msg-modal{box-sizing:border-box;width:min(440px,calc(100% - 28px));max-height:90vh;overflow:auto;border:1px solid #dbe4ef;border-radius:14px;padding:30px 24px;text-align:center;background:#fff;color:#092541;font:400 14px Poppins,Arial,sans-serif;box-shadow:0 15px 60px #0004}#msg-modal::backdrop{background:rgba(9,37,65,.65)}#msg-modal img{width:180px;max-width:80%;margin:8px auto 15px}#msg-modal h2{font-size:23px;margin:8px 0}#msg-modal p{line-height:1.5}#msg-modal [hidden]{display:none!important}#msg-modal input,#msg-modal button:not(#msg-cerrar){box-sizing:border-box;width:100%;padding:12px;margin:8px 0;border-radius:7px;border:1px solid #ccd6e1;font:inherit}#msg-modal input{text-align:center;font-size:24px;letter-spacing:5px}#msg-modal button:not(#msg-cerrar){background:#d92000;color:#fff;font-weight:600;cursor:pointer}#msg-modal button:disabled{opacity:.6}#msg-cerrar{position:absolute;right:10px;top:8px;border:0;background:transparent;color:#092541;font-size:28px;cursor:pointer}#msg-error{color:#b42318}body:has(#msg-modal[open]){overflow:hidden}

#msg-modal[open]{position:fixed;inset:0;margin:auto;height:fit-content;max-height:90vh;transform:none;left:0;right:0;top:0;bottom:0;}

#msg-demo{background:#f0f5fa;border:1px solid #cbd9e7;border-radius:10px;padding:14px 8px;margin:14px 0;color:#092541}#msg-demo span,#msg-demo small{display:block;font-size:12px}#msg-demo strong{display:block;font-size:clamp(28px,8vw,40px);font-weight:700;letter-spacing:5px;line-height:1.4;font-variant-numeric:tabular-nums;user-select:all}#msg-modal input[name="codigo"]{font-size:30px;font-weight:600;letter-spacing:6px;color:#092541}
