/**
 * 分析师详情页样式
 */

.content-wrapper {
    margin-top: 72px;
    padding: 0 20px 20px;
}

.card {
    margin-bottom: 20px;
}

.chart-container {
    height: 400px;
}

.chart-container.fullpage {
    position: fixed;
    top: 60px;  /* 留出导航栏空间 */
    left: 0;
    right: 0;
    bottom: 0;
    width: 100%;
    height: calc(100vh - 60px);
    background: white;
    z-index: 1000;
    padding: 20px;
}

.chart-toolbar {
    position: absolute;
    top: 10px;
    right: 10px;
    z-index: 1001;
}

.positive {
    color: #dc3545;  /* Bootstrap danger color */
}

.negative {
    color: #198754;  /* Bootstrap success color */
}

/* 股票链接样式 */
.stock-link {
    color: #0d6efd;
    text-decoration: none;
    transition: all 0.2s;
}

.stock-link:hover {
    color: #0a58ca;
    text-decoration: underline;
}

/* 可排序表头 */
.sortable-header {
    cursor: pointer;
    user-select: none;
    white-space: nowrap;
    position: relative;
    padding-right: 20px !important;
}

.sortable-header:hover {
    color: #0d6efd;
    background-color: rgba(13, 110, 253, 0.04);
}

.sortable-header .sort-arrow::after {
    content: '\21C5';
    color: #ccc;
    margin-left: 4px;
}

.sortable-header.asc .sort-arrow::after {
    content: '\2191';
    color: #0d6efd;
}

.sortable-header.desc .sort-arrow::after {
    content: '\2193';
    color: #0d6efd;
}
