:root { font-family: "PingFang SC", "Microsoft YaHei", Arial, sans-serif; color: #1f2329; background: #f2f4f7; }
* { box-sizing: border-box; }
body { margin: 0; min-width: 320px; background: #f2f4f7; }
button, input { font-family: inherit; }
a { color: inherit; text-decoration: none; }
[hidden] { display: none !important; }

.login-head { height: 64px; display: flex; align-items: center; justify-content: space-between; background: #fff; padding: 0 28px; }
.login-logo { width: 102px; height: auto; display: block; }
.login-tools { display: flex; align-items: center; color: #646a73; font-size: 14px; font-weight: 500; }
.official-link { padding-right: 12px; border-right: 1px solid #e8eaed; }
.official-link:hover { color: #4c78fc; }
.lang { position: relative; display: flex; align-items: center; gap: 8px; padding: 0 10px; cursor: pointer; user-select: none; }
.lang img { width: 18px; height: 18px; }
.lang-caret { width: 0; height: 0; border-top: 5px solid #8f959e; border-left: 4px solid transparent; border-right: 4px solid transparent; }
.lang-menu { position: absolute; top: 28px; right: 0; width: 96px; margin: 0; padding: 0; list-style: none; background: #fff; border: 1px solid #f2f2f2; border-radius: 5px; box-shadow: 0 0 10px 2px #d8d7d7; max-height: 0; opacity: 0; overflow: hidden; transition: all .3s ease-out; z-index: 5; }
.lang:hover .lang-menu, .lang:focus-within .lang-menu { max-height: 140px; opacity: 1; }
.lang-menu button { width: 100%; height: 40px; border: 0; border-left: 3px solid transparent; background: #fff; color: #1f2329; font-size: 14px; cursor: pointer; }
.lang-menu button:hover { background: #f2f2f2; border-left-color: #658bfc; }

.login-stage, .auth-stage { min-height: calc(100vh - 64px); display: flex; align-items: center; justify-content: space-evenly; gap: 40px; padding: 32px 24px; background: #f2f4f7 url("https://www-cdn.baiteda.com/official-website/images/login/login_bg_D.png") center bottom / contain no-repeat; }
.video-card { width: min(677px, 46vw); min-width: 420px; padding: 0; border: 0; border-radius: 10px; background: #fff; box-shadow: 1px 10px 10px 10px #bac5e34d; text-align: left; overflow: hidden; cursor: pointer; }
.video-bar { height: 38px; display: flex; align-items: center; gap: 13px; padding-left: 13px; }
.video-bar i { width: 10px; height: 10px; border-radius: 50%; background: #d7deee; display: block; }
.video-bar i:nth-child(2) { opacity: .5; }
.video-card img { display: block; width: calc(100% - 48px); margin: 0 24px 24px; }

.login-card, .auth-card { width: 400px; padding: 60px 55px; background: #fff; border-radius: 8px; box-shadow: 0 10px 10px 0 #bac5e34d; }
.auth-card { width: 380px; padding: 78px 55px 82px; display: flex; flex-direction: column; align-items: center; }
.tabs { display: flex; justify-content: center; gap: 40px; margin: 0; padding: 0; list-style: none; }
.tabs button { border: 0; background: none; padding: 0 0 18px; color: #646a73; font-size: 22px; font-weight: 400; line-height: 18px; cursor: pointer; }
.tabs button.active { color: #1f2329; font-weight: 500; }
.tabs button.active:after { content: ""; display: block; height: 4px; margin-top: 18px; border-radius: 10px; background: #4c78fc; }
.field { display: flex; margin-top: 24px; position: relative; width: 100%; }
.login-card > .field:first-of-type, .auth-card > .field:first-of-type { margin-top: 50px; }
.field-icon { width: 42px; display: grid; place-items: center; color: #8f959e; font-size: 18px; border: 1px solid #dee0e3; border-right: 0; border-radius: 4px 0 0 4px; background: #fff; }
.field input { min-width: 0; flex: 1; height: 46px; border: 1px solid #dee0e3; border-radius: 0 4px 4px 0; outline: none; padding: 0 12px; color: #1f2329; font-size: 16px; font-weight: 500; caret-color: #658bfc; background: #fff; }
.field input::placeholder { color: #bbbfc4; font-size: 14px; font-weight: 400; }
.field.focus .field-icon, .field.focus input { border-color: #658bfc; }
.field.focus .field-icon { color: #658bfc; }
.password-field input { padding-right: 42px; }
.password-field.solo input { border-radius: 4px; }
.eye { position: absolute; right: 12px; top: 50%; transform: translateY(-50%); color: #8f959e; font-size: 16px; cursor: pointer; }
.eye:hover { color: #658bfc; }
.lang .iconxiangyou1 { font-size: 14px; color: #8f959e; }
.video-bar { gap: 0; }
.video-bar img { width: 10px; height: 10px; margin-left: 13px; }
.code-field .code-btn { position: absolute; right: 0; top: 0; width: 102px; height: 46px; border: 0; border-radius: 0 4px 4px 0; background: #658bfc; color: #fff; font-size: 14px; font-weight: 500; cursor: pointer; }
.code-field .code-btn:hover { background: #4c78fc; }
.code-field .code-btn:disabled { background: transparent; color: #8f959e; cursor: default; }
.row-between { margin-top: 24px; width: 100%; display: flex; justify-content: space-between; align-items: center; color: #646a73; font-size: 14px; }
.remember { display: flex; align-items: center; gap: 8px; cursor: pointer; }
.remember input { width: 16px; height: 16px; margin: 0; }
.linkish { border: 0; background: none; padding: 0; color: #646a73; font-size: 14px; cursor: pointer; }
.primary, .secondary { width: 100%; height: 48px; margin-top: 24px; border-radius: 4px; font-size: 18px; font-weight: 500; cursor: pointer; }
.primary { border: 0; background: #4c78fc; color: #fff; }
.primary:hover { background: #658bfc; }
.primary:active { background: #466feb; }
.primary.is-disabled { background: rgb(165, 187, 253); cursor: no-drop; }
.secondary { border: 1px solid #dee0e3; background: #fff; color: #646a73; display: flex; align-items: center; justify-content: center; }
.secondary:hover { color: #4c78fc; border-color: #4c78fc; }
.auth-title { margin: 0; font-size: 24px; font-weight: 500; line-height: 1.3; color: #1f2329; text-align: center; }
.success-card { width: 460px; padding: 60px; text-align: center; }
.success-card img { width: 200px; }
.success-card p { margin: 20px 0 0; font-size: 16px; }

.tenant-card { width: 400px; max-height: 70vh; padding: 60px 50px; }
.tenant-card h1, .empty-card h1, .fail-card h1 { margin: 0; font-size: 24px; font-weight: 500; color: #1f2329; }
.tenant-list { max-height: calc(70vh - 140px); margin: 24px 0 0; padding: 0; list-style: none; overflow: auto; }
.tenant-list button { width: 100%; margin-top: 24px; padding: 15px 19px; border: 1px solid #dee0e3; border-radius: 4px; background: #fff; display: flex; align-items: center; justify-content: space-between; font-size: 16px; font-weight: 500; color: #1f2329; text-align: left; cursor: pointer; }
.tenant-list li:first-child button { margin-top: 0; }
.tenant-list button:hover { border-color: #658bfc; background: #ebf1ff; }
.tenant-list img { width: 20px; visibility: hidden; }
.tenant-list button:hover img { visibility: visible; }
.empty-card, .fail-card { width: 460px; padding: 40px 60px; border-radius: 20px; background: #fff; box-shadow: 0 8px 20px 0 #5682ff14; display: flex; flex-direction: column; align-items: center; }
.empty-card img, .fail-card img { width: 160px; }
.empty-card h1, .fail-card h1 { margin-top: 26px; color: #303142; }
.reasons { width: 100%; margin-top: 20px; padding-top: 12px; border-top: 1px solid #e8eaed; color: #646a73; font-size: 12px; line-height: 20px; }
.reasons ul { margin: 0 0 0 18px; padding: 0; }
.retry { margin-top: 12px; padding: 8px 12px; border: 1px solid #dee0e3; border-radius: 4px; background: #fff; color: #8f959e; font-size: 14px; }

.login-toast { position: fixed; z-index: 10000; top: 40px; left: 50%; transform: translateX(-50%); display: flex; align-items: center; gap: 6px; padding: 17px 24px; border-radius: 4px; background: #fff0ef; color: #ff6459; font-size: 14px; }
.login-toast img { width: 16px; height: 16px; }
.vue-puzzle-vcode { position: fixed; inset: 0; z-index: 999; background: rgba(0,0,0,.3); }
.vue-auth-box_ { position: absolute; top: 40%; left: 50%; transform: translate(-50%, -50%); padding: 20px; background: #fff; border-radius: 3px; box-shadow: 0 1px 3px rgba(0,0,0,.3); user-select: none; }
.auth-body_ { position: relative; width: 310px; height: 160px; overflow: hidden; border-radius: 3px; }
.auth-body_ canvas { position: absolute; top: 0; left: 0; }
.auth-canvas2_ { z-index: 2; }
.loading-box_ { position: absolute; inset: 0; z-index: 20; display: flex; align-items: center; justify-content: center; background: rgba(0,0,0,.8); }
.loading-box_.hide_ { opacity: 0; pointer-events: none; }
.info-box_ { position: absolute; left: 0; right: 0; bottom: 0; z-index: 10; height: 24px; line-height: 24px; text-align: center; color: #fff; background: #83ce3f; font-size: 13px; transform: translateY(24px); opacity: 0; }
.info-box_.show { opacity: .95; transform: none; }
.info-box_.fail { background: #ce594b; }
.reset_ { position: absolute; top: 2px; right: 2px; z-index: 12; width: 35px; border: 0; padding: 0; background: transparent; cursor: pointer; }
.reset_ img { width: 35px; display: block; }
.range-box { position: relative; height: 50px; margin-top: 20px; border-radius: 3px; background: #eef1f8; }
.range-text { position: absolute; inset: 0; display: grid; place-items: center; color: #b7bcd1; font-size: 14px; }
.range-slider { position: absolute; left: 0; top: 0; height: 100%; width: 50px; border-radius: 3px; background: rgba(106,160,255,.8); }
.range-btn { position: absolute; right: 0; top: 0; width: 50px; height: 100%; border: 0; background: #fff; border-radius: 3px; box-shadow: 0 0 4px #ccc; cursor: pointer; }
.video-modal { position: fixed; inset: 0; z-index: 1000; background: rgba(94,108,157,.5); display: grid; place-items: center; }
.video-dialog { width: min(960px, 86vw); background: #fff; border-radius: 10px; overflow: hidden; }
.video-dialog header { height: 40px; display: flex; align-items: center; justify-content: space-between; padding: 0 16px; }
.dots { display: flex; gap: 8px; }
.dots i { width: 10px; height: 10px; border-radius: 50%; background: #d7deee; }
.video-dialog video { display: block; width: calc(100% - 40px); margin: 0 20px 20px; border-radius: 8px; background: #000; }
.icon-btn { border: 0; background: transparent; color: #646a73; font-size: 22px; cursor: pointer; }
@media (max-width: 1100px) { .video-card { display: none; } .login-stage { justify-content: center; } }
@media (max-width: 640px) { .login-head { padding: 0 16px; } .login-card, .auth-card, .tenant-card, .empty-card, .fail-card, .success-card { width: min(400px, 100%); padding: 36px 22px; } .tabs button { font-size: 18px; } }
