/* ============================================================
   userloginzfb.css  —  主色调 #0078d7
   ============================================================ */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: "PingFang SC", "Microsoft YaHei", sans-serif;
}

body {
    background-color: #f5f7fa;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 80px;
    padding: 20px;
}

.jqlogin-container {
    width: 100%;
    max-width: 400px;
    background: white;
    border-radius: 12px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    padding: 40px 30px;
    transition: all 0.3s ease;
}

.jqlogin-header {
    text-align: center;
    margin-bottom: 30px;
}

.jqlogin-title {
    font-size: 24px;
    color: #0078d7;               /* 原 #00aa83 → #0078d7 */
    margin-bottom: 10px;
    font-weight: 600;
}

.jqlogin-subtitle {
    color: #0078d7;               /* 原 #00aa83 → #0078d7 */
    font-size: 14px;
}

.jqlogin-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.jqlogin-input-group {
    position: relative;
    margin-bottom: 5px;
}

.jqlogin-country-code {
    position: absolute;
    left: 15px;
    top: 50%;
    transform: translateY(-50%);
    display: flex;
    align-items: center;
    color: #0078d7;               /* 原 #00aa83 → #0078d7 */
    font-size: 14px;
    z-index: 2;
}

.jqlogin-country-code::after {
    content: "";
    display: block;
    width: 1px;
    height: 16px;
    background: #ddd;
    margin-left: 10px;
}

.jqlogin-input {
    width: 100%;
    height: 50px;
    padding: 0 15px;
    border: 1px solid #e1e5eb;
    border-radius: 6px;
    font-size: 16px;
    transition: all 0.3s;
    outline: none;
}

.jqlogin-input.phone {
    padding-left: 85px;
}

.jqlogin-input:focus {
    border-color: #0078d7;        /* 原 #23b8bc → #0078d7 */
    box-shadow: 0 0 0 2px rgba(0, 120, 215, 0.2);  /* 配套光晕 */
}

.jqlogin-input-error {
    border-color: #0078d7 !important;
    box-shadow: 0 0 0 2px rgba(0, 120, 215, 0.2) !important;  /* 原红色调光晕改为主色 */
}

.jqlogin-error-msg {
    color: #0078d7;               /* 原 #00aa83 → #0078d7 */
    font-size: 12px;
    margin-top: 5px;
    display: none;
}

.jqlogin-options {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin: 10px 0 20px;
    font-size: 14px;
}

.jqlogin-register {
    color: #0078d7;               /* 原 #00aa83 → #0078d7 */
    text-decoration: none;
    font-weight: 500;
}

.jqlogin-register:hover {
    text-decoration: underline;
}

.jqlogin-problems {
    color: #999;
    text-decoration: none;
}

.jqlogin-problems:hover {
    color: #666;
}

.jqlogin-btn {
    height: 50px;
    background: #0078d7;          /* 原 #00aa83 → #0078d7 */
    color: white;
    border: none;
    border-radius: 6px;
    font-size: 16px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s;
}

.jqlogin-btn:hover {
    background: #0078d7;          /* 保持主色，也可加深 #0060b0 */
    /* 更细腻的 hover：建议 #0060b0，但为了与原来风格一致仍使用 #0078d7，但实际 UI 可微调 */
    background: #0060b0;
}

.jqlogin-btn:active {
    transform: translateY(1px);
}

.jqlogin-btn:disabled {
    background: #a0c8ed;          /* 原 #a0edbf 绿色禁用 → 蓝色系禁用 */
    cursor: not-allowed;
    transform: none;
}


/* ============================================================
   userbase.css  —  主色调 #0078d7，整合重复定义
   ============================================================ */
:root {
    --zhkuser-primary: #0078d7;      /* 原 #00aa83 → #0078d7 */
    --zhkuser-light-blue: #e6f0fa;
    --zhkuser-text: #777777;
    --zhkuser-secondary: #777777;
    --zhkuser-border: #ebebeb;
    --zhkuser-bg: #ffffff;
    --zhkser-primary: #0078d7;       /* 修复原来变量拼写，同时统一为蓝色 */
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    color: var(--zhkuser-text);
    line-height: 1.4;
    min-height: 90vh;
    background: #f5f5f5;
    display: flex;
    justify-content: center;
}

/* 蓝色背景带底部弧度 — 使用新主色 */
.zhkuser-blue-bg {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 20vh;
    background-color: var(--zhkuser-primary);   /* #0078d7 */
    border-radius: 0 0 20px 20px;
    z-index: -1;
}

/* 主容器 */
.zhkuser-container {
    width: 96%;
    max-width: 640px;
    margin: 20px 0;
    background-color: transparent;
    margin-top: 56px;
    margin-bottom: 46px;
}

/* 头部信息块 */
.zhkuser-header-block {
    margin-bottom: 15px;
}

/* 顶部信息 - 单行布局 */
.zhkuser-top-info {
    display: flex;
    align-items: center;
    margin-bottom: 15px;
}

/* 图标 */
.zhkuser-icon {
    width: 40px;
    height: 40px;
    background-color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 12px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

.zhkuser-icon img {
    width: 24px;
    height: 24px;
}

/* 用户信息 */
.zhkuser-info {
    flex: 1;
}

.zhkuser-name {
    font-size: 16px;
    font-weight: bold;
    margin-bottom: 4px;
    color: var(--zhkuser-text);
}

.zhkuser-level {
    font-size: 12px;
    color: var(--zhkuser-secondary);
}

.zhkuser-upgrade-btn {
    display: inline-block;
    padding: 4px 10px;
    background-color: var(--zhkuser-primary);   /* #0078d7 */
    color: white;
    border-radius: 12px;
    font-size: 12px;
    border: none;
    margin-top: 4px;
}

/* 邀请码 */
.zhkuser-code-box {
    text-align: right;
}

.zhkuser-code-label {
    font-size: 12px;
    color: var(--zhkuser-secondary);
    margin-bottom: 4px;
}

.zhkuser-code {
    font-size: 14px;
    color: var(--zhkuser-primary);              /* #0078d7 */
    font-weight: bold;
    background-color: white;
    padding: 4px 8px;
    border-radius: 4px;
    display: inline-block;
    box-shadow: 0 1px 3px rgba(0,0,0,0.1);
}

/* 资产信息 */
.zhkuser-assets {
    display: flex;
    background-color: white;
    border-radius: 8px;
    padding: 15px 0;
    box-shadow: 0 2px 5px rgba(0,0,0,0.05);
}

.zhkuser-asset-item {
    flex: 1;
    text-align: center;
    position: relative;
}

.zhkuser-asset-item:not(:last-child)::after {
    content: "";
    position: absolute;
    right: 0;
    top: 10%;
    height: 80%;
    width: 1px;
    background-color: var(--zhkuser-border);
}

.zhkuser-asset-value {
    font-size: 16px;
    color: var(--zhkuser-primary);              /* #0078d7 */
    margin-bottom: 5px;
    font-weight: bold;
}

.zhkuser-asset-label {
    font-size: 12px;
    color: var(--zhkuser-secondary);
}

/* 我的订单 */
.zhkuser-sectionx {
    background-color: white;
    border-radius: 12px;
    padding: 5px;
    margin-bottom: 15px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.zhkuser-section {
    background-color: white;
    border-radius: 12px;
    padding: 15px;
    margin-bottom: 15px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.zhkuser-section-title {
    font-size: 16px;
    color: var(--zhkuser-primary);              /* #0078d7 */
    margin-bottom: 15px;
    font-weight: bold;
}

.zhkuser-order-tabs {
    display: flex;
    text-align: center;
}

.zhkuser-order-tab {
    flex: 1;
    font-size: 12px;
    color: var(--zhkuser-text);
    padding: 8px 0;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.zhkuser-order-icon {
    width: 24px;
    height: 24px;
    margin-bottom: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--zhkuser-primary);              /* #0078d7 */
    font-size: 20px;
}

/* 功能入口 */
.zhkuser-features {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 15px;
    background-color: white;
    border-radius: 12px;
    padding: 15px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.zhkuser-feature {
    text-align: center;
}

.zhkuser-feature-icon {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    margin: 0 auto 8px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.zhkuser-feature-icon img {
    width: 24px;
    height: 24px;
}

.zhkuser-feature-label {
    font-size: 12px;
    color: var(--zhkuser-text);
}

.zhkser-logout {
    padding: 15px;
    text-align: center;
    background-color: #fff;
    margin-top: 10px;
}

.zhkser-logout-btn {
    color: var(--zhkser-primary);               /* 原变量拼写错误已修正为 #0078d7 */
    font-size: 14px;
    background: none;
    cursor: pointer;
    border: none;
}

.zhkser-action-btn {
    flex: 1;
    text-align: center;
    padding: 10px 0;
    background-color: rgba(255,255,255,0.2);
    border-radius: 6px;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: background-color 0.2s;
}

.zhkser-action-btn:hover {
    background-color: rgba(255,255,255,0.3);
}

/* 主容器 */
.lzshouquan-main-container {
    padding: 20px;
    max-width: 100%;
    margin: 0 auto;
}

/* 账号选择弹框 */
.lzshouquan-account-dialog {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #fff;
    border-radius: 16px 16px 0 0;
    padding: 20px;
    transform: translateY(100%);
    transition: transform 0.3s ease-out;
    z-index: 1001;
    box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.1);
}

.lzshouquan-account-dialog.active {
    transform: translateY(0);
}

.lzshouquan-dialog-header {
    text-align: center;
    margin-bottom: 20px;
    position: relative;
}

.lzshouquan-dialog-title {
    font-size: 18px;
    font-weight: 500;
}

.lzshouquan-dialog-close {
    position: absolute;
    right: 0;
    top: 0;
    width: 24px;
    height: 24px;
    background: none;
    border: none;
    font-size: 20px;
    color: #999;
}

.lzshouquan-account-list {
    max-height: 60vh;
    overflow-y: auto;
    margin-bottom: 20px;
}

.lzshouquan-account-item {
    display: flex;
    align-items: center;
    padding: 12px 0;
    border-bottom: 1px solid #f0f0f0;
}

.lzshouquan-account-avatar {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    margin-right: 12px;
    background-color: #eee;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.lzshouquan-account-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.lzshouquan-account-info {
    flex: 1;
}

.lzshouquan-account-nickname {
    font-size: 16px;
    font-weight: 500;
    margin-bottom: 4px;
}

.lzshouquan-account-phone {
    font-size: 14px;
    color: #666;
}

.lzshouquan-account-select {
    width: 20px;
    height: 20px;
    border-radius: 50%;
    border: 1px solid #ddd;
    margin-left: 15px;
    position: relative;
}

/* 原选中色 #f87817（橙色）与主色调不统一，改为 #0078d7 */
.lzshouquan-account-select.active {
    background-color: #0078d7;                  /* 原 #f87817 → #0078d7 */
    border-color: #0078d7;                      /* 原 #f87817 → #0078d7 */
}

.lzshouquan-account-select.active::after {
    content: "";
    position: absolute;
    top: 4px;
    left: 7px;
    width: 5px;
    height: 10px;
    border: solid white;
    border-width: 0 2px 2px 0;
    transform: rotate(45deg);
}

.lzshouquan-button-group {
    display: flex;
    gap: 10px;
}

.lzshouquan-confirm-btn {
    flex: 1;
    padding: 12px;
    border: none;
    border-radius: 4px;
    background-color: #0078d7;                  /* 原 #00aa83 → #0078d7 */
    color: white;
    font-size: 16px;
    font-weight: 500;
    cursor: pointer;
}

.lzshouquan-other-account-btn {
    flex: 1;
    padding: 12px;
    border: 1px solid #0078d7;                  /* 原 #00aa83 → #0078d7 */
    border-radius: 4px;
    background-color: white;
    color: #0078d7;                             /* 原 #00aa83 → #0078d7 */
    font-size: 16px;
    font-weight: 500;
    cursor: pointer;
}

.lzshouquan-confirm-btn:disabled {
    background-color: #ccc;
    cursor: not-allowed;
}

/* 遮罩层 */
.lzshouquan-mask {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 1000;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s;
}

.lzshouquan-mask.active {
    opacity: 1;
    pointer-events: all;
}

/* 绑定手机号弹框 */
.lzshouquan-bind-dialog {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #fff;
    border-radius: 16px 16px 0 0;
    padding: 20px;
    transform: translateY(100%);
    transition: transform 0.3s ease-out;
    z-index: 1002;
    box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.1);
}

.lzshouquan-bind-dialog.active {
    transform: translateY(0);
}

.lzshouquan-bind-title {
    font-size: 18px;
    font-weight: 500;
    margin-bottom: 15px;
    text-align: center;
}

.lzshouquan-bind-tip {
    font-size: 15px;
    color: #666;
    margin-bottom: 20px;
    text-align: center;
}

.lzshouquan-input-group {
    margin-bottom: 20px;
}

.lzshouquan-input-label {
    display: block;
    margin-bottom: 8px;
    font-size: 14px;
    color: #666;
}

.lzshouquan-input {
    width: 100%;
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 15px;
}

.lzshouquan-bind-btns {
    display: flex;
    gap: 10px;
}

.lzshouquan-btn {
    flex: 1;
    padding: 12px;
    border-radius: 4px;
    font-size: 16px;
    font-weight: 500;
    cursor: pointer;
}

.lzshouquan-btn-cancel {
    background-color: #f5f5f5;
    color: #333;
    border: none;
}

.lzshouquan-btn-confirm {
    background-color: #0078d7;                  /* 原 #00aa83 → #0078d7 */
    color: white;
    border: none;
}

/* 绑定成功提示 */
.lzshouquan-success-tip {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background-color: rgba(0, 0, 0, 0.7);
    color: white;
    padding: 10px 20px;
    border-radius: 4px;
    font-size: 14px;
    z-index: 1003;
    opacity: 0;
    transition: opacity 0.3s;
    pointer-events: none;
}

.lzshouquan-success-tip.active {
    opacity: 1;
}

/* ---------- 以下为原 userbase.css 中重复的 jqlogin 部分，统一为 #0078d7 ---------- */
.jqlogin-container {
    width: 100%;
    max-width: 400px;
    background: white;
    border-radius: 12px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    padding: 40px 30px;
    transition: all 0.3s ease;
}

.jqlogin-header {
    text-align: center;
    margin-bottom: 30px;
}

.jqlogin-title {
    font-size: 24px;
    color: #333;                  /* 此组保持深色，无主色冲突 */
    margin-bottom: 10px;
    font-weight: 600;
}

.jqlogin-subtitle {
    color: #666;
    font-size: 14px;
}

.jqlogin-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.jqlogin-input-group {
    position: relative;
    margin-bottom: 5px;
}

.jqlogin-country-code {
    position: absolute;
    left: 15px;
    top: 50%;
    transform: translateY(-50%);
    display: flex;
    align-items: center;
    color: #666;
    font-size: 14px;
    z-index: 2;
}

.jqlogin-country-code::after {
    content: "";
    display: block;
    width: 1px;
    height: 16px;
    background: #ddd;
    margin-left: 10px;
}

.jqlogin-input {
    width: 100%;
    height: 50px;
    padding: 0 15px;
    border: 1px solid #e1e5eb;
    border-radius: 6px;
    font-size: 16px;
    transition: all 0.3s;
    outline: none;
}

.jqlogin-input.phone {
    padding-left: 85px;
}

.jqlogin-input:focus {
    border-color: #0078d7;        /* 原 #00aa83 → #0078d7 */
    box-shadow: 0 0 0 2px rgba(0, 120, 215, 0.2);
}

.jqlogin-input-error {
    border-color: #0078d7 !important;
    box-shadow: 0 0 0 2px rgba(0, 120, 215, 0.2) !important;
}

.jqlogin-error-msg {
    color: #0078d7;               /* 原 #00aa83 → #0078d7 */
    font-size: 12px;
    margin-top: 5px;
    display: none;
}

.jqlogin-options {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin: 10px 0 20px;
    font-size: 14px;
}

.jqlogin-register {
    color: #0078d7;               /* 原 #00aa83 → #0078d7 */
    text-decoration: none;
    font-weight: 500;
}

.jqlogin-register:hover {
    text-decoration: underline;
}

.jqlogin-problems {
    color: #999;
    text-decoration: none;
}

.jqlogin-problems:hover {
    color: #666;
}

.jqlogin-btn {
    height: 50px;
    background: #0078d7;          /* 原 #00aa83 → #0078d7 */
    color: white;
    border: none;
    border-radius: 6px;
    font-size: 16px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s;
}

.jqlogin-btn:hover {
    background: #0078d7;          /* 保持一致，实际可加深，但保留原始 hover 行为 */
    background: #0060b0;          /* 提供更深反馈 */
}

.jqlogin-btn:active {
    transform: translateY(1px);
}

.jqlogin-btn:disabled {
    background: #a0c8ed;          /* 原 #a0edbf → 蓝色禁用态 */
    cursor: not-allowed;
    transform: none;
}