.mgk-auth-page{margin:0;min-height:100vh;color:#e6f1ff;font:16px/1.5 Arial,sans-serif;background:radial-gradient(ellipse at top,#0b4057 0,#071422 48%,#060a12 100%)}
.mgk-auth-page.mgk-auth-embedded{min-height:0;background:transparent}
.mgk-auth-host,.mgk-auth-standalone{box-sizing:border-box;width:min(440px,calc(100vw - 32px));max-width:440px;max-height:calc(100dvh - 32px);padding:0;border:1px solid rgba(0,210,255,.42);border-radius:16px;background:#35465b;color:#f1f5f9;box-shadow:0 20px 56px #0007;overflow:auto;overscroll-behavior:contain}
.mgk-auth-host::backdrop,.mgk-auth-standalone::backdrop{background:#020711b3;backdrop-filter:blur(5px)}
.mgk-auth-host[open],.mgk-auth-standalone[open]{animation:mgk-auth-in .2s ease-out}
.mgk-auth-host iframe{display:block;border:0;background:transparent;width:100%;height:460px;max-height:calc(100dvh - 34px)}
.mgk-auth-close{position:absolute;z-index:2;right:12px;top:10px;display:flex;align-items:center;justify-content:center;width:34px;height:34px;padding:0;border:0;border-radius:50%;background:transparent;color:#a9c1da;font:26px/1 Arial,sans-serif;text-decoration:none;cursor:pointer}
.mgk-auth-close:hover{background:#ffffff0b;color:#fff}
.mgk-auth-card{box-sizing:border-box;width:100%;padding:32px;color:#e6f1ff;font:16px/1.5 Arial,sans-serif}
.mgk-auth-card *{box-sizing:border-box}
.mgk-auth-brand{margin:0 40px 12px 0;color:#00cdf5;font-size:12px;font-weight:800;letter-spacing:2px}
.mgk-auth-card h1{margin:0 24px 10px 0;color:#00cdf5;font-size:26px;line-height:1.25;font-weight:700}
.mgk-auth-description{margin:0 0 24px;color:#b9cee4;font-size:14px}
.mgk-auth-card form{margin:0}
.mgk-auth-card label{display:block;margin:14px 0 6px;color:#e6f1ff;font-size:14px;font-weight:700}
.mgk-auth-card input{display:block;width:100%;min-height:46px;margin:0;padding:11px 13px;border:1px solid #28516d;border-radius:8px;background:#111b31;color:#fff;font:16px Arial,sans-serif}
.mgk-auth-card input.mgk-auth-code{margin:8px 0 0;text-align:center;font-size:28px;font-weight:700;letter-spacing:.35em;padding-left:calc(13px + .35em);font-variant-numeric:tabular-nums}
.mgk-auth-card input::placeholder{color:#94abc5;opacity:1;font-size:15px;letter-spacing:normal;font-weight:400}
.mgk-auth-card :focus-visible,.mgk-auth-close:focus-visible{outline:2px solid #00cdf5;outline-offset:3px}
.mgk-auth-card input:focus{border-color:#00cdf5}
.mgk-auth-submit{display:block;width:100%;min-height:46px;margin:22px 0 0;padding:11px 18px;border:0;border-radius:8px;background:#00c9f2;color:#001822;font:700 16px Arial,sans-serif;text-align:center;text-decoration:none;cursor:pointer}
.mgk-auth-submit:hover{background:#45dcff}
.mgk-auth-submit:disabled{opacity:.65;cursor:wait}
.mgk-auth-card a:not(.mgk-auth-submit){color:#00cdf5;text-decoration:none}
.mgk-auth-card a:hover{text-decoration:underline}
.mgk-auth-forgot{margin:10px 0 0;text-align:right;font-size:13px}
.mgk-auth-register{margin:24px 0 0;padding-top:18px;border-top:1px solid #1b3049;color:#b9cee4;text-align:center;font-size:14px}
.mgk-auth-error{margin:0 0 16px;padding:12px 14px;border:1px solid #a44c59;border-radius:8px;background:#381725;color:#ffd2d8;font-size:14px}
.mgk-auth-error[hidden]{display:none!important}
.mgk-auth-qr{display:block;max-width:100%;width:190px;height:auto;margin:18px auto;padding:8px;background:#fff;border-radius:10px}
.mgk-auth-steps{padding-left:22px;color:#b9cee4;font-size:14px}
.mgk-auth-steps li+li{margin-top:6px}
@keyframes mgk-auth-in{from{opacity:0;transform:translateY(8px)}to{opacity:1;transform:translateY(0)}}
@media(max-width:480px){.mgk-auth-card{padding:28px 22px}.mgk-auth-card h1{font-size:24px}}
@media(prefers-reduced-motion:reduce){.mgk-auth-host[open],.mgk-auth-standalone[open]{animation:none}}
.mgk-auth-host[data-form="booking"],.mgk-auth-host[data-form="register"]{width:min(780px,calc(100vw - 32px));max-width:780px}
.mgk-auth-host[data-form="cabinet"]{width:min(1440px,calc(100vw - 48px));max-width:1440px;height:min(90dvh,1000px);max-height:calc(100dvh - 32px);overflow:hidden}
/* Public resets must not pin native dialogs to the upper left corner. */
.mgk-auth-host{position:fixed!important;inset:0!important;margin:auto!important}
