/* ===== 千舰登录页（按 2026-11-02 设计稿重构样式，功能逻辑保持不变） ===== */

[v-cloak] {
    display: none;
}

html,
body {
    height: 100%;
    margin: 0;
    padding: 0;
}

body {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 24px 10vh;
    overflow: hidden;
    color: #222;
    font-family: "PingFang SC", "Helvetica Neue", Helvetica, Arial, sans-serif, "Microsoft Yahei";
    letter-spacing: .5px;
    background-color: #f7faff;
    background-image: url("../images/login/login-background-01.jpg");
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
}

/* 顶部栏 */
.top-bar {
    position: fixed;
    z-index: 3;
    top: 32px;
    left: 40px;
    right: 40px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    pointer-events: none;
}

.top-bar > * {
    pointer-events: auto;
}

.brand-logo {
    display: block;
    width: 112px;
    height: auto;
    margin: 0;
}

.brand-lockup {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
}

.brand-sub {
    position: relative;
    padding-left: 12px;
    color: #8a94a3;
    font-size: 12px;
    font-weight: 400;
    line-height: 1;
    letter-spacing: .2px;
    white-space: nowrap;
}

.brand-sub::before {
    content: "";
    position: absolute;
    top: 50%;
    left: 0;
    width: 1px;
    height: 12px;
    background: #dfe4ec;
    transform: translateY(-50%);
}

.return-home {
    color: #8a94a3;
    font-size: 13px;
    font-weight: 400;
    line-height: 1.4;
    letter-spacing: .2px;
    text-decoration: none;
    transition: color .2s ease;
}

.return-home:hover {
    color: #ff7200;
}

.return-home:focus-visible {
    border-radius: 4px;
    outline: 2px solid rgba(255, 114, 0, .3);
    outline-offset: 4px;
}

/* 页面标题 */
.page {
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
    transform: translateY(-24px);
}

.page-title {
    margin: 0 0 48px;
    color: #111827;
    font-size: 40px;
    font-weight: 700;
    line-height: 1.3;
    letter-spacing: .04em;
    text-align: center;
    white-space: nowrap;
}

.page-title .highlight {
    color: #ff7200;
}

/* 登录卡片 */
.login-container {
    position: relative;
    width: 380px;
    min-height: 420px;
    margin: 0 auto;
    padding: 34px 38px 26px;
    overflow: hidden;
    text-align: center;
    border: 1px solid rgba(255, 255, 255, .92);
    border-radius: 16px;
    background: rgba(255, 255, 255, .96);
    box-shadow:
        0 20px 56px rgba(29, 41, 57, .07),
        0 3px 12px rgba(29, 41, 57, .025);
    backdrop-filter: blur(16px) saturate(125%);
    -webkit-backdrop-filter: blur(16px) saturate(125%);
}

.login-container * {
    box-sizing: border-box;
}

.login-container h1,
.login-container h2 {
    margin: 0;
}

.login-title {
    margin-bottom: 28px;
    color: #111827;
    font-size: 20px;
    font-weight: 600;
    line-height: 1.3;
    letter-spacing: 0;
    text-align: center;
}

.login-container ul {
    display: inline-block;
    width: 100%;
    margin: 0;
    padding: 0;
    list-style: none;
}

.login-container li {
    position: relative;
    margin-bottom: 16px;
    list-style: none;
}

.login-container li.error input {
    border-bottom-color: #ff4422;
    animation: shake .5s ease-in-out both;
}

@keyframes shake {
    0% { transform: translateX(0); }
    6.5% { transform: translateX(-6px) rotateY(-9deg); }
    18.5% { transform: translateX(5px) rotateY(7deg); }
    31.5% { transform: translateX(-3px) rotateY(-5deg); }
    43.5% { transform: translateX(2px) rotateY(3deg); }
    50% { transform: translateX(0); }
}

.login-container li.error .error-text {
    display: block;
}

.login-container li .error-text {
    display: none;
    position: absolute;
    top: 15px;
    right: 2px;
    font-size: 12px;
    color: #ff4422;
}

.login-container li.cache-password {
    height: 18px;
    margin-top: -2px;
    margin-bottom: 18px;
    padding-left: 2px;
    text-align: left;
}

.login-container li.cache-password label {
    padding-left: 27px;
    font-size: 12px;
    line-height: 18px;
    background: url("../images/login/icon-f-check.png") 0 center / 14px auto no-repeat;
    user-select: none;
    cursor: pointer;
}

.login-container li.cache-password label.active {
    background-image: url("../images/login/icon-f-checked.png");
}

.login-container input {
    width: 100%;
    height: 46px;
    padding: 0 2px;
    border: 0;
    border-bottom: 1px solid #e5e7eb;
    background: transparent;
    font-size: 14px;
    outline: none;
    transition: border-color .18s ease;
}

.login-container input:focus {
    border-bottom-color: #ff7200;
}

.login-container input::placeholder {
    font-size: 13px;
    color: #9ca3af;
}

.login-container .button {
    width: 100%;
    height: 42px;
    margin-top: 2px;
    font-size: 14px;
    font-weight: 600;
    letter-spacing: .08em;
    color: #fff;
    background-color: #ff7200;
    border: 1px solid #ff7200;
    border-radius: 6px;
    outline: none;
    transition: .2s ease;
    cursor: pointer;
}

.login-container .button:hover {
    background-color: #ea580c;
    border-color: #ea580c;
}

.login-container li.cache-password a {
    float: right;
    font-size: 12px;
    line-height: 18px;
    color: #ff7200;
    text-decoration: none;
}

.login-container li.yzm {
    position: relative;
}

.login-container li.yzm .btn {
    position: absolute;
    right: 0;
    bottom: 13px;
    width: 82px;
    line-height: 20px;
    text-align: center;
    font-size: 12px;
    color: #ff7200;
    text-decoration: none;
}

.login-container li.yzm .btn::before {
    content: "";
    position: absolute;
    top: 2px;
    left: 0;
    width: 1px;
    height: 15px;
    background-color: #d1d5db;
}

.bottom-btns {
    display: flex;
    justify-content: center;
    margin-top: 15px;
    margin-bottom: 16px;
}

.bottom-btns a {
    padding: 0 14px;
    color: #4b5563;
    font-size: 12px;
    line-height: 18px;
    text-decoration: none;
}

.bottom-btns a:hover {
    color: #ff7200;
}

.bottom-btns a.login-way {
    border-right: 1px solid #d1d5db;
}

.agreement-box {
    width: 100%;
    margin: 0 auto;
    padding-left: 18px;
    font-size: 11px;
    line-height: 20px;
    text-align: left;
    background: url("../images/login/icon-circle.png") 0 3px / 14px auto no-repeat;
    cursor: pointer;
}

.agreement-box.active {
    background-image: url("../images/login/icon-checked.png");
}

.agreement-box a {
    color: #ff9900;
    text-decoration: none;
}

.site-footer {
    position: fixed;
    z-index: 3;
    right: 0;
    bottom: 0;
    left: 0;
    padding: 0 24px 72px;
    color: #8a94a3;
    font-size: 13px;
    line-height: 1.7;
    text-align: center;
    pointer-events: none;
}

.footer-links {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    margin: 0 0 14px;
    padding: 0;
    list-style: none;
}

.footer-links li {
    position: relative;
    padding: 0 28px;
    line-height: 20px;
    list-style: none;
}

.footer-links li + li::before {
    content: "";
    position: absolute;
    top: 50%;
    left: 0;
    width: 1px;
    height: 12px;
    background: #dfe4ec;
    transform: translateY(-50%);
}

.footer-links a {
    color: #8a94a3;
    text-decoration: none;
    pointer-events: auto;
    transition: color .2s ease;
}

.footer-links a:hover {
    color: #ff7200;
}

.footer-copy {
    margin: 0;
    line-height: 22px;
}

.footer-contact {
    margin-left: 12px;
    color: inherit;
    font-weight: inherit;
    text-decoration: none;
    pointer-events: auto;
    transition: color .2s ease;
}

.footer-contact:hover {
    color: #ff7200;
}

.color {
    color: #ff7200 !important;
}

.float-right {
    float: right;
}

.clearfix::after {
    content: "";
    display: block;
    clear: both;
    height: 0;
    visibility: hidden;
}

/* ===== 保留原有功能区块的样式（二维码、找回密码、绑定手机号、超时、成功提示） ===== */

.qrcode-box {
    min-height: 270px;
    text-align: center;
}

.qrcode-box img {
    margin-top: 24px;
    margin-bottom: 24px;
    width: 160px;
    height: 160px;
}

.qrcode-box p {
    display: inline-block;
    margin: 0;
}

.qrcode-box p.qr-tip {
    padding-left: 26px;
    color: #666;
    font-size: 14px;
    background: url("../images/icons/icon-ewm.png") no-repeat 0 center;
    background-size: 16px;
}

.qrcode-box p.orange {
    color: #ff7200;
    font-size: 12px;
}

.login-container .forget-box h1,
.login-container .bind-box h1 {
    margin-top: 10px;
    margin-bottom: 28px;
    font-size: 20px;
    font-weight: 600;
    text-align: center;
}

.login-container .forget-box ul {
    min-height: 220px;
}

.login-container .forget-box li.yzm,
.login-container .forget-box li.repassword {
    margin-bottom: 40px;
}

.login-container .forget-box .bottom-btns {
    margin-top: 14px;
}

.login-container .forget-box .bottom-btns a,
.login-container .bind-box .bottom-btns a {
    color: #ff7200;
}

.change-success {
    padding-top: 40px;
    min-height: 270px;
}

.change-success img {
    width: 200px;
}

.change-success p {
    margin-top: 24px;
    font-size: 13px;
}

.bind-box {
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    z-index: 9;
    padding: 34px 38px 26px;
    background-color: #fff;
}

.timeout-box {
    margin: 0 auto;
    margin-top: 35px;
    width: 260px;
}

.timeout-box .img {
    margin-bottom: 33px;
}

.timeout-box img {
    width: 100%;
}

.timeout-box .button {
    margin-top: 0;
    width: 141px;
    height: 32px;
    color: #bbb;
    border: 1px solid #e4e4e4;
    border-radius: 2px;
    background-color: #fff;
}

.no-net {
    padding-top: 12px;
}

.no-net img {
    width: 46px;
}

.no-net p {
    margin-top: 14px;
    font-size: 12px;
    color: #999;
}
