@CHARSET "UTF-8";
/* ========== 全新登录注册页样式 ========== */

/* 强制覆盖所有旧样式 */
html, body {
    margin: 0 !important;
    padding: 0 !important;
    font-family: "Microsoft YaHei", "PingFang SC", sans-serif !important;
    overflow-x: hidden !important;
    background: #f5f7fa !important;
    min-width: auto !important;
}

/* 隐藏头部和footer */
.wst-header,
.wst-top,
.wst-footer,
.wst-login-banner,
.wst-login-middle,
.wst-login_l,
.wst-login-banner-regist,
.wst-regist-b,
.wst-regist {
    display: none !important;
}

/* ========== 页面主容器 ========== */
.wst-login-container {
    display: flex;
    min-height: 100vh;
    width: 100%;
    position: fixed;
    top: 0;
    left: 0;
    z-index: 9999;
    background: #f5f7fa;
}

/* ========== 左侧视觉区域 ========== */
.wst-login-visual {
    flex: 0 0 55%;
    position: relative;
    background: linear-gradient(135deg, #173396 0%, #1a3a9e 30%, #173396 70%, #0f2670 100%);
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.wst-login-visual canvas {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.wst-visual-content {
    position: relative;
    z-index: 2;
    text-align: center;
    padding: 60px;
    color: #fff;
}

.wst-visual-logo {
    width: 120px;
    height: 120px;
    margin: 0 auto 30px;
    background: rgba(255,255,255,0.15);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(10px);
    border: 2px solid rgba(255,230,23,0.3);
    animation: logoPulse 3s ease-in-out infinite;
}

@keyframes logoPulse {
    0%, 100% { transform: scale(1); box-shadow: 0 0 20px rgba(255,230,23,0.2); }
    50% { transform: scale(1.05); box-shadow: 0 0 40px rgba(255,230,23,0.4); }
}

.wst-visual-logo img {
    width: 80px;
    height: 80px;
    object-fit: contain;
}

.wst-visual-title {
    font-size: 42px;
    font-weight: bold;
    margin-bottom: 15px;
    text-shadow: 0 2px 10px rgba(0,0,0,0.3);
    letter-spacing: 2px;
}

.wst-visual-title span {
    color: #FFE617;
}

.wst-visual-subtitle {
    font-size: 18px;
    opacity: 0.9;
    margin-bottom: 40px;
    line-height: 1.6;
}

.wst-visual-features {
    display: flex;
    justify-content: center;
    gap: 40px;
    margin-top: 50px;
}

.wst-visual-feature {
    text-align: center;
}

.wst-visual-feature-icon {
    display: block;
    width: 50px;
    height: 50px;
    margin: 0 auto 10px;
    background: rgba(255,230,23,0.2);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    color: #FFE617;
    border: 1px solid rgba(255,230,23,0.3);
}

.wst-visual-feature span {
    font-size: 14px;
    opacity: 0.85;
}

/* ========== 右侧表单区域 ========== */
.wst-login-form-area {
    flex: 0 0 45%;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 40px;
    background: #f5f7fa;
    position: relative;
    overflow-y: auto;
}

.wst-login-form-area::before {
    content: '';
    position: absolute;
    top: -100px;
    right: -100px;
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(23,51,150,0.08) 0%, transparent 70%);
    border-radius: 50%;
}

.wst-login-form-area::after {
    content: '';
    position: absolute;
    bottom: -50px;
    left: -50px;
    width: 200px;
    height: 200px;
    background: radial-gradient(circle, rgba(255,230,23,0.1) 0%, transparent 70%);
    border-radius: 50%;
}

/* 表单卡片 */
.wst-login-card {
    width: 100%;
    max-width: 420px;
    background: rgba(255,255,255,0.95);
    border-radius: 20px;
    padding: 45px 40px;
    box-shadow: 0 20px 60px rgba(23,51,150,0.12), 0 8px 25px rgba(0,0,0,0.08);
    position: relative;
    z-index: 1;
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255,255,255,0.5);
}

.wst-login-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: linear-gradient(90deg, #173396, #FFE617);
    border-radius: 0 0 4px 4px;
}

/* 表单标题 */
.wst-login-card-title {
    text-align: center;
    margin-bottom: 30px;
}

.wst-login-card-title h2 {
    font-size: 28px;
    color: #173396;
    margin: 0 0 8px 0;
    font-weight: 700;
}

.wst-login-card-title p {
    font-size: 14px;
    color: #8898aa;
    margin: 0;
}

/* Tab 切换 */
.wst-login-tabs {
    display: flex;
    justify-content: center;
    margin-bottom: 25px;
    gap: 8px;
    padding: 6px;
    background: linear-gradient(135deg, #173396 0%, #1a3a9e 50%, #173396 100%);
    border-radius: 14px;
    position: relative;
    overflow: hidden;
}
.wst-login-tabs::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -10%;
    width: 100px;
    height: 100px;
    background: radial-gradient(circle, rgba(255,230,23,0.1) 0%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
}

.wst-login-tab {
    padding: 10px 22px;
    font-size: 14px;
    color: rgba(255,255,255,0.7);
    cursor: pointer;
    position: relative;
    transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    border: none;
    background: transparent;
    font-weight: 500;
    font-family: inherit;
    border-radius: 10px;
    z-index: 1;
}

.wst-login-tab:hover {
    color: #ffffff;
    background: rgba(255,255,255,0.1);
}

.wst-login-tab.active {
    color: #173396;
    font-weight: 700;
    background: linear-gradient(135deg, #FFE617 0%, #ffd700 100%);
    box-shadow: 0 4px 15px rgba(255,230,23,0.3);
}

.wst-login-tab.active::after {
    display: none;
}

/* ========== 输入框样式 ========== */
.wst-input-group {
    margin-bottom: 22px;
    position: relative;
}

.wst-input-wrapper {
    position: relative;
    display: flex;
    align-items: center;
    background: #f8f9fb;
    border: 2px solid #e8ecf1;
    border-radius: 12px;
    padding: 0 18px;
    transition: all 0.3s ease;
    height: 52px;
}

.wst-input-wrapper:hover {
    border-color: #c5cee0;
}

.wst-input-wrapper:focus-within {
    border-color: #173396;
    background: #fff;
    box-shadow: 0 0 0 4px rgba(23,51,150,0.08);
}

.wst-input-icon {
    width: 20px;
    height: 20px;
    margin-right: 12px;
    opacity: 0.5;
    transition: opacity 0.3s;
    flex-shrink: 0;
    color: #173396;
}

.wst-input-wrapper:focus-within .wst-input-icon {
    opacity: 1;
}

.wst-input-wrapper input {
    flex: 1;
    border: none;
    background: transparent;
    padding: 0;
    font-size: 15px;
    color: #2d3748;
    outline: none;
    width: 100%;
    font-family: inherit;
    height: 100%;
}

.wst-input-wrapper input::placeholder {
    color: #a0aec0;
}

/* 验证码行 */
.wst-verify-row {
    display: flex;
    gap: 12px;
}

.wst-verify-row .wst-input-wrapper {
    flex: 1;
}

.wst-verify-img {
    width: 120px;
    height: 52px;
    border-radius: 12px;
    cursor: pointer;
    border: 2px solid #e8ecf1;
    object-fit: cover;
}

.wst-verify-btn {
    width: 120px;
    height: 52px;
    border-radius: 12px;
    border: 2px solid #173396;
    background: transparent;
    color: #173396;
    font-size: 13px;
    cursor: pointer;
    transition: all 0.3s;
    font-weight: 500;
    white-space: nowrap;
    font-family: inherit;
}

.wst-verify-btn:hover {
    background: #173396;
    color: #fff;
}

/* ========== 复选框和链接 ========== */
.wst-login-options {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin: 20px 0;
    font-size: 13px;
}

.wst-login-options label {
    display: flex;
    align-items: center;
    gap: 6px;
    color: #718096;
    cursor: pointer;
}

.wst-login-options input[type="checkbox"] {
    width: 16px;
    height: 16px;
    accent-color: #173396;
    cursor: pointer;
}

.wst-login-options a {
    color: #173396;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s;
}

.wst-login-options a:hover {
    color: #2a4bc0;
}

/* ========== 提交按钮 ========== */
.wst-submit-btn {
    width: 100%;
    padding: 0;
    border: none;
    border-radius: 12px;
    background: linear-gradient(135deg, #173396 0%, #1e3faa 50%, #173396 100%);
    background-size: 200% 200%;
    color: #fff;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
    letter-spacing: 2px;
    font-family: inherit;
    height: 52px;
    line-height: 52px;
}

.wst-submit-btn:hover {
    background-position: 100% 0;
    box-shadow: 0 8px 25px rgba(23,51,150,0.35);
    transform: translateY(-2px);
}

.wst-submit-btn:active {
    transform: translateY(0);
}

.wst-submit-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
    transition: left 0.5s;
}

.wst-submit-btn:hover::before {
    left: 100%;
}

/* ========== 底部链接 ========== */
.wst-login-footer-link {
    text-align: center;
    margin-top: 25px;
    padding-top: 20px;
    border-top: 1px solid #eef1f5;
    font-size: 14px;
    color: #718096;
}

.wst-login-footer-link a {
    color: #173396;
    font-weight: 600;
    text-decoration: none;
    margin-left: 5px;
    position: relative;
}

.wst-login-footer-link a::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 2px;
    background: #FFE617;
    transition: width 0.3s;
}

.wst-login-footer-link a:hover::after {
    width: 100%;
}

/* ========== 二维码登录 ========== */
.wst-qrcode-section {
    text-align: center;
    padding: 20px 0;
}

.wst-qrcode-box {
    width: 200px;
    height: 200px;
    margin: 0 auto 20px;
    padding: 15px;
    background: #fff;
    border-radius: 16px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.08);
    border: 2px solid #eef1f5;
}

.wst-qrcode-box img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.wst-qrcode-tips {
    color: #718096;
    font-size: 14px;
}

.wst-qrcode-tips span {
    color: #173396;
    font-weight: 600;
}

/* ========== 注册页特殊样式 ========== */
.wst-regist-card {
    max-width: 520px !important;
    padding: 40px 45px !important;
}

.wst-regist-table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0 10px;
}

.wst-regist-table td {
    padding: 0;
    vertical-align: middle;
}

.wst-regist-label {
    width: 100px;
    text-align: right;
    padding-right: 15px;
    color: #173396;
    font-size: 14px;
    font-weight: 600;
    white-space: nowrap;
    line-height: 52px;
}

.wst-regist-label .required {
    color: #e53e3e;
    margin-right: 4px;
}

.wst-regist-verify-row {
    display: flex;
    gap: 10px;
    align-items: center;
}

.wst-regist-verify-row .wst-input-wrapper {
    flex: 1;
}

.wst-regist-verify-row .wst-verify-btn {
    width: auto;
    padding: 0 16px;
    white-space: nowrap;
    height: 52px;
    border-radius: 12px;
    border: 2px solid #173396;
    background: transparent;
    color: #173396;
    font-size: 13px;
    cursor: pointer;
    transition: all 0.3s;
    font-weight: 500;
    font-family: inherit;
}

.wst-regist-verify-row .wst-verify-btn:hover {
    background: #173396;
    color: #fff;
}

.wst-protocol-row {
    padding: 10px 0;
}

.wst-protocol-row label {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    color: #718096;
    cursor: pointer;
}

.wst-protocol-row input[type="checkbox"] {
    width: 16px;
    height: 16px;
    accent-color: #173396;
}

.wst-protocol-row a {
    color: #173396;
    text-decoration: none;
    font-weight: 500;
}

.wst-protocol-row a:hover {
    text-decoration: underline;
}

.wst-regist-submit-row {
    text-align: center;
    padding-top: 10px;
}

.wst-regist-submit-row .wst-submit-btn {
    width: 200px;
    height: 52px;
    line-height: 52px;
    padding: 0;
}

/* ========== 页脚 ========== */
.wst-login-page-footer {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 15px;
    text-align: center;
    font-size: 12px;
    color: #a0aec0;
    background: rgba(255,255,255,0.9);
    backdrop-filter: blur(10px);
    border-top: 1px solid rgba(0,0,0,0.05);
    z-index: 10000;
}

.wst-login-page-footer a {
    color: #718096;
    text-decoration: none;
    margin: 0 8px;
    transition: color 0.3s;
}

.wst-login-page-footer a:hover {
    color: #173396;
}

/* ========== 响应式 ========== */
@media (max-width: 1024px) {
    .wst-login-visual {
        display: none;
    }
    .wst-login-form-area {
        flex: 0 0 100%;
    }
}

/* ========== Tab面板控制 ========== */
.wst-tab-panel {
    /* display: none; */
}

.wst-tab-panel.active {
    display: block;
}

/* 错误提示 */
.msg-box {
    position: absolute;
    bottom: -20px;
    left: 0;
    font-size: 12px;
    color: #e53e3e;
}

.msg-box.n-ok {
    color: #38a169;
}
