﻿/* 股票基本信息表格 */
.stock-info-table {
    background-color: #001755;
    color: #fff;
    padding: 0;
    margin: 0;
    position: relative;
    overflow: hidden;
    border-top: none;
    border-bottom: none;
}

.stock-info-title {
    font-size: 32px;
    font-weight: bold;
    color: #ffffff;
    text-align: center;
    margin: 2px 0;
    text-shadow: 0 0 10px rgba(0, 183, 214, 0.8), 0 0 20px rgba(0, 102, 204, 0.5);
    letter-spacing: 2px;
}

.stock-info-container {
    display: flex;
    align-items: stretch;
    justify-content: space-between;
    position: relative;
    height: 180px;
    border: 2px solid #0066CC;
    margin: 0 10px 5px;
    border-radius: 10px;
    box-shadow: 0 0 20px rgba(0, 102, 204, 0.4), inset 0 0 30px rgba(0, 40, 120, 0.4);
    background: linear-gradient(135deg, #001e6c, #001755, #00123d);
    overflow: hidden;
    padding: 8px;
}

/* 添加容器发光边框效果 */
.stock-info-container::before {
    content: '';
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    border-radius: 12px;
    background: linear-gradient(45deg, #0066CC, transparent, #00b7d6, transparent, #0066CC);
    background-size: 400% 400%;
    z-index: -1;
    animation: border-glow 8s ease infinite;
    opacity: 0.8;
}

@keyframes border-glow {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

/* 添加容器内部光效 */
.stock-info-container::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 30% 50%, rgba(0, 102, 204, 0.1) 0%, transparent 60%);
    pointer-events: none;
}

.stock-info-left {
    width: 18%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    position: relative;
    background: linear-gradient(to bottom, rgba(0, 30, 108, 0.5), rgba(0, 23, 85, 0.5));
    border-right: 1px solid rgba(0, 102, 204, 0.3);
    overflow: hidden;
    padding: 5px;
}

/* 添加左侧区域光效 */
.stock-info-left::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at center, rgba(255, 75, 75, 0.1) 0%, transparent 70%);
    z-index: 0;
}

.stock-info-right {
    width: 82%;
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 5px;
}

/* 静态箭头容器 */
.static-arrow-container {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    height: 100%;
    padding: 0 5px;
}

/* 静态箭头样式 */
.static-arrow {
    position: relative;
    z-index: 2;
    filter: drop-shadow(0 0 15px rgba(255, 75, 75, 0.8));
    animation: pulse-arrow 2s infinite ease-in-out;
    transform-origin: center;
}

/* 箭头发光效果 */
.arrow-glow {
    position: absolute;
    width: 150%;
    height: 150%;
    background: radial-gradient(circle at center, rgba(255, 75, 75, 0.5) 0%, transparent 70%);
    z-index: 1;
    animation: pulse-glow 2s infinite ease-in-out;
    border-radius: 50%;
}

/* 箭头脉冲动画 */
@keyframes pulse-arrow {
    0% { transform: scale(1); }
    50% { transform: scale(1.05); }
    100% { transform: scale(1); }
}

/* 发光效果动画 */
@keyframes pulse-glow {
    0% { opacity: 0.5; }
    50% { opacity: 0.8; }
    100% { opacity: 0.5; }
}

/* 水平线样式（可以移除，因为我们不再使用） */
.horizontal-line {
    display: none;
}

.stock-trend-arrow {
    display: none;
}

.up-arrow svg {
    fill: #FF4B4B;
    width: 70px;
    height: 70px;
    filter: drop-shadow(0 0 8px rgba(255, 75, 75, 0.6));
    display: block !important;
    opacity: 1 !important;
    visibility: visible !important;
}

/* 移除下降箭头样式，确保只显示上涨箭头 */
.down-arrow {
    display: none !important;
}

.vertical-line {
    position: absolute;
    left: 0;
    top: 15%;
    height: 70%;
    width: 1px;
    background: linear-gradient(to bottom, transparent, rgba(0, 183, 214, 0.7), transparent);
    box-shadow: 0 0 8px rgba(0, 183, 214, 0.5);
}

.stock-data-table {
    width: 90%;
    border-collapse: collapse;
    color: #fff;
    border-spacing: 0;
    margin-left: 15px;
}

.stock-data-table tr {
    border: none;
    height: 55px;
}

.stock-data-table td {
    padding: 8px 10px;
    text-align: center;
    font-size: 18px;
    font-weight: normal;
    border: none;
    letter-spacing: 1px;
}

.stock-data-table td:first-child {
    width: 5%;
}

.stock-data-table td:nth-child(2),
.stock-data-table td:nth-child(3),
.stock-data-table td:nth-child(4) {
    width: 30%;
}

/* 调整底部信息栏 */
.bottom-info-bar {
    margin: -50px 0 0 0;
    padding: 5px 0;
}

.bottom-info-title {
    margin: 5px 0;
    font-size: 24px;
}

/* 股票数据网格布局 */
.stock-data-grid {
    display: flex;
    flex-direction: column;
    width: 95%;
    height: 100%;
    justify-content: space-around;
    padding: 3px 0;
    margin-left: 20px;
}

.data-row {
    display: flex;
    justify-content: space-between;
    width: 100%;
    position: relative;
    padding: 1px 0;
    margin: 1px 0;
}

.data-row:hover {
    background: linear-gradient(to right, transparent, rgba(0, 102, 204, 0.1), transparent);
}

.data-row::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 5%;
    width: 90%;
    height: 1px;
    background: linear-gradient(to right, transparent, rgba(0, 255, 255, 0.2), transparent);
}

.data-cell {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 2px 1px;
    max-width: 28%;
}

.data-cell:first-child {
    flex: 0.1;
    max-width: 5%;
}

.data-cell:last-child {
    max-width: 28%;
}

.data-label {
    font-size: 14px;
    font-weight: 500;
    color: #ffffff;
    text-align: center;
    padding: 3px 4px;
    border-radius: 4px;
    background: linear-gradient(135deg, rgba(0, 40, 120, 0.7), rgba(0, 60, 150, 0.7));
    min-width: 70px;
    text-shadow: 0 0 8px rgba(0, 183, 214, 0.5);
    transition: all 0.3s ease;
    box-shadow: 0 0 10px rgba(0, 102, 204, 0.3), inset 0 0 10px rgba(0, 183, 214, 0.1);
    line-height: 1.2;
    width: 100%;
    margin: 0 2px;
    letter-spacing: 0.5px;
    border: 1px solid rgba(0, 102, 204, 0.3);
    white-space: nowrap;
}

.data-cell:hover .data-label {
    color: #00ffff;
    text-shadow: 0 0 12px rgba(0, 255, 255, 0.8);
    background: linear-gradient(135deg, rgba(0, 50, 140, 0.8), rgba(0, 70, 170, 0.8));
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 102, 204, 0.4), inset 0 0 15px rgba(0, 183, 214, 0.2);
    border: 1px solid rgba(0, 183, 214, 0.5);
    letter-spacing: 1.5px;
}

.data-value {
    font-size: 20px;
    font-weight: bold;
    color: #ffffff;
    text-shadow: 0 0 8px rgba(0, 183, 214, 0.5);
}

/* 增强数字化效果 */
.digital-effect {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        linear-gradient(rgba(0, 0, 0, 0) 50%, rgba(0, 30, 60, 0.1) 50%),
        linear-gradient(90deg, rgba(255, 0, 0, 0.02), rgba(0, 255, 0, 0.02), rgba(0, 0, 255, 0.02));
    background-size: 100% 4px, 3px 100%;
    pointer-events: none;
    z-index: 10;
    opacity: 0.2;
    animation: digital-scan 10s linear infinite;
} 