
.message-actions {
    display: flex;
    justify-content: flex-end;
    margin-top: 5px;
}
.image-message {
    text-align: center;
}
.message-image {
    max-width: 100%;
    max-height: 300px;
    cursor: pointer;
}
.image-viewer-container {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100%;
}
.full-image {
    max-width: 100%;
    max-height: 80vh;
}
.image-viewer-dialog {
    background: rgba(0, 0, 0, 0.7);
}
.image-viewer-dialog .el-dialog__header,
.image-viewer-dialog .el-dialog__body {
    padding: 0;
}

/* 高亮记录样式 */
.timeline-content[id^="recordDetail-"].temp-highlight {
    animation: highlight-pulse 2s ease-in-out;
    border-left: 4px solid #E6A23C;
    background-color: rgba(230, 162, 60, 0.1);
    border-radius: 4px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}
@keyframes highlight-pulse {
0% {
        box-shadow: 0 0 0 0 rgba(230, 162, 60, 0.4);
}
50% {
        box-shadow: 0 0 0 10px rgba(230, 162, 60, 0.7);
}
100% {
        box-shadow: 0 0 0 0 rgba(230, 162, 60, 0);
}
}


/* 整体布局样式 */
.dashboard-container {
    padding: 24px;
    background-color: #f5f7fa;
    min-height: calc(100vh - 120px);
}

/* 搜索面板样式 */
.search-panel {
    background-color: #fff;
    border-radius: 8px;
    padding: 20px;
    margin-bottom: 24px;
    box-shadow: 0 2px 12px 0 rgba(0, 0, 0, 0.05);
}

/* 标题区域样式 */
.dashboard-title {
    margin-bottom: 30px;
    position: relative;
    background: linear-gradient(135deg, #f5f7fa 0%, #ffffff 100%);
    border-radius: 12px;
    padding: 20px 0;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    overflow: hidden;
}
.dashboard-title::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(to right, #409EFF, #67C23A, #E6A23C, #F56C6C);
}
.title-container {
    text-align: center;
    position: relative;
    z-index: 1;
}
.dashboard-title h2 {
    font-size: 28px;
    font-weight: 700;
    color: #303133;
    margin: 0;
    letter-spacing: 1px;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
    position: relative;
    display: inline-block;
}
.dashboard-subtitle {
    font-size: 14px;
    color: #606266;
    margin-top: 16px;
    font-weight: 500;
}

/* 数据面板样式 */
.data-panel {
    margin-bottom: 30px;
}
.stat-card {
    height: 120px;
    border-radius: 8px;
    padding: 20px;
    box-shadow: 0 2px 12px 0 rgba(0, 0, 0, 0.05);
    background-color: #fff;
    display: flex;
    align-items: center;
    transition: all 0.3s;
    margin-bottom: 20px;
    position: relative;
    overflow: hidden;
}
.stat-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 4px 20px 0 rgba(0, 0, 0, 0.1);
}
.stat-card-1 {
    border-left: 4px solid #409EFF;
}
.stat-card-2 {
    border-left: 4px solid #67C23A;
}
.stat-card-3 {
    border-left: 4px solid #E6A23C;
}
.stat-card-4 {
    border-left: 4px solid #F56C6C;
}
.stat-card-5 {
    border-left: 4px solid #909399;
}
.stat-card-6 {
    border-left: 4px solid #9254de;
}
.stat-card::before {
    content: '';
    position: absolute;
    top: -50px;
    right: -50px;
    width: 100px;
    height: 100px;
    border-radius: 50%;
    background: rgba(64, 158, 255, 0.05);
    z-index: 0;
}
.stat-card-1::before { background: rgba(64, 158, 255, 0.05);
}
.stat-card-2::before { background: rgba(103, 194, 58, 0.05);
}
.stat-card-3::before { background: rgba(230, 162, 60, 0.05);
}
.stat-card-4::before { background: rgba(245, 108, 108, 0.05);
}
.stat-card-5::before { background: rgba(144, 147, 153, 0.05);
}
.stat-card-6::before { background: rgba(146, 84, 222, 0.05);
}
.stat-icon {
    width: 48px;
    height: 48px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 16px;
    background-color: rgba(64, 158, 255, 0.1);
}
.stat-card-1 .stat-icon { background-color: rgba(64, 158, 255, 0.1); color: #409EFF;
}
.stat-card-2 .stat-icon { background-color: rgba(103, 194, 58, 0.1); color: #67C23A;
}
.stat-card-3 .stat-icon { background-color: rgba(230, 162, 60, 0.1); color: #E6A23C;
}
.stat-card-4 .stat-icon { background-color: rgba(245, 108, 108, 0.1); color: #F56C6C;
}
.stat-card-5 .stat-icon { background-color: rgba(144, 147, 153, 0.1); color: #909399;
}
.stat-card-6 .stat-icon { background-color: rgba(146, 84, 222, 0.1); color: #9254de;
}
.stat-icon i {
    font-size: 24px;
}
.stat-content {
    flex: 1;
    z-index: 1;
}
.stat-value {
    font-size: 24px;
    font-weight: 700;
    color: #303133;
    margin-bottom: 8px;
}
.stat-label {
    font-size: 14px;
    color: #909399;
}

/* 表格区域样式 */
.data-tables {
    margin-bottom: 20px;
}
.table-panel {
    background-color: #fff;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    padding: 24px;
    margin-bottom: 20px;
    transition: all 0.3s;
    border: 1px solid rgba(0, 0, 0, 0.03);
}
.table-panel:hover {
    box-shadow: 0 6px 24px rgba(0, 0, 0, 0.12);
    transform: translateY(-2px);
}
.table-header {
    display: flex;
    align-items: center;
    margin-bottom: 20px;
    position: relative;
    padding-bottom: 15px;
    border-bottom: 1px solid #ebeef5;
}
.table-header i {
    font-size: 22px;
    margin-right: 12px;
    color: #409EFF;
    background: rgba(64, 158, 255, 0.1);
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 10px;
}
.table-header:nth-of-type(2) i {
    color: #F56C6C;
    background: rgba(245, 108, 108, 0.1);
}
.table-header span {
    font-size: 18px;
    font-weight: 600;
    color: #303133;
}

/* 表格内部样式 */
.header {
    background-color: #f5f7fa !important;
    color: #606266 !important;
    font-weight: 600 !important;
    font-size: 14px !important;
    height: 50px !important;
}
.el-table {
    border-radius: 8px;
    overflow: hidden;
    border: none !important;
}
.el-table th {
    background-color: #f8fafc !important;
    border-bottom: 2px solid #ebeef5 !important;
}
.el-table td {
    padding: 16px 0 !important;
}
.el-table--striped .el-table__body tr.el-table__row--striped td {
    background-color: #fafbfc !important;
}
.el-table--enable-row-hover .el-table__body tr:hover>td {
    background-color: #f2f6fc !important;
}
.el-tag {
    border-radius: 6px;
    padding: 2px 10px;
    font-weight: 500;
}

/* 响应式调整 */
@media (max-width: 768px) {
.dashboard-container {
        padding: 16px;
}
.search-panel {
        padding: 16px;
}
.dashboard-title h2 {
        font-size: 20px;
}
.stat-card {
        height: auto;
        padding: 15px;
}
.stat-icon {
        width: 36px;
        height: 36px;
}
.stat-icon i {
        font-size: 18px;
}
.stat-value {
        font-size: 18px;
}
.table-panel {
        padding: 15px;
}
}

/* 聊天标题 */
.chat-title {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
}
.chat-info {
    display: flex;
    align-items: center;
}
.chat-info i {
    margin-right: 8px;
    color: #409EFF;
}
.chat-time {
    margin-left: 15px;
    color: #909399;
    font-size: 12px;
    font-weight: normal;
}
.chat-title-header {
    margin-bottom: 20px;
    padding: 16px;
    background: #f8fafc;
    border-radius: 8px;
    border-left: 4px solid #409EFF;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.05);
}
.chat-title-header span {
    font-size: 16px;
    font-weight: 600;
    color: #303133;
    display: flex;
    align-items: center;
}
.chat-title-header i {
    margin-right: 8px;
    color: #409EFF;
}

/* 关键词链接样式 */
.keyword-link {
    font-size: 16px;
    font-weight: 600;
    color: #333333;
    text-decoration: none;
    transition: all 0.3s;
}
.keyword-link:hover {
    color: #555555;
    text-decoration: underline;
}

/* 明细按钮样式 */
.detail-btn {
    margin-left: auto;
}

/* 明细链接样式 */
.detail-link {
    margin-left: auto;
    color: #409EFF;
    font-size: 13px;
    text-decoration: none;
    padding: 5px 10px;
    transition: all 0.3s;
}
.detail-link:hover {
    color: #66b1ff;
    text-decoration: underline;
}

/* 高亮记录样式 */
.highlight-record {
    position: relative;
    border-left: 4px solid #E6A23C;
    background-color: rgba(230, 162, 60, 0.1);
    border-radius: 4px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

/* 临时闪烁效果 */
.temp-highlight {
    animation: highlight-pulse 2s ease-in-out;
}

/* 对话明细弹窗内容区域 */
.detail-dialog-content {
    max-height: 70vh;
    overflow-y: auto;
}
@keyframes highlight-pulse {
0% {
        box-shadow: 0 0 0 0 rgba(230, 162, 60, 0.4);
}
50% {
        box-shadow: 0 0 0 10px rgba(230, 162, 60, 0.7);
}
100% {
        box-shadow: 0 0 0 0 rgba(230, 162, 60, 0);
}
}

