/* RSDigital Payment - modal expired, selalu di atas halaman. */
.rsg-expiry-overlay{position:fixed!important;inset:0!important;z-index:2147483200!important;display:flex;align-items:center;justify-content:center;padding:18px;background:rgba(1,7,20,.88);backdrop-filter:blur(10px);font-family:Inter,system-ui,-apple-system,"Segoe UI",sans-serif;color:#edf7ff;box-sizing:border-box}
.rsg-expiry-overlay[hidden]{display:none!important}
.rsg-expiry-panel{width:min(100%,470px);max-height:calc(100dvh - 36px);overflow:auto;border:1px solid #386486;border-radius:22px;padding:31px 29px 27px;background:linear-gradient(155deg,#0e2540,#0b172b 68%);box-shadow:0 28px 90px rgba(0,0,0,.68),0 0 65px rgba(18,164,240,.12);text-align:center}
.rsg-expiry-symbol{display:grid;place-items:center;width:72px;height:72px;border-radius:20px;background:linear-gradient(135deg,#5c241f,#8d3126);color:#ffcec2;margin:0 auto 20px;font-size:35px;font-weight:800;box-shadow:0 8px 28px rgba(226,68,48,.18)}
.rsg-expiry-tag{display:inline-flex;border:1px solid #a94b3f;background:#3f2024;color:#ffb7a9;font-size:10px;font-weight:900;letter-spacing:.14em;padding:6px 12px;border-radius:100px}
.rsg-expiry-panel h2{color:#fff;font-size:25px;line-height:1.25;margin:16px 0 12px}
.rsg-expiry-panel p{font-size:13px;line-height:1.75;color:#b3c6da;margin:0 0 18px}
.rsg-expiry-ended{background:#0a1a2f;border:1px solid #284665;padding:12px 14px;border-radius:12px;margin:19px 0 22px;color:#bfd3e8;font-size:12px}
.rsg-expiry-ended strong{display:block;color:#ffac9e;font-size:15px;margin-top:5px}
.rsg-expiry-renew{width:100%;border:1px solid #35b8ff;border-radius:12px;background:linear-gradient(100deg,#1475e5,#1bb8f3);color:white;font-size:14px;font-weight:850;padding:15px 17px;cursor:pointer;box-shadow:0 10px 25px rgba(9,111,219,.22)}
.rsg-expiry-renew:hover{filter:brightness(1.09)}.rsg-expiry-renew:focus-visible{outline:3px solid #a9eeff;outline-offset:3px}.rsg-expiry-renew:disabled{opacity:.65;cursor:wait}
.rsg-expiry-foot{font-size:11px!important;margin:13px 0 0!important;color:#89a8c4!important}
body.rsg-expiry-locked{overflow:hidden!important}
body.rsg-expiry-payment-open #planModal,body.rsg-expiry-payment-open #checkoutModal{z-index:2147483400!important}
@media(max-width:530px){.rsg-expiry-panel{padding:25px 18px;border-radius:17px}.rsg-expiry-panel h2{font-size:21px}}

.rsg-expiry-notice{margin:13px 0 5px!important;color:#ffd8a8!important;font-size:12px!important}.rsg-expiry-notice[hidden],.rsg-expiry-support[hidden]{display:none!important}
.rsg-expiry-support{display:inline-block;margin:9px 0 0;padding:10px 12px;border:1px solid #2b8fba;border-radius:9px;color:#8addff!important;font-size:12px;font-weight:800;text-decoration:none}
body.rsg-expiry-locked #toast.toast{z-index:2147483500!important}

/* Secondary action stays clickable above the locked dashboard. */
.rsg-expiry-logout{display:block;width:100%;margin-top:12px;padding:13px 16px;border:1px solid #355979;border-radius:12px;background:rgba(18,48,76,.78);color:#e5f4ff;font-family:inherit;font-size:13px;font-weight:800;cursor:pointer;transition:background .15s,border-color .15s}
.rsg-expiry-logout:hover{background:#153754;border-color:#5e9bca}
.rsg-expiry-logout:focus-visible{outline:3px solid #a9eeff;outline-offset:3px}
.rsg-expiry-logout:disabled{opacity:.6;cursor:wait}
