/* 横屏页面专用样式 - 调整为适配覆盖式导航栏 */
.horizontal-container {
    width: 100%;
    min-height: auto;
    height: auto;
    overflow-x: auto;
    overflow-y: visible;
    background-color: transparent;
    position: relative;
    display: flex;
    align-items: center;
    padding: 0;
    margin: 0;
    scrollbar-width: none; /* Firefox */
    -ms-overflow-style: none; /* IE and Edge */
}

.horizontal-container::-webkit-scrollbar {
    display: none; /* Chrome, Safari and Opera */
}

/* 流程导航栏样式 - 与底部框保持一致宽度 */
.process-navigation {
    background-color: transparent; /* 移除背景色 */
    padding: 0; /* 移除内边距 */
    border-radius: 0; /* 移除圆角 */
    box-shadow: none; /* 移除阴影 */
    position: relative;
    z-index: 900; /* 降低z-index，避免遮挡页头 */
    width: 100%;
    margin: 0;
}

.process-steps {
    display: flex;
    justify-content: space-around;
    align-items: center;
    width: 100%;
    margin: 0;
    padding: 0;
}

.process-step {
    font-size: 18px;
    font-weight: bold;
    color: #333;
    white-space: nowrap;
}

.process-arrow {
    font-size: 24px;
    color: #3498db;
    margin: 0 20px;
    font-weight: bold;
}

.process-flow {
    display: flex;
    align-items: center;
    width: 100%;
    height: auto;
    min-height: 300px;
    padding: 0; /* 移除上下内边距，减少顶部空间 */
}

.process-stage {
    background-color: #f0f4f8;
    border-radius: 10px;
    padding: 20px;
    margin: 0 10px;
    flex: 1;
    height: 400px; /* 固定高度，确保四个框高度一致 */
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    display: flex;
    flex-direction: column;
    min-width: 250px;
}

/* 其他三个卡片设置 - 添加与第三个卡片相同的淡淡的描边效果 */
.planning-stage,
.coaching-stage,
.feedback-stage {
    min-width: 200px;
    height: 400px; /* 保持与基础样式一致的固定高度 */
    box-sizing: border-box; /* 确保padding不影响总高度 */
    border: 1px solid #e0e0e0; /* 添加淡淡的描边效果 */
}

/* 绩效考核卡片设置 */
.assessment-stage {
    min-width: 320px;
    height: 400px; /* 保持与其他卡片一致的固定高度 */
    box-sizing: border-box; /* 确保padding和border不影响总高度 */
    overflow: hidden; /* 防止内容溢出影响高度 */
}

.stage-title {
    font-size: 20px;
    font-weight: 700;
    color: #333;
    margin-bottom: 15px;
    text-align: center;
}

.stage-content {
    flex: 1;
    display: flex;
    flex-direction: column;
}

.time-period {
    font-size: 14px;
    color: #666;
    margin-bottom: 10px;
    padding: 4px 8px;
    background-color: rgba(10, 61, 98, 0.05);
    border-radius: 6px;
    display: inline-block;
    align-self: flex-start;
}

.target-level {
    margin-bottom: 15px;
}

.level-item {
    background-color: #0a3d62;
    color: white;
    padding: 12px 15px;
    border-radius: 6px;
    margin-bottom: 0;
    font-weight: 500;
    position: relative;
    text-align: center;
    font-size: 14px;
}

/* 向下箭头连接样式 */
.down-arrow {
    width: 0;
    height: 30px;
    margin: 0 auto;
    border-left: 2px solid #0a3d62;
    position: relative;
}

.down-arrow::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 0;
    border-left: 8px solid transparent;
    border-right: 8px solid transparent;
    border-top: 12px solid #0a3d62;
}

/* 横向箭头 */
.arrow {
    font-size: 24px;
    color: #0a3d62;
    font-weight: bold;
    margin: 0 15px;
}

/* 目标制定阶段特殊样式 */
.planning-stage .level-item {
    background-color: #0a3d62;
}

/* 实施辅导阶段特殊样式 */
.coaching-stage .level-item {
    background-color: #2ecc71;
}

.coaching-stage .down-arrow {
    border-left-color: #2ecc71;
}

.coaching-stage .down-arrow::after {
    border-top-color: #2ecc71;
}

/* 绩效考核阶段特殊样式 */
.assessment-stage {
    background-color: #f0f4f8;
    border: 1px solid #e0e0e0;
    padding: 15px;
}

/* 确保小框内容不换行 */
.level-item,
.badge {
    white-space: nowrap;
}

.assessment-block {
    background-color: #3498db;
    border-radius: 4px;
    margin-bottom: 15px;
    overflow: hidden;
}

.assessment-title {
    color: white;
    padding: 15px 0 10px 0;
    font-weight: 600;
    text-align: center;
    font-size: 18px;
    margin: 0;
}

.assessment-badges {
    display: flex;
    flex-direction: column;
    gap: 10px;
    padding: 0 15px 15px 15px;
}

.badge-row {
    display: flex;
    justify-content: space-between;
    gap: 10px;
}

.badge {
    background-color: white;
    color: #3498db;
    padding: 10px 15px;
    border-radius: 4px;
    font-size: 14px;
    font-weight: 500;
    text-align: center;
    flex: 1;
}

/* 绩效考核底部标签样式 */
.assessment-bottom-tags {
    margin-top: 5px;
    padding-top: 0;
}

/* 绩效流程导航区域样式 - 调整与上方模块的间距，添加与底部相同的灰色背景框 */
.process-navigation-section {
    background-color: #f8f9fa;
    padding: 15px 30px;
    margin-top: 30px; /* 与上方模块拉开30px间距 */
    margin-bottom: 0;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    max-width: 1140px;
    margin-left: auto;
    margin-right: auto;
}

/* 绩效流程主内容区域样式 - 与导航整合，保持适当距离 */
.performance-flow-section {
    background-color: transparent;
    padding: 0;
    margin-top: 10px; /* 调整为正边距，保持适当距离 */
    position: relative;
    z-index: 1;
}

/* 底部功能按钮区域样式 - 调整与下方模块的间距 */
.bottom-functions-section {
    background-color: transparent;
    padding: 10px 0; /* 减小与下方模块的间距 */
}

/* 底部功能按钮容器样式 - 整合为单一灰色背景框 */
.bottom-functions-container {
    max-width: 1140px;
    margin: 0 auto;
    padding: 15px 30px;
    background-color: #f8f9fa;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    position: relative;
    z-index: 10;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 0; /* 移除与上方流程图的距离，使底部条更贴近内容 */
}



.func-button {
    background-color: #3498db;
    color: white;
    border: none;
    padding: 15px 30px;
    margin: 0 10px;
    border-radius: 8px;
    cursor: pointer;
    font-size: 16px;
    font-weight: 500;
    flex: 1;
    white-space: nowrap;
    background-image: none; /* 确保没有背景图片 */
}

.func-button:first-child {
    margin-left: 0;
}

.func-button:last-child {
    margin-right: 0;
}

.func-button:last-child {
    margin-right: 0;
}

.func-button:hover {
    background-color: #2980b9;
}

.tag-row {
    display: flex;
    justify-content: space-between;
    margin-bottom: 10px;
}

.tag-item {
    display: flex;
    align-items: center;
    gap: 8px;
}

.tag-dot {
    width: 10px;
    height: 10px;
    background-color: #3498db;
    border-radius: 50%;
}

.tag-text {
    color: #333;
    font-size: 14px;
    font-weight: 500;
}

/* 反馈改进阶段特殊样式 */
.feedback-stage .level-item {
    background-color: #e67e22;
}

.feedback-stage .down-arrow {
    border-left-color: #e67e22;
}

.feedback-stage .down-arrow::after {
    border-top-color: #e67e22;
}