.left-sidebar {
  width: 170px;
  height: 100vh;
  background: #f7f7f7;
  position: fixed;
  top: 0;
  left: 0;
  z-index: 9999;
  padding-top: 10px;
  text-align: center;
}

.sidebar-logo {
  font-size: 24px;
  font-weight: bold;
  color: #1c3a60;
  margin-bottom: 50px;
}

a {
  text-decoration: none;
  color: #000;
}

li {
  list-style: none;
}

.sub-info {
  font-size: 12px;
  font-weight: normal;
}

.sidebar-nav {
  padding: 0 10px;
}

.nav-item {
  text-align: left;
  padding: 14px 8px;
  margin-bottom: 10px;
  border-radius: 8px;
  font-size: 16px;
  color: #000;
  cursor: pointer;
  display: flex;
  align-items: center;
}

.slide-icon {
  width: 16px;
  height: 16px;
  margin-right: 8px;
}

.nav-item.active {
  color: #1c3a60;
  font-weight: bold;
}

/* ========== 右侧主内容区 ========== */
.right-content {
  flex: 1;
  margin-left: 170px;
  padding: 40px;
  position: relative;
}

.top-btn-group {
  position: absolute;
  top: 40px;
  right: 40px;
  display: flex;
  align-items: center;
  gap: 12px;
}


.vip-icon {
  width: 14px;
  margin-right: 4px;
  transform: translateY(1px);
}

.user-icon {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  text-align: center;
  line-height: 40px;
  font-size: 12px;
  color: #999;
  overflow: hidden;
  cursor: pointer;
}

.user-icon img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.center-wrap {
  width: 1024px;
  margin: 0 auto;
  padding-top: 60px;
}

/* ========== 咨询输入模块 ========== */
.consult-box {
  text-align: center;
  margin-bottom: 80px;
}

.consult-title {
  font-size: 32px;
  font-weight: bold;
  color: #1c3a60;
  margin-bottom: 16px;
  display: block;
}

.consult-desc {
  font-size: 16px;
  color: #999;
  margin-bottom: 30px;
  display: block;
}

.textarea-box {
  width: 100%;
  height: 160px;
  border: 1px solid #e0e0e0;
  border-radius: 8px;
  padding: 16px 24px;
  text-align: left;
}

.textarea-box textarea {
  width: 100%;
  height: 100%;
  border: none;
  outline: none;
  font-size: 16px;
  line-height: 24px;
  resize: none;
  background: transparent;
}

.btn-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 16px;
}

.left-group {
  display: flex;
  align-items: center;
  gap: 16px;
}

.remain-count {
  font-size: 14px;
  color: #666;
}

.btn-upgrade {
  width: 90px;
  height: 25px;
  line-height: 25px;
  background: #ff7a00;
  color: #fff;
  border: none;
  border-radius: 4px;
  font-size: 14px;
  cursor: pointer;
}

.btn-submit {
  width: 150px;
  height: 40px;
  line-height: 40px;
  background: #1a3a5f;
  color: #fff;
  border: none;
  border-radius: 20px;
  font-size: 16px;
  cursor: pointer;
}

/* ========== 通用模块样式 ========== */
.module {
  margin-bottom: 60px;
}

.module-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px;
}

.module-name {
  font-size: 24px;
  font-weight: bold;
  color: #333;
}

.more-text {
  font-size: 16px;
  color: #1c3a60;
  cursor: pointer;
}

.top-btn-group {
  position: absolute;
  top: 20px;
  right: 40px;
  display: flex;
  align-items: center;
  gap: 12px;
}

.btn-subscribe {
  background: #ff7a00 !important;
  color: #fff;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  padding: 4px 6px;
  display: flex;
  align-items: center;
}

.vip-icon {
  width: 14px;
  margin-right: 4px;
  transform: translateY(1px);
}

.user-icon {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  text-align: center;
  line-height: 40px;
  font-size: 12px;
  color: #999;
  overflow: hidden;
}

.user-icon img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.back {
  color: #1c3a60;
}

.user-box-info-sp {
  position: absolute;
  right: 40px;
  top: 80px;
  padding: 20px 20px 0 20px;
  background-color: #fff;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
  border-radius: 6px;
  display: none;
}

.avatar-sp {
  display: flex;
  white-space: nowrap;
  align-items: center;
  margin-bottom: 20px;

}

.avatar-sp>img {
  width: 40px;
  margin-right: 20px;
}

.avatar-name-sp {
  font-weight: bold;
  font-size: 14px;
  margin-bottom: 2px;
}

.id-sp {
  font-size: 12px;
  color: gray;
}

.user-vip-sp {
  background-color: #eee;
  padding: 10px;
  border-radius: 6px;


}

.vip-info-sp {
  display: flex;
  justify-content: space-between;
  font-size: 12px;
  margin-bottom: 15px;
  color: #1a3a5f;

}

.open-box-sp {
  display: flex;
  justify-content: space-between;
  background-color: #1a3a5f;
  color: white;
  align-items: center;
  padding: 10px;
  border-radius: 6px;
  font-size: 12px;

}

.open-btn-sp {
  padding: 4px 10px;
  background-color: #ff7b00;
  border-radius: 20px;
  margin-left: 20px;
}

.menu-sp {
  padding: 20px 0 0 0;
  border-bottom: 1px solid #eee;
  font-size: 14px;
}

.menu-item-sp {
  display: flex;
  align-items: center;
  padding: 14px 0;
}

.menu-item-sp>i,
.logout>i {
  font-size: 12px;
}

.menu-item-sp>.icon,
.logout .icon {
  width: 10px;
  margin-right: 20px;

}


.logout {
  padding: 10px 0 14px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 14px;


}

.logout>.lg-left {
  display: flex;
  align-items: center;
}

.active-sp {
  display: block;
}




/* 弹窗遮罩层 */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7);
    display: none;
    justify-content: center;
    align-items: center;
    z-index: 1000;
    animation: fadeIn 0.3s ease;
}

/* 弹窗容器 */
.wechat-pay-modal {
    width: 380px;
    background-color: white;
    border-radius: 16px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
    overflow: hidden;
    animation: slideUp 0.4s ease;
    position: relative;
    left: 40%;
    top: 20%;
}

/* 弹窗头部 */
.modal-header {
    background-color: #07C160;
    color: white;
    padding: 24px 20px 20px;
    text-align: center;
    position: relative;
}

.modal-close {
    position: absolute;
    top: 16px;
    right: 16px;
    background: rgba(255, 255, 255, 0.2);
    width: 32px;
    height: 32px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    transition: background-color 0.2s;
}

.modal-close:hover {
    background: rgba(255, 255, 255, 0.3);
}

.modal-title {
    font-size: 20px;
    font-weight: 500;
    margin-bottom: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.modal-title i {
    font-size: 24px;
}

.modal-subtitle {
    font-size: 14px;
    opacity: 0.9;
}

/* 弹窗内容 */
.modal-content {
    padding: 30px 25px 25px;
}

/* 支付金额区域 */
.pay-amount {
    text-align: center;
    margin-bottom: 25px;
}

.amount-label {
    font-size: 16px;
    color: #666;
    margin-bottom: 8px;
}

.amount-value {
    font-size: 32px;
    font-weight: 600;
    color: #FF6B00;
}

.amount-currency {
    font-size: 20px;
    margin-right: 4px;
}

/* 二维码区域 */
.qrcode-container {
    background-color: #f9f9f9;
    border-radius: 12px;
    padding: 25px;
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-bottom: 25px;
    border: 1px solid #eee;
}

.qrcode-box {
    width: 200px;
    height: 200px;
    background-color: white;
    border-radius: 8px;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 20px;
    border: 1px solid #e0e0e0;
    position: relative;
    overflow: hidden;
}

.qrcode-box img {
    width: 180px;
    height: 180px;
}

.qrcode-loading {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
}

.qrcode-loading .spinner {
    width: 40px;
    height: 40px;
    border: 4px solid #f3f3f3;
    border-top: 4px solid #07C160;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

.qrcode-tip {
    font-size: 14px;
    color: #666;
    text-align: center;
    line-height: 1.5;
}

.qrcode-tip i {
    color: #07C160;
    margin-right: 5px;
}

/* 支付状态提示 */
.payment-status {
    text-align: center;
    font-size: 15px;
    color: #07C160;
    margin-top: 15px;
    display: none;
}

.payment-status i {
    margin-right: 8px;
    font-size: 18px;
}

/* 支付倒计时 */
.countdown {
    text-align: center;
    font-size: 14px;
    color: #999;
    margin-top: 10px;
}

.countdown-value {
    color: #FF6B00;
    font-weight: 600;
}

/* 动画效果 */
@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes slideUp {
    from { 
        opacity: 0;
        transform: translateY(30px);
    }
    to { 
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

@keyframes pulse {
    0% { opacity: 1; }
    50% { opacity: 0.5; }
    100% { opacity: 1; }
}

/* 响应式设计 */
@media (max-width: 480px) {
    .wechat-pay-modal {
        width: 90%;
        max-width: 350px;
    }
    
    .qrcode-box {
        width: 180px;
        height: 180px;
    }
    
    .qrcode-box img {
        width: 160px;
        height: 160px;
    }
}


/* ========== 底部信息栏：严格匹配截图 ========== */
.footer {
  width: 100%;
  padding-top: 20px;
  border-top: 1px solid #e5e7eb;
  display: flex;
  justify-content: space-between;
  font-size: 12px;
  color: #9ca3af;
  position: relative;
}
.footer-left {
  max-width: 40%;
}
.footer-text {
  font-size: 14px;
  color: #646464;
  line-height: 1.5;
  margin: 0 0 4px 0;
}
.footer-text a {
    color: #646464;
}
.footer-middle {
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.footer-middle-title {
  font-size: 14px;
  color: #222222;
  font-weight: 500;
  margin-bottom: 4px;
}
.footer-middle-link {
  font-size: 14px;
  color: #646464;
  text-decoration: none;
  cursor: pointer;
}
.footer-right {
  display: flex;
  gap: 24px;
}
.footer-icon-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  cursor: pointer;
}
.footer-icon {
  font-size: 18px;
  color: #6b7280;
}
.footer-icon-text {
  font-size: 12px;
  color: #9ca3af;
}

.logout-btn{
    cursor: pointer;
}

.loginTrue{
    display: none;
}

.loginFalse img{
    width: 40px;
    height: 40px;
    cursor: pointer;
}

div.footer-icon-item:hover div {
    display: block!important;
}







.wx-mask {
position: fixed;
left: 0;
top: 0;
right: 0;
bottom: 0;
background: rgba(0,0,0,.5);
z-index: 9999;
}

.wx-login-modal {
width: 320px;
height: 420px;
background: #fff;
border-radius: 8px;
position: absolute;
left: 50%;
top: 50%;
transform: translate(-50%, -50%);
padding-top: 20px;
}

.wx-close {
position: absolute;
right: 12px;
top: 6px;
font-size: 22px;
cursor: pointer;
}

.loginOrReg{
    display: inline-block;
    background: #2254f4;
    padding: 4px 10px;
    border-radius: 4px;
    color: #fff;
    font-size: 14px;
    cursor: pointer;
}

.isLoginShow{
    display: none;
}

