/* CoBePhim v6.2 - only dialog selectors, never re-use the header account class. */
body.mc-page.mc-auth-open {overflow:hidden}
.mc-page .mc-auth-backdrop[hidden],.mc-page .mc-auth-form[hidden]{display:none!important}
.mc-page .mc-auth-backdrop{position:fixed;inset:0;z-index:10020;display:flex;align-items:center;justify-content:center;padding:16px;box-sizing:border-box;background:rgba(0,0,0,.78);overflow-y:auto;animation:mc-auth-in .15s ease-out}
@keyframes mc-auth-in{from{opacity:0}to{opacity:1}}
.mc-page .mc-auth-dialog{position:relative;box-sizing:border-box;width:min(520px,100%);max-height:calc(100dvh - 32px);overflow-y:auto;overscroll-behavior:contain;padding:26px 30px 24px;border:1px solid #2a3440;border-radius:13px;background:#0b1016;color:#f9fafb;box-shadow:0 22px 80px rgba(0,0,0,.65);text-align:center;outline:0}
.mc-page .mc-auth-close{position:absolute;right:18px;top:16px;display:grid;place-items:center;width:28px;height:28px;background:transparent;border:0;color:#a0a9b5;padding:0;transition:color .16s,transform .16s}
.mc-page .mc-auth-close:hover{color:#fff;transform:rotate(90deg)}
.mc-page .mc-auth-dialog h2{font-family:Inter,Arial,sans-serif;color:#fff;font-size:24px;line-height:1.35;font-weight:750;letter-spacing:-.35px;margin:0 22px 5px}
.mc-page .mc-auth-subtitle{font-size:13.5px;line-height:1.55;color:#9fa8b6;margin:0 16px 22px}
.mc-page .mc-auth-form{display:flex;flex-direction:column;gap:12px;margin:0}
.mc-page .mc-auth-field{display:block;margin:0;padding:0;text-align:left}
.mc-page .mc-auth-field>span{display:block;font-size:12px;line-height:1.4;color:#b2bac6;margin:0 0 5px}
.mc-page .mc-auth-field input{display:block;box-sizing:border-box;width:100%;height:43px;padding:0 13px;border:1px solid #2b343f;border-radius:9px;background:#151b21;color:#fff;font-family:inherit;font-size:14px;line-height:1.4;box-shadow:none;outline:0;transition:border-color .18s,background .18s}
.mc-page .mc-auth-field input::placeholder{color:#778290;opacity:1}
.mc-page .mc-auth-field input:hover{border-color:#485463}
.mc-page .mc-auth-field input:focus-visible{outline:0!important;outline-offset:0;box-shadow:none!important;border-color:#ff8d2a;background:#161d25}
.mc-page .mc-auth-submit{display:flex;align-items:center;justify-content:center;width:100%;height:42px;background:#ff7e08;color:#101010;border:0;border-radius:9px;font-size:14px;font-weight:700;margin-top:3px;transition:background .17s}
.mc-page .mc-auth-submit:hover{background:#ff972e}
.mc-page .mc-auth-submit:disabled{opacity:.7;cursor:wait}
.mc-page .mc-auth-feedback{margin:0;font-size:13px;line-height:1.5;color:#ffb177;text-align:left}
.mc-page .mc-auth-feedback.is-success{color:#8eddba}
.mc-page .mc-auth-linkbar{display:flex;justify-content:flex-end;margin:0}
.mc-page .mc-auth-dialog .mc-dialog-link{display:inline-block;align-self:center;flex:none;padding:2px 0;margin:0;background:transparent;border:0;color:#ff9432;font-size:13px;font-weight:600;line-height:1.45;text-decoration:none;white-space:nowrap;cursor:pointer}
.mc-page .mc-auth-dialog .mc-dialog-link:hover{color:#ffbe76;text-decoration:underline;text-underline-offset:2px}
.mc-page .mc-auth-switch{border-top:1px solid #28313b;padding-top:14px;font-size:13px;color:#adb6c2}
.mc-page .mc-auth-honeypot{position:absolute!important;width:1px!important;height:1px!important;opacity:0!important;pointer-events:none!important;overflow:hidden!important;left:-9999px!important}
/* Avoid the naming collision introduced in v6.1: header must never inherit modal link styles. */
.mc-page .mc-header-tools .mc-header-account{display:inline-flex!important;align-items:center!important;justify-content:flex-start;flex-direction:row!important;gap:7px!important;flex:0 0 auto!important;white-space:nowrap!important;line-height:1!important;text-decoration:none!important;font-size:14px!important;font-weight:600!important;min-width:max-content!important}
.mc-page .mc-header-account span{white-space:nowrap!important;display:inline!important;line-height:1.1!important}
.mc-page .mc-header-account svg{flex:none!important;display:block}
/* Admin uploaded PNG/JPEG/WebP/etc logo. Keep the same maximum footprint as the text brand. */
.mc-page .mc-brand-image-mode{max-width:185px;min-width:0}
.mc-page .mc-brand-upload{width:auto;height:auto;max-height:43px;max-width:185px;object-fit:contain;object-position:left center;display:block;flex:none}
@media(min-width:1280px) and (max-width:1359px){.mc-page .mc-brand-upload{max-width:160px;max-height:38px}}
@media(max-width:1279px){.mc-page .mc-brand-upload{max-width:153px;max-height:38px}}
@media(max-width:540px){.mc-page .mc-auth-backdrop{padding:12px}.mc-page .mc-auth-dialog{padding:24px 18px 20px;border-radius:12px;max-height:calc(100dvh - 24px)}.mc-page .mc-auth-dialog h2{font-size:22px}.mc-page .mc-auth-subtitle{font-size:12.5px;margin:0 8px 19px}.mc-page .mc-auth-field input{height:42px}.mc-page .mc-auth-form{gap:10px}}
@media(prefers-reduced-motion:reduce){.mc-page .mc-auth-backdrop{animation:none}.mc-page .mc-auth-close,.mc-page .mc-auth-field input{transition:none}}
