@charset "UTF-8";
* {
    box-sizing: border-box;
}

body {
    font: "Helvetica Neue",Helvetica,Arial,"Microsoft Yahei","Hiragino Sans GB","Heiti SC","WenQuanYi Micro Hei",sans-serif;
    padding: 1px;
    background: #f6e4e4;
}

p {
    font-size: 18px;
    line-height: 1.5;
    text-indent:2em;
}

h3 {
    line-height: 1.5;
    text-indent:2em;
}

/* 设置滚动条样式 */
::-webkit-scrollbar {
    width: 10px;
}

::-webkit-scrollbar-thumb {
    background-color: var(--main_text_color, #000000);
    border-radius: 8px;
    height: 20%;
}

::-webkit-scrollbar-track {
    background-color: var(--main_bg_color, linear-gradient(50deg, #a2d0ff, #ffffff));
}

/* 头部标题 */
.header {
    padding: 10;
    text-align: center;
    background: white;
}
   
.header h1 {
    font-size: 50px;
}

/* 导航条 */
.topnav {
    overflow: hidden;
	top: 0;
	padding: 5px;
	background-color: #fce4e4;
	border: 2px solid #f9aaaa;
    margin-bottom: 0.5rem;
}
   
/* 导航条链接 */
.topnav a, .dropbtn{
    float: left;
    display: block;
    color: #000000;
    text-align: center;
    padding: 14px 16px;
    text-decoration: none;
    font-weight: bold;
}
   
/* 链接颜色修改 */
.topnav a:hover, .dropdown:hover, .dropbtn {
    background-color: #ddd;
    color: black;
    font-weight: bold;
}

/* 新的导航条 */
.cancerlist {
    overflow: hidden;
	top: 0;
	padding: 5px 15px;
	background-color: #fce4e4;
	border: 2px solid #7344f3;
    margin-bottom: 0.3rem;
    border-radius: 15px;
    justify-content: center;
    align-items: center;
}
   
/* 新的导航条链接 */
.cancerlist a, .dropbtn{
    float: left;
    display: block;
    color: #000000;
    text-align: justify;
    padding: 5px 24px;
    font-weight: bold;
    border-radius: 10px;
    text-decoration: none;
}
   
/* 新的链接颜色修改 */
.cancerlist a:hover, .dropdown:hover, .dropbtn {
    background-color: #ddd;
    color: black;
}

.disactive {
    width: 100px;
    height: 30px;
    float: left;
    text-align: center;
}
.disactive a {
    display: block;
    color: #000000;
    text-align: center;
    padding: 5px 15px;
    font-weight: bold;
    border-radius: 10px;
    text-decoration: none;
}

.active2{
    width: 100px;
    height: 30px;
    float: left;
}

.active2 a{
    display: block;
    color: #056cfc;
    text-align: center;
    padding: 4px 15px;
    font-weight: bold;
}

/* 癌症导航条 
.cancerlist {
    overflow: auto;
    /*position: fixed;
	position: -webkit-sticky;
	position: sticky;
	top: 0;
	padding: 3px;
	background-color: #fce4e4;
	border: 2px solid #3c0ccb;
    /*overflow-y: scroll;
    height: auto;
    width: 100%;
    border-radius: 25px;
    margin-bottom: 0.8rem;
}
   
/* 癌症导航条 
.cancerlist a, .dropbtn{
    float: left;
    display: block;
    color: #000000;
    text-align: center;
    padding: 5px;
    text-decoration: none;
}
   
/* 癌症导航条
.cancerlist a:hover, .dropdown:hover, .dropbtn {
    background-color: #ddd;
    color: black;
}

/*滚动轴
.cancerlist::-webkit-scrollbar {
    display: none;
}*/

.dropdown {
    display: inline-block;
}

.dropdown-content {
    display: none;
    position: absolute;
    background-color: #f9f9f9;
    min-width: 160px;
    box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);
}

.dropdown-content a {
    color: black;
    padding: 12px 16px;
    text-decoration: none;
    display: block;
}

.dropdown-content a:hover {background-color: #f1f1f1}

.dropdown:hover .dropdown-content {
    display: block;
}


/* 创建三个相等的列 */
.column {
    float: left;
    padding: 10px;
}

/*滚动轴*/
.column::-webkit-scrollbar {
    display: none;
}

/* 左右两侧宽度 */
.column.side {
    overflow-y: scroll;
    height: 50vh;
    width: 20%;
}

.column.side a {
    color: black;
    text-decoration: none;
    display: block;
}

/* 中间区域宽度 */
.column.middle {
    width: 60%;
}
  
/* 列后面清除浮动 */
.row:after {
    content: "";
    display: table;
    clear: both;
}

/*参考文献区域的格式*/
.referencelist a{
    color: black;
    text-decoration: none;
    display: block;
}

/*返回顶部按钮*/
.backupBtn {
    /*display: none;  默认隐藏 */
    position: fixed; 
    bottom: 17px; 
    right: 15px; 
    z-index: 99; 
    border: none;
    outline: none; 
    background-color: rgba(138, 226, 226, 0.7); /* 设置背景颜色，你可以设置自己想要的颜色或图片 */
    color: white; /* 文本颜色 */
    cursor: pointer; 
    padding: 15px; 
    border-radius: 50px; /* 圆角 */
    font-weight: bold;
}
 
#myBtn:hover {
    background-color: #555; 
}

/*地区专家目录*/
.expertlist {
	top: 0;
	padding: 5px;
	background-color: #fce4e4;
    overflow-y: scroll;
    height: 18vh;
    width: 100%;
    margin-bottom: 0.5rem;
}

.expertlist a {
    float: left;
    display: block;
    color: #000000;
    text-align: center;
    padding: 5px;
    text-decoration: none;
}

/*js目录渲染*/
#catalogs {
	position: sticky;
	box-sizing: border-box;
	overflow-y: auto;
}


.smallbox {
    flex-shrink: 0;
    width: 100%;
    border-radius: 2px;
    margin-top: 2px;
    padding: 2px;
}

.right-tag {
    overflow: hidden;
    position: relative;
	top: 0;
	padding: 2px;
	background-color: #fce4e4;
	border: 2px solid #7344f3;
    margin-bottom: 0.5rem;
    border-radius: 20px;
    justify-content: center;
    align-items: center;
    /*background: #a0daeb; */
}

.right-tag a {
    float: left;
    display: block;
    color: #000000;
    padding: 5px;
    font-weight: bold;
    font-size: 18px;
}

.catalog-h2 {
	margin-left: 1em;
}
.catalog-h3 {
	margin-left: 2em;
}
.catalog-h4 {
	margin-left: 3em;
}
.catalog-h5 {
	margin-left: 4em;
}
.catalog-h6 {
	margin-left: 5em;
}

/* 响应式布局 - 宽度大于500px时设置标准布局 */
@media screen and (min-width: 700px) {
    .column.side {
        overflow-y: scroll;
        height: 100vh;
        width: 20%;
        position: sticky;
        top: 0;
        left: 0;
        align-items: center;
        flex-direction: column;
    }
    /*
    .cancerlist {
        padding: 3px;
        height: 6vh;
    }*/
}

@media screen and (max-width: 700px) {
    /* 导航栏优化 */
    .topnav {
        flex-direction: column;
        padding: 10px;
    }
    
    .topnav > div {
        width: 100%;
        margin: 5px 0;
    }
    
    .topnav a {
        padding: 10px 0;
        display: block;
        text-align: center;
    }
    
    .vip-header, .auth-header {
        width: 100%;
        text-align: center;
        margin-top: 10px;
    }
    
    /* VIP和登录按钮优化 */
    .vip-link, .auth-link {
        padding: 8px 15px;
        font-size: 16px;
        display: inline-block;
        margin: 5px auto;
    }
    
    /* 用户信息优化 */
    .user-info {
        display: block;
        text-align: center;
    }
    
    .logout-link {
        position: relative;
        top: 0;
        left: 0;
        display: block;
        margin-top: 5px;
    }
}

/* 响应式布局 -屏幕尺寸小于 500px 时，导航等布局改为上下布局 */
@media screen and (max-width: 700px) {
    .column.side,.column.middle {
      width: 100%;
    }
    .column.side {
        overflow-y: scroll;
        height: 50vh;
    }
    .topnav a {
      float: none;
      width: 100%;
    }

    .cancerlist {
        padding: 3px 12px;
    }

    .cancerlist a{
        padding: 5px 8px;
    }

    .vip-header {
        width: 100%;
    }

    .auth-header {
        width: 100%;
    }
}
  
/* 底部样式 */
.footer {
    background-color: #000000;
    padding: 15px;
    text-align: center;
    bottom: 0;
    color:#f9f9f9;
    width: 100%;
}

.footer a{
    color: white;
    text-decoration: none;
}

ul {
    list-style-type: none;
    margin: 0;
    padding: 0;
    overflow: hidden;
    background-color: #333;
    position: fixed;
    top: 0;
    width: 100%;
}

li {
    float: left;
}

li a {
    display: block;
    color: white;
    text-align: center;
    padding: 14px 16px;
    text-decoration: none;
}

li a:hover:not(.active) {
    background-color: #111;
}

.active {
    background-color: #b1eaea;
    border-bottom-style: solid;
    border-width:4px;
    border-color:#056cfc;
    font-weight: bold;
}

.active1 {
    border-style:solid dotted;
    /*border-bottom-style: solid;*/
    border-width:2px;
    border-color:#056cfc;
    font-weight: bold;
}

/* 基础样式 */
body {
    margin: 0;
    font-family: Arial, sans-serif;
    min-height: 100vh;
}
    
/* 新增VIP状态样式 */
.vip-status {
    position: fixed;
    bottom: 90px;
    right: 30px;
    padding: 8px 16px;
    background: #4CAF50;
    color: white;
    border-radius: 15px;
    font-size: 14px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    cursor: help;
    transition: all 0.3s;
}

.vip-status.inactive {
    background: #f44336;
}

.vip-status::after {
    content: "ℹ";
    margin-left: 8px;
    font-size: 12px;
}


/* VIP按钮样式 */
#vipBtn {
    border-radius: 25px;
    cursor: pointer;
    transition: transform 0.2s;
}

#vipBtn:hover {
    transform: scale(1.05);
}

/* 卡片容器 */
#vipCard {
    display: none;
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: white;
    padding: 30px;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
    z-index: 1000;
    width: 500px;
    max-width: 90%;
}

/* 卡片标题 */
.card-title {
    text-align: left;
    margin: 0 0 20px 0;
    color: #333;
    font-size: 24px;
}

/* 套餐选项 */
.package {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px;
    margin: 10px 0;
    background: #f8f9fa;
    border-radius: 10px;
    transition: all 0.3s;
    cursor: pointer;
}

.package:hover {
    background: #e9ecef;
    transform: translateX(5px);
}

.package.active {
    background: #fff3cd;
    border: 2px solid #ffd700;
}

.price {
    color: #ff8c00;
    font-weight: bold;
}

/* 购买按钮 */
.buy-btn {
    background: #28a745;
    color: white;
    border: none;
    padding: 8px 16px;
    border-radius: 5px;
    cursor: pointer;
}

/* 遮罩层 */
.overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.5);
    display: none;
    z-index: 999;
}

.vip-header {
    top: 20px;
    right: 20px;
    text-align: right;
    z-index: 100;
    float:right;
    position: static;
    overflow: hidden;
}

.vip-link {
    display: inline-block;
    position: relative;
    padding: 10px 20px;
    background: linear-gradient(45deg, #ffd700, #ff8c00);
    border-radius: 20px;
    color: white !important;
    text-decoration: none;
    transition: all 0.3s;
    font-weight: bold;
}

.vip-link::before {
    content: "";
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(45deg,
    transparent 25%,
    rgba(255, 255, 255, 0.3) 50%,
    transparent 75%);
    transform: rotate(45deg);
    animation: shine 3s infinite;
}

.vip-link:hover {
    transform: scale(1.05);
}

/* 新增价格样式 */
.price-info {
    flex-grow: 1;
}

.price-group {
    margin: 8px 0;
    display: flex;
    align-items: baseline;
    gap: 10px;
}

.original-price {
    color: #999;
    font-size: 14px;
    text-decoration: line-through;
}

.discount-price {
    color: #ff4757;
    font-size: 24px;
    font-weight: 700;
}

.price-unit {
    font-size: 14px;
    font-weight: normal;
    margin-left: 2px;
}

.discount-text {
    color: #2ed573;
    font-size: 12px;
    margin: 4px 0 0;
}

/* 推荐标签 */
.best-value {
    background: #ffd700;
    color: #333;
    font-size: 12px;
    padding: 2px 8px;
    border-radius: 10px;
    margin-left: 8px;
}

/* 限时特惠标签 */
.discount-tag {
    background: #ff4757;
    color: white;
    font-size: 14px;
    padding: 4px 12px;
    border-radius: 15px;
    margin-left: 10px;
}

/* 年度特惠飘带 */
.ribbon {
    position: absolute;
    top: -8px;
    right: -8px;
    background: #ff6b81;
    color: white;
    padding: 6px 20px;
    font-size: 12px;
    transform: rotate(15deg);
    box-shadow: 0 2px 4px rgba(0,0,0,0.2);
}

/* 高亮推荐套餐 */
.package.highlight {
    border: 2px solid #ffd700;
    position: relative;
    overflow: visible;
}

/* 登录卡片容器 */
.auth-header {
    position: static;
    float: right;
    top: 20px;
    right: 20px;
    z-index: 100;
    transition: all 0.3s;
    overflow: visible;
}

.auth-link {
    display: inline-block;
    padding: 10px 25px;
    background: linear-gradient(135deg, #4b6cb7 0%, #182848 100%);
    border-radius: 8px;
    color: white !important;
    text-decoration: none;
    font-size: 14px;
    box-shadow: 0 3px 10px rgba(75, 108, 183, 0.3);
    border: 1px solid rgba(255,255,255,0.2);
    transition: all 0.3s;
    position: relative;
    overflow: hidden;
    font-weight: bold;
}

/* 动态流光效果 */
.auth-link::before {
    content: "";
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(45deg, 
        transparent 25%,
        rgba(255,255,255,0.1) 50%,
        transparent 75%);
    transform: rotate(45deg);
    animation: shine 3s infinite;
    font-weight: bold;
}

.auth-link {
    display: inline-block;
    background: linear-gradient(135deg, #4b6cb7 0%, #182848 100%);
    border-radius: 8px;
    color: white !important;
    text-decoration: none;
    font-size: 19px;
    box-shadow: 0 3px 10px rgba(75, 108, 183, 0.3);
    border: 1px solid rgba(255,255,255,0.2);
    transition: all 0.3s;
    position: relative;
    overflow: hidden;
    font-weight: bold;
}

/* 动态流光效果 */
.auth-link::before {
    content: "";
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(45deg, 
        transparent 25%,
        rgba(255,255,255,0.1) 50%,
        transparent 75%);
    transform: rotate(45deg);
    animation: shine 3s infinite;
}

.account-dropdown {
    position: relative;
    display: inline-block;
}

.account-link {
    cursor: pointer;
}

.logout-dropdown {
    display: none; /* 初始隐藏 */
    position: absolute;
    top: 100%;
    left: 0;
    background: #fff;
    padding: 10px;
    border-radius: 8px;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.2);
    z-index: 1;
}


.user-info {
    position: relative;
    cursor: pointer;
}

.logout-link {
        position: relative;
        top: 100%; /* 使注销按钮在用户信息的下方 */
        left: 0;
        right: 0;
        display: none; 
        z-index: 100;
        padding: 20px;
        box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
        text-align: center;
        text-decoration: none;
        border: 1px solid #eee;
}


/* 动画效果 */
@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/*@keyframes shine {
    0% { transform: translateX(-100%) rotate(45deg); }
    100% { transform: translateX(100%) rotate(45deg); }
}*/

#loginCard {
  display: none;
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background: white;
  border-radius: 15px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.2);
  z-index: 1001;
  width: 800px;
  max-width: 90%;
  min-height: 355px;
  overflow: hidden;
}

.login-container {
  display: flex;
  height: 100%;
}

/* 左侧动态图片区 - 修改颜色 */
.login-left {
  flex: 1;
  background: linear-gradient(135deg, #3b5998 0%, #192f6a 100%);
  position: relative;
  overflow: hidden;
  min-height: 300px;
}

.animated-bg {
  position: absolute;
  width: 100%;
  height: 100%;
  background: url('https://source.unsplash.com/random/800x600') center/cover;
  opacity: 0.8;
  animation: slide 3s infinite alternate;
}

@keyframes slide {
    0% { transform: scale(1) translateX(0); }
    100% { transform: scale(1.1) translateX(-5%); }
}

/* 修改覆盖层颜色 */
.login-left::after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, rgba(59, 89, 152, 0.6), rgba(25, 47, 106, 0.8));
}

/* 右侧表单区 - 调整背景色 */
.login-right {
    flex: 1;
    padding: 40px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    background: #f8f9fa; /* 新增背景色 */
}

.login-title {
    text-align: center;
    margin-bottom: 30px;
    color: #2d3748;
    font-size: 24px;
    font-weight: 600;
}

.form-group {
    margin-bottom: 20px;
}

.form-input {
    width: 90%;
    padding: 12px;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    font-size: 14px;
    transition: all 0.3s;
    background: white;
}

.form-input:focus {
    border-color: #667eea;
    box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1);
    outline: none;
}

.code-group {
    display: flex;
    gap: 10px;
}

.send-code-btn {
    background: #4a5568;
    color: white;
    border: none;
    padding: 12px 20px;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s;
    white-space: nowrap;
}

.send-code-btn:disabled {
    background: #cbd5e0;
    cursor: not-allowed;
}

.login-btn {
    width: 100%;
    padding: 12px;
    background: linear-gradient(45deg, #4a5568, #2d3748);
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 16px;
    cursor: pointer;
    margin-top: 20px;
    transition: transform 0.2s;
}

.login-btn:hover {
    transform: scale(1.02);
}

.user-info {
    display: flex;
    align-items: center;
    gap: 15px;
}

.user-mobile {
    color: #fff;
    font-weight: 500;
}




/* 响应式调整 */
@media (max-width: 768px) {
    .auth-header {
        right: 20px;
        top: 70px;
    }
    
    .auth-link {
        padding: 8px 20px;
        font-size: 13px;
    }
    
    .login-container {
        flex-direction: column;
    }
    
    .login-left {
        height: 250px;
        min-height: auto;
    }
    
    .login-right {
        padding: 30px 20px;
        background: white;
    }
}