@charset "utf-8";
/* ============================================================================
   blue-passport.css — 登录/注册页专属新样式（不复用老模板视觉）
   设计令牌与 blue-inner.css 保持一致：品牌蓝 #4A90E2
   ============================================================================ */
:root {
    --pp-blue: #4A90E2;
    --pp-blue-deep: #2D6FC0;
    --pp-blue-dark: #1E4E8F;
    --pp-bg: #F3F8FE;
    --pp-line: #E4EBF3;
    --pp-muted: #8A97A8;
    --pp-text: #2B3A4D;
}

/* ---------- 页面基底 ---------- */
body.pp-page {
    background: linear-gradient(135deg, #EAF3FD 0%, #F7FAFF 55%, #EDF5FF 100%) !important;
    min-height: 100vh;
}
body.pp-page > .pp-header { display: flex; }

/* 清除老页面容器干扰 */
body.pp-page .logo-r,
body.pp-page .blank { display: none !important; }
body.pp-page .w,
body.pp-page .w990 { width: auto; max-width: none; }

/* ---------- 顶部简洁导航 ---------- */
.pp-header {
    background: rgba(255, 255, 255, .82);
    backdrop-filter: blur(8px);
    border-bottom: 1px solid var(--pp-line);
    height: 64px;
    display: flex;
    align-items: center;
    padding: 0 6%;
}
.pp-logo { display: flex; align-items: center; gap: 12px; text-decoration: none; }
.pp-logo img { height: 40px; }
.pp-logo .pp-logo-name { font-size: 20px; font-weight: 700; color: var(--pp-text); letter-spacing: 1px; }
.pp-header .pp-header-right { margin-left: auto; font-size: 13px; color: var(--pp-muted); }
.pp-header .pp-header-right a { color: var(--pp-blue); text-decoration: none; margin-left: 16px; }
.pp-header .pp-header-right a:hover { color: var(--pp-blue-deep); }

/* ---------- 中央卡片区 ---------- */
.pp-main {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 48px 5% 64px;
    min-height: calc(100vh - 200px);
    box-sizing: border-box;
}

.pp-card {
    display: flex;
    width: 920px;
    max-width: 96%;
    min-height: 480px;
    background: #fff;
    border-radius: 16px;
    box-shadow: 0 20px 60px rgba(74, 144, 226, .14), 0 4px 16px rgba(43, 58, 77, .06);
    overflow: hidden;
}

/* 左侧品牌面板 */
.pp-brand {
    flex: 0 0 340px;
    background: linear-gradient(160deg, var(--pp-blue) 0%, var(--pp-blue-deep) 55%, var(--pp-blue-dark) 100%);
    color: #fff;
    padding: 56px 40px;
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}
.pp-brand::before {
    content: "";
    position: absolute;
    width: 260px; height: 260px;
    border-radius: 50%;
    background: rgba(255, 255, 255, .08);
    top: -80px; right: -80px;
}
.pp-brand::after {
    content: "";
    position: absolute;
    width: 180px; height: 180px;
    border-radius: 50%;
    background: rgba(255, 255, 255, .06);
    bottom: -60px; left: -50px;
}
.pp-brand h3 { font-size: 24px; font-weight: 700; letter-spacing: 2px; margin: 0 0 12px; position: relative; z-index: 1; }
.pp-brand p.pp-slogan { font-size: 14px; color: rgba(255, 255, 255, .78); margin: 0 0 40px; position: relative; z-index: 1; }
.pp-brand ul { list-style: none; margin: 0; padding: 0; position: relative; z-index: 1; }
.pp-brand ul li {
    display: flex; align-items: center;
    gap: 10px;
    color: rgba(255, 255, 255, .92);
    font-size: 14px;
    margin-bottom: 18px;
}
.pp-brand ul li i { font-size: 18px; color: rgba(255, 255, 255, .85); }
.pp-brand .pp-brand-foot {
    margin-top: auto;
    font-size: 12px;
    color: rgba(255, 255, 255, .55);
    position: relative; z-index: 1;
}

/* 右侧表单面板 */
.pp-panel {
    flex: 1;
    padding: 48px 52px 40px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}
.pp-panel h2 {
    font-size: 22px;
    font-weight: 700;
    color: var(--pp-text);
    margin: 0 0 6px;
}
.pp-panel .pp-sub { font-size: 13px; color: var(--pp-muted); margin: 0 0 28px; }
.pp-panel .pp-sub a { color: var(--pp-blue); text-decoration: none; font-weight: 600; }
.pp-panel .pp-sub a:hover { color: var(--pp-blue-deep); }

/* ---------- 输入框 ---------- */
.pp-field { position: relative; margin-bottom: 18px; }
.pp-field > i {
    position: absolute; left: 14px; top: 50%;
    transform: translateY(-50%);
    font-size: 16px;
    color: var(--pp-muted);
    pointer-events: none;
}
.pp-field input[type="text"],
.pp-field input[type="password"] {
    width: 100%;
    height: 46px;
    line-height: 46px;
    box-sizing: border-box;
    border: 1px solid var(--pp-line);
    border-radius: 10px;
    background: #F8FAFD;
    padding: 0 14px 0 42px;
    font-size: 14px;
    color: var(--pp-text);
    outline: none;
    transition: border-color .18s, box-shadow .18s, background .18s;
}
.pp-field input:focus {
    border-color: var(--pp-blue);
    background: #fff;
    box-shadow: 0 0 0 3px rgba(74, 144, 226, .14);
}
.pp-field input::placeholder { color: #AAB6C6; }

/* 注册页内联提示（email_notice / password_notice 等） */
.pp-field .label { display: block; font-size: 12px; color: #E4393C; line-height: 1.6; padding: 2px 2px 0; }
.pp-err-line .label { color: #E4393C; }

/* 验证码行 */
.pp-captcha { display: flex; gap: 12px; align-items: stretch; }
.pp-captcha input { flex: 1; min-width: 0; }
.pp-captcha img {
    height: 46px;
    border-radius: 10px;
    border: 1px solid var(--pp-line);
    cursor: pointer;
    background: #fff;
}

/* ---------- 密码强度 ---------- */
.pp-strength { margin: -8px 0 14px; padding: 0 2px; }
.pp-strength table { width: 100%; border-collapse: separate; border-spacing: 0; }
.pp-strength td {
    background: none;
    border: none;
    border-bottom: 2px solid #E8EFF7;
    font-size: 12px;
    line-height: 1.4;
    color: var(--pp-muted);
    padding: 4px 0 6px;
    text-align: center;
}

/* ---------- 选项行：记住我 / 忘记密码 / 协议 ---------- */
.pp-options {
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 13px;
    color: var(--pp-muted);
    margin: 4px 0 22px;
}
.pp-options label { display: flex; align-items: center; gap: 6px; cursor: pointer; }
.pp-options input[type="checkbox"] { width: 16px; height: 16px; accent-color: var(--pp-blue); margin: 0; }
.pp-options a { color: var(--pp-blue); text-decoration: none; }
.pp-options a:hover { color: var(--pp-blue-deep); }

/* ---------- 提交按钮 ---------- */
.pp-submit {
    display: block;
    width: 100%;
    height: 48px;
    border: none;
    border-radius: 10px;
    background: linear-gradient(135deg, var(--pp-blue), var(--pp-blue-deep));
    color: #fff;
    font-size: 16px;
    font-weight: 600;
    letter-spacing: 6px;
    cursor: pointer;
    transition: transform .15s, box-shadow .15s, filter .15s;
    box-shadow: 0 8px 20px rgba(74, 144, 226, .32);
}
.pp-submit:hover { filter: brightness(1.06); box-shadow: 0 10px 24px rgba(74, 144, 226, .4); transform: translateY(-1px); }
.pp-submit:active { transform: translateY(0); }

/* ---------- 错误提示条（登录页 JS 写入 #msg-error-text） ---------- */
.pp-msg {
    display: flex;
    align-items: center;
    gap: 8px;
    max-height: 0;
    margin: 0 0 0;
    padding: 0 12px;
    font-size: 13px;
    color: #E4393C;
    background: #FEF3F3;
    border: 1px solid #FADCDC;
    border-radius: 8px;
    overflow: hidden;
    opacity: 0;
    transition: max-height .2s, opacity .2s, margin .2s;
}
/* 有错误内容时展开（:has 现代浏览器支持） */
.pp-msg:has(.msg-error-text:not(:empty)) {
    max-height: 60px;
    margin-bottom: 14px;
    padding: 8px 12px;
    opacity: 1;
}
.pp-msg i { font-size: 14px; flex: none; }

/* ---------- 注册页手机/邮箱切换 tab ---------- */
.pp-tabs {
    display: flex;
    gap: 28px;
    border-bottom: 2px solid var(--pp-line);
    margin-bottom: 24px;
}
.pp-tabs .tab-item {
    position: relative;
    padding: 0 4px 12px;
    font-size: 15px;
    color: var(--pp-muted);
    cursor: pointer;
    user-select: none;
    list-style: none;
    background: none;
    border: none;
    width: auto; height: auto;
}
.pp-tabs .tab-item:hover { color: var(--pp-text); }
.pp-tabs .tab-item.cur { color: var(--pp-blue); font-weight: 700; }
.pp-tabs .tab-item.cur::after {
    content: "";
    position: absolute;
    left: 0; right: 0; bottom: -2px;
    height: 3px;
    border-radius: 3px 3px 0 0;
    background: linear-gradient(90deg, var(--pp-blue), #6BA6EF);
}
.pp-tabs .tab-item .bg-ff { display: none; }

/* ---------- 下拉框（密保问题等） ---------- */
.pp-field select {
    width: 100%;
    height: 46px;
    border: 1px solid var(--pp-line);
    border-radius: 10px;
    background: #F8FAFD;
    padding: 0 14px;
    font-size: 14px;
    color: var(--pp-text);
    outline: none;
    appearance: none;
    -webkit-appearance: none;
    background-image: url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath fill='%238A97A8' d='M1 1l5 5 5-5'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 14px center;
}

/* ---------- 注册页底部切换链接 ---------- */
.pp-switch { text-align: center; font-size: 13px; color: var(--pp-muted); margin-top: 18px; }
.pp-switch a { color: var(--pp-blue); font-weight: 600; text-decoration: none; }
.pp-switch a:hover { color: var(--pp-blue-deep); }

/* ---------- 停止注册提示 ---------- */
.pp-closed {
    max-width: 520px;
    margin: 40px auto;
    background: #fff;
    border-radius: 16px;
    box-shadow: 0 12px 40px rgba(74, 144, 226, .12);
    padding: 56px 40px;
    text-align: center;
    font-size: 15px;
    color: var(--pp-text);
}
.pp-closed a {
    display: inline-block;
    margin-top: 20px;
    padding: 10px 28px;
    border-radius: 999px;
    background: var(--pp-blue);
    color: #fff;
    text-decoration: none;
    font-size: 14px;
}

/* ---------- 响应式 ---------- */
@media (max-width: 860px) {
    .pp-brand { display: none; }
    .pp-card { width: 480px; }
    .pp-panel { padding: 36px 28px; }
}
