/* Account pages follow QRuser's colors, controls and card surfaces. */
.qr-auth body { margin:0;background:#f7f8fb !important;background-image:none !important;color:#343a40;font-family:-apple-system,BlinkMacSystemFont,"Segoe UI","Microsoft YaHei",sans-serif; }
.qr-auth .right-bar,.qr-auth .rightbar-overlay,.qr-auth #preloader { display:none !important; }
.qr-auth-page { min-height:100vh;display:flex;align-items:center;justify-content:center;padding:48px 32px; }
.qr-auth-page *,.qr-auth-page *::before,.qr-auth-page *::after { box-sizing:border-box; }
.qr-auth-layout { display:grid;grid-template-columns:minmax(0,1fr) minmax(380px,430px);align-items:center;gap:100px;width:100%;max-width:1080px;margin:0 auto; }
.qr-auth-story { padding:24px 0; }.qr-auth-logo { display:inline-flex;align-items:center;max-width:240px;margin-bottom:38px;color:#25354e !important;font-size:26px;font-weight:600; }.qr-auth-logo img { display:block;max-width:240px;max-height:48px;width:auto;height:auto;object-fit:contain; }
.qr-auth-story h1 { font-size:34px;line-height:1.6;font-weight:600;color:#26364e;letter-spacing:-.7px;margin:0 0 16px; }.qr-auth-story-copy { font-size:14px;line-height:1.9;color:#8792a2;margin:0 0 32px; }
.qr-auth-features { max-width:420px; }.qr-auth-features > div { padding:16px 0;border-top:1px solid #e7ebf1; }.qr-auth-features h3 { font-size:15px;font-weight:500;line-height:1.5;color:#49566b;margin:0 0 6px; }.qr-auth-features p { font-size:13px;line-height:1.9;color:#939caa;margin:0; }
.qr-auth-card { min-width:0;width:100%;background:#fff;border:1px solid #edf0f5;border-radius:10px;padding:32px;box-shadow:var(--qr-shadow-card); }

.qr-auth-tabs { display:flex;gap:20px;border-bottom:1px solid #edf0f5;margin:0 0 24px; }.qr-auth-tabs button { position:relative;flex:1;padding:0 0 12px;border:0;background:transparent;color:#919aa7;font-size:14px;cursor:pointer; }.qr-auth-tabs button.active { color:#0064ff; }
.qr-auth-pane { display:none; }.qr-auth-pane.active,.qr-auth-pane[data-default="1"] { display:block; }.qr-auth-page [hidden] { display:none !important; }
.qr-auth-page .form-group { margin:0 0 18px; }.qr-auth-page .form-group > label { display:block;color:#606b7a;font-size:13px;font-weight:400;margin:0 0 8px; }.qr-auth-page .form-control { display:block;width:100%;height:44px !important;border:1px solid #e0e5ed !important;border-radius:6px !important;background:#fff !important;color:#495057 !important;padding:10px 12px;font-size:14px;line-height:1.5 !important;box-shadow:none !important;transition:border-color .15s; }.qr-auth-page .form-control::placeholder { color:#b4bbc6 !important; }.qr-auth-page .form-control:focus { outline:none;border-color:#0064ff !important;box-shadow:none !important; }.qr-auth-page textarea.form-control { min-height:90px; }.qr-auth-page select.form-control { padding:8px; }
.qr-auth-page .input-group { display:flex;flex-wrap:nowrap; }.qr-auth-page .input-group > .form-control { flex:1 1 0;min-width:0; }.qr-auth-page .input-group-prepend { flex-shrink:0;max-width:105px;margin-right:-1px; }.qr-auth-page .input-group-append { flex-shrink:0;height:auto;margin-left:-1px; }
.qr-auth-password { position:relative;width:100%; }.qr-auth-password > .form-control { padding-right:42px; }.qr-auth-eye { position:absolute;right:4px;top:3px;width:36px;height:38px;display:flex;align-items:center;justify-content:center;border:0;background:transparent;color:#a4adba;cursor:pointer; }.qr-auth-eye i { font-size:18px; }.qr-auth-eye:hover { color:#0064ff; }
.qr-auth-page .qr-auth-primary,.qr-auth-form > div > button[type="submit"] { display:flex;align-items:center;justify-content:center;width:100%;height:44px;min-height:44px;border:1px solid #0064ff !important;border-radius:6px !important;background:#0064ff !important;color:#fff !important;padding:10px 16px !important;line-height:1.5 !important;font-size:14px;font-weight:400;box-shadow:none !important;cursor:pointer; }.qr-auth-page .qr-auth-primary:hover,.qr-auth-form > div > button[type="submit"]:hover { background:#0057df !important; }.qr-auth-page button:disabled { opacity:.65;cursor:default; }
.qr-auth-page .qr-auth-code,.qr-auth-form .input-group-append .btn { display:flex;align-items:center;justify-content:center;min-height:44px;height:44px;margin:0 !important;border:1px solid #dce5f4;border-radius:6px !important;background:#f6f8fc !important;color:#0064ff !important;padding:0 10px;line-height:1.5 !important;font-size:12px;white-space:nowrap;box-shadow:none !important; }
.qr-auth-page a { color:#0064ff; }.qr-auth-page a:hover { color:#0057df; }.qr-auth-form-tools { display:flex;align-items:center;justify-content:flex-start;margin:0 0 18px;font-size:12px; }.qr-auth-text-button { padding:0;border:0;background:none;color:#0064ff;font-size:12px;cursor:pointer; }
.qr-auth-bottom-links { display:flex;align-items:center;justify-content:space-between;gap:16px;margin-top:24px;padding-top:18px;border-top:1px solid #edf0f5;font-size:13px; }.qr-auth-login-link { text-align:center;padding-top:24px;font-size:13px; }.qr-auth-consent { display:flex;align-items:flex-start;gap:8px;margin-top:20px; }.qr-auth-consent input { flex-shrink:0;width:15px;height:15px;margin-top:4px;accent-color:#0064ff; }.qr-auth-consent label { margin:0;font-size:12px;line-height:1.9;color:#939caa; }
.qr-auth-alert { padding:12px 14px;border-radius:6px;margin-bottom:20px;background:#f5f8ff;color:#5271a0;font-size:13px;line-height:1.7; }.qr-auth-alert-error { background:#fff4f3;color:#b9554b; }.qr-auth-alert-success { background:#effaf5;color:#39866a; }
.qr-auth-divider { position:relative;text-align:center;margin:26px 0 16px;color:#a3adbc;font-size:11px; }.qr-auth-divider::before { content:"";position:absolute;left:0;right:0;top:50%;height:1px;background:#edf1f6; }.qr-auth-divider span { position:relative;padding:0 12px;background:#fff; }.qr-auth-oauth-links { display:flex;justify-content:center;gap:16px; }.qr-auth-oauth-item { display:flex;align-items:center;justify-content:center;width:36px;height:36px;border:1px solid #e9eef6;border-radius:6px; }.qr-auth-oauth-item img { max-width:22px;max-height:22px; }
.qr-auth-page .lsc-wrap { margin:4px 0 8px; }.qr-auth-page .lsc-btn { border-radius:6px;min-height:42px; }.qr-auth-page .modal-content { border:1px solid #e6ebf3;border-radius:8px;box-shadow:var(--qr-shadow-float) !important; }.qr-auth-page .modal input { height:44px;max-width:100%; }
.qr-auth-page button:focus-visible,.qr-auth-page a:focus-visible { outline:2px solid #0064ff;outline-offset:3px; }
@media (max-width:1050px) { .qr-auth-layout { gap:55px;grid-template-columns:minmax(0,1fr) minmax(360px,410px); }.qr-auth-story h1 { font-size:28px; } }
@media (max-width:800px) { .qr-auth-page { display:block;padding:28px 18px; }.qr-auth-layout { display:block;max-width:430px; }.qr-auth-story { padding:0;text-align:center; }.qr-auth-logo { margin:0 0 28px; }.qr-auth-logo img { max-height:42px;max-width:220px; }.qr-auth-story h1,.qr-auth-story-copy,.qr-auth-features { display:none; }.qr-auth-card { padding:28px 24px; } }
@media (max-width:380px) { .qr-auth-page { padding:24px 12px; }.qr-auth-card { padding:24px 18px; }.qr-auth-page .input-group-append { margin-left:-1px; } }
@media (prefers-reduced-motion:reduce) { .qr-auth-page * { transition:none !important;animation:none !important; } }



/* Keep uploaded logo colors intact; blue backing also supports white logos. */
.qr-auth-logo:has(img) { padding:12px 18px; background:#0064ff; border-radius:8px; }
.qr-auth-logo img { filter:none; opacity:1; }

/* Same control metrics, border, focus ring and radius setting as the recharge input. */
.qr-auth-page .form-control {
 height:calc(1.5em + .94rem + 2px) !important; min-height:0;
 padding:.47rem .75rem; font-size:.8125rem; font-weight:400; line-height:1.5 !important;
 border:1px solid #ced4da !important; border-radius:var(--qr-control-radius) !important;
 color:#495057 !important; background:#fff !important;
 transition:border-color .15s ease-in-out,box-shadow .15s ease-in-out;
}
.qr-auth-page .form-control:hover { border-color:#b3b3b3 !important; }
.qr-auth-page .form-control:focus { border-color:#0064ff !important; outline:0; box-shadow:var(--qr-shadow-focus) !important; position:relative; z-index:3; }
.qr-auth-card { border-radius:var(--qr-control-radius); box-shadow:none; }

.qr-auth-page .input-group { gap:0; align-items:stretch; }
.qr-auth-page .input-group-prepend { margin-right:-1px; max-width:105px; }
.qr-auth-page .input-group-append { margin-left:-1px; }
.qr-auth-page .input-group-prepend > .form-control { border-top-right-radius:0 !important; border-bottom-right-radius:0 !important; }
.qr-auth-page .input-group:has(> .input-group-prepend) > .form-control { border-top-left-radius:0 !important; border-bottom-left-radius:0 !important; }
.qr-auth-page .input-group:has(> .input-group-append) > .form-control { border-top-right-radius:0 !important; border-bottom-right-radius:0 !important; }
.qr-auth-page .qr-auth-code,.qr-auth-form .input-group-append .btn {
 height:calc(1.5em + .94rem + 2px); min-height:0; padding:.47rem .75rem; font-size:.8125rem;
 border:1px solid #0064ff; background:#0064ff !important; color:#fff !important;
 border-radius:0 var(--qr-control-radius) var(--qr-control-radius) 0 !important;
}
.qr-auth-page .qr-auth-code:hover,.qr-auth-form .input-group-append .btn:hover { background:#0057df !important; }
.qr-auth-page .qr-auth-primary,.qr-auth-form > div > button[type="submit"] { border-radius:var(--qr-button-radius) !important; }
.qr-auth-eye { top:0; height:100%; }
.qr-auth-tabs { position:relative; }
.qr-auth-tabs::after { content:""; position:absolute; left:0; bottom:-1px; height:2px; background:#0064ff; width:var(--qr-tab-width,0px); transform:translateX(var(--qr-tab-left,0px)); pointer-events:none; }
.qr-auth-tabs.qr-tabs-ready::after { transition:transform .25s ease,width .25s ease; }
.qr-auth-tabs button { transition:color .2s ease; }
.qr-auth-consent { align-items:flex-start; gap:8px; }
.qr-auth-consent input { width:16px; height:16px; margin:2px 0 0; padding:0; position:static; transform:none; }
.qr-auth-consent label { display:block; margin:0; line-height:20px; color:#606b7a; }
@media (prefers-reduced-motion:reduce) { .qr-auth-tabs.qr-tabs-ready::after { transition:none; } }

/* One height for account fields, code buttons and the local CAPTCHA trigger. */
.qr-auth-page { --qr-auth-control-height:46px; }
.qr-auth-page .form-control,
.qr-auth-page .qr-auth-code,
.qr-auth-page .input-group-append .btn,
.qr-auth-page .qr-auth-primary,
.qr-auth-form > div > button[type="submit"],
.qr-auth-page .lsc-btn { height:var(--qr-auth-control-height) !important; min-height:var(--qr-auth-control-height) !important; box-sizing:border-box; }
.qr-auth-page .input-group-prepend,.qr-auth-page .input-group-append { height:auto !important; }
.qr-auth-page .form-control { transition:border-color .25s ease,box-shadow .25s ease,background-color .25s ease; }
.qr-auth-page .form-control:focus { box-shadow:var(--qr-shadow-focus) !important; }
.qr-auth-page button { cursor:pointer; }
.qr-auth-page button:disabled { cursor:default; }
.qr-auth-page .lsc-btn { border-radius:var(--qr-control-radius) !important; }
@media (prefers-reduced-motion:reduce) { .qr-auth-page .form-control { transition:none; } }

/* The legacy global autofill rule replaces transition with only color/background.
   Keep focus transitions identical for text, password, confirmation and select fields. */
.qr-auth-page .form-control {
 -webkit-transition:border-color .25s ease,box-shadow .25s ease,background-color .25s ease !important;
 transition:border-color .25s ease,box-shadow .25s ease,background-color .25s ease !important;
 -webkit-transition-delay:0s !important; transition-delay:0s !important;
}
.qr-auth-page input.form-control:-webkit-autofill,
.qr-auth-page input.form-control:-webkit-autofill:hover,
.qr-auth-page input.form-control:-webkit-autofill:focus,
.qr-auth-page input.form-control:-webkit-autofill:active {
 -webkit-transition:border-color .25s ease,box-shadow .25s ease,color 99999s ease-out,background-color 99999s ease-out !important;
 transition:border-color .25s ease,box-shadow .25s ease,color 99999s ease-out,background-color 99999s ease-out !important;
 -webkit-transition-delay:0s !important; transition-delay:0s !important;
}
@media (prefers-reduced-motion:reduce) {
 .qr-auth-page .form-control,
 .qr-auth-page input.form-control:-webkit-autofill,
 .qr-auth-page input.form-control:-webkit-autofill:hover,
 .qr-auth-page input.form-control:-webkit-autofill:focus,
 .qr-auth-page input.form-control:-webkit-autofill:active {
  -webkit-transition:none !important; transition:none !important;
 }
}

/* A focused password field must not cover its reveal button. */
.qr-auth-page .qr-auth-eye { z-index:4; }
.qr-auth-page .qr-auth-password > .form-control { padding-right:42px; }

/* Restore QRuser's original top navigation without adding the account sidebar. */
.qr-auth .qr-auth-page { padding-top:118px; }
.qr-auth #vertical-menu-btn { display:none !important; }
.qr-auth .navbar-header .qr-header-language,
.qr-auth .navbar-header .qr-header-account { position:relative; }
.qr-auth .navbar-header .qr-header-language > .dropdown-menu,
.qr-auth .navbar-header .qr-header-account > .dropdown-menu {
 top:100% !important; right:0 !important; left:auto !important; transform:none !important;
}
@media (max-width:800px) { .qr-auth .qr-auth-page { padding-top:98px; } }

/* Registration and recovery use a wider, centered single-column form. */
.qr-auth-page[data-auth-page="register"] .qr-auth-layout,
.qr-auth-page[data-auth-page="pwreset"] .qr-auth-layout {
 display:block; width:100%; max-width:560px; margin-left:auto; margin-right:auto;
}
.qr-auth-page[data-auth-page="register"] .qr-auth-card,
.qr-auth-page[data-auth-page="pwreset"] .qr-auth-card { width:100%; }
