/* 注册/登录认证页 - 深蓝科技风 */
.auth-page {
    min-height: 100vh;
    background: linear-gradient(135deg, #0f172a 0%, #1e3a8a 50%, #1e40af 100%);
    font-family: "Microsoft YaHei", "PingFang SC", sans-serif;
}
.auth-page.reg { background: linear-gradient(135deg, #0f172a 0%, #1e3a8a 50%, #1e40af 100%); }

.auth-wrap {
    display: grid;
    grid-template-columns: 1fr 1fr;
    min-height: 100vh;
}
.auth-brand {
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 60px 56px;
    color: #fff;
    overflow: hidden;
}
.auth-brand::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(255,255,255,0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255,255,255,0.03) 1px, transparent 1px);
    background-size: 48px 48px;
    opacity: 0.6;
}
.auth-brand::after {
    content: '';
    position: absolute;
    top: 20%; right: -80px;
    width: 320px; height: 320px;
    background: radial-gradient(circle, rgba(96,165,250,0.2) 0%, transparent 70%);
    border-radius: 50%;
}
.auth-brand-inner { position: relative; z-index: 1; max-width: 440px; }
.auth-brand-badge {
    display: inline-flex; align-items: center; gap: 8px;
    padding: 8px 16px; margin-bottom: 24px;
    background: rgba(255,255,255,0.1); border: 1px solid rgba(255,255,255,0.18);
    border-radius: 50px; font-size: 12px; letter-spacing: 2px;
}
.auth-brand h1 {
    font-size: 36px; font-weight: 700; line-height: 1.35;
    margin-bottom: 16px; text-shadow: 0 4px 20px rgba(0,0,0,0.2);
}
.auth-brand p {
    font-size: 15px; color: rgba(255,255,255,0.82); line-height: 1.85; margin-bottom: 36px;
}
.auth-features { display: flex; flex-direction: column; gap: 14px; }
.auth-feature {
    display: flex; align-items: center; gap: 12px;
    font-size: 14px; color: rgba(255,255,255,0.88);
}
.auth-feature i {
    width: 36px; height: 36px; border-radius: 10px;
    background: rgba(255,255,255,0.1); display: flex; align-items: center; justify-content: center;
    font-size: 16px; color: #93c5fd;
}

.auth-panel {
    display: flex; align-items: center; justify-content: center;
    padding: 40px 32px;
    background: #f8fafc;
}
.auth-card {
    width: 100%; max-width: 460px;
    background: #fff;
    border-radius: 20px;
    padding: 40px 36px 36px;
    box-shadow: 0 20px 60px rgba(15,23,42,0.12);
    border: 1px solid #e2e8f0;
}
.auth-logo { text-align: center; margin-bottom: 28px; }
.auth-logo img { max-height: 48px; max-width: 220px; width: auto; }
.auth-logo a { display: inline-block; }

.auth-tabs { margin-bottom: 28px; }
.auth-page .tab_list ul {
    display: flex; gap: 8px; padding: 6px;
    background: #f1f5f9; border-radius: 12px; list-style: none; margin: 0;
}
.auth-page .tab_list li {
    flex: 1; text-align: center; padding: 12px 16px;
    font-size: 15px !important; font-weight: 600; color: #64748b !important;
    border: none !important; margin: 0 !important; cursor: pointer;
    border-radius: 8px; transition: all 0.3s; position: relative;
}
.auth-page .tab_list li::before { display: none !important; }
.auth-page .tab_list li.current {
    color: #1e40af !important;
    background: #fff;
    box-shadow: 0 2px 8px rgba(30,64,175,0.12);
}

.auth-page .form-group { margin-bottom: 18px; }
.auth-page .form-group.group_z { margin-bottom: 18px; }
.auth-page input.form-control,
.auth-page select.form-control,
.auth-page textarea.form-control {
    width: 100%; height: 50px !important;
    padding: 0 16px !important;
    border: 1px solid #e2e8f0 !important;
    border-radius: 10px !important;
    font-size: 14px !important;
    background: #f8fafc !important;
    color: #334155 !important;
    box-shadow: none !important;
    transition: all 0.3s;
}
.auth-page input.form-control:focus,
.auth-page select.form-control:focus,
.auth-page textarea.form-control:focus {
    border-color: #3b82f6 !important;
    background: #fff !important;
    box-shadow: 0 0 0 3px rgba(59,130,246,0.12) !important;
    outline: none;
}
.auth-page .h60 { height: 50px !important; }

.auth-page .formText { position: relative; }
.auth-page .chicuele {
    position: absolute; right: 4px; top: 4px;
    height: 42px !important; border-radius: 8px !important;
    cursor: pointer;
}
.auth-page .input-group.btn-direction {
    display: flex; gap: 10px; align-items: stretch;
}
.auth-page .input-group.btn-direction .formText { flex: 1; }
.auth-page input.sento,
.auth-page .btn.sento {
    height: 50px !important; padding: 0 18px !important;
    border-radius: 10px !important; white-space: nowrap;
    background: #eff6ff !important; color: #1e40af !important;
    border: 1px solid rgba(30,64,175,0.2) !important;
    font-size: 13px !important; font-weight: 600;
}
.auth-page input.sento:hover,
.auth-page .btn.sento:hover {
    background: #dbeafe !important; border-color: #3b82f6 !important;
}

.auth-page .btn-primary.btn-block,
.auth-page #submitButton,
.auth-page #mobile_submitButton {
    width: 100%; height: 52px !important;
    margin-top: 8px; border: none !important; border-radius: 10px !important;
    font-size: 16px !important; font-weight: 600 !important;
    background: linear-gradient(135deg, #1e40af, #3b82f6) !important;
    color: #fff !important;
    box-shadow: 0 8px 24px rgba(30,64,175,0.28);
    transition: all 0.3s;
}
.auth-page .btn-primary.btn-block:not(:disabled):hover,
.auth-page #submitButton:not(:disabled):hover,
.auth-page #mobile_submitButton:not(:disabled):hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 32px rgba(30,64,175,0.35);
}
.auth-page .disabled-button,
.auth-page .btn-primary:disabled {
    background: #cbd5e1 !important;
    box-shadow: none !important;
    cursor: not-allowed !important;
    transform: none !important;
}

.auth-page .clause-box {
    display: flex; align-items: flex-start; gap: 10px;
    margin: 16px 0 8px; font-size: 13px;
}
.auth-page .clause-box a { color: #1e40af; text-decoration: none; line-height: 1.6; }
.auth-page .clause-box a:hover { text-decoration: underline; }
.auth-page .checkbox-label { padding-left: 28px; margin: 0; }
.auth-page .checkbox-label .check-mark {
    width: 18px; height: 18px; border-radius: 4px;
    border: 1px solid #cbd5e1 !important; background: #fff !important; top: 1px;
}
.auth-page .checkbox-label .checkbox:checked + .check-mark {
    background: #1e40af !important; border-color: #1e40af !important;
}
.auth-page .checkbox-label .checkbox:checked + .check-mark:after {
    background: #1e40af !important;
}

.auth-page .login-link {
    margin-top: 20px; text-align: center; font-size: 14px;
}
.auth-page .login-link a {
    color: #1e40af !important; text-decoration: none; font-weight: 500;
}
.auth-page .login-link a:hover { text-decoration: underline; }

.auth-page .login-more { margin-top: 28px; }
.auth-page .login-more .title {
    display: flex; align-items: center; gap: 12px;
    font-size: 13px; color: #94a3b8; margin-bottom: 18px;
}
.auth-page .login-more .title::before,
.auth-page .login-more .title::after {
    content: ''; flex: 1; height: 1px; background: #e2e8f0;
}
.auth-page .login-list {
    display: flex; justify-content: center; gap: 20px;
}
.auth-page .login-item {
    width: 44px; height: 44px; border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    border: 1px solid #e2e8f0; color: #64748b; font-size: 20px;
    transition: all 0.3s; text-decoration: none;
}
.auth-page .login-item:hover { border-color: #3b82f6; color: #1e40af; transform: translateY(-2px); }
.auth-page .login-item.qq:hover { color: #12b7f5; border-color: #12b7f5; }
.auth-page .login-item.weixin:hover { color: #07c160; border-color: #07c160; }
.auth-page .login-item.weibo:hover { color: #e6162d; border-color: #e6162d; }

.auth-page .qrcode-title {
    margin-top: 28px; text-align: center; font-size: 13px; color: #94a3b8;
    position: relative; padding: 0 20px;
}
.auth-page .qrcode-title::before,
.auth-page .qrcode-title::after {
    content: ''; position: absolute; top: 50%;
    width: 30%; height: 1px; background: #e2e8f0;
}
.auth-page .qrcode-title::before { left: 0; }
.auth-page .qrcode-title::after { right: 0; }
.auth-page .login_type ul.blocks-3 {
    display: flex; justify-content: center; gap: 20px; padding: 16px 0 0; list-style: none;
}
.auth-page .login_type ul.blocks-3 img { width: 44px; height: 44px; border-radius: 50%; transition: transform 0.3s; }
.auth-page .login_type ul.blocks-3 a:hover img { transform: scale(1.1); }

.auth-page .register_index .panel-body,
.auth-page .form-register.panel-body { padding: 0 !important; background: transparent !important; }
.auth-page .register_index .container,
.auth-page .register_index .ey-container { max-width: none; width: 100%; padding: 0; margin: 0; }
.auth-page .register_index.ey-member { background: transparent; }

.auth-page .tis { font-size: 12px; color: #ef4444; margin-right: 6px; }
.auth-page fieldset { border: 1px solid #e2e8f0 !important; border-radius: 12px; padding: 16px !important; background: #f8fafc !important; }
.auth-page legend { font-size: 14px !important; font-weight: 600; color: #1e40af; padding: 0 8px; }

@media (max-width: 992px) {
    .auth-wrap { grid-template-columns: 1fr; }
    .auth-brand { display: none; }
    .auth-panel { padding: 32px 20px; min-height: 100vh; align-items: flex-start; padding-top: 48px; }
    .auth-card { padding: 32px 24px 28px; }
}
@media (max-width: 480px) {
    .auth-card { border-radius: 16px; padding: 28px 20px 24px; }
    .auth-page .tab_list li { font-size: 14px !important; padding: 10px 12px; }
}
