/**
 * 单位纵向维度卡片样式
 * 深度维度专用样式
 * 
 * 注意：第三屏卡片样式已在 home.css 中统一定义
 * 此文件预留给未来可能的单位纵向卡片特定样式
 */

/* 卡片主容器样式 */
.dimension-card-content-uv {
    display: flex;
    flex-direction: column;
    height: 100%;
    padding: 0;
    background: linear-gradient(135deg, #1a1a1a 0%, #2d2d2d 100%);
    border-radius: 8px;
    overflow: hidden;
}

/* 卡片头部样式 */
.uv-card-header {
    padding: 12px 16px 8px 16px;
    border-bottom: 1px solid #444;
    background: linear-gradient(135deg, #2a2a2a 0%, #1e1e1e 100%);
}

.uv-card-title {
    color: #ffd700;
    font-size: 14px;
    font-weight: 600;
    margin: 0;
    text-align: center;
    text-shadow: 0 0 8px rgba(255, 215, 0, 0.3);
}

/* 摘要区域样式 */
.uv-summary-area {
    flex: 1;
    display: flex;
    flex-direction: column;
    min-height: 0;
}

/* 摘要内容区域内边距 */
.summary-area-inner-padding {
    padding: 12px 14px;
    flex: 1;
    display: flex;
    flex-direction: column;
    overflow-y: auto;
}

/* 摘要项样式 */
.uv-summary-section {
    margin-bottom: 12px;
}

.uv-summary-section:last-child {
    margin-bottom: 0;
}

.uv-summary-title {
    color: #ffd700 !important;
    font-size: 12px !important;
    font-weight: 600;
    margin-bottom: 6px !important;
    border-bottom: 1px solid #444 !important;
    padding-bottom: 3px !important;
    text-shadow: 0 0 6px rgba(255, 215, 0, 0.4);
}

.uv-summary-queues {
    color: #81D8D0 !important;
    font-size: 11px !important;
    line-height: 1.5 !important;
    word-break: break-all !important;
    font-family: 'Courier New', monospace;
    background: rgba(129, 216, 208, 0.05);
    padding: 6px 8px;
    border-radius: 4px;
    border-left: 3px solid #81D8D0;
}

/* 数据显示区域样式 */
.uv-data-display-area {
    flex: 1;
    padding: 16px;
    overflow-y: auto;
}

/* 响应式适配 */
@media (max-width: 768px) {
    .uv-card-title {
        font-size: 13px;
    }
    
    .uv-summary-title {
        font-size: 11px !important;
    }
    
    .uv-summary-queues {
        font-size: 10px !important;
    }
    
    .summary-area-inner-padding {
        padding: 10px 12px;
    }
}

/* 滚动条样式 */
.summary-area-inner-padding::-webkit-scrollbar {
    width: 4px;
}

.summary-area-inner-padding::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 2px;
}

.summary-area-inner-padding::-webkit-scrollbar-thumb {
    background: rgba(129, 216, 208, 0.3);
    border-radius: 2px;
}

.summary-area-inner-padding::-webkit-scrollbar-thumb:hover {
    background: rgba(129, 216, 208, 0.5);
} 

/* 单位纵向卡片特定样式 */
.dimension-card[data-dimension-id="unit_vertical_deep_stats"] .dimension-card-content {
    /* 移除内容区域的内边距，让摘要容器可以接触到卡片边缘 */
    padding: 0;
    /* 确保内容填满整个卡片 */
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
}

/* 调整标题区域的内边距，因为父容器的内边距已被移除 */
.dimension-card[data-dimension-id="unit_vertical_deep_stats"] .unit-vertical-title-area {
    padding: 12px;
}

/* 调整摘要区域的样式，使其填满剩余空间并具有内部边距 */
.dimension-card[data-dimension-id="unit_vertical_deep_stats"] .dimension-summary {
    justify-content: center;
    align-items: center;
    padding: 0px;
}

.dimension-card[data-dimension-id="unit_vertical_deep_stats"] .summary-title {
    font-size: 11px !important;
    margin-bottom: 8px !important;
    
}

.dimension-card[data-dimension-id="unit_vertical_deep_stats"] .summary-queues {
    font-size: 15px !important;
    font-weight: bold;
    line-height: 1.4;
    
}

/* 1. 减小标题字体 */
.dimension-card[data-dimension-id="unit_vertical_deep_stats"] .summary-title {
    font-size: 12px !important; 
    text-align: center !important; /* 添加居中对齐 */
}

/* 2. 增大并加粗数据字体 */
.dimension-card[data-dimension-id="unit_vertical_deep_stats"] .summary-queues {
    font-size: 13px !important; 
    font-weight: bold;
}