/** 
--- 功能: A股功能样式 
**/



/*******************  一. 股票(chinastock)  *******************/

/******* 切换数据维度按钮  ********/ 
.cardinnav {
    display: flex;
    justify-content: space-between;
    align-items: center; 
}
.cardinnav .title {
    font-size: 18px;
    font-weight: bold;
    color: #333;
}
.cardinnav  .tabs {
    display: flex;
}
.cardinnav  .tab {
    padding: 4px 8px;
    font-size: 12px;
    margin-right: 5px;
    border-radius: 3px;
    cursor: pointer;
    background: #f8f8f8;
    border: 1px solid #e6e6e6;
}
.cardinnav .tab.active {
    background: #1E9FFF;
    color: white;
    border-color: #1E9FFF;
}


  

/** ##.0.我的自选 **/ 
.myfavorstock { 
    padding: 10px 15px; 
} 

/* 表格容器 */
.table-container {
    width: 100%;
    overflow-x: auto;
}

/* 表格样式 */
.financial-table {
    width: 100%;
    min-width: 800px;
    border-collapse: collapse;
}

.financial-table th, .financial-table td {
    padding: 10px 15px;
    text-align: center;
    border: 1px solid #e6e6e6;white-space: nowrap;
}

.financial-table thead {
    background-color: #f8f8f8;
}

.financial-table thead th {
    font-weight: bold;
    white-space: nowrap;
}
.fixtop-tooler span{margin: 0 4px;}
.fixtop-tooler .on{ color: #ff4d4f;}

/* 第一列固定 */
.fixed1-column {
    position: sticky;
    left: 0;
    background: #fff;
    z-index: 2;
    border-right: 1px solid #ff0000; 
    width: 50px;
}  
.fixed1-header {
    position: sticky;
    left: 0;
    background: #f8f8f8;
    z-index: 3;
    border-right: 1px solid #ff0000; 
}

/* 第二列固定 */
.fixed2-column {
    position: sticky;
    left: 58px; 
    z-index: 2;
    border: 1px solid #ff0000;
    box-shadow: 2px 0 5px rgba(0,0,0,0.05);
    background: #fff;
    min-width: 120px;
}  
.fixed2-header {
    position: sticky;
    left: 58px;
    border: 1px solid #ff0000; 
    background: #f8f8f8;
    z-index: 3;
    box-shadow: 2px 0 5px rgba(0,0,0,0.05);
}

/* 最后一列固定 */
.fixedlast-column {
    position: sticky;
    right: -1px;
    background: #fff;
    z-index: 2;
    border: 1px solid #e6e6e6;
    box-shadow: 0 2px 12px rgba(0,0,0,0.05);
    min-width: 120px;
}
.fixedlast-header {
    position: sticky;
    right: -1px;
    background: #f8f8f8;
    border: 1px solid #e6e6e6;
    z-index: 3;
    box-shadow: 0 2px 5px rgba(0,0,0,0.05);
}
                       
                      







/** ##.首页。行业板块 **/ 
 .industable .layui-table{margin: 0;}
    .industable thead th{ }
        .indus-progress {
            width: 100%;
            display: flex;
            background-color: #f5f5f5;
            border-radius: 3px;
            height: 20px;
        }
        .indus-progress .progress-bar {
            height: 100%; 
            border-radius: 3px;
            background-color: #1E9FFF;
            text-align: right;
            padding-right: 5px;
            color: white;
            font-size: 12px;
            line-height: 20px;
        } 
        .indus-progress .progress-numb{
            width: 30px;
            margin-left: 4px;
            font-size: 12px;
            text-align: right;
        }














/** ##.1.自选股票 **/ 

.cxdstk-list { 
	display: grid;
grid-template-columns: repeat(5, 1fr);
gap: 0px;  
} 
.cxdstk-list  .cxdstk-item {
	padding: 10px 15px;
	border-right: 1px solid rgba(var(--cdp-main-rgb), 0.08);;
	transition: background-color 0.2s;
} 
.cxdstk-list  .cxdstk-item:last-child {
	border-bottom: none;
}

.cxdstk-list  .cxdstk-item:hover {
	background-color:rgba(var(--cdp-main-rgb), 0.08);
}

.cxdstk-main{
	display: flex;
	align-items: center;
} 
 

.cxdstk-main  .cxdstk-logo {
	width: 34px;
	height: 34px;
	border-radius: 8px;
	padding: 6px;
	margin-right: 15px;
	object-fit: cover;
	display: flex;
	align-items: center;
	justify-content: center;
	background-color: rgba(var(--cdp-main-rgb), 0.1);
	color:  rgba(var(--cdp-main-rgb), 0.9);
	font-size: 14px;
	overflow: hidden;
}
.cxdstk-main  .cxdstk-logo img{
	width: 100%;
}

.cxdstk-main  .cxdstk-info {
	flex: 1;
}

.cxdstk-main  .cxdstk-name {
	font-size: 16px;
	font-weight: 500; 
	color:  rgba(var(--cdp-main-rgb), 0.9);
	margin-bottom: 3px;
}

.cxdstk-main  .cxdstk-code {
	font-size: 12px;
	color:  rgba(var(--cdp-main-rgb), 0.8);
}

.cxdstk-main  .cxdstk-price {
	text-align: right;
	margin-left: 15px;
}

.cxdstk-main  .current-price {
	font-size: 16px;
	font-weight: 500;
	margin-bottom: 3px;
} 

.cxdstk-news {
	display: flex;
	align-items: center;
	white-space: nowrap; 
	font-size: 12px;
	margin-top: 5px;
	padding: 5px 8px;
	background-color: rgba(var(--cdp-main-rgb), 0.02);
	border-radius: 4px;
}

.cxdstk-news span {
	margin-right: 10px; 
	flex-shrink: 0; 
	color: rgba(var(--cdp-main-rgb), 0.75);
} 
.cxdstk-news a {
  overflow: hidden;
  text-overflow: ellipsis; 
  white-space: nowrap;
  display: inline-block;
	color: rgba(var(--cdp-main-rgb), 0.65);
  max-width: 100%; 
}



/* b.市场温度old*/
.mark-temperature{display: flex}
.temp-chart{width: 500px}
.temp-info{flex: 1;
    padding-top: 30px;
    text-align: center;
    transition: all 0.3s ease;
}
.temp-info .numbs {
    display: flex;
    justify-content: center;
    align-items: baseline;
    margin-bottom: 15px;
}
.temp-info .n1 {
    font-size: 72px;
    font-weight: 700;
    color: #2c3e50;
    line-height: 1;
}
.temp-info .n2 {
    font-size: 24px;
    color: #7f8c8d;
    margin-left: 5px;
}
.temp-info .descon {
    font-size: 16px;
    color: #3498db;
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 1px solid #ecf0f1;
}
.temp-info .state {
    display: flex;
    justify-content: space-around;
}
.temp-info .state span {
    padding: 8px 15px;
    border-radius: 20px;
    font-size: 14px;
    font-weight: 600;
}
.temp-info .valuation {
    background-color: #ffeaa7;
    color: #e17055;
}
.temp-info .mood {
    background-color: #dfe6e9;
    color: #636e72;
}



/* b.市场温度new20260129*/
.tempdestop {
    margin-top: 10px;
    padding-bottom: 15px;
}

.tempdestop .temtoper {
    font-size: 14px;
    color: #5a6473;
    font-weight: 500;
    line-height: 1.4;
    text-align: center;
}

.temlevel{
    text-align: center;
    margin-top: 5px;
}
.temlevel .state{
    display: inline-block;
    margin: 0 10px;
    position: relative;
}
.temlevel .state:not(:last-child)::after {
    content: '';
    position: absolute;
    right: 0;
    top: 20%;
    height: 60%;
    width: 1px;
    background: linear-gradient(to bottom, transparent, #e0e6f0, transparent);
}
.tempdestop .state span {
    margin-left: 4px;
    font-size: 14px;
    font-weight: 700;
    color: #e63946;
}



/***股票首页选股策略**/
.stkstrategyToindex{
    padding: 15px 20px;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 10px;
}

.stkstraIndexitem {
    padding: 15px;
    border-radius: 8px;
    cursor: pointer;
    text-decoration: none;
    color: rgba(var(--cdp-main-rgb), 1);
    border:1px solid rgba(var(--cdp-main-rgb), 0.05);
}
.stkstraIndexitem:hover {
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}
.strInxname {
    font-size: 16px;
    font-weight: bold;
    color: rgba(var(--cdp-main-rgb), 1);
}

.strInxnmub {
    font-size: 12px;
    color: rgba(var(--cdp-main-rgb), 0.7);
    margin-bottom: 5px;
}

.strInxtype {
    font-size: 13px;
    color: rgba(var(--cdp-main-rgb), 0.9);
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    overflow: hidden;
    text-overflow: ellipsis;
}





/* b.产业链列表区域 */
 .cxblink-list {
    padding: 0px;
}

.cxblink-list-nav {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0px;  
}

.cxblink-list-item {  
	padding: 15px 20px;
    transition: all 0.3s ease; 
    overflow: hidden;
    -webkit-transition: all 0.3s ease;
    -moz-transition: all 0.3s ease;
    -ms-transition: all 0.3s ease;
    -o-transition: all 0.3s ease;
}

.cxblink-list-item:hover {
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.12); 
}
.cxblink-list-item{
	border-bottom: 1px solid  rgba(var(--cdp-main-rgb), 0.08);
	border-right: 1px solid  rgba(var(--cdp-main-rgb), 0.08);
}
.cxblink-list-item:nth-child(even) {
	border-right: none;
}
.cxblink-list-item:last-child,
.cxblink-list-item:nth-last-child(2) {
	border-bottom: none;
}


.cxblink-list-header {
    display: flex;
    justify-content: space-between;
    align-items: center; 
}

.cxblink-title .name {
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    color: rgba(var(--cdp-main-rgb), 0.85);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.cxblink-title .name button {
    margin-left: 4px;
}

.cxblink-title .tags a {
    display: inline-block;
    background: var(--cxui-btn-type-background);
    color: rgba(var(--cdp-base-rgb), 0.65);
    border: 1px solid var(--cxui-btn-type-line-color);
    text-align: center;
    font-size: 12px;
    padding: 2px 4px;
    margin-top: 4px;
    margin-right: 6px;
    border-radius: 4px;
}

.cxblink-change {
    display: flex;
    align-items: center;
}

.cxblink-change .aslabel {
    font-size: 14px;
    color: rgba(var(--cdp-main-rgb), 0.85); 
    margin-right: 8px;
}

.cxblink-change .asvalue {
    font-size: 16px;
    font-weight: 500;
}

.cxblink-list-footer {
    display: flex;
    justify-content: space-between;
    background: var(--text-005-color);
    color: var(--text-09-color);
    padding: 6px 10px;
    margin: 5px 0;
    border-radius: 4px;
}

.cxblink-stat {
    font-size: 14px;
}

.cxblink-stat span {
    margin-right: 12px;
    color: rgba(var(--cdp-main-rgb), 0.85);
}

.cxblink-stat span:last-child {
    margin-right: 0;
}

.cxblink-stat em {
    font-style: normal;
    font-weight: bold;
    margin: 0 2px;
    color: rgba(var(--cdp-main-rgb), 0.85);
}

.cxblink-pages {
    margin-top: 20px;
}
.cxblink-list-stock{ 
    margin-top: 8px;
}
.cxblink-list-stock a{
    display: block;
    margin-top: 5px;
}
.cxblink-list-stock .n1{ 
    color: rgba(var(--cdp-main-rgb), 0.85);
    margin-right: 4px;
}
.cxblink-list-stock .n2{ 
    color: rgba(var(--cdp-main-rgb), 0.65);
    margin-right: 4px;
}










/* c.股票涨跌排行*/ 
.cxbstk-table {
	width: 100%;
	border-collapse: separate;
	border-spacing: 0;
	border-bottom-left-radius: 8px;
	border-bottom-right-radius: 8px;
	overflow: hidden;
}
.cxbstk-table th {
	background-color:rgba(var(--cdp-main-rgb), 0.15);
	color: rgba(var(--cdp-main-rgb), 0.85);
	padding: 10px 15px;
	text-align: left;
	font-weight: 600;
	position: sticky;
	top: 0;
}
.cxbstk-table td {
	padding: 13px 15px;
	border-bottom: 1px solid rgba(var(--cdp-main-rgb), 0.05);
}
.cxbstk-table tr:last-child td {
	border-bottom: none;
}
.cxbstk-table tr:hover td {
	background-color: rgba(var(--cdp-main-rgb), 0.1);
}
.cxbstk-table th.sortable {
	cursor: pointer;
	transition: background-color 0.2s;
}
.cxbstk-table th.sortable:hover {
	background-color: #495057;
} 
.cxbstk-container {
	max-width: 900px;
	margin: 0 auto;
}
.cxbstk-header {
	text-align: center;
	margin-bottom: 20px;
	color: #343a40;
}


.cxbstk-table tr td:nth-child(1){ color: rgba(var(--cdp-main-rgb), 0.85); text-align: center;}
.cxbstk-table tr td:nth-child(2){ color: rgba(var(--cdp-main-rgb), 0.85);  text-align: center;}
.cxbstk-table tr td:nth-child(3){ color: rgba(var(--cdp-main-rgb), 0.85);  text-align: center;} 
.cxbstk-table tr td:nth-child(4){ text-align: center;}
.cxbstk-table tr td:nth-child(5){ text-align: center;}







/* c.股票涨跌分布*/
.cxcstk-numbs{
	margin: 15px 0;
	padding: 0 20px;
}
.cxcstk-line {
	display: flex;
	height: 10px;
	width: 100%;
}
.cxcstk-line .up {
	background-color: #ff4d4f; 
}
.cxcstk-line .flat {
	background-color: #d9d9d9; 
	margin: 0 10px; 
}
.cxcstk-line .down {
	background-color: #52c41a; 
}

.cxcstk-text{display: flex;  }
.cxcstk-text .lineit{flex: 1;}
.cxcstk-text .lineit:first-child{ }
.cxcstk-text .lineit:last-child{ text-align: right; }
.cxcstk-text .lineit span{margin-left: 6px;}
.cxcstk-text .lineit em{margin-right: 6px; font-style: normal;}

 


/* e. 用户推荐方案列表 */
.cxestk-case{
	padding: 15px;
} 
.filter-list {
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	gap: 15px;
}
        
        .filter-card {
            background-color: white;
            border-radius: 8px;
            box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
            padding:10px 15px;
            transition: transform 0.3s;
        }
        
        .filter-card:hover {
            transform: translateY(-5px);
        }
        
        .filter-header {
            display: flex;
            justify-content: space-between;
            margin-bottom: 15px;
        }
        
        .filter-title {
            font-size: 16px;
            font-weight: bold;
            color: #2c3e50;
        }
        
        .creator-info {
            display: flex;
            align-items: center;
            gap: 8px;
        }
        
        .creator-avatar {
            width: 24px;
            height: 24px;
            border-radius: 50%;
            background-color: #e74c3c;
            display: flex;
            align-items: center;
            justify-content: center;
            color: white;
            font-size: 12px;
            font-weight: bold;
        }
        
        .creator-name {
            font-size: 14px;
            color: #7f8c8d;
        }
        
        .filter-criteria {
            margin-bottom: 15px;
			display: grid;
			grid-template-columns: repeat(2, 1fr);
			gap: 8px;
        }
        
        .criteria-item {
            display: flex;
            justify-content: space-between; 
            font-size: 14px;
            color: #34495e;
        }
        
        .criteria-label {
            font-weight: bold;
        }
        
        .filter-stats {
            display: flex;
            justify-content: space-between;
            font-size: 13px;
            color: #7f8c8d;
            border-top: 1px solid #ecf0f1;
            padding-top: 15px;
        }








/* f. 舆情排行 */
.cxfstk-rank{
	padding: 15px;
} 



.cxfstk-main{display: flex;}
.cfitem{flex: 1;}


.ranking-item {
  display: flex;
  flex-direction: column;
  border-top: 1px solid rgba(var(--cdp-main-rgb), 0.08);
  transition: all 0.3s;
  padding: 10px 15px;
}

.ranking-item:hover {
  background-color: rgba(var(--cdp-main-rgb), 0.06);
}

.ranking-item:last-child{
	border-bottom: none;
}




.ranking-main {
  display: flex;
  align-items: center;
}

.ranking-number {
  width: 28px;
  height: 28px;
  line-height: 28px;
  margin-right: 10px;
  background: rgba(var(--cdp-main-rgb), 0.12);
  color: rgba(var(--cdp-main-rgb), 0.7);
  font-size: 14px;
  text-align: center;
  border-radius: 40px;
  -webkit-border-radius: 40px;
  -moz-border-radius: 40px;
  -ms-border-radius: 40px;
  -o-border-radius: 40px;
}

.ranking-name {
    font-size: 16px;
  width: 80px;
  font-weight: bold;
  color: rgba(var(--cdp-main-rgb), 0.9);
}

.ranking-code {
  width: 100px;
  color: rgba(var(--cdp-main-rgb), 0.6);
  font-size: 14px;
}

.ranking-type {
  width: 100px;
  padding: 3px 8px;
  border-radius: 4px;
  font-size: 12px;
  text-align: center;
  background-color: #f0f8ff;
   color: #1e50a2;
}

.ranking-value {
	flex: 1;
  font-weight: bold;
  text-align: right;
}
.ranking-value .val1{
	font-size: 18px;
}
.ranking-value .val2{
	font-size: 16px;
	margin-left: 6px;
}

.ranking-changes {
  width: 100px;
  text-align: right;
  font-weight: bold;
}
 



.ranking-news {
	display: flex;
	align-items: center;
	white-space: nowrap; 
	font-size: 12px;
	margin-top: 3px;
	padding: 5px 8px;
	background-color: rgba(var(--cdp-main-rgb), 0.02);
	border-radius: 4px;
}

.ranking-news span {
	margin-right: 10px; 
	flex-shrink: 0; 
	color: rgba(var(--cdp-main-rgb), 0.75);
} 
.ranking-news a {
  overflow: hidden;
  text-overflow: ellipsis; 
  white-space: nowrap;
  display: inline-block;
  color: rgba(var(--cdp-main-rgb), 0.65);
  max-width: 100%; 
}

 



/* f. 新闻资讯列表 */
 

        .cxcstk-news{
        }
.cxcstk-news .news-item {
    padding: 10px 15px;
            border-bottom: 1px solid rgba(var(--cdp-main-rgb), 0.1);
        }
.cxcstk-news .news-header {
            display: flex;
            align-items: center;
            gap: 10px;
            margin-bottom: 8px;
            width: 100%;
        }
.cxcstk-news .news-time {
            color: #888;
            font-size: 14px;
            flex-shrink: 0;
        }
.cxcstk-news .nwtit{
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.cxcstk-news .news-title {
            font-size: 16px;
            font-weight: bold;
            color: #333;
            white-space: nowrap;
            overflow: hidden;
            text-overflow: ellipsis;
            flex-grow: 1;
            min-width: 0;
        }
.cxcstk-news .news-source {
            color: #666;
            font-size: 14px;
            flex-shrink: 0;
            margin-left: auto;
        }
.cxcstk-news .stock-tags {
            display: flex;
            flex-wrap: wrap;
            gap: 10px;
            margin-top: 8px;    max-height: 30px;
    overflow: hidden;
        }
.cxcstk-news .stock-tag {
            background-color: #f0f7ff;
            color: #1890ff;
            padding: 4px 8px;
            border-radius: 4px;
            font-size: 13px;
        }

        .more-button {
            display: block;
            width: 100%;
            padding: 8px 10px;
            margin-top: 20px;
            background-color: #f0f7ff;
            color: #1890ff;
            border: 1px solid #1890ff;
            border-radius: 4px;
            text-align: center;
            font-size: 14px;
            cursor: pointer;
            transition: all 0.3s;
        }
        .more-button:hover {
            background-color: #1890ff;
            color: white;
        }




/** ##.行业热力分布图 **/ 

.chart-cardwrapper {
            display: flex;
            flex-direction: column;
            gap: 25px;
        }
        .chart-cardwrapper .chart-container {
            width: 100%;
            height: 500px;
            overflow: hidden;
        }
        .chart-cardwrapper .controls {
            display: flex;
            justify-content: center;
            gap: 15px;
            flex-wrap: wrap;
        }
        .chart-cardwrapper .controls .btn {
            padding: 6px 16px;
            background: #2f54eb;
            color: white;
            border: none;
            border-radius: 4px;
            cursor: pointer;
            font-size: 14px; 
            transition: all 0.3s ease;
        }
        .chart-cardwrapper .btn:hover {
            background: #1d39c4;
            transform: translateY(-2px);
            box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
        }
        .chart-cardlegend{
            display: flex;
            justify-content: center;
            margin-top: 25px;
            gap: 35px;
            flex-wrap: wrap;
        }
       .chart-cardlegend .legend-item {
            display: flex;
            align-items: center;
            font-size: 16px;
            font-weight: 500;
        }
        .chart-cardlegend .legend-color {
            width: 24px;
            height: 24px;
            margin-right: 10px;
            border-radius: 4px;
        } 

/********************************** 我的自选页面 **********************************/


/** ##.新闻列表 **/ 


.myfavornes{}
.layui-tabs-header{height: 48px;}
.layui-tabs-header li{line-height: 48px;}
.myfavornes .layui-tabs-body{padding: 0;}
.announcement-list {
    list-style: none;
} 
.announcement-item {
    display: flex;
    align-items: center;
    padding: 10px 20px;
    border-bottom: 1px solid rgba(var(--cdp-main-rgb), 0.1);
    transition: background-color 0.2s;
} 
.announcement-item:hover {

}
 
.time-section {
    display: flex;
    align-items: center;
    margin-right: 10px;
    min-width: 70px;
}

    .time-section .time {
    font-size: 14px;
    color: #666;
    margin-right: 10px;
}

    .tag {
        display: flex;
    align-items: center;
    justify-content: center;

    padding: 3px 8px;
    border-radius: 4px;
    font-size: 12px;
    margin-right: 10px;
    font-weight: 500;
}
.tag-announcement {
    background-color: #e6f7ff;
    color: #1890ff;
}

.tag-news {
    background-color: #f6ffed;
    color: #52c41a;
}


    
.content {
    flex: 1;
    margin-right: 15px;
}

.announcement-title {
    font-size: 15px;
    margin-bottom: 4px;
    line-height: 1.4;
    color: rgba(var(--cdp-main-rgb), 1);
}

.stkinfo {
    display: flex;
    align-items: center; 
    margin-top: 8px;
}

.stkcode {
    font-size: 13px;
    color: #888;
    display: flex;
    align-items: center;
}

.dot {
    margin: 0 5px;
}

.pdf-button {
    background-color: #f0f0f0;
    color: #e33;
    font-size: 12px;
    padding: 2px 6px;
    border-radius: 4px;
    text-decoration: none;
    font-weight: 500;
    margin-left: 8px;
}









 



