/**
 * 同现TOP维度卡片样式
 * 深度维度专用样式
 * 
 * 注意：第三屏卡片样式已在 home.css 中统一定义
 * 此文件预留给未来可能的同现TOP卡片特定样式
 */

/* 同现TOP摘要区域 */
[data-dimension-id="cooccurrence_top_hit"] .ct-summary-area {
    padding: 8px;
    min-height: 120px;
    overflow-y: auto;
}

/* 同现TOP图表区域 */
.ct-chart-area {
    height: 100%;
    display: flex;
    flex-direction: column;
}

/* 分割级别容器 */
.ct-level-group {
    margin-bottom: 8px;
    padding: 4px;
}

.ct-level-title {
    color: #3498db;
    font-size: 13px;
    font-weight: bold;
    margin: 0 0 4px 0;
    text-align: left;
}

/* 参数组行 - 表单样式 */
.ct-param-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 2px 4px;
    margin-bottom: 2px;
}

/* 左侧信息组：参数长度 + 位置格式 */
.ct-param-info {
    display: flex;
    align-items: center;
    gap: 8px;
    flex: 1;
}

.ct-param-length {
    color: #dadada;
    font-size: 12px;
    font-weight: bold;
    min-width: 60px;
    flex-shrink: 0;
}

.ct-combo-format {
    color: #dadada;
    font-weight: bold;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";
    font-size: 12px;
    min-width: 50px;
}

/* 右侧信息组：参数值 + 遗漏值 */
.ct-value-info {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-shrink: 0;
}

.ct-param-value {
    color: #dadada;
    font-weight: bold;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";
    font-size: 14px;
    min-width: 40px;
    text-align: center;
}

.ct-current-omission {
    color: #dadada;
    font-size: 14px;
    font-weight: bold;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";
    min-width: 50px;
    text-align: right;
}

/* 高亮效果 - 使用与同现TOP维度页面相同的样式 */
.ct-param-row.highlight {
    /* 白色发光效果 */
    box-shadow: 0 0 8px 2px rgba(255, 255, 255, 0.7);
    border-radius: 4px;
    position: relative;
}

/* 绿色背景效果 - 应用到参数值 */
.ct-param-row.highlight .ct-param-value {
    background-color: #28a745;
    color: #fff !important;
    padding: 2px 4px;
    border-radius: 3px;
}

/* 状态样式 */
.ct-loading,
.ct-error,
.ct-no-data {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100%;
    text-align: center;
    color: #95a5a6;
    font-size: 12px;
}

.ct-error .error-text {
    color: #e74c3c;
}

/* 响应式适配 */
@media (max-width: 600px) {
    .ct-param-row {
        flex-direction: column;
        align-items: flex-start;
        padding: 3px;
        gap: 4px;
    }
    
    .ct-param-info {
        width: 100%;
        gap: 4px;
    }
    
    .ct-value-info {
        align-self: flex-end;
        gap: 6px;
    }
    
    .ct-level-group {
        margin-bottom: 6px;
        padding: 3px;
    }
    
    .ct-param-length {
        font-size: 11px;
        min-width: auto;
    }
    
    .ct-combo-format {
        font-size: 11px;
    }
    
    .ct-param-value {
        font-size: 13px;
    }
    
    .ct-current-omission {
        font-size: 13px;
    }
}