.loading-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.8);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
}

.card {
    border-radius: 10px;
    border: none;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.card-header {
    border-radius: 10px 10px 0 0 !important;
}

.table th {
    font-weight: 600;
    color: #495057;
    background-color: #f8f9fa;
}

.table-hover tbody tr:hover {
    background-color: rgba(0, 123, 255, 0.05);
}

.badge {
    font-size: 0.75em;
    padding: 0.35em 0.65em;
}

.concept-tag {
    display: inline-block;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 0.25rem 0.75rem;
    margin: 0.1rem;
    border-radius: 15px;
    font-size: 0.85em;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 2px 4px rgba(102, 126, 234, 0.2);
}

.concept-tag:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(102, 126, 234, 0.3);
}

.stock-code {
    font-family: 'Courier New', monospace;
    font-weight: bold;
    color: #1e88e5;
    background: #f8f9fa;
    padding: 0.25rem 0.5rem;
    border-radius: 4px;
    border: 1px solid #dee2e6;
}

.btn-group .btn.active {
    background-color: #0d6efd;
    color: white;
    box-shadow: 0 2px 4px rgba(0, 123, 255, 0.2);
}
/* 高亮样式 */
.highlight-stock {
    background-color: rgba(255, 215, 0, 0.15) !important;
    border-left: 4px solid #ffc107 !important;
}

.highlight-stock td:first-child {
    font-weight: bold;
    color: #e67e22;
}

.highlight-indicator {
    display: inline-block;
    background-color: #ffc107;
    color: #333;
    padding: 2px 8px;
    border-radius: 12px;
    font-size: 0.75rem;
    font-weight: bold;
    margin-left: 8px;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% { opacity: 1; }
    50% { opacity: 0.7; }
    100% { opacity: 1; }
}

/* 表格行悬停效果增强 */
.table-hover tbody tr.highlight-stock:hover {
    background-color: rgba(255, 215, 0, 0.25) !important;
}

/* 概念标签样式 */
.concept-tag {
    display: inline-block;
    background-color: #e3f2fd;
    padding: 2px 8px;
    border-radius: 4px;
    margin: 2px;
    font-size: 0.85rem;
    cursor: pointer;
    transition: all 0.2s;
}

.concept-tag:hover {
    background-color: #bbdefb;
    transform: translateY(-1px);
}

/* 策略标签样式 */
.strategy-badge {
    font-weight: 600;
    letter-spacing: 0.5px;
    padding: 0.5rem 0.75rem;
}

/* 表格行样式优化 */
.table tr {
    transition: all 0.2s ease;
}

/* 模态框样式 */
.modal-header {
    border-radius: 10px 10px 0 0;
}

.concepts-container {
    min-height: 80px;
    padding: 1rem;
    background: #f8f9fa;
    border-radius: 8px;
}

.concepts-container .badge {
    font-size: 0.85em;
    padding: 0.5rem 0.75rem;
    margin: 0.25rem;
}

/* 空概念信息样式 */
.text-muted {
    color: #6c757d !important;
    font-style: italic;
}

/* 响应式调整 */
@media (max-width: 768px) {
    .card-body {
        padding: 1rem;
    }

    .table-responsive {
        font-size: 0.9rem;
    }

    .concept-tag {
        font-size: 0.75rem;
        padding: 0.2rem 0.5rem;
        margin: 0.05rem;
    }

    .concepts-container .badge {
        font-size: 0.75rem;
        padding: 0.3rem 0.5rem;
    }
}

/* 动画效果 */
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

.concept-tag {
    animation: fadeIn 0.3s ease-out;
}
