/**
 * 同现分割维度卡片样式
 * 深度维度专用样式
 */

/* 同现分割摘要区域 */
[data-dimension-id="cooccurrence_segmentation"] .cs-summary-area {
    padding: 8px;
    overflow-y: auto;
}

/* 同现分割图表区域 */
.cs-chart-area {
    height: 100%;
    display: flex;
    flex-direction: column;
}

/* 分割级别容器 */
.cs-level-group {
    margin-bottom: 8px;
    padding: 4px;
}

.cs-level-title {
    color: #3498db;
    font-size: 13px;
    font-weight: bold;
    margin: 0 0 4px 0;
    text-align: left;
}

/* 参数组行 - 表单样式 */
.cs-param-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 2px 4px;
    margin-bottom: 2px;
}

/* 左侧信息组：参数长度 + 位置格式 */
.cs-param-info {
    display: flex;
    align-items: center;
    gap: 8px;
    flex: 1;
}

.cs-param-length {
    color: #dadada;
    font-size: 12px;
    font-weight: bold;
    min-width: 60px;
    flex-shrink: 0;
}

.cs-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;
}

/* 右侧信息组：参数值 + 遗漏值 */
.cs-value-info {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-shrink: 0;
}

.cs-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;
}

.cs-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;
}

/* 废弃的样式类 */
.cs-param-details {
    display: none;
}

.cs-combo-value {
    display: none;
}

.cs-omission-info {
    display: none;
}

/* 高亮效果 - 使用与同现分割维度页面相同的样式 */
.cs-param-row.highlight {
    /* 白色发光效果 */
    box-shadow: 0 0 8px 2px rgba(255, 255, 255, 0.7);
    border-radius: 4px;
    position: relative;
}

/* 绿色背景效果 - 应用到参数值 */
.cs-param-row.highlight .cs-param-value {
    background-color: #28a745;
    color: #fff !important;
    padding: 2px 4px;
    border-radius: 3px;
}

/* 状态样式 */
.cs-loading,
.cs-error,
.cs-no-data {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100%;
    text-align: center;
    color: #95a5a6;
    font-size: 12px;
}

.cs-error .error-text {
    color: #e74c3c;
}

/* 响应式适配 */
@media (max-width: 600px) {
    .cs-param-row {
        flex-direction: column;
        align-items: flex-start;
        padding: 3px;
        gap: 4px;
    }
    
    .cs-param-info {
        width: 100%;
        gap: 4px;
    }
    
    .cs-value-info {
        align-self: flex-end;
        gap: 6px;
    }
    
    .cs-level-group {
        margin-bottom: 6px;
        padding: 3px;
    }
    
    .cs-param-length {
        font-size: 11px;
        min-width: auto;
    }
    
    .cs-combo-format {
        font-size: 11px;
    }
    
    .cs-param-value {
        font-size: 13px;
    }
    
    .cs-current-omission {
        font-size: 13px;
    }
}