.industry-table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 20px;
    font-size: 14px;
}

.industry-table th,
.industry-table td {
    border: 1px solid #ebeef5;
    padding: 8px;
    vertical-align: top;
}

.industry-table th {
    background-color: #f5f7fa;
    text-align: center;
    font-weight: bold;
}

.industry-table tbody tr:hover {
    background-color: #f5f7fa;
}

/* 行业图标样式 */
.industry-item {
    display: flex;
    align-items: center;
    gap: 8px;
}

.industry-circle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    color: white;
    font-weight: bold;
    font-size: 16px;
}

.stock-count {
    display: inline-block;
    background-color: #ff6b6b;
    color: white;
    border-radius: 10px;
    padding: 2px 8px;
    font-size: 12px;
    margin-left: 5px;
}

/* 行业颜色 */
.agriculture {
    background-color: #4CAF50; /* 绿色 - 农业 */
}

.medical {
    background-color: #2196F3; /* 蓝色 - 医药 */
}

.trade {
    background-color: #FF9800; /* 橙色 - 中日韩贸易 */
}

.foreign-trade {
    background-color: #9C27B0; /* 紫色 - 外贸 */
}

.food {
    background-color: #E91E63; /* 粉色 - 食品饮料 */
}

.retail {
    background-color: #00BCD4; /* 青色 - 零售 */
}

.other {
    background-color: #607D8B; /* 灰蓝色 - 其他 */
}

/* 股票列表样式 */
.stocks-cell {
    width: 70%;
}

.stocks-container {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.stock-item {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    background-color: #f9f9f9;
    border-radius: 4px;
    padding: 5px 8px;
    margin: 3px;
    border: 1px solid #e0e0e0;
    flex-wrap: wrap;
    max-width: 100%;
}

.stock-item a {
    color: #333;
    font-weight: bold;
    text-decoration: none;
}

.stock-item a:hover {
    color: #1E9FFF;
}

.stock-code {
    color: #888;
    font-size: 12px;
}

.stock-pchg {
    font-weight: bold;
    font-size: 12px;
    padding: 1px 4px;
    border-radius: 2px;
}

.positive-pchg {
    color: #f56c6c;
    background-color: rgba(245, 108, 108, 0.1);
}

.negative-pchg {
    color: #67c23a;
    background-color: rgba(103, 194, 58, 0.1);
}

.time-label {
    font-size: 12px;
    color: #606266;
    background-color: #f0f0f0;
    padding: 1px 4px;
    border-radius: 2px;
}

.lianban-label {
    font-size: 12px;
    color: white;
    background-color: #e6a23c;
    padding: 1px 4px;
    border-radius: 2px;
}

.zhaban-label {
    font-size: 12px;
    color: white;
    background-color: #909399;
    padding: 1px 4px;
    border-radius: 2px;
}

/* 响应式布局 */
@media (max-width: 768px) {
    .stocks-container {
        flex-direction: column;
    }
    
    .stock-item {
        
    }
    
    .industry-table th:first-child,
    .industry-table td:first-child {
        display: none;
    }
}

/* 2连板及以上特殊标记 */
.lianban-2 {
    background-color: #e6a23c;
}

.lianban-3 {
    background-color: #f56c6c;
}

.lianban-4-plus {
    background-color: #ff0000;
    animation: blink 1s infinite;
}

@keyframes blink {
    0% { opacity: 1; }
    50% { opacity: 0.5; }
    100% { opacity: 1; }
}