.gspd-file-lightbox[hidden],.gspd-file-lightbox [hidden]{display:none!important}
.gspd-file-lightbox{position:fixed;inset:0;z-index:1000001;display:flex;align-items:center;justify-content:center;box-sizing:border-box;padding:60px 20px 24px;background:rgba(15,23,42,.8);backdrop-filter:blur(3px)}
.gspd-file-lightbox-body{position:relative;box-sizing:border-box;min-width:180px;min-height:130px;max-width:min(1100px,94vw);max-height:calc(100vh - 90px);max-height:calc(100dvh - 90px);padding:12px;border-radius:16px;background:#fff;box-shadow:0 28px 80px rgba(0,0,0,.3)}
.gspd-file-lightbox img{display:block;width:auto;height:auto;max-width:100%;max-height:calc(100vh - 114px);max-height:calc(100dvh - 114px);object-fit:contain;border-radius:10px}
.gspd-file-lightbox-close{position:absolute;top:12px;left:16px;display:flex;align-items:center;justify-content:center;box-sizing:border-box;width:40px;height:40px;padding:0;border:0;border-radius:50%;background:#fff;color:#0f172a;font:30px/1 Arial,sans-serif;cursor:pointer}
.gspd-file-lightbox button:focus-visible,.gspd-file-lightbox a:focus-visible{outline:3px solid #38bdf8;outline-offset:3px}
.gspd-file-lightbox-spinner{display:none;position:absolute;top:50%;left:50%;box-sizing:border-box;width:36px;height:36px;margin:-18px 0 0 -18px;border:4px solid #bfdbfe;border-top-color:#0f766e;border-radius:50%;animation:gspd-file-lightbox-spin .75s linear infinite}
.gspd-file-lightbox.is-loading .gspd-file-lightbox-spinner{display:block}
.gspd-file-lightbox.is-loading img{opacity:.25}
.gspd-file-lightbox-message{padding:24px;color:#334155;direction:rtl;font:14px/1.9 Tahoma,Arial,sans-serif}
.gspd-file-lightbox-message a{color:#0f766e;text-decoration:underline}
body.gspd-file-lightbox-open{overflow:hidden}
@keyframes gspd-file-lightbox-spin{to{transform:rotate(360deg)}}
