.theme-message-overlay{position:fixed!important;inset:0!important;z-index:110000!important;align-items:center!important;justify-content:center!important;padding:20px!important;background:rgba(42,18,69,.45)!important;backdrop-filter:blur(5px)!important;overflow:auto;animation:theme-message-fade .16s ease-out;font-family:Poppins,'Segoe UI',sans-serif}
.theme-message-overlay[hidden],.theme-message-overlay.hidden{display:none!important}
.theme-message-card{position:relative!important;box-sizing:border-box!important;width:min(100%,470px)!important;max-width:470px!important;max-height:calc(100dvh - 40px)!important;overflow:auto!important;background:#fff!important;color:#34405c!important;border:1px solid #e5d8ff!important;border-radius:22px!important;padding:28px!important;margin:auto!important;box-shadow:0 24px 75px #3c135b30!important;text-align:left!important}
.theme-message-card:before{content:'';position:absolute;top:0;left:28px;right:28px;height:4px;border-radius:0 0 5px 5px;background:linear-gradient(90deg,#6610f2,#e517d4,#6610f2)}
.theme-message-symbol{display:grid;place-items:center;width:46px;height:46px;margin:0 0 18px;border:1px solid #e2cfff;border-radius:15px;color:#7a12e9;background:linear-gradient(135deg,#f1e8ff,#fcecff);font-size:25px;font-weight:650;line-height:1}
.theme-message-card #modalHeader,.theme-message-card #modalHeader_qc{font-size:21px!important;line-height:1.4!important;font-weight:600!important;color:#6211ca!important;border:0!important;padding:0!important;margin:0!important;overflow-wrap:anywhere}
.theme-message-card #modalMessage,.theme-message-card #modalMessage_qc{font-size:14px!important;line-height:1.8!important;color:#67728b!important;margin:12px 0 20px!important;white-space:pre-line;overflow-wrap:anywhere}
.theme-message-card .text-right,.theme-message-actions{display:flex!important;justify-content:flex-end!important;gap:10px!important;flex-wrap:wrap!important;margin-top:8px!important}
.theme-message-card #modalClose,.theme-message-card #modalYes_qc{min-height:42px!important;min-width:90px!important;padding:10px 20px!important;border:0!important;border-radius:10px!important;background:linear-gradient(115deg,#6610f2,#c80ce7)!important;color:white!important;font-size:14px!important;font-weight:600!important;line-height:1.5!important;box-shadow:0 5px 14px #7d17d322!important;cursor:pointer;transition:filter .15s,transform .15s}
.theme-message-card #modalNo_qc{min-height:42px!important;padding:10px 20px!important;border:1px solid #dfd0fa!important;border-radius:10px!important;background:#f7f2ff!important;color:#7413da!important;font-size:14px!important;font-weight:600!important;line-height:1.5!important;cursor:pointer}
.theme-message-card button:hover{filter:brightness(1.06)}.theme-message-card button:active{transform:translateY(1px)}.theme-message-card button:focus-visible{outline:3px solid #edabea!important;outline-offset:3px!important}
#hs-modal.theme-message-overlay .theme-message-card #modalClose,#hs-modal_qc.theme-message-overlay .theme-message-card #modalYes_qc{background:linear-gradient(115deg,#6610f2,#c80ce7)!important;color:#fff!important}
.theme-message-enter{animation:theme-message-open .22s cubic-bezier(.2,.7,.3,1) both}
.account-message:not([hidden]),p[role=alert]:not([hidden]){animation:theme-message-open .2s ease-out}
#rc-status:not(:empty),#vrr-message:not(:empty),#per-message:not(:empty){padding:11px 14px;border:1px solid #e7d7fb;border-radius:10px;background:#faf5ff;color:#8519c5;animation:theme-message-open .2s ease-out}
#error:not(:empty),#password_error:not(:empty){color:#a619b7!important;animation:theme-message-open .2s ease-out}
@keyframes theme-message-open{from{opacity:0;transform:translateY(9px) scale(.98)}to{opacity:1;transform:translateY(0) scale(1)}}
@keyframes theme-message-fade{from{opacity:0}to{opacity:1}}
@media(max-width:480px){.theme-message-overlay{padding:16px!important}.theme-message-card{padding:23px!important;border-radius:18px!important}.theme-message-card #modalHeader,.theme-message-card #modalHeader_qc{font-size:19px!important}.theme-message-card #modalMessage,.theme-message-card #modalMessage_qc{font-size:13px!important}}
@media(prefers-reduced-motion:reduce){.theme-message-overlay,.theme-message-enter,.account-message,p[role=alert],#rc-status,#vrr-message,#per-message,#error,#password_error{animation:none!important}.theme-message-card button{transition:none!important}}

/* The overlay centers dialogs; remove legacy top/left/translate positioning. */
.theme-message-overlay{box-sizing:border-box!important;width:100%!important;height:100%!important;max-width:none!important;max-height:none!important;margin:0!important;transform:none!important;translate:none!important;flex-direction:row!important;flex-wrap:nowrap!important}
.theme-message-overlay>.theme-message-card{inset:auto!important;top:auto!important;right:auto!important;bottom:auto!important;left:auto!important;transform:none!important;translate:none!important;--tw-translate-x:0!important;--tw-translate-y:0!important;float:none!important;flex:0 1 470px!important;min-width:0!important;margin:auto!important;max-height:calc(100vh - 40px)!important;max-height:calc(100dvh - 40px)!important}
@media(max-width:480px){.theme-message-overlay>.theme-message-card{max-height:calc(100vh - 32px)!important;max-height:calc(100dvh - 32px)!important}}
