/*!
 * Zibll User Suite · 登录界面「橙色极光」皮肤
 * 作用于：登录/注册/找回密码整页（.sign-page）与全站登录弹窗（#u_sign）
 */

/* ================= 一、极光背景 ================= */
.zus-aurora {
    position: fixed;
    inset: 0;
    z-index: 0;
    overflow: hidden;
    pointer-events: none;
    background: radial-gradient(125% 95% at 50% -10%, #100d0d 0%, #08070b 52%, #050509 100%);
}

.zus-aurora span {
    position: absolute;
    border-radius: 50%;
    filter: blur(58px);
    mix-blend-mode: screen;
}

.zus-aurora .a1 {
    width: 640px;
    height: 640px;
    left: -150px;
    top: -260px;
    background: radial-gradient(circle, rgba(255, 140, 45, .46), rgba(255, 80, 0, .14) 46%, transparent 72%);
    animation: zus-drift-1 17s ease-in-out infinite alternate;
}

.zus-aurora .a2 {
    width: 560px;
    height: 560px;
    right: -160px;
    bottom: -220px;
    background: radial-gradient(circle, rgba(255, 105, 20, .32), rgba(255, 60, 0, .10) 48%, transparent 74%);
    animation: zus-drift-2 21s ease-in-out infinite alternate;
}

.zus-aurora .a3 {
    width: 420px;
    height: 420px;
    left: 38%;
    top: 26%;
    background: radial-gradient(circle, rgba(255, 180, 110, .15), transparent 68%);
    animation: zus-drift-3 25s ease-in-out infinite alternate;
}

.zus-aurora .beam {
    position: absolute;
    inset: -25%;
    border-radius: 0;
    filter: blur(34px);
    background: linear-gradient(112deg, transparent 28%, rgba(255, 110, 25, .16) 44%, rgba(255, 196, 130, .09) 51%, rgba(255, 90, 0, .10) 58%, transparent 70%);
    transform: rotate(-7deg);
}

@keyframes zus-drift-1 {
    0% { transform: translate(0, 0) scale(1); }
    100% { transform: translate(70px, 50px) scale(1.12); }
}

@keyframes zus-drift-2 {
    0% { transform: translate(0, 0) scale(1.05); }
    100% { transform: translate(-60px, -40px) scale(.95); }
}

@keyframes zus-drift-3 {
    0% { transform: translate(0, 0); }
    100% { transform: translate(-50px, 60px); }
}

@media (prefers-reduced-motion: reduce) {
    .zus-aurora span { animation: none; }
}

/* ================= 二、整页登录 ================= */
body.zus-sign-page {
    background: #07060a !important;
}

body.zus-sign-page .sign-page,
body.zus-sign-page main.sign-page {
    position: relative;
    z-index: 2;
}

body.zus-sign-page .sign {
    max-width: 460px !important;
    width: 460px !important;
}

/* 整页卡片再大一号 */
body.zus-sign-page .sign-page .sign {
    padding: 32px 30px 26px !important;
}

/* 桌面端：品牌栏 + 登录卡组成一组，flex 居中、固定间距，
   无论卡片多高、窗口多大，两者的对齐与距离始终协调 */
@media (min-width: 992px) {
    body.zus-sign-page .sign-page.absolute,
    body.zus-sign-page main.sign-page.absolute {
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 56px;
        padding: 88px 3vw 60px;
        box-sizing: border-box;
    }

    body.zus-sign-page .sign-page .sign-row {
        display: flex;
        align-items: center;
        margin: 0;
        width: auto;
        flex: 0 0 auto;
    }

    body.zus-sign-page .sign-page .sign-col {
        float: none;
        width: auto;
        margin: 0;
        padding: 0;
    }

    body.zus-sign-page .sign-page .sign-col > div {
        padding: 0 !important;
    }
}

/* 品牌栏：黑色毛玻璃底，压住背景图，保证文字可读 */
.zus-brand-col {
    position: static;
    transform: none;
    order: -1;              /* 品牌栏固定在登录卡左侧 */
    width: 420px;
    flex: 0 0 auto;
    margin: 0;
    z-index: 1;
    color: #f8f2ec;
    display: none;
    padding: 34px 34px 30px;
    border-radius: 26px;
    background: linear-gradient(158deg, rgba(6, 5, 8, .86), rgba(6, 5, 8, .72) 55%, rgba(12, 8, 8, .8));
    border: 1px solid rgba(255, 255, 255, .07);
    box-shadow: 0 46px 90px -44px rgba(0, 0, 0, .95), inset 0 1px 0 rgba(255, 255, 255, .06);
    -webkit-backdrop-filter: blur(16px) saturate(120%);
    backdrop-filter: blur(16px) saturate(120%);
}

@media (min-width: 992px) {
    .zus-brand-col { display: block; }
}

.zus-brand-col .b-logo {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 34px;
}

.zus-brand-col .b-mark {
    width: 42px;
    height: 42px;
    border-radius: 13px;
    display: grid;
    place-items: center;
    font-size: 19px;
    font-weight: 700;
    color: #fff;
    background: linear-gradient(140deg, #ff9a3d, #ff4d00);
    box-shadow: 0 10px 26px -8px rgba(255, 90, 0, .7), inset 0 1px 0 rgba(255, 255, 255, .4);
}

.zus-brand-col .b-name {
    font-size: 15.5px;
    font-weight: 600;
    letter-spacing: .3px;
    line-height: 1.3;
}

.zus-brand-col .b-slogan {
    font-size: 10.5px;
    letter-spacing: .22em;
    color: rgba(248, 242, 236, .32);
    margin-top: 3px;
}

.zus-brand-col .b-eyebrow {
    font-size: 11px;
    letter-spacing: .3em;
    color: rgba(255, 150, 80, .75);
    margin-bottom: 16px;
}

.zus-brand-col h2 {
    font-size: 38px;
    line-height: 1.26;
    font-weight: 600;
    letter-spacing: -.8px;
    margin: 0;
    background: linear-gradient(178deg, #fff 26%, #ffd9bb 78%, #ffb072);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    -webkit-text-fill-color: transparent;
}

.zus-brand-col .b-lead {
    margin-top: 18px;
    font-size: 13.5px;
    line-height: 2;
    color: rgba(248, 242, 236, .44);
}

.zus-brand-col ul {
    list-style: none;
    margin: 24px 0 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.zus-brand-col li {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 13px;
    color: rgba(248, 242, 236, .6);
    margin: 0;
}

.zus-brand-col li i {
    width: 21px;
    height: 21px;
    flex: none;
    border-radius: 50%;
    display: grid;
    place-items: center;
    font-size: 10px;
    color: #ffa964;
    background: rgba(255, 122, 24, .13);
    border: 1px solid rgba(255, 122, 24, .24);
}

.zus-brand-col .b-foot {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-top: 38px;
    font-size: 11.5px;
    color: rgba(248, 242, 236, .3);
}

.zus-live {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: #43d17c;
    flex: none;
    box-shadow: 0 0 0 3px rgba(67, 209, 124, .16);
    animation: zus-pulse 2.4s ease-in-out infinite;
}

@keyframes zus-pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: .35; }
}

/* ================= 三、登录卡片（整页 + 弹窗通用） ================= */
#u_sign .sign,
.sign-page .sign {
    background: linear-gradient(158deg, rgba(42, 29, 24, .93), rgba(22, 17, 19, .95) 55%, rgba(38, 23, 16, .92)) !important;
    border: 1px solid rgba(255, 255, 255, .095) !important;
    border-radius: 22px !important;
    box-shadow: 0 34px 74px -28px rgba(0, 0, 0, .85), inset 0 1px 0 rgba(255, 255, 255, .11) !important;
    -webkit-backdrop-filter: blur(18px) saturate(140%);
    backdrop-filter: blur(18px) saturate(140%);
    padding: 30px 28px 24px !important;
    color: rgba(248, 242, 236, .86);
    position: relative;
    overflow: hidden;
}

#u_sign .sign::after,
.sign-page .sign::after {
    content: '';
    position: absolute;
    left: 22px;
    right: 22px;
    top: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(255, 150, 70, .45), transparent);
    pointer-events: none;
}

/* 关闭按钮 */
#u_sign .sign > .close {
    color: rgba(248, 242, 236, .5) !important;
    opacity: .9;
    text-shadow: none;
    z-index: 3;
}

#u_sign .sign > .close:hover {
    color: #ff9a4d !important;
}

/* logo */
#u_sign .sign .sign-logo img,
.sign-page .sign .sign-logo img {
    filter: none;
}

#u_sign .sign .sign-logo,
.sign-page .sign .sign-logo {
    margin-bottom: 14px;
}

/* ================= 四、自定义 Tab 条 ================= */
.zus-sign-tabs {
    display: flex;
    gap: 4px;
    padding: 5px;
    border-radius: 13px;
    background: rgba(255, 255, 255, .04);
    border: 1px solid rgba(255, 255, 255, .06);
    margin: 0 0 20px;
}

.zus-sign-tabs button {
    flex: 1;
    height: 42px;
    border: 0;
    border-radius: 10px;
    background: transparent;
    cursor: pointer;
    font-family: inherit;
    font-size: 13.5px;
    font-weight: 500;
    color: rgba(248, 242, 236, .5);
    transition: .2s;
    white-space: nowrap;
}

.zus-sign-tabs button:hover {
    color: rgba(248, 242, 236, .8);
}

.zus-sign-tabs button.on {
    color: #ffd3ad;
    background: linear-gradient(180deg, rgba(255, 145, 60, .24), rgba(255, 90, 0, .15));
    box-shadow: inset 0 0 0 1px rgba(255, 128, 40, .34), 0 4px 14px -6px rgba(255, 90, 0, .6);
}

/* 隐藏原生标题行（由自定义 Tab 条取代） */
body.zus-sign-on #tab-sign-in > .box-body:first-child,
body.zus-sign-on #tab-sign-up > .box-body:first-child,
body.zus-sign-on #tab-qrcode-signin > .box-body:first-child,
body.zus-sign-on #tab-resetpassword > .box-body:first-child {
    display: none !important;
}

#u_sign .sign .title-h-left,
.sign-page .sign .title-h-left {
    display: none !important;
}

/* ================= 五、输入框 ================= */
#u_sign .sign .line-form,
.sign-page .sign .line-form {
    background: rgba(255, 255, 255, .045);
    border: 1px solid rgba(255, 255, 255, .09);
    border-radius: 13px;
    padding: 2px 16px 9px;
    margin-bottom: 14px !important;
    transition: background .22s, border-color .22s, box-shadow .22s;
}

/* 「记住登录 / 忘记密码」这类行本身也带 line-form，需还原成无框 */
#u_sign .sign .line-form.em09,
.sign-page .sign .line-form.em09 {
    background: none;
    border: 0;
    padding: 0;
    margin-bottom: 10px !important;
}

#u_sign .sign .line-form:focus-within,
.sign-page .sign .line-form:focus-within {
    background: rgba(255, 255, 255, .072);
    border-color: rgba(255, 128, 40, .5);
    box-shadow: 0 0 0 4px rgba(255, 110, 20, .09);
}

#u_sign .sign .line-form-input,
.sign-page .sign .line-form-input {
    margin-top: 1.42em !important;
    padding: 0 2em .12em 0 !important;
    color: #f8f2ec !important;
    font-size: 14.5px;
    opacity: 1 !important;
    background: transparent !important;
}

#u_sign .sign .line-form-input::placeholder,
.sign-page .sign .line-form-input::placeholder {
    color: rgba(248, 242, 236, .28) !important;
}

#u_sign .sign .scale-placeholder,
.sign-page .sign .scale-placeholder {
    color: rgba(248, 242, 236, .42);
    padding-left: 0;
    bottom: 7px;
}

#u_sign .sign input:focus ~ .scale-placeholder,
.sign-page .sign input:focus ~ .scale-placeholder,
#u_sign .sign .scale-placeholder.is-focus,
.sign-page .sign .scale-placeholder.is-focus {
    color: #ff9a4d;
    opacity: .95;
}

#u_sign .sign .line-form-line,
.sign-page .sign .line-form-line {
    display: none !important;
}

/* 密码可见 / 验证码图标 */
#u_sign .sign .passw,
.sign-page .sign .passw {
    color: rgba(248, 242, 236, .34) !important;
}

#u_sign .sign .passw:hover,
.sign-page .sign .passw:hover {
    color: #ff9a4d !important;
}

/* ================= 六、文字与链接 ================= */
#u_sign .sign .muted-color,
#u_sign .sign .muted-2-color,
#u_sign .sign .muted-3-color,
.sign-page .sign .muted-color,
.sign-page .sign .muted-2-color,
.sign-page .sign .muted-3-color {
    color: rgba(248, 242, 236, .45) !important;
}

#u_sign .sign a,
.sign-page .sign a {
    color: #ffb377;
}

#u_sign .sign a:hover,
.sign-page .sign a:hover {
    color: #ffcf9f;
}

/* 找回密码 / 免密 切换链接 */
#u_sign .sign .pull-right,
.sign-page .sign .pull-right {
    font-size: 12.5px;
}

#u_sign .sign .pull-right a,
.sign-page .sign .pull-right a {
    color: #ff9a4d !important;
    font-weight: 500;
}

#u_sign .sign .pull-right .opacity5,
.sign-page .sign .pull-right .opacity5 {
    display: none;
}

/* 记住登录 checkbox */
#u_sign .sign .form-checkbox label,
.sign-page .sign .form-checkbox label {
    color: rgba(248, 242, 236, .45);
}

/* ================= 七、按钮 ================= */
#u_sign .sign .signsubmit-loader,
.sign-page .sign .signsubmit-loader {
    background: linear-gradient(135deg, #ff8f38, #ff4d00) !important;
    border: 0 !important;
    border-radius: 13px !important;
    height: 50px;
    line-height: 50px;
    padding: 0 !important;
    font-size: 14.5px !important;
    font-weight: 600 !important;
    letter-spacing: .06em;
    color: #fff !important;
    box-shadow: 0 14px 32px -14px rgba(255, 90, 0, .9), inset 0 1px 0 rgba(255, 255, 255, .3) !important;
    transition: transform .18s, box-shadow .18s;
}

#u_sign .sign .signsubmit-loader:hover,
.sign-page .sign .signsubmit-loader:hover {
    transform: translateY(-1px);
    box-shadow: 0 18px 38px -14px rgba(255, 90, 0, 1), inset 0 1px 0 rgba(255, 255, 255, .34) !important;
}

/* 发送验证码（小按钮）：保持轻量，不要套用大按钮 */
#u_sign .sign .captchsubmit,
.sign-page .sign .captchsubmit {
    background: transparent !important;
    border: 0 !important;
    box-shadow: none !important;
    color: #ff9a4d !important;
    font-size: 12.5px !important;
    font-weight: 500;
    padding: 0 !important;
    height: auto;
    line-height: 1.5;
    margin: 0 !important;
}

#u_sign .sign .captchsubmit:hover,
.sign-page .sign .captchsubmit:hover {
    color: #ffc08a !important;
    transform: none;
    box-shadow: none !important;
}

#u_sign .sign .yztx.abs-right,
.sign-page .sign .yztx.abs-right {
    margin-top: 0;
}

/* 按钮容器去底色 */
#u_sign .sign .box-body:not(:first-child),
.sign-page .sign .box-body:not(:first-child) {
    background: transparent !important;
    padding: 0 !important;
}

/* ================= 八、社交登录 ================= */
#u_sign .sign .social-separator,
.sign-page .sign .social-separator {
    color: rgba(248, 242, 236, .26) !important;
    border-color: rgba(255, 255, 255, .08) !important;
}

#u_sign .sign .social_loginbar,
.sign-page .sign .social_loginbar {
    display: flex;
    justify-content: center;
    gap: 10px;
    flex-wrap: wrap;
}

#u_sign .sign .social-login-item,
.sign-page .sign .social-login-item {
    border-radius: 11px !important;
    overflow: hidden;
    opacity: .92;
}

#u_sign .sign .social-login-item:hover,
.sign-page .sign .social-login-item:hover {
    opacity: 1;
}

/* 协议文字 */
#u_sign .sign .opacity8,
.sign-page .sign .opacity8 {
    color: rgba(248, 242, 236, .3) !important;
}

/* ================= 九、扫码 pane ================= */
#u_sign .qrcode-signin-container,
.sign-page .qrcode-signin-container {
    padding: 6px 0 2px !important;
}

#u_sign .qrcode-signin-container .placeholder,
.sign-page .qrcode-signin-container .placeholder {
    background: rgba(255, 255, 255, .06) !important;
    border-radius: 14px;
}

/* ================= 十、弹窗容器 ================= */
#u_sign.modal {
    z-index: 1050;
}

/* 垂直居中：bootstrap 默认贴顶（margin-top 30px），窗口矮时弹窗挤在页头下、
   位置忽上忽下——用 inline-block + ::before 撑高中线，始终稳定居中 */
#u_sign {
    text-align: center;
    overflow-y: auto !important;
}

#u_sign::before {
    content: '';
    display: inline-block;
    height: 100%;
    vertical-align: middle;
}

#u_sign.in {
    background: transparent !important;
    -webkit-backdrop-filter: none;
    backdrop-filter: none;
}

/* 删除弹窗打开时的大片深色背景（主题遮罩一并调淡，页面内容保持可见） */
.modal-backdrop.in {
    opacity: .15 !important;
}

#u_sign .modal-dialog {
    display: inline-block;
    vertical-align: middle;
    text-align: left;
    width: 500px !important;
    max-width: 94vw !important;
    margin: 24px auto !important;
}

/* 主题「登录弹窗背景图」会把弹窗挤成左右两半，显得又窄又小：隐藏，保留整张卡片 */
#u_sign .sign-img {
    display: none !important;
}

/* 关键修复：.sign-img 虽被隐藏但仍在 DOM，主题的
   .sign-img + .sign { margin-left: 45% / auto; max-width: 340px }
   仍会把卡片挤成「一小条」，必须强制还原 */
#u_sign .sign-content > .sign {
    margin-left: 0 !important;
    margin-right: 0 !important;
    max-width: 100% !important;
    width: 100% !important;
}

#u_sign .sign-content {
    display: block !important;
}

#u_sign .sign-content {
    padding: 0;
    position: relative;
    background: transparent !important;
    box-shadow: none !important;
    border: 0 !important;
}

/* 用户要求删除弹窗内的深色底板（极光层），只保留卡片本身悬浮 */
#u_sign .sign-content .zus-aurora {
    display: none !important;
}

#u_sign .sign-content .zus-aurora,
.sign-page .sign-content .zus-aurora {
    position: absolute;
    inset: -50px;
    border-radius: 30px;
    background: radial-gradient(120% 100% at 50% -8%, #0e0b0b 0%, #08070b 55%, #050509 100%);
}

/* 弹窗内光斑弱化缩小，避免把卡片染成整片红 */
#u_sign .sign-content .zus-aurora .a1,
.sign-page .sign-content .zus-aurora .a1 {
    width: 360px;
    height: 360px;
    left: -100px;
    top: -180px;
    background: radial-gradient(circle, rgba(255, 140, 45, .55), rgba(255, 80, 0, .18) 46%, transparent 72%);
    animation: none;
}

#u_sign .sign-content .zus-aurora .a2,
.sign-page .sign-content .zus-aurora .a2 {
    width: 300px;
    height: 300px;
    right: -100px;
    bottom: -150px;
    background: radial-gradient(circle, rgba(255, 105, 20, .4), rgba(255, 60, 0, .12) 48%, transparent 74%);
    animation: none;
}

#u_sign .sign-content .zus-aurora .a3,
.sign-page .sign-content .zus-aurora .a3 {
    width: 260px;
    height: 260px;
    left: 20%;
    top: 30%;
    background: radial-gradient(circle, rgba(255, 180, 110, .16), transparent 68%);
    animation: none;
}

#u_sign .sign-content .zus-aurora .beam,
.sign-page .sign-content .zus-aurora .beam {
    opacity: .55;
}

#u_sign .sign-content > .sign {
    position: relative;
    z-index: 2;
}

/* ================= 十一、卡片底部补充链接 ================= */
.zus-sign-foot {
    margin-top: 18px;
    padding-top: 15px;
    border-top: 1px solid rgba(255, 255, 255, .06);
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 12px;
    color: rgba(248, 242, 236, .36);
}

.zus-sign-foot a {
    color: #ffb377 !important;
    text-decoration: none;
}

.zus-sign-foot a:hover {
    color: #ffcf9f !important;
}

/* ================= 十二、移动端 ================= */
@media (max-width: 768px) {
    .zus-sign-tabs button {
        height: 36px;
        font-size: 12px;
    }

    .sign-page .sign {
        max-width: 100%;
    }

    #u_sign .modal-dialog {
        margin: 4vh auto 20px !important;
    }

    body.zus-sign-page .sign-page .sign-col {
        justify-content: center;
        padding-right: 0;
    }
}

/* ================= 微信扫码兜底提示 ================= */
.zus-qr-hint {
    margin: 10px auto 0;
    max-width: 280px;
    padding: 8px 12px;
    border-radius: 10px;
    background: rgba(255, 145, 60, .1);
    border: 1px solid rgba(255, 128, 40, .26);
    color: #ffcfae;
    font-size: 12px;
    line-height: 1.55;
    text-align: center;
}

.zus-qr-hint:empty {
    display: none;
}
