﻿/* 党员发展整合版块样式 - 完整整合所有原始页面样式 */
/* 基于原始独立页面的完整样式整合 - 参照81个独立网页样式 */

/* ===== 主页面容器样式 ===== */
/* ✅ 优化：移除!important，使用高特异性选择器（#developmentPage已提供足够特异性） */

/* 隐藏页面不占用空间 - 必须在所有其他规则之前，确保优先级 */
#developmentPage:not(.active) {
    display: none !important;
    min-height: 0 !important;
    height: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
    visibility: hidden !important;
    overflow: hidden !important;
}

#developmentPage {
    font-family: 'Microsoft YaHei', 'PingFang SC', 'Helvetica Neue', Arial, sans-serif;
    background: #f8f9fa;
    padding: 0;
    max-width: 100%; /* 移除宽度限制，使用父容器全宽 */
    width: 100%;
    margin: 0;
    box-sizing: border-box;
}

/* 强制显示党员发展页面容器 */
#developmentPage.active {
    display: block !important;
    visibility: visible;
    opacity: 1;
    min-height: 100vh;
}

/* ===== 基础容器样式 ===== */
.development-integrated-container {
    margin: 0;
    padding: 0;
    font-family: 'Microsoft YaHei', 'PingFang SC', 'Helvetica Neue', Arial, sans-serif;
    background: #f8f9fa;
    min-height: 100vh;
    max-width: 100%; /* 移除宽度限制，使用父容器全宽 */
    width: 100%;
    box-sizing: border-box;
    display: block;
    visibility: visible;
    opacity: 1;
    position: relative;
}

/* 确保标签内容区域正确显示 */
.development-integrated-container .tab-content {
    display: block;
    width: 100%;
    visibility: visible;
}

.development-integrated-container .tab-panel {
    display: none;
    width: 100%;
}

.development-integrated-container .tab-panel.active {
    display: block;
    width: 100%;
    visibility: visible;
}

/* ===== 页面标题 - 统一样式设计 ===== */
/* ✅ 优化：移除重复的page-header定义，使用main.css中的统一定义 */
/* 注意：page-header的基础样式已在main.css中统一定义（第1064-1089行），这里不需要重复定义 */
/* 如果需要特定覆盖，只保留特定样式，不使用!important */
.development-integrated-container .page-header,
.development-member-view .page-header {
    /* ✅ 优化：移除!important，只保留特定样式覆盖 */
    border: none;
}

/* 统一标题栏样式：字体大小28px，字体粗细700 */
/* ✅ 优化：移除重复的page-title定义，使用main.css中的统一定义 */
/* 注意：page-title的基础样式已在main.css中统一定义（第1092-1117行），这里不需要重复定义 */
/* 如果需要特定覆盖，可以在这里添加新的规则集 */

.development-integrated-container .page-subtitle,
.development-member-view .page-subtitle {
    color: rgba(255, 255, 255, 0.9);
    font-size: 14px;
    font-weight: 400;
    margin-top: 4px;
}

/* ===== 统计概览卡片 - 保持原始设计 ===== */
/* ✅ 修复：限制作用域到 development-integrated-container */
.development-integrated-container .stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 12px;
    margin-bottom: 20px;
    max-width: 100%;
    justify-items: center;
}

.development-integrated-container .stat-card {
    background: white;
    padding: 20px;
    text-align: center;
    position: relative;
    max-width: 100%;
    width: 100%;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
    border: 1px solid #e9ecef;
}


.development-integrated-container .stat-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 8px 24px rgba(220, 38, 38, 0.2);
    border-color: #dc2626;
}

.development-integrated-container .stat-icon {
    font-size: 2rem;
    margin-bottom: 12px;
    color: #dc2626;
    font-weight: 900;
    text-shadow: 0 2px 4px rgba(220, 38, 38, 0.3);
}

.development-integrated-container .stat-number {
    font-size: 2rem;
    font-weight: 700;
    color: #333;
    margin-bottom: 6px;
    line-height: 1.2;
}

.development-integrated-container .stat-label {
    color: #666;
    font-size: 0.875rem;
    font-weight: 500;
    line-height: 1.4;
}

/* ===== 响应式设计 - 确保一排显示 ===== */
@media (max-width: 768px) {
    .development-integrated-container .stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
    }
    
    .development-integrated-container .stat-card {
        padding: 10px;
        max-width: 100%;
    }
    
    .development-integrated-container .stat-icon {
        font-size: 1.2rem;
        margin-bottom: 6px;
    }
    
    .development-integrated-container .stat-number {
        font-size: 1rem;
    }
    
    .development-integrated-container .stat-label {
        font-size: 0.6rem;
    }
}

@media (max-width: 480px) {
    .development-integrated-container .stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 8px;
    }
    
    .development-integrated-container .stat-card {
        padding: 8px;
        max-width: 100%;
    }
    
    .development-integrated-container .stat-icon {
        font-size: 1rem;
        margin-bottom: 4px;
    }
    
    .development-integrated-container .stat-number {
        font-size: 0.9rem;
    }
    
    .development-integrated-container .stat-label {
        font-size: 0.55rem;
    }
}

/* ===== 四大流程面板样式 ===== */
.development-stages-container {
    background: white;
    border-radius: 8px;
    padding: 15px;
    margin-bottom: 20px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    max-width: 100%;
    width: 100%;
    box-sizing: border-box;
}

.stages-navigation {
    margin-bottom: 30px;
}

/* 四大流程卡片样式 - 优化版：增强可读性和美观度 */
.development-integrated-container .stages-grid,
.development-stages-container .stages-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 15px;
    margin-bottom: 20px;
    max-width: 100%;
    overflow-x: auto;
}

.development-integrated-container .stage-card,
.development-stages-container .stage-card {
    background: white;
    border: 2px solid #e9ecef;
    border-radius: 12px;
    padding: 18px;
    text-align: center;
    transition: all 0.3s ease;
    cursor: pointer;
    position: relative;
    overflow: hidden;
    min-width: 0;
    width: 100%;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.development-integrated-container .stage-card:hover,
.development-stages-container .stage-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.15);
    border-color: #dc2626;
}

.development-integrated-container .stage-card.active,
.development-stages-container .stage-card.active {
    border-color: #dc2626;
    background: linear-gradient(135deg, #fef2f2, #ffffff);
    box-shadow: 0 6px 20px rgba(220, 38, 38, 0.25);
}

.development-integrated-container .stage-icon,
.development-stages-container .stage-icon {
    width: 48px;
    height: 48px;
    margin: 0 auto 12px;
    background: linear-gradient(135deg, #dc2626, #ef4444);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.5rem;
    box-shadow: 0 4px 12px rgba(220, 38, 38, 0.3);
}

.development-integrated-container .stage-content h3,
.development-stages-container .stage-content h3 {
    font-size: 1rem;
    font-weight: 700;
    color: #1f2937;
    margin-bottom: 8px;
    line-height: 1.3;
}

.development-integrated-container .stage-content p,
.development-stages-container .stage-content p {
    color: #4b5563;
    font-size: 0.75rem;
    margin-bottom: 12px;
    line-height: 1.4;
    min-height: 2.8em;
}

.development-integrated-container .stage-progress,
.development-stages-container .stage-progress {
    display: flex;
    align-items: center;
    gap: 8px;
}

.development-integrated-container .progress-bar,
.development-stages-container .progress-bar {
    flex: 1;
    height: 6px;
    background: #e5e7eb;
    border-radius: 3px;
    overflow: hidden;
}

.development-integrated-container .progress-fill,
.development-stages-container .progress-fill {
    height: 100%;
    background: linear-gradient(90deg, #dc2626, #ef4444);
    border-radius: 3px;
    transition: width 0.3s ease;
}

.development-integrated-container .progress-text,
.development-stages-container .progress-text {
    font-size: 0.75rem;
    font-weight: 700;
    color: #dc2626;
    min-width: 32px;
}

.stage-details {
    background: transparent;
    border: none;
    border-radius: 0;
    padding: 0;
    margin-bottom: 20px;
    max-width: 100%;
    box-sizing: border-box;
}

.stage-header {
    text-align: center;
    margin-bottom: 0;
    padding-bottom: 0;
    border-bottom: none;
}

.stage-header h2 {
    font-size: 1.8rem;
    font-weight: 700;
    color: #333;
    margin-bottom: 8px;
}

.stage-header p {
    color: #666;
    font-size: 1rem;
}

.steps-container {
    margin-top: 0;
    max-width: 100%;
    box-sizing: border-box;
}

.steps-list {
    display: flex;
    flex-direction: column;
    gap: 15px;
    max-width: 100%;
    box-sizing: border-box;
}

/* ===== 步骤表格样式 - 简洁版 ===== */
.steps-table-wrapper {
    overflow-x: auto;
    background: transparent;
    border-radius: 0;
    box-shadow: none;
    border: none;
    margin: 0;
    padding: 0;
}

.steps-table {
    width: 100%;
    border-collapse: collapse;
    background: transparent;
    table-layout: fixed;
}

.steps-table thead {
    background: #f8f9fa;
}

/* ✅ 优化：移除!important，使用高特异性选择器 */
.development-integrated-container .steps-table th,
#developmentPage .steps-table th {
    padding: 12px 20px;
    text-align: center;
    font-weight: 600;
    font-size: 0.875rem;
    color: #374151;
    border-bottom: 1px solid #e5e7eb;
}

.steps-table th:first-child {
    padding-left: 24px;
    width: 70px;
    text-align: center;
}

.steps-table th:nth-child(2) {
    width: 150px;
    text-align: left;
}

.steps-table th:nth-child(3) {
    width: auto;
    min-width: 200px;
}

.steps-table th:last-child {
    padding-right: 24px;
    width: 85px;
    text-align: center;
}

.steps-table tbody tr {
    border-bottom: 1px solid #e5e7eb;
    transition: background-color 0.15s ease;
    background: white;
}

.steps-table tbody tr:last-child {
    border-bottom: none;
}

.steps-table tbody tr:hover {
    background: #f9fafb;
}

.steps-table tbody tr.completed {
    background: #f0fdf4;
}

.steps-table tbody tr.completed:hover {
    background: #ecfdf5;
}

.steps-table tbody tr.in_progress {
    background: #fffbeb;
}

.steps-table tbody tr.in_progress:hover {
    background: #fef3c7;
}

.steps-table tbody tr.pending {
    background: white;
}

.steps-table tbody tr.pending:hover {
    background: #f9fafb;
}

.steps-table td {
    padding: 10px 20px;
    font-size: 0.875rem;
    line-height: 1.5;
    vertical-align: middle;
    color: #1f2937;
    height: 48px;
    text-align: center;
}

.steps-table td:first-child {
    padding-left: 24px;
    width: 70px;
    text-align: center;
}

.steps-table td:nth-child(2) {
    width: 150px;
    text-align: left;
}

.steps-table td:last-child {
    padding-right: 24px;
    width: 85px;
    text-align: center;
}

.step-status {
    text-align: center;
    width: 70px;
}

.step-status i {
    font-size: 0.75rem;
    color: #6b7280;
}

.step-name {
    font-weight: 600;
    color: #1f2937;
    font-size: 0.875rem;
}

.step-description {
    color: #6b7280;
    line-height: 1.4;
    font-size: 0.8125rem;
}

.step-actions {
    text-align: center;
    width: 85px;
}

.step-actions .btn {
    background: #6366f1;
    color: white;
    border: none;
    padding: 6px 12px;
    border-radius: 4px;
    font-weight: 500;
    font-size: 0.8125rem;
    cursor: pointer;
    transition: background-color 0.2s ease;
    white-space: nowrap;
    line-height: 1.4;
}

.step-actions .btn:hover {
    background: #4f46e5;
}

.step-item {
    display: flex;
    align-items: center;
    padding: 15px;
    border: 1px solid #e9ecef;
    border-radius: 8px;
    background: white;
    transition: all 0.2s ease;
    max-width: 100%;
    box-sizing: border-box;
    width: 100%;
}

.step-item:hover {
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    transform: translateY(-1px);
}

.step-item.completed {
    border-color: #28a745;
    background: #f8fff9;
}

.step-item.in_progress {
    border-color: #ffc107;
    background: #fffdf5;
}

.step-icon {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    margin-right: 15px;
    font-size: 1.2rem;
}

.step-item.completed .step-icon {
    background: #28a745;
    color: white;
}

.step-item.in_progress .step-icon {
    background: #ffc107;
    color: white;
}

.step-item.pending .step-icon {
    background: #e9ecef;
    color: #6c757d;
}

.step-content {
    flex: 1;
    max-width: calc(100% - 120px);
    box-sizing: border-box;
}

.step-content h4 {
    margin: 0 0 5px 0;
    font-size: 1rem;
    font-weight: 600;
    color: #333;
    word-wrap: break-word;
}

.step-content p {
    margin: 0;
    font-size: 0.9rem;
    color: #666;
    line-height: 1.4;
    word-wrap: break-word;
}

.step-actions {
    margin-left: 15px;
    flex-shrink: 0;
    max-width: 80px;
}

.step-actions .btn {
    font-size: 0.8rem;
    padding: 6px 12px;
}

.stage-actions {
    background: #f8f9fa;
    border-radius: 8px;
    padding: 20px;
    text-align: center;
    max-width: 100%;
    box-sizing: border-box;
}

.action-buttons {
    display: flex;
    gap: 15px;
    justify-content: center;
    flex-wrap: wrap;
    max-width: 100%;
    box-sizing: border-box;
}

/* ✅ 优化：移除!important，使用高特异性选择器 */
/* 使用页面容器作用域提高特异性 */
.development-integrated-container .action-buttons .btn,
#developmentPage .action-buttons .btn,
.development-member-view .action-buttons .btn {
    padding: 12px 32px;
    font-size: 0.9rem;
    border-radius: 8px;
    transition: all 0.2s ease;
    white-space: nowrap;
    overflow: visible;
    text-overflow: clip;
    max-width: none;
    min-width: 140px;
    flex: 0 0 auto;
    height: auto;
    will-change: transform;
    isolation: isolate;
}

/* 表格中的操作按钮使用更小的尺寸 */
.development-integrated-container table .action-buttons .btn,
#developmentPage table .action-buttons .btn,
.development-member-view table .action-buttons .btn,
table .action-buttons .btn-sm,
table .action-buttons .btn {
    padding: 6px 12px !important;
    font-size: 0.75rem !important;
    min-width: 60px !important;
    white-space: nowrap;
    overflow: visible !important;
    text-overflow: clip;
    max-width: none;
    box-sizing: border-box;
    line-height: 1.4;
    height: auto;
}

/* 确保表格操作列有足够空间 */
table td:last-child,
.assessment-table td:last-child {
    min-width: 160px;
    white-space: nowrap;
    padding: 8px 12px;
}

/* 操作按钮容器在表格中的样式 */
table .action-buttons {
    display: flex;
    gap: 8px;
    justify-content: center;
    align-items: center;
    flex-wrap: nowrap;
    width: 100%;
}

.development-integrated-container .action-buttons .btn:hover,
#developmentPage .action-buttons .btn:hover,
.development-member-view .action-buttons .btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    transition: all 0.2s ease;
    z-index: 10;
    pointer-events: auto;
}

/* 确保未悬停的按钮保持原样 */
.development-integrated-container .action-buttons .btn:not(:hover),
#developmentPage .action-buttons .btn:not(:hover),
.development-member-view .action-buttons .btn:not(:hover) {
    transform: none;
    box-shadow: none;
}

.development-integrated-container .action-buttons .btn-primary:hover,
#developmentPage .action-buttons .btn-primary:hover,
.development-member-view .action-buttons .btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(220, 38, 38, 0.3);
}

.development-integrated-container .action-buttons .btn-success:hover,
#developmentPage .action-buttons .btn-success:hover,
.development-member-view .action-buttons .btn-success:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(16, 185, 129, 0.3);
}

.development-integrated-container .action-buttons .btn-info:hover,
#developmentPage .action-buttons .btn-info:hover,
.development-member-view .action-buttons .btn-info:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(161, 22, 22, 0.3);
}

.development-integrated-container .action-buttons .btn-warning:hover,
#developmentPage .action-buttons .btn-warning:hover,
.development-member-view .action-buttons .btn-warning:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(245, 158, 11, 0.3);
}

/* ===== 四大流程面板响应式设计 ===== */
@media (max-width: 768px) {
    .development-integrated-container .stages-grid,
    .development-stages-container .stages-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
    }
    
    /* ✅ 优化：移除!important，响应式媒体查询已提供足够特异性 */
    .development-integrated-container .stage-card,
    .development-stages-container .stage-card {
        padding: 14px;
    }
    
    .development-integrated-container .stage-icon,
    .development-stages-container .stage-icon {
        width: 42px;
        height: 42px;
        font-size: 1.3rem;
    }
    
    .development-integrated-container .stage-content h3,
    .development-stages-container .stage-content h3 {
        font-size: 0.9rem;
    }
    
    .development-integrated-container .stage-content p,
    .development-stages-container .stage-content p {
        font-size: 0.7rem;
    }
    
    .step-item {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }
    
    .step-content {
        max-width: 100%;
    }
    
    .step-actions {
        margin-left: 0;
        max-width: 100%;
        width: 100%;
    }
    
    .action-buttons {
        flex-direction: column;
        gap: 10px;
    }
    
    /* ✅ 优化：移除!important，响应式媒体查询已提供足够特异性 */
    .development-integrated-container .action-buttons .btn,
    #developmentPage .action-buttons .btn {
        width: 100%;
        max-width: 100%;
        min-width: auto;
        padding: 12px 24px;
        font-size: 0.9rem;
    }
}

@media (max-width: 480px) {
    .development-integrated-container .stages-grid,
    .development-stages-container .stages-grid {
        grid-template-columns: 1fr;
        gap: 10px;
    }
    
    /* ✅ 优化：移除!important，响应式媒体查询已提供足够特异性 */
    .development-integrated-container .stage-card,
    .development-stages-container .stage-card {
        padding: 12px;
    }
    
    .development-integrated-container .stage-icon,
    .development-stages-container .stage-icon {
        width: 40px;
        height: 40px;
        font-size: 1.2rem;
    }
    
    .development-integrated-container .stage-content h3,
    .development-stages-container .stage-content h3 {
        font-size: 0.875rem;
    }
    
    .development-integrated-container .stage-content p,
    .development-stages-container .stage-content p {
        font-size: 0.65rem;
    }
    
    .step-item {
        padding: 10px;
    }
    
    .step-content h4 {
        font-size: 0.9rem;
    }
    
    .step-content p {
        font-size: 0.8rem;
    }
    
    .development-integrated-container .action-buttons .btn,
    #developmentPage .action-buttons .btn {
        padding: 12px 20px;
        font-size: 0.9rem;
    }
}

/* ===== 功能导航标签 - 参照原始独立页面设计 ===== */
.tab-navigation {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(15px);
    border-radius: 20px;
    padding: 15px;
    margin-bottom: 15px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    position: relative;
    overflow: hidden;
}

.tab-navigation::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #dc2626, #ef4444, #f97316, #eab308, #22c55e, #06b6d4, #8b5cf6, #ec4899);
    background-size: 200% 100%;
    animation: gradientShift 3s ease-in-out infinite;
}

@keyframes gradientShift {
    0%, 100% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
}

.tab-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 15px;
    margin-top: 10px;
    border-bottom: none;
    padding-bottom: 0;
}

/* ===== 功能按钮样式美化 ===== */
.tab-item {
    background: white;
    border: 2px solid #e9ecef;
    border-radius: 12px;
    padding: 18px 24px;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 10px;
    text-align: center;
    font-size: 14px;
    font-weight: 600;
    color: #495057;
    position: relative;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.tab-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(220, 38, 38, 0.1), transparent);
    transition: left 0.5s ease;
}

.tab-item:hover {
    transform: translateY(-4px);
    border-color: #dc2626;
    box-shadow: 0 8px 24px rgba(220, 38, 38, 0.15);
    color: #dc2626;
}

.tab-item:hover::before {
    left: 100%;
}

.tab-item.active {
    background: linear-gradient(135deg, #dc2626 0%, #ef4444 100%);
    border-color: #dc2626;
    color: white;
    box-shadow: 0 8px 24px rgba(220, 38, 38, 0.3);
}

.tab-item.active::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: rgba(255, 255, 255, 0.8);
    animation: slideIn 0.3s ease;
}

@keyframes slideIn {
    from {
        transform: scaleX(0);
    }
    to {
        transform: scaleX(1);
    }
}

.tab-item i {
    font-size: 1.5rem;
    margin-bottom: 4px;
}

.tab-item span {
    font-size: 0.9rem;
    white-space: nowrap;
}

.tab-item.active i,
.tab-item.active span {
    color: white;
}

/* ===== 特殊动画效果 ===== */
/* 页面加载动画 */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.tab-panel {
    animation: fadeInUp 0.5s ease-out;
}


/* 按钮点击效果 */
.btn:active {
    transform: scale(0.98);
    transition: transform 0.1s ease;
}

/* 状态指示器 */
.status-badge {
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.status-pending {
    background: linear-gradient(135deg, #fbbf24, #f59e0b);
    color: white;
    box-shadow: 0 2px 8px rgba(251, 191, 36, 0.3);
}

.status-completed {
    background: linear-gradient(135deg, #22c55e, #16a34a);
    color: white;
    box-shadow: 0 2px 8px rgba(34, 197, 94, 0.3);
}

.status-in-progress {
    background: var(--gradient-primary);
    color: white;
    box-shadow: 0 2px 8px rgba(161, 22, 22, 0.3);
}

.status-overdue {
    background: linear-gradient(135deg, #ef4444, #dc2626);
    color: white;
    box-shadow: 0 2px 8px rgba(239, 68, 68, 0.3);
}

.status-assigned {
    background: linear-gradient(135deg, #3b82f6, #2563eb);
    color: white;
    box-shadow: 0 2px 8px rgba(59, 130, 246, 0.3);
}

.status-failed {
    background: linear-gradient(135deg, #ef4444, #dc2626);
    color: white;
    box-shadow: 0 2px 8px rgba(239, 68, 68, 0.3);
}

.status-unknown {
    background: linear-gradient(135deg, #6b7280, #4b5563);
    color: white;
    box-shadow: 0 2px 8px rgba(107, 114, 128, 0.3);
}

/* 加载状态动画 */
.loading-placeholder {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 40px;
    color: #6b7280;
}

.loading-placeholder i {
    font-size: 2rem;
    margin-bottom: 15px;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

/* 空状态样式 */
.empty-state {
    text-align: center;
    padding: 60px 20px;
    color: #6b7280;
}

.empty-state-icon {
    font-size: 4rem;
    margin-bottom: 20px;
    opacity: 0.5;
}

.empty-state h3 {
    font-size: 1.5rem;
    margin-bottom: 10px;
    color: #374151;
}

.empty-state p {
    font-size: 1rem;
    color: #6b7280;
}

/* ===== 内容区域 ===== */
.tab-content {
    /* 保持基础显示样式 */
    background: transparent;
    backdrop-filter: none;
    border-radius: 0;
    padding: 10px;
}

/* ✅ 优化：移除!important，使用高特异性选择器 */
.development-integrated-container .tab-content,
#developmentPage .tab-content {
    box-shadow: none;
    min-height: auto;
    width: 100%;
    position: relative;
    display: block;
}

.development-integrated-container .tab-panel,
#developmentPage .tab-panel {
    display: none;
    width: 100%;
    position: relative;
}

.development-integrated-container .tab-panel.active,
#developmentPage .tab-panel.active {
    display: block;
    width: 100%;
    position: relative;
}

.development-integrated-container #applicationsPanel.active,
#developmentPage #applicationsPanel.active {
    display: block;
    visibility: visible;
    opacity: 1;
    height: auto;
    min-height: 400px;
    overflow: visible;
}

/* 确保申请管理面板内容可见 */
.development-integrated-container #applicationsPanel,
#developmentPage #applicationsPanel {
    background: #ffffff;
    border: 1px solid #e9ecef;
    border-radius: 8px;
    padding: 20px;
    margin: 10px 0;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    width: 100%;
    max-width: 100%;
    position: relative;
    overflow: visible;
    box-sizing: border-box;
}

/* 强制显示申请管理面板内的内容 */
.development-integrated-container #applicationsPanel *,
#developmentPage #applicationsPanel * {
    box-sizing: border-box;
}

/* ===== 申请管理面板样式 ===== */
.applications-panel {
    /* 移除内边距和背景，避免与 tab-content 冲突 */
    padding: 0;
    background: transparent;
    min-height: auto;
}

.applications-panel .panel-header {
    margin-bottom: 20px;
}

.applications-panel .panel-header h3 {
    font-size: 1.5rem;
    font-weight: 600;
    color: #2c3e50;
    margin-bottom: 5px;
}

.applications-panel .panel-header p {
    color: #6c757d;
    margin: 0;
}

.applications-panel .filter-section {
    background: white;
    padding: 20px;
    border-radius: 8px;
    margin-bottom: 20px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.applications-panel .statistics-cards {
    margin-bottom: 20px;
}

.applications-panel .stat-card {
    background: white;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    text-align: center;
    height: 100%;
}

.applications-panel .stat-icon {
    font-size: 2rem;
    margin-bottom: 10px;
}

.applications-panel .stat-content h3 {
    font-size: 2rem;
    font-weight: 700;
    margin: 0 0 5px 0;
    color: #2c3e50;
}

.applications-panel .stat-content p {
    color: #6c757d;
    margin: 0;
    font-size: 0.9rem;
}

.applications-panel .applications-table {
    background: white;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.applications-panel .table th {
    background: #f8f9fa;
    border-bottom: 2px solid #dee2e6;
    font-weight: 600;
    padding: 15px;
}

.applications-panel .table td {
    padding: 15px;
    vertical-align: middle;
}

.applications-panel .pagination-section {
    margin-top: 20px;
}

.status-badge {
    padding: 4px 8px;
    border-radius: 4px;
    font-size: 12px;
    font-weight: 500;
}

.status-pending {
    background: #fff3cd;
    color: #856404;
}

.status-approved {
    background: #d4edda;
    color: #155724;
}

.status-rejected {
    background: #f8d7da;
    color: #721c24;
}

/* ===== 卡片样式 - 普通网页内容 ===== */
.card {
    background: white;
    padding: 20px;
    margin-bottom: 20px;
    position: relative;
}


.card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 2px solid #f1f3f4;
}

.card-title {
    font-size: 1.4rem;
    font-weight: 600;
    color: #2c3e50;
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 0;
}

.card-title i {
    color: #dc2626;
    font-size: 1.6rem;
}

.card-actions {
    display: flex;
    gap: 10px;
}

/* ===== 表格样式 ===== */
/* 注意：表格的基础样式在 components.css 中定义，这里只针对党员发展页面特定样式 */
/* 使用更具体的选择器，避免覆盖其他页面的表格样式 */
.table-wrapper {
    overflow-x: auto;
}

.development-page .table,
#developmentPage .table,
.development-container .table {
    width: 100%;
    border-collapse: collapse;
    background: white;
}

.development-page .table th,
#developmentPage .table th,
.development-container .table th {
    background: #f8f9fa;
    color: #374151;
    font-weight: 700;
    padding: 18px 20px;
    text-align: left;
    border-bottom: 2px solid #dc2626;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    position: relative;
}

.development-page .table td,
#developmentPage .table td,
.development-container .table td {
    padding: 18px 20px;
    border-bottom: 1px solid rgba(229, 231, 235, 0.5);
    color: #374151;
    font-size: 0.9rem;
}

.development-page .table tbody tr,
#developmentPage .table tbody tr,
.development-container .table tbody tr {
    position: relative;
}

.development-page .table tbody tr:hover,
#developmentPage .table tbody tr:hover,
.development-container .table tbody tr:hover {
    background: #f8f9fa;
}

.development-page .table tbody tr:nth-child(even),
#developmentPage .table tbody tr:nth-child(even),
.development-container .table tbody tr:nth-child(even) {
    background: rgba(248, 250, 252, 0.5);
}

.development-page .table tbody tr:nth-child(even):hover,
#developmentPage .table tbody tr:nth-child(even):hover,
.development-container .table tbody tr:nth-child(even):hover {
    background: linear-gradient(135deg, rgba(220, 38, 38, 0.08), rgba(239, 68, 68, 0.08));
}

/* ===== 考核评议表格专用样式 ===== */
.assessment-table {
    width: 100%;
    border-collapse: collapse;
    background: white;
    font-size: 14px;
}

.assessment-table th {
    background: #f8f9fa;
    color: #374151;
    font-weight: 600;
    padding: 15px 12px;
    text-align: left;
    border-bottom: 2px solid #e5e7eb;
    font-size: 0.9rem;
    position: sticky;
    top: 0;
    z-index: 10;
}

.assessment-table td {
    padding: 12px;
    border-bottom: 1px solid #e0e6ed;
    color: #374151;
    font-size: 0.9rem;
    vertical-align: middle;
}

.assessment-table tbody tr {
    border-bottom: 1px solid #e0e6ed;
}

.assessment-table tbody tr:hover {
    background: #f8f9fa;
}

.assessment-table tbody tr:nth-child(even) {
    background: rgba(248, 250, 252, 0.3);
}

.assessment-table tbody tr:nth-child(even):hover {
    background: #f8f9fa;
}

/* 考核表格容器 */
/* 注意：.table-container 的基础定义在 main.css 中，这里只针对党员发展页面特定样式 */
/* 使用更具体的选择器，避免覆盖其他页面的样式 */
.development-page .table-container,
#developmentPage .table-container,
.assessment-container .table-container {
    overflow-x: auto;
    max-height: 600px;
    overflow-y: auto;
    border: 1px solid #e0e6ed;
    border-radius: 8px;
}

/* 考核记录列表样式 */
.assessment-list {
    margin-top: 20px;
}

.assessment-list .list-header {
    /* ✅ 优化：移除!important，响应式媒体查询已提供足够特异性 */
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
    padding-bottom: 10px;
    border-bottom: 1px solid #e0e6ed;
}

.assessment-list .list-header h2 {
    margin: 0;
    font-size: 18px;
    color: #374151;
    display: flex;
    align-items: center;
    gap: 8px;
}

/* ✅ 优化：移除!important，使用高特异性选择器 */
.assessment-container .assessment-list .list-actions,
.assessment-list .list-actions {
    display: flex;
    justify-content: flex-end;
    gap: 10px;
}

.assessment-list .list-header h2 i {
    color: #dc2626;
}

/* 考核状态标签 */
.status-badge {
    display: inline-flex;
    align-items: center;
    padding: 4px 8px;
    border-radius: 12px;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.status-badge.status-completed {
    background: #d1fae5;
    color: #065f46;
}

.status-badge.status-pending {
    background: #fef3c7;
    color: #92400e;
}

.status-badge.status-failed {
    background: #fee2e2;
    color: #991b1b;
}

/* 分数显示 */
.score-display {
    font-weight: 600;
    padding: 4px 8px;
    border-radius: 6px;
    font-size: 0.9rem;
}

.score-display.score-excellent {
    background: #d1fae5;
    color: #065f46;
}

.score-display.score-good {
    background: #dbeafe;
    color: #1e40af;
}

.score-display.score-average {
    background: #fef3c7;
    color: #92400e;
}

.score-display.score-poor {
    background: #fee2e2;
    color: #991b1b;
}

/* 操作按钮 - 已移除，避免与stage-actions中的样式冲突 */
/* .action-buttons { ... } */
/* 样式已在上方统一定义 */

/* 加载和错误状态 */
.loading-placeholder {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 40px;
    color: #6b7280;
}

.loading-placeholder i {
    font-size: 1.2rem;
}

.error-message {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 20px;
    color: #dc2626;
    background: #fef2f2;
    border: 1px solid #fecaca;
    border-radius: 8px;
    margin: 10px;
}

.error-message i {
    font-size: 1.2rem;
}

.empty-state {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 40px;
    color: #6b7280;
    text-align: center;
}

.empty-state i {
    font-size: 2rem;
    margin-bottom: 15px;
    color: #9ca3af;
}

.empty-state h3 {
    margin: 0 0 8px 0;
    font-size: 1.1rem;
    color: #374151;
}

.empty-state p {
    margin: 0;
    font-size: 0.9rem;
    color: #6b7280;
}

/* ===== 按钮样式 ===== */
/* ✅ 统一按钮样式：使用main.css中的统一样式系统 */
/* 移除重复定义，统一使用main.css中的按钮样式 */
/* 如需特定模块样式，使用页面容器作用域，例如： */
/* .development-integrated-container .btn-primary { ... } */

/* ===== 徽章样式 ===== */
.badge {
    padding: 4px 12px;
    border-radius: 15px;
    font-size: 0.8rem;
    font-weight: 500;
}

.badge-success {
    background: #d4edda;
    color: #155724;
}

.badge-secondary {
    background: #e2e3e5;
    color: #383d41;
}

.badge-warning {
    background: #fff3cd;
    color: #856404;
}

.badge-danger {
    background: #f8d7da;
    color: #721c24;
}

/* ===== 文本对齐 ===== */
.text-center {
    text-align: center;
}

.text-right {
    text-align: right;
}

.text-left {
    text-align: left;
}

/* ===== 图标样式 ===== */
.icon-base {
    display: inline-block;
    vertical-align: middle;
}

.icon-xs {
    font-size: 0.75rem;
}

.icon-sm {
    font-size: 0.875rem;
}

.icon-md {
    font-size: 1rem;
}

.icon-lg {
    font-size: 1.25rem;
}

.icon-xl {
    font-size: 1.5rem;
}

.icon-2xl {
    font-size: 2rem;
}

.icon-3xl {
    font-size: 3rem;
}

.icon-party-member {
    color: #dc2626;
}

.icon-statistics {
    color: var(--color-primary);
}

.icon-application {
    color: #10b981;
}

.icon-member {
    color: #8b5cf6;
}

.icon-approval {
    color: #f59e0b;
}

.icon-publicity {
    color: #ef4444;
}

.icon-notification {
    color: #06b6d4;
}

/* ✅ 优化：移除!important，使用高特异性选择器 */
/* ===== 模态框样式 ===== */
.development-integrated-container .modal-overlay,
/* ✅ 统一模态框样式：使用components.css中的统一样式系统 */
/* 移除重复定义，统一使用components.css中的模态框样式 */
/* 如需特定模块样式，使用页面容器作用域，例如： */
/* #developmentPage .modal-overlay { ... } */

/* ===== 表单样式 ===== */
.form-group {
    margin-bottom: 20px;
}

.form-label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: #495057;
}

.form-control {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #ced4da;
    border-radius: 8px;
    font-size: 0.9rem;
    transition: border-color 0.3s ease;
}

.form-control:focus {
    outline: none;
    border-color: #dc2626;
    box-shadow: 0 0 0 3px rgba(220, 38, 38, 0.1);
}

.form-row {
    display: flex;
    gap: 15px;
}

.form-row .form-group {
    flex: 1;
}

/* ===== 提示信息样式 ===== */
.alert {
    padding: 15px 20px;
    border-radius: 8px;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.alert-success {
    background: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}

.alert-error {
    background: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}

/* ===== 加载状态 ===== */
.loading-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.8);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
}

.loading-spinner {
    width: 50px;
    height: 50px;
    border: 4px solid #f3f3f3;
    border-top: 4px solid #dc2626;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* ===== 空状态样式 ===== */
.empty-state {
    text-align: center;
    padding: 60px 20px;
    color: #6c757d;
}

.empty-state-icon {
    font-size: 3rem;
    color: #dee2e6;
    margin-bottom: 20px;
}

.empty-state h3 {
    color: #495057;
    margin-bottom: 10px;
}

.empty-state p {
    margin: 0;
    font-size: 0.9rem;
}

/* ✅ 优化：移除!important，使用高特异性选择器 */
/* 使用页面容器作用域提高特异性 */
.development-integrated-container .stage-actions .action-buttons .btn:hover,
#developmentPage .stage-actions .action-buttons .btn:hover,
.development-member-view .stage-actions .action-buttons .btn:hover {
    transform: translateY(-2px);
    transition: all 0.2s ease;
    z-index: 10;
}

.development-integrated-container .stage-actions .action-buttons .btn-primary:hover,
#developmentPage .stage-actions .action-buttons .btn-primary:hover,
.development-member-view .stage-actions .action-buttons .btn-primary:hover {
    box-shadow: 0 4px 12px rgba(220, 38, 38, 0.3);
}

.development-integrated-container .stage-actions .action-buttons .btn-success:hover,
#developmentPage .stage-actions .action-buttons .btn-success:hover,
.development-member-view .stage-actions .action-buttons .btn-success:hover {
    box-shadow: 0 4px 12px rgba(16, 185, 129, 0.3);
}

.development-integrated-container .stage-actions .action-buttons .btn-info:hover,
#developmentPage .stage-actions .action-buttons .btn-info:hover,
.development-member-view .stage-actions .action-buttons .btn-info:hover {
    box-shadow: 0 4px 12px rgba(161, 22, 22, 0.3);
}

.development-integrated-container .stage-actions .action-buttons .btn-warning:hover,
#developmentPage .stage-actions .action-buttons .btn-warning:hover,
.development-member-view .stage-actions .action-buttons .btn-warning:hover {
    box-shadow: 0 4px 12px rgba(245, 158, 11, 0.3);
}

/* ===== 表单编辑器模态框样式 ===== */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.modal {
    background: white;
    border-radius: 8px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    max-width: 90%;
    max-height: 90%;
    overflow: hidden;
    position: relative;
}

.modal-lg {
    width: 800px;
    max-width: 90vw;
}

.modal-header {
    padding: 20px;
    border-bottom: 1px solid #e9ecef;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.modal-title {
    margin: 0;
    font-size: 18px;
    font-weight: 600;
    color: #333;
}

.modal-close {
    background: none;
    border: none;
    font-size: 20px;
    color: #666;
    cursor: pointer;
    padding: 5px;
    border-radius: 4px;
    transition: background-color 0.2s;
}

.modal-close:hover {
    background-color: #f8f9fa;
    color: #333;
}

.modal-body {
    padding: 20px;
    max-height: 60vh;
    overflow-y: auto;
}

.modal-footer {
    padding: 20px;
    border-top: 1px solid #e9ecef;
    display: flex;
    justify-content: flex-end;
    gap: 10px;
}

.form-editor {
    max-width: 100%;
}

.form-group {
    margin-bottom: 20px;
}

.form-label {
    display: block;
    margin-bottom: 5px;
    font-weight: 500;
    color: #333;
}

.form-label.required::after {
    content: ' *';
    color: #dc3545;
}

.form-control {
    width: 100%;
    padding: 8px 12px;
    border: 1px solid #ced4da;
    border-radius: 4px;
    font-size: 14px;
    transition: border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out;
}

.form-control:focus {
    outline: none;
    border-color: #80bdff;
    box-shadow: 0 0 0 0.2rem rgba(0, 123, 255, 0.25);
}

.form-control[readonly] {
    background-color: #f8f9fa;
    color: #6c757d;
}

textarea.form-control {
    resize: vertical;
    min-height: 80px;
}

/* 响应式模态框 */
@media (max-width: 768px) {
    .modal-lg {
        width: 95%;
        margin: 10px;
    }
    
    .modal-header,
    .modal-body,
    .modal-footer {
        padding: 15px;
    }
}

/* 文件上传样式 */
.file-upload-area {
    border: 2px dashed #ced4da;
    border-radius: 8px;
    padding: 40px 20px;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
    background: #f8f9fa;
}

.file-upload-area:hover {
    border-color: #007bff;
    background: #e3f2fd;
}

.upload-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
}

.upload-icon {
    font-size: 48px;
    color: #6c757d;
}

.upload-hint {
    color: #6c757d;
    font-size: 14px;
    margin: 0;
}

.file-list {
    margin-top: 15px;
}

.file-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px;
    background: #f8f9fa;
    border: 1px solid #e9ecef;
    border-radius: 4px;
    margin-bottom: 8px;
}

.file-info {
    display: flex;
    align-items: center;
    gap: 8px;
    flex: 1;
}

.file-info i {
    color: #007bff;
}

.file-name {
    font-weight: 500;
    color: #333;
}

.file-size {
    color: #6c757d;
    font-size: 12px;
}

.btn-remove-file {
    background: none;
    border: none;
    color: #dc3545;
    cursor: pointer;
    padding: 4px;
    border-radius: 4px;
    transition: background-color 0.2s;
}

.btn-remove-file:hover {
    background-color: #f8d7da;
}

/* 批量谈话分配样式 */
.applicant-selection {
    border: 1px solid #e9ecef;
    border-radius: 8px;
    padding: 15px;
    background: #f8f9fa;
}

.selection-header {
    display: flex;
    gap: 10px;
    margin-bottom: 15px;
    padding-bottom: 10px;
    border-bottom: 1px solid #e9ecef;
}

.applicant-list {
    max-height: 300px;
    overflow-y: auto;
}

.applicant-item {
    margin-bottom: 10px;
}

.applicant-checkbox {
    display: flex;
    align-items: center;
    padding: 10px;
    background: white;
    border: 1px solid #e9ecef;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.2s ease;
}

.applicant-checkbox:hover {
    background: #f8f9fa;
    border-color: #007bff;
}

.applicant-checkbox input[type="checkbox"] {
    margin-right: 10px;
    transform: scale(1.2);
}

.applicant-info {
    flex: 1;
}

.applicant-name {
    font-weight: 600;
    color: #333;
    margin-bottom: 4px;
}

.applicant-details {
    display: flex;
    gap: 15px;
    font-size: 12px;
    color: #6c757d;
}

.applicant-details span {
    background: #e9ecef;
    padding: 2px 6px;
    border-radius: 3px;
}

.empty-state {
    text-align: center;
    padding: 40px 20px;
    color: #6c757d;
}

.empty-state i {
    font-size: 48px;
    margin-bottom: 15px;
    color: #dee2e6;
}

/* 申请详情和文件管理样式 */
.file-list-container {
    max-height: 400px;
    overflow-y: auto;
}

.file-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 15px;
    background: #f8f9fa;
    border: 1px solid #e9ecef;
    border-radius: 8px;
    margin-bottom: 10px;
}

.file-info {
    display: flex;
    align-items: center;
    gap: 12px;
    flex: 1;
}

.file-info i {
    font-size: 24px;
    color: #007bff;
}

.file-details {
    flex: 1;
}

.file-name {
    font-weight: 600;
    color: #333;
    margin-bottom: 4px;
}

.file-meta {
    display: flex;
    gap: 15px;
    font-size: 12px;
    color: #6c757d;
}

.file-meta span {
    background: #e9ecef;
    padding: 2px 6px;
    border-radius: 3px;
}

.file-actions {
    display: flex;
    gap: 8px;
}

.application-detail {
    max-height: 500px;
    overflow-y: auto;
}

.detail-section {
    margin-bottom: 25px;
    padding-bottom: 20px;
    border-bottom: 1px solid #e9ecef;
}

.detail-section:last-child {
    border-bottom: none;
    margin-bottom: 0;
}

.detail-section h4 {
    color: #2c3e50;
    margin-bottom: 15px;
    font-size: 16px;
    font-weight: 600;
}

.detail-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 15px;
}

.detail-item {
    display: flex;
    align-items: center;
    padding: 8px 0;
}

.detail-item .label {
    font-weight: 500;
    color: #6c757d;
    min-width: 80px;
    margin-right: 10px;
}

.detail-item .value {
    color: #333;
    flex: 1;
}

.content-box {
    background: #f8f9fa;
    border: 1px solid #e9ecef;
    border-radius: 6px;
    padding: 15px;
    white-space: pre-wrap;
    line-height: 1.6;
    color: #333;
}

/* ===== 批次管理页面优化样式 ===== */

/* 1. 视觉层次优化 - 标题样式 */
.batch-management-container .batch-header h1.batch-title,
.batch-management-container .application-header h1 {
    font-size: 28px !important;
    font-weight: 700 !important;
    color: #A11616 !important;
    margin-bottom: 10px;
}

.batch-management-container .batch-description,
.batch-management-container .application-description {
    color: #6c757d;
    margin: 0;
    font-size: 14px;
}

/* 2. 内容区间距优化 */
.batch-management-container {
    padding: 24px !important;
    margin-top: 20px;
}

.content-container {
    padding: 24px;
    margin-top: 20px;
}

/* 3. 按钮样式优化 */
.batch-management-container .btn-primary {
    background-color: #A11616;
    color: white;
    padding: 10px 20px;
    border-radius: 6px;
    border: none;
    transition: background-color 0.3s ease, transform 0.3s ease;
    cursor: pointer;
    font-weight: 500;
}

.batch-management-container .btn-primary:hover {
    background-color: #991b1b;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(161, 22, 22, 0.3);
}

.batch-management-container .btn-primary:active {
    transform: translateY(0);
}

.batch-management-container .btn-primary:disabled {
    background-color: #ddd;
    cursor: not-allowed;
    transform: none;
    opacity: 0.6;
}

/* 暂停按钮 - 橙色 */
.batch-management-container .btn-pause,
.batch-management-container .btn-warning {
    background-color: #ff9800;
    color: white;
    border: none;
    padding: 6px 12px;
    border-radius: 6px;
    transition: all 0.3s ease;
    cursor: pointer;
}

.batch-management-container .btn-pause:hover,
.batch-management-container .btn-warning:hover {
    background-color: #f57c00;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(255, 152, 0, 0.3);
}

/* 关闭按钮 - 红色 */
.batch-management-container .btn-close,
.batch-management-container .btn-danger {
    background-color: #e74c3c;
    color: white;
    border: none;
    padding: 6px 12px;
    border-radius: 6px;
    transition: all 0.3s ease;
    cursor: pointer;
}

.batch-management-container .btn-close:hover,
.batch-management-container .btn-danger:hover {
    background-color: #c0392b;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(231, 76, 60, 0.3);
}

/* 详情按钮 - 蓝色 */
.batch-management-container .btn-detail,
.batch-management-container .btn-info {
    background-color: #3498db;
    color: white;
    border: none;
    padding: 6px 12px;
    border-radius: 6px;
    transition: all 0.3s ease;
    cursor: pointer;
}

.batch-management-container .btn-detail:hover,
.batch-management-container .btn-info:hover {
    background-color: #2980b9;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(52, 152, 219, 0.3);
}

/* 编辑按钮 - 蓝色文字 */
.batch-management-container .btn-edit,
.batch-management-container .btn-outline-primary {
    background-color: transparent;
    color: #3498db;
    border: 1px solid #3498db;
    padding: 6px 12px;
    border-radius: 6px;
    transition: all 0.3s ease;
    cursor: pointer;
}

.batch-management-container .btn-edit:hover,
.batch-management-container .btn-outline-primary:hover {
    background-color: #3498db;
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(52, 152, 219, 0.3);
}

/* 删除按钮 - 深红色 */
.batch-management-container .btn-delete {
    background-color: transparent;
    color: #c0392b;
    border: none;
    padding: 6px 12px;
    border-radius: 6px;
    transition: all 0.3s ease;
    cursor: pointer;
}

.batch-management-container .btn-delete:hover {
    background-color: #c0392b;
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(192, 57, 43, 0.3);
}

/* 刷新按钮 */
.batch-management-container .btn-refresh {
    background-color: #e74c3c;
    color: white;
    padding: 10px 20px;
    border-radius: 6px;
    border: none;
    transition: all 0.3s ease;
    cursor: pointer;
}

.batch-management-container .btn-refresh:hover {
    background-color: #c0392b;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(231, 76, 60, 0.3);
}

/* 按钮组样式 */
.batch-management-container .btn-group {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

.batch-management-container .btn-action {
    font-size: 12px;
    padding: 6px 12px;
    white-space: nowrap;
}

/* 4. 表格样式优化 */
.batch-management-container .table-batch,
.batch-management-container .table {
    width: 100%;
    border-collapse: collapse;
    background: white;
    border-radius: 8px;
    overflow: hidden;
}

.batch-management-container .table-batch thead,
.batch-management-container .table thead {
    background-color: #f8f9fa;
}

.batch-management-container .table-batch th,
.batch-management-container .table th {
    background-color: #f8f9fa;
    padding: 16px;
    text-align: left;
    font-weight: 700;
    color: #374151;
    border-bottom: 2px solid #ddd;
    font-size: 14px;
}

.batch-management-container .table-batch tbody tr,
.batch-management-container .table tbody tr {
    border-bottom: 1px solid #e9ecef;
    transition: all 0.2s ease;
}

.batch-management-container .table-batch tbody tr:hover,
.batch-management-container .table tbody tr:hover {
    background: #f1f5f9;
    cursor: pointer;
    transform: scale(1.01);
}

.batch-management-container .table-batch td,
.batch-management-container .table td {
    padding: 16px;
    text-align: left;
    color: #374151;
    font-size: 14px;
}

/* 5. 模态框优化 */
.modal-overlay-enhanced {
    background: rgba(0, 0, 0, 0.3) !important;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    visibility: visible;
    opacity: 1;
    transition: opacity 0.3s ease;
    z-index: 99999;
}

.modal-overlay-enhanced.active {
    visibility: visible;
    opacity: 1;
}

.modal-overlay-enhanced .modal-container,
.modal-overlay-enhanced .modal-dialog .modal-content {
    background: white;
    padding: 24px;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    width: 80%;
    max-width: 600px;
    max-height: 90vh;
    overflow-y: auto;
}

.modal-overlay-enhanced .modal-header {
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 16px;
    padding-bottom: 16px;
    border-bottom: 1px solid #e9ecef;
}

.modal-overlay-enhanced .modal-footer {
    text-align: right;
    padding-top: 16px;
    border-top: 1px solid #e9ecef;
    margin-top: 16px;
}

/* 6. 响应式设计优化 */
@media (max-width: 768px) {
    .batch-management-container {
        padding: 16px !important;
    }
    
    .batch-management-container .batch-actions {
        flex-direction: column;
        gap: 12px;
    }
    
    .batch-management-container .table-batch td,
    .batch-management-container .table-batch th,
    .batch-management-container .table td,
    .batch-management-container .table th {
        padding: 12px;
        font-size: 14px;
    }
    
    .batch-management-container .table-responsive {
        overflow-x: auto;
    }
    
    .batch-management-container .table-batch,
    .batch-management-container .table {
        min-width: 600px;
    }
    
    .batch-management-container .btn-group {
        flex-direction: column;
        width: 100%;
    }
    
    .batch-management-container .btn-action {
        width: 100%;
    }
    
    .modal-overlay-enhanced .modal-container,
    .modal-overlay-enhanced .modal-dialog .modal-content {
        width: 95%;
        padding: 16px;
    }
}

/* 7. 分页样式（如果添加分页功能） */
.pagination {
    display: flex;
    gap: 10px;
    margin-top: 20px;
    justify-content: center;
    align-items: center;
}

.pagination-btn {
    padding: 8px 12px;
    background-color: #A11616;
    color: white;
    border-radius: 6px;
    cursor: pointer;
    border: none;
    transition: all 0.3s ease;
}

.pagination-btn:hover {
    background-color: #991b1b;
    transform: translateY(-2px);
}

.pagination-btn:disabled {
    background-color: #ddd;
    cursor: not-allowed;
    opacity: 0.6;
}

.pagination-btn.active {
    background-color: #991b1b;
    font-weight: 600;
}

/* ===== 错误消息样式 ===== */
.error-message {
    background: #f8d7da;
    color: #721c24;
    padding: 15px;
    border-radius: 8px;
    border: 1px solid #f5c6cb;
    text-align: center;
}

/* ===== 考核评议管理样式 ===== */
/* 根据界面颜色搭配建议.md优化考核评议管理界面 */
/* 使用#processManagementContent作为基础选择器，因为考核评议管理的card在此容器中 */

/* 考核评议管理容器 - 整体布局居中，减少空白 */
#processManagementContent .card {
    max-width: 1800px;
    width: 98%;
    margin: 0 auto;
    padding: 20px;
}

/* 顶部按钮区域 - 党建化 */
#processManagementContent .card .card-header .card-actions {
    display: flex;
    gap: 12px;
    align-items: center;
}

/* 新建考核按钮 - 党建红渐变 */
#processManagementContent .card .card-header .btn-primary[data-action="create-assessment"] {
    background: linear-gradient(135deg, #C7000B 0%, #D72B2B 100%) !important;
    color: white !important;
    border: none !important;
    padding: 10px 20px !important;
    border-radius: 8px !important;
    font-weight: 600 !important;
    box-shadow: 0 4px 15px rgba(199, 0, 11, 0.3) !important;
    transition: all 0.3s ease !important;
}

#processManagementContent .card .card-header .btn-primary[data-action="create-assessment"]:hover {
    background: linear-gradient(135deg, #A11616 0%, #C7000B 100%) !important;
    transform: translateY(-2px) !important;
    box-shadow: 0 6px 20px rgba(199, 0, 11, 0.4) !important;
}

/* 刷新按钮 - 灰白色辅助按钮 */
#processManagementContent .card .card-header .btn-outline[data-action="refresh-assessment"] {
    background: white !important;
    color: #6B7280 !important;
    border: 1px solid #e5e7eb !important;
    padding: 10px 20px !important;
    border-radius: 8px !important;
    font-weight: 500 !important;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1) !important;
    transition: all 0.3s ease !important;
}

#processManagementContent .card .card-header .btn-outline[data-action="refresh-assessment"]:hover {
    background: #f9fafb !important;
    border-color: #d1d5db !important;
    transform: translateY(-2px) !important;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15) !important;
}

/* 筛选区域 - 淡红灰背景卡片，更紧凑布局 */
#processManagementContent .card .filter-section {
    background: #F9F5F5 !important;
    border-radius: 10px !important;
    padding: 16px 20px !important;
    margin-bottom: 20px !important;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05) !important;
    border: 1px solid #f0e8e8 !important;
    display: flex !important;
    flex-direction: row !important;
    align-items: end !important;
    gap: 16px !important;
    flex-wrap: wrap !important;
}

#processManagementContent .card .filter-group {
    display: flex !important;
    flex-direction: column !important;
    gap: 8px !important;
    flex: 0 0 auto !important;
    min-width: 220px !important;
    max-width: 220px !important;
}

#processManagementContent .card .filter-group label {
    font-weight: 700 !important;
    color: #374151 !important;
    font-size: 14px !important;
    text-align: left !important;
}

#processManagementContent .card .filter-group select,
#processManagementContent .card .filter-group input {
    width: 220px !important;
    padding: 10px 12px !important;
    border: 2px solid #e0e6ed !important;
    border-radius: 8px !important;
    font-size: 14px !important;
    background: white !important;
    box-sizing: border-box !important;
}

#processManagementContent .card .filter-group select:focus,
#processManagementContent .card .filter-group input:focus {
    outline: none !important;
    border-color: #A11616 !important;
    box-shadow: 0 0 0 3px rgba(161, 22, 22, 0.1) !important;
}

/* 搜索框特殊处理 - 添加搜索图标 */
#processManagementContent .card .filter-group:has(input[type="text"]) input {
    padding-left: 40px !important;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%236B7280' stroke-width='2'%3E%3Ccircle cx='11' cy='11' r='8'/%3E%3Cpath d='m21 21-4.35-4.35'/%3E%3C/svg%3E") !important;
    background-repeat: no-repeat !important;
    background-position: 12px center !important;
}

/* 统计卡片 - 党建主题色体系 */
#processManagementContent .card .stats-cards {
    display: grid !important;
    grid-template-columns: repeat(4, 1fr) !important;
    gap: 16px !important;
    margin-bottom: 20px !important;
}

#processManagementContent .card .stats-cards .stat-card {
    background: white !important;
    border-radius: 12px !important;
    padding: 20px !important;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08) !important;
    border-top: 3px solid transparent !important;
    display: flex !important;
    align-items: center !important;
    justify-content: flex-start !important;
    gap: 16px !important;
    min-height: 100px !important;
    transition: all 0.3s ease !important;
}

#processManagementContent .card .stats-cards .stat-card:hover {
    transform: translateY(-3px) !important;
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.12) !important;
}

/* 第一个卡片 - 总考核数（党建红） */
#processManagementContent .card .stats-cards .stat-card:nth-child(1) {
    border-top-color: #C7000B !important;
}

#processManagementContent .card .stats-cards .stat-card:nth-child(1) .stat-icon {
    background: linear-gradient(135deg, #C7000B 0%, #A11616 100%) !important;
    width: 50px !important;
    height: 50px !important;
    border-radius: 50% !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    color: white !important;
    font-size: 22px !important;
    box-shadow: 0 2px 8px rgba(199, 0, 11, 0.3) !important;
    flex-shrink: 0 !important;
}

/* 第二个卡片 - 平均分（党建金色） */
#processManagementContent .card .stats-cards .stat-card:nth-child(2) {
    border-top-color: #DFAE4F !important;
}

#processManagementContent .card .stats-cards .stat-card:nth-child(2) .stat-icon {
    background: linear-gradient(135deg, #DFAE4F 0%, #E6C47A 100%) !important;
    width: 50px !important;
    height: 50px !important;
    border-radius: 50% !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    color: white !important;
    font-size: 22px !important;
    box-shadow: 0 2px 8px rgba(223, 174, 79, 0.3) !important;
    flex-shrink: 0 !important;
}

/* 第三个卡片 - 已完成（党建蓝色） */
#processManagementContent .card .stats-cards .stat-card:nth-child(3) {
    border-top-color: #1E3A8A !important;
}

#processManagementContent .card .stats-cards .stat-card:nth-child(3) .stat-icon {
    background: linear-gradient(135deg, #1E3A8A 0%, #1e40af 100%) !important;
    width: 50px !important;
    height: 50px !important;
    border-radius: 50% !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    color: white !important;
    font-size: 22px !important;
    box-shadow: 0 2px 8px rgba(30, 58, 138, 0.3) !important;
    flex-shrink: 0 !important;
}

/* 第四个卡片 - 待完成（淡灰红） */
#processManagementContent .card .stats-cards .stat-card:nth-child(4) {
    border-top-color: #DC2626 !important;
}

#processManagementContent .card .stats-cards .stat-card:nth-child(4) .stat-icon {
    background: linear-gradient(135deg, #DC2626 0%, #B91C1C 100%) !important;
    width: 50px !important;
    height: 50px !important;
    border-radius: 50% !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    color: white !important;
    font-size: 22px !important;
    box-shadow: 0 2px 8px rgba(220, 38, 38, 0.3) !important;
    flex-shrink: 0 !important;
}

/* 统计卡片内容区域 */
#processManagementContent .card .stats-cards .stat-content {
    flex: 1 !important;
    display: flex !important;
    flex-direction: column !important;
    justify-content: center !important;
    align-items: flex-start !important;
    text-align: left !important;
}

#processManagementContent .card .stats-cards .stat-content h3 {
    font-size: 28px !important;
    font-weight: 700 !important;
    color: #1f2937 !important;
    margin: 0 0 6px 0 !important;
    line-height: 1.2 !important;
}

#processManagementContent .card .stats-cards .stat-content p {
    font-size: 14px !important;
    color: #6b7280 !important;
    margin: 0 !important;
    line-height: 1.4 !important;
}

/* 表格表头 - 党建红渐变，文字居中 */
#processManagementContent .card .assessment-table th {
    background: linear-gradient(to right, #A11616, #C7000B) !important;
    color: white !important;
    text-align: center !important;
    font-weight: 600 !important;
    padding: 15px 12px !important;
    border-bottom: none !important;
    position: sticky !important;
    top: 0 !important;
    z-index: 10 !important;
}

/* 表格行样式 */
#processManagementContent .card .assessment-table tbody tr:hover {
    background: rgba(161, 22, 22, 0.05) !important;
}

/* 导出按钮 - 党建红 */
#processManagementContent .card .list-actions .btn-outline[data-action="export-assessment"] {
    background: white !important;
    color: #A11616 !important;
    border: 1px solid #A11616 !important;
    box-shadow: 0 2px 8px rgba(161, 22, 22, 0.1) !important;
}

#processManagementContent .card .list-actions .btn-outline[data-action="export-assessment"]:hover {
    background: #A11616 !important;
    color: white !important;
    transform: translateY(-2px) !important;
    box-shadow: 0 4px 12px rgba(161, 22, 22, 0.3) !important;
}

/* 列表标题图标 - 党建红 */
#processManagementContent .card .list-header h2 i {
    color: #A11616 !important;
}

/* 考核记录列表区域 - 确保表格在标题下方 */
#processManagementContent .card .assessment-list {
    display: block !important;
    margin-top: 20px !important;
}

#processManagementContent .card .assessment-list .list-header {
    display: flex !important;
    justify-content: space-between !important;
    align-items: center !important;
    margin-bottom: 20px !important;
    padding-bottom: 15px !important;
    border-bottom: 1px solid #e0e6ed !important;
}

#processManagementContent .card .assessment-list .table-container {
    display: block !important;
    width: 100% !important;
    margin-top: 0 !important;
    overflow-x: auto !important;
    border-radius: 8px !important;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05) !important;
}

/* 响应式设计 */
@media (max-width: 960px) {
    #processManagementContent .card .stats-cards {
        grid-template-columns: repeat(2, 1fr) !important;
    }
}

@media (max-width: 768px) {
    #processManagementContent .card .stats-cards {
        grid-template-columns: 1fr !important;
    }
    
    #processManagementContent .card .filter-group {
        min-width: 100% !important;
        max-width: 100% !important;
    }
    
    #processManagementContent .card .filter-group select,
    #processManagementContent .card .filter-group input {
        width: 100% !important;
    }
}

.assessment-tabs {
    display: flex;
    gap: 10px;
    margin-bottom: 20px;
    border-bottom: 2px solid #e9ecef;
    padding-bottom: 10px;
}

.assessment-tab {
    background: none;
    border: none;
    padding: 10px 20px;
    border-radius: 8px 8px 0 0;
    cursor: pointer;
    color: #6c757d;
    font-weight: 500;
    position: relative;
}

.assessment-tab:hover {
    background: #f8f9fa;
    color: #495057;
}

.assessment-tab.active {
    background: var(--gradient-primary);
    color: white;
    box-shadow: 0 4px 15px rgba(161, 22, 22, 0.3);
}

.assessment-tab.active::after {
    content: '';
    position: absolute;
    bottom: -12px;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 0;
    border-left: 8px solid transparent;
    border-right: 8px solid transparent;
    border-top: 8px solid var(--color-secondary);
}

.assessment-content {
    min-height: 400px;
}

/* 注意：此样式仅用于考核卡片列表，不适用于表格布局 */
.assessment-list.assessment-cards-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 20px;
}

/* 考核记录列表（包含表格）应垂直排列 */
.assessment-list {
    display: block;
    margin-top: 20px;
}

.assessment-card {
    background: white;
    border-radius: 12px;
    padding: 20px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.08);
    border: 1px solid #e9ecef;
    position: relative;
    overflow: hidden;
}

.assessment-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--gradient-primary);
}

.assessment-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.15);
}

.assessment-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
}

.assessment-header h4 {
    margin: 0;
    color: #2c3e50;
    font-size: 1.2rem;
    font-weight: 600;
}

.assessment-type-badge {
    background: #e9ecef;
    color: #6c757d;
    padding: 4px 12px;
    border-radius: 15px;
    font-size: 0.8rem;
    font-weight: 500;
}

.assessment-info {
    margin-bottom: 20px;
}

.assessment-info .table-enhanced {
    margin: 0;
}

.assessment-info th {
    background: #f8f9fa;
    font-weight: 600;
    color: #495057;
    font-size: 0.9rem;
}

.assessment-info td {
    color: #212529;
    font-size: 0.9rem;
}

.assessment-actions {
    display: flex;
    gap: 10px;
    justify-content: flex-end;
}

.assessment-actions .btn {
    padding: 8px 16px;
    border-radius: 6px;
    font-size: 0.9rem;
    font-weight: 500;
}

.assessment-actions .btn-primary {
    background: var(--gradient-primary);
    border: none;
    color: white;
}

.assessment-actions .btn-primary:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 15px rgba(161, 22, 22, 0.4);
}

.assessment-actions .btn-outline {
    background: transparent;
    border: 1px solid #dee2e6;
    color: #6c757d;
}

.assessment-actions .btn-outline:hover {
    background: #f8f9fa;
    border-color: #adb5bd;
    color: #495057;
}

/* 考核表单样式 */
.assessment-candidate-info {
    background: #f8f9fa;
    padding: 15px;
    border-radius: 8px;
    margin-bottom: 20px;
}

.assessment-candidate-info h4 {
    margin: 0 0 5px 0;
    color: #2c3e50;
    font-size: 1.1rem;
}

.assessment-candidate-info p {
    margin: 0;
    color: #6c757d;
    font-size: 0.9rem;
}

/* 打分表单样式 */
.scoring-dimensions {
    margin-bottom: 20px;
}

.dimension-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px;
    background: #f8f9fa;
    border-radius: 8px;
    margin-bottom: 10px;
    border: 1px solid #e9ecef;
}

.dimension-label {
    font-weight: 600;
    color: #495057;
    flex: 1;
}

.score-input-group {
    display: flex;
    align-items: center;
    gap: 8px;
}

.score-input {
    width: 80px;
    padding: 8px 12px;
    border: 1px solid #ced4da;
    border-radius: 6px;
    text-align: center;
    font-weight: 500;
}

.score-input:focus {
    outline: none;
    border-color: var(--color-primary);
    box-shadow: 0 0 0 3px rgba(161, 22, 22, 0.1);
}

.score-unit {
    color: #6c757d;
    font-size: 0.9rem;
    font-weight: 500;
}

/* 培养联系人表单样式 */
.cultivation-assessment,
.teacher-assessment,
.points-assessment {
    margin-bottom: 20px;
}

.assessment-item {
    margin-bottom: 15px;
}

.assessment-item label {
    display: block;
    margin-bottom: 5px;
    font-weight: 600;
    color: #495057;
}

.assessment-item .form-control-enhanced {
    width: 100%;
    padding: 10px 12px;
    border: 1px solid #ced4da;
    border-radius: 6px;
    font-size: 0.9rem;
    transition: border-color 0.3s ease;
}

.assessment-item .form-control-enhanced:focus {
    outline: none;
    border-color: var(--color-primary);
    box-shadow: 0 0 0 3px rgba(161, 22, 22, 0.1);
}

.assessment-item select.form-control-enhanced {
    cursor: pointer;
}

/* 理论测试表单样式 */
.test-info {
    background: #e3f2fd;
    padding: 15px;
    border-radius: 8px;
    margin-bottom: 20px;
    border-left: 4px solid #2196f3;
}

.test-info p {
    margin: 5px 0;
    color: #1976d2;
    font-size: 0.9rem;
}

.test-info strong {
    color: #0d47a1;
}

.test-actions {
    display: flex;
    gap: 15px;
    margin-bottom: 20px;
    justify-content: center;
}

.test-actions .btn {
    padding: 12px 24px;
    border-radius: 8px;
    font-weight: 500;
}

.test-results {
    background: #f8f9fa;
    padding: 20px;
    border-radius: 8px;
    border: 1px solid #e9ecef;
}

/* 评价意见样式 */
.assessment-comments {
    margin-top: 20px;
}

.assessment-comments label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: #495057;
}

.assessment-comments textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid #ced4da;
    border-radius: 6px;
    font-size: 0.9rem;
    line-height: 1.5;
    resize: vertical;
    min-height: 100px;
    transition: border-color 0.3s ease;
}

.assessment-comments textarea:focus {
    outline: none;
    border-color: var(--color-primary);
    box-shadow: 0 0 0 3px rgba(161, 22, 22, 0.1);
}

/* 考核详情样式 */
.assessment-detail-info {
    margin-bottom: 20px;
}

.assessment-detail-info .table-enhanced {
    margin: 0;
}

.assessment-scores {
    background: #f8f9fa;
    padding: 15px;
    border-radius: 8px;
    margin-bottom: 20px;
}

.assessment-scores h4 {
    margin: 0 0 10px 0;
    color: #2c3e50;
    font-size: 1rem;
}

.scores-detail {
    background: white;
    padding: 15px;
    border-radius: 6px;
    border: 1px solid #e9ecef;
    font-family: 'Courier New', monospace;
    font-size: 0.8rem;
    color: #495057;
    white-space: pre-wrap;
}

.assessment-comments-detail {
    background: #f8f9fa;
    padding: 15px;
    border-radius: 8px;
}

.assessment-comments-detail h4 {
    margin: 0 0 10px 0;
    color: #2c3e50;
    font-size: 1rem;
}

.comments-content {
    background: white;
    padding: 15px;
    border-radius: 6px;
    border: 1px solid #e9ecef;
    line-height: 1.6;
    color: #495057;
}

/* 状态徽章样式 */
.status-badge {
    padding: 4px 12px;
    border-radius: 15px;
    font-size: 0.8rem;
    font-weight: 500;
}

.status-badge.status-pending {
    background: #fff3cd;
    color: #856404;
}

.status-badge.status-completed {
    background: #d4edda;
    color: #155724;
}

.status-badge.status-overdue {
    background: #f8d7da;
    color: #721c24;
}

/* ===== 人员分配管理样式 ===== */
.personnel-assignment-container {
    margin: 0 auto;
    padding: 20px;
}

.personnel-assignment-container .header {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-radius: 15px;
    padding: 20px 30px;
    margin-bottom: 30px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
}

/* ✅ 优化：移除!important，使用main.css中的高特异性定义 */
/* 统一标题栏样式：字体大小28px，字体粗细700 */
/* 这些样式已在main.css中定义，这里不需要重复定义 */
.development-integrated-container .header h1,
#developmentPage .header h1 {
    display: flex;
    align-items: center;
    gap: 12px;
}

/* 注意：.header h1 i 的样式已在main.css中定义，如需特定覆盖可在此添加 */

.header-actions {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

.personnel-assignment-container .btn-primary {
    background: linear-gradient(135deg, #9b59b6, #8e44ad);
    color: white;
    box-shadow: 0 4px 15px rgba(155, 89, 182, 0.3);
}

.personnel-assignment-container .btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(155, 89, 182, 0.4);
}

.personnel-assignment-container .btn-outline {
    background: transparent;
    color: #9b59b6;
    border: 2px solid #9b59b6;
}

.personnel-assignment-container .btn-outline:hover {
    background: #9b59b6;
    color: white;
    transform: translateY(-2px);
}

.personnel-assignment-container .btn-success {
    background: linear-gradient(135deg, #27ae60, #229954);
    color: white;
    box-shadow: 0 4px 15px rgba(39, 174, 96, 0.3);
}

.personnel-assignment-container .btn-danger {
    background: linear-gradient(135deg, #e74c3c, #c0392b);
    color: white;
    box-shadow: 0 4px 15px rgba(231, 76, 60, 0.3);
}

.personnel-assignment-container .btn-warning {
    background: linear-gradient(135deg, #f39c12, #e67e22);
    color: white;
    box-shadow: 0 4px 15px rgba(243, 156, 18, 0.3);
}

.personnel-assignment-container .btn-sm {
    padding: 6px 12px;
    font-size: 12px;
    min-width: auto;
}

.personnel-assignment-container .btn:hover {
    transform: translateY(-2px);
}

/* 筛选区域 */
.filter-section {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-radius: 15px;
    padding: 20px;
    margin-bottom: 20px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    display: flex;
    flex-direction: row;
    align-items: end;
    gap: 20px;
    flex-wrap: wrap;
}

.filter-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
    flex: 1;
    min-width: 200px;
    max-width: 300px;
}

.filter-group label {
    font-weight: 600;
    color: #2c3e50;
    font-size: 0.9rem;
    white-space: nowrap;
}

.filter-group select,
.filter-group input {
    padding: 12px 16px;
    border: 2px solid #e5e7eb;
    border-radius: 10px;
    font-size: 0.9rem;
    background: white;
    width: 100%;
    box-sizing: border-box;
}

.filter-group select:focus,
.filter-group input:focus {
    outline: none;
    border-color: #dc2626;
    box-shadow: 0 0 0 3px rgba(220, 38, 38, 0.1);
}

/* 搜索框特殊样式 - 占据更多空间 */
.filter-group:last-child {
    flex: 1.5;
    max-width: 400px;
}

/* ===== 材料管理专用样式 - 保持原始页面设计 ===== */
/* 材料管理卡片头部 */
#materialPanel .card-header {
    background: #f8f9fa;
    border-bottom: 1px solid #e0e6ed;
    padding: 20px 25px;
}

#materialPanel .card-title {
    color: #2c3e50;
    font-size: 20px;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 10px;
}

#materialPanel .card-title i {
    color: #3498db;
    font-size: 24px;
}

/* 材料管理筛选区域 - 根据界面颜色搭配建议优化 */
#materialPanel .filter-section {
    background: white !important;
    border: 1px solid #e0e6ed;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
    padding: 20px;
    margin-bottom: 30px;
}

#materialPanel .filter-group label {
    color: #374151 !important;
    font-weight: 700 !important;
    font-size: 14px;
    text-align: left !important;
}

#materialPanel .filter-group select,
#materialPanel .filter-group input {
    border: 2px solid #e0e6ed;
    border-radius: 8px;
    padding: 10px 12px;
    font-size: 14px;
    background: white;
    height: 40px;
}

#materialPanel .filter-group select:focus,
#materialPanel .filter-group input:focus {
    border-color: #A11616 !important;
    box-shadow: 0 0 0 3px rgba(161, 22, 22, 0.1) !important;
}

/* 材料管理统计卡片 - 根据界面颜色搭配建议优化：降低高度到120px，改为党建主题色 */
#materialPanel .stats-cards {
    grid-template-columns: repeat(4, 1fr) !important;
    gap: 20px;
    margin-bottom: 30px;
}

#materialPanel .stat-card {
    background: white !important;
    color: #374151;
    padding: 20px !important;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: flex-start !important;
    gap: 16px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08) !important;
    transition: all 0.3s ease;
    border-top: 3px solid #C7000B;
    min-height: 120px !important;
    max-height: none !important;
    overflow: visible !important;
}

#materialPanel .stat-card:hover {
    transform: translateY(-3px) !important;
    box-shadow: 0 6px 14px rgba(0, 0, 0, 0.08) !important;
}

/* 总材料数 - 党建红 */
#materialPanel .stat-card:nth-child(1) {
    border-top-color: #C7000B !important;
}

#materialPanel .stat-card:nth-child(1) .stat-icon {
    background: linear-gradient(135deg, #C7000B 0%, #A11616 100%) !important;
}

/* 已完成 - 党建金色 */
#materialPanel .stat-card:nth-child(2) {
    border-top-color: #DFAE4F !important;
}

#materialPanel .stat-card:nth-child(2) .stat-icon {
    background: linear-gradient(135deg, #DFAE4F 0%, #E6C47A 100%) !important;
}

/* 审核中 - 党建蓝 */
#materialPanel .stat-card:nth-child(3) {
    border-top-color: #1E3A8A !important;
}

#materialPanel .stat-card:nth-child(3) .stat-icon {
    background: linear-gradient(135deg, #1E3A8A 0%, #1e40af 100%) !important;
}

/* 已退回 - 灰红色（淡红） */
#materialPanel .stat-card:nth-child(4) {
    border-top-color: #DC2626 !important;
}

#materialPanel .stat-card:nth-child(4) .stat-icon {
    background: linear-gradient(135deg, #DC2626 0%, #B91C1C 100%) !important;
}

/* 图标背景优化：缩小阴影，改为圆形背景，左右布局适配 */
#materialPanel .stat-icon {
    width: 50px !important;
    height: 50px !important;
    border-radius: 50% !important;
    font-size: 22px !important;
    opacity: 1;
    color: #ffffff !important;
    font-weight: 600;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15) !important;
    flex-shrink: 0;
    text-shadow: none !important;
}

#materialPanel .stat-content {
    flex: 1;
    min-width: 80px !important;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    text-align: left;
    overflow: visible !important;
}

#materialPanel .stat-content h3 {
    font-size: 28px !important;
    font-weight: 700;
    margin: 0 0 6px 0 !important;
    color: #1f2937;
    line-height: 1.2 !important;
    white-space: normal !important;
    overflow: visible !important;
    text-overflow: clip !important;
    word-break: break-word;
}

#materialPanel .stat-content p {
    font-size: 14px !important;
    color: #6b7280;
    font-weight: 500;
    margin: 0 !important;
    line-height: 1.4 !important;
    opacity: 1;
    white-space: normal !important;
    overflow: visible !important;
    text-overflow: clip !important;
    word-break: break-word;
}

/* 材料管理列表头部 */
#materialPanel .material-list {
    background: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

#materialPanel .list-header {
    background: linear-gradient(135deg, #f8f9fa, #e9ecef);
    padding: 20px 25px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid #e0e6ed;
}

#materialPanel .list-header h2 {
    color: #2c3e50;
    font-size: 20px;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 10px;
}

#materialPanel .list-header h2 i {
    color: #A11616 !important;
}

/* 材料管理表格 */
#materialPanel .table-container {
    overflow-x: auto;
    max-height: 600px;
    overflow-y: auto;
}

#materialPanel .material-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 14px;
}

/* 表格表头 - 根据界面颜色搭配建议：使用党建红渐变，文字居中 */
#materialPanel .material-table th {
    background: linear-gradient(to right, #A11616, #C7000B) !important;
    color: white !important;
    padding: 15px 12px;
    text-align: center !important;
    font-weight: 600;
    position: sticky;
    top: 0;
    z-index: 10;
}

#materialPanel .material-table td {
    padding: 12px;
    border-bottom: 1px solid #e0e6ed;
    vertical-align: middle;
}

#materialPanel .material-table tbody tr {
    border-bottom: 1px solid #e0e6ed;
}

#materialPanel .material-table tbody tr:hover {
    background: rgba(161, 22, 22, 0.05) !important;
}

/* 材料管理状态标签 */
#materialPanel .status-badge {
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

#materialPanel .status-draft {
    background: linear-gradient(135deg, #95a5a6, #7f8c8d);
    color: white;
    box-shadow: 0 2px 8px rgba(149, 165, 166, 0.3);
}

#materialPanel .status-reviewing,
#materialPanel .status-pending {
    background: #fef3c7 !important;
    color: #d97706 !important;
    border: none;
    box-shadow: none !important;
}

#materialPanel .status-completed {
    background: linear-gradient(135deg, #27ae60, #229954);
    color: white;
    box-shadow: 0 2px 8px rgba(39, 174, 96, 0.3);
}

#materialPanel .status-rejected {
    background: linear-gradient(135deg, #e74c3c, #c0392b);
    color: white;
    box-shadow: 0 2px 8px rgba(231, 76, 60, 0.3);
}

/* 操作按钮 - 根据图示样式：小图标按钮，浅灰色背景 */
#materialPanel .action-buttons {
    display: flex;
    gap: 6px;
    align-items: center;
    justify-content: center;
}

#materialPanel .action-buttons .btn,
#materialPanel .action-buttons button {
    width: 32px !important;
    height: 32px !important;
    padding: 0 !important;
    border-radius: 6px !important;
    background: #f3f4f6 !important;
    color: #374151 !important;
    border: 1px solid #e5e7eb !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    cursor: pointer;
    transition: all 0.2s ease;
    font-size: 14px !important;
    box-shadow: none !important;
}

#materialPanel .action-buttons .btn:hover,
#materialPanel .action-buttons button:hover {
    background: #e5e7eb !important;
    border-color: #d1d5db !important;
    transform: translateY(-1px);
}

#materialPanel .action-buttons .btn i,
#materialPanel .action-buttons button i {
    margin: 0 !important;
    font-size: 14px !important;
}

#materialPanel .action-buttons .btn span,
#materialPanel .action-buttons button span {
    display: none !important;
}

/* 材料管理按钮样式 - 根据界面颜色搭配建议优化为党建主题 */
/* 新建材料按钮 - 党建红渐变 */
#materialPanel .btn-primary {
    background: linear-gradient(135deg, #C7000B 0%, #A11616 100%) !important;
    color: white !important;
    box-shadow: 0 4px 15px rgba(199, 0, 11, 0.3) !important;
}

#materialPanel .btn-primary:hover {
    background: linear-gradient(135deg, #A11616 0%, #8B0000 100%) !important;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(199, 0, 11, 0.4) !important;
}

/* 材料模板按钮 - 金色或红边白底 */
#materialPanel .btn-success,
#materialPanel .btn-outline {
    background: white !important;
    color: #DFAE4F !important;
    border: 2px solid #DFAE4F !important;
    box-shadow: 0 2px 8px rgba(223, 174, 79, 0.2) !important;
}

#materialPanel .btn-success:hover,
#materialPanel .btn-outline:hover {
    background: linear-gradient(135deg, #DFAE4F 0%, #E6C47A 100%) !important;
    color: white !important;
    border-color: #DFAE4F !important;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(223, 174, 79, 0.3) !important;
}

/* 刷新按钮 - 灰色辅助按钮 */
#materialPanel .btn-warning,
#materialPanel .btn-secondary {
    background: #6B7280 !important;
    color: white !important;
    box-shadow: 0 2px 8px rgba(107, 114, 128, 0.2) !important;
    border: none !important;
}

#materialPanel .btn-warning:hover,
#materialPanel .btn-secondary:hover {
    background: #4B5563 !important;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(107, 114, 128, 0.3) !important;
}

/* 统计卡片 */
.stats-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    margin-bottom: 20px;
}

.stats-cards .stat-card {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    padding: 20px;
    text-align: center;
}

.stats-cards .stat-card:hover {
    background: white;
}

.stats-cards .stat-icon {
    font-size: 2rem;
    margin-bottom: 10px;
    color: #9b59b6;
}

.stats-cards .stat-content h3 {
    font-size: 1.5rem;
    font-weight: 700;
    color: #2c3e50;
    margin: 0 0 5px 0;
}

.stats-cards .stat-content p {
    color: #666;
    font-size: 0.9rem;
    margin: 0;
}

/* 分配记录列表 */
.assignment-list {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-radius: 15px;
    padding: 20px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.list-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 2px solid #f1f3f4;
}

.list-header h2 {
    font-size: 1.3rem;
    font-weight: 600;
    color: #2c3e50;
    margin: 0;
    display: flex;
    align-items: center;
    gap: 10px;
}

.list-header h2 i {
    color: #9b59b6;
}

.list-actions {
    display: flex;
    gap: 10px;
}

/* 注意：.table-container 的基础定义在 main.css 中，这里只针对党员发展页面特定样式 */
/* 使用更具体的选择器，避免覆盖其他页面的样式 */
.development-page .table-container,
#developmentPage .table-container,
.assignment-container .table-container {
    overflow-x: auto;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
}

.assignment-table {
    width: 100%;
    border-collapse: collapse;
    background: white;
    border-radius: 12px;
    overflow: hidden;
}

.assignment-table th {
    background: linear-gradient(135deg, #f8f9fa, #e9ecef);
    color: #495057;
    font-weight: 600;
    padding: 15px 12px;
    text-align: left;
    border-bottom: 2px solid #dee2e6;
    font-size: 0.9rem;
}

.assignment-table td {
    padding: 12px;
    border-bottom: 1px solid #f1f3f4;
    color: #495057;
    font-size: 0.9rem;
}

.assignment-table tbody tr:hover {
    background: #f8f9fa;
}

/* .action-buttons 样式已在上方统一定义，避免冲突 */

/* ===== 入党申请 · 谈话管理美化 ===== */
.talk-management-card {
    position: relative;
    border: 1px solid rgba(220, 38, 38, 0.15);
    border-radius: 24px;
    padding: 2px;
    background: linear-gradient(135deg, #fffaf7, #fff);
    box-shadow: 0 25px 60px rgba(220, 38, 38, 0.08);
    overflow: hidden;
}

.talk-management-card::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 10% 20%, rgba(248, 113, 113, 0.3), transparent 45%),
                radial-gradient(circle at 90% 20%, rgba(248, 180, 113, 0.25), transparent 35%);
    opacity: 0.6;
    pointer-events: none;
}

.talk-management-card .card-header {
    position: relative;
    background: transparent;
    border-bottom: 1px solid rgba(220, 38, 38, 0.15);
    padding: 24px 30px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
}

.talk-management-card .card-title {
    font-size: 22px;
    font-weight: 600;
    color: #b91c1c;
    display: flex;
    align-items: center;
    gap: 12px;
}

.talk-management-card .card-title i {
    font-size: 26px;
    color: #f97316;
    background: rgba(249, 115, 22, 0.12);
    padding: 10px;
    border-radius: 50%;
}

.talk-management-card .card-actions .btn {
    border-radius: 30px;
    padding: 10px 18px;
    font-weight: 500;
}

.talk-management-card .card-actions .btn.btn-info {
    background: linear-gradient(120deg, #fb923c, #f97316);
    border: none;
    box-shadow: 0 12px 20px rgba(249, 115, 22, 0.25);
}

.talk-management-body {
    position: relative;
    padding: 28px 32px 35px;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(6px);
    border-radius: 0 0 24px 24px;
}

.talk-management-card .filter-section {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 18px;
    background: rgba(248, 250, 252, 0.8);
    border-radius: 18px;
    padding: 20px 24px;
    border: 1px solid rgba(147, 197, 253, 0.5);
    margin-bottom: 26px;
}

.talk-management-card .filter-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.talk-management-card .filter-group label {
    font-size: 13px;
    color: #64748b;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    font-weight: 600;
}

.talk-management-card .filter-group select,
.talk-management-card .filter-group input {
    border: 1px solid rgba(148, 163, 184, 0.5);
    border-radius: 12px;
    padding: 10px 14px;
    font-size: 14px;
    color: #0f172a;
    background: white;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.talk-management-card .filter-group select:focus,
.talk-management-card .filter-group input:focus {
    outline: none;
    border-color: #f97316;
    box-shadow: 0 0 0 3px rgba(249, 115, 22, 0.15);
}

.talk-management-card .stats-cards {
    gap: 16px;
    margin-bottom: 26px;
}

.talk-management-card .stat-card {
    border-radius: 18px;
    border: 1px solid rgba(226, 232, 240, 0.8);
    background: linear-gradient(180deg, #fff, #fef2f2);
    box-shadow: 0 12px 24px rgba(248, 113, 113, 0.12);
    position: relative;
    overflow: hidden;
}

.talk-management-card .stat-card::after {
    content: '';
    position: absolute;
    width: 120px;
    height: 120px;
    background: radial-gradient(circle, rgba(248, 113, 113, 0.2), transparent);
    top: -40px;
    right: -20px;
}

.talk-management-card .stat-card:nth-child(2)::after {
    background: radial-gradient(circle, rgba(96, 165, 250, 0.25), transparent);
}

.talk-management-card .stat-card:nth-child(3)::after {
    background: radial-gradient(circle, rgba(74, 222, 128, 0.25), transparent);
}

.talk-management-card .stat-card:nth-child(4)::after {
    background: radial-gradient(circle, rgba(251, 191, 36, 0.25), transparent);
}

.talk-management-card .assignment-list {
    border-radius: 20px;
    border: 1px solid rgba(226, 232, 240, 0.8);
    box-shadow: 0 20px 45px rgba(15, 23, 42, 0.08);
}

.talk-management-card .assignment-table th {
    background: #fff8f2;
    color: #9a3412;
    border-bottom-color: rgba(251, 146, 60, 0.3);
}

.talk-management-card .assignment-table tbody tr:hover {
    background: rgba(254, 226, 226, 0.35);
}

.talk-management-card .status-badge {
    border-radius: 50px;
    padding: 6px 16px;
    font-weight: 600;
}

.talk-management-card .status-badge.status-assigned {
    background: rgba(59, 130, 246, 0.15);
    color: #1d4ed8;
}

.talk-management-card .status-badge.status-completed {
    background: rgba(34, 197, 94, 0.15);
    color: #15803d;
}

.talk-management-card .status-badge.status-overdue {
    background: rgba(248, 113, 113, 0.2);
    color: #b91c1c;
}

.talk-management-card .action-buttons .btn {
    border-radius: 30px;
    font-weight: 500;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.talk-management-card .action-buttons .btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(15, 23, 42, 0.08);
}

.talk-management-card .action-buttons .btn-info {
    background: linear-gradient(120deg, #f97316, #fb923c);
    border: none;
}

.talk-management-card .action-buttons .btn-primary {
    background: linear-gradient(120deg, #4f46e5, #6366f1);
    border: none;
}

.talk-management-card .action-buttons .btn-outline {
    border: 1px dashed rgba(15, 23, 42, 0.3);
    color: #0f172a;
}

@media (max-width: 1024px) {
    .talk-management-card .card-header {
        flex-direction: column;
        align-items: flex-start;
    }

    .talk-management-card .card-actions {
        width: 100%;
        display: flex;
        flex-wrap: wrap;
        gap: 10px;
    }
}


/* 提醒列表 */
.reminders-section {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-radius: 15px;
    padding: 20px;
    margin-bottom: 20px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.reminders-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
}

.reminders-header h3 {
    font-size: 1.2rem;
    font-weight: 600;
    color: #2c3e50;
    margin: 0;
    display: flex;
    align-items: center;
    gap: 8px;
}

.reminders-header h3 i {
    color: #f39c12;
}

.reminders-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.reminder-item {
    background: #fff3cd;
    border: 1px solid #ffeaa7;
    border-radius: 8px;
    padding: 12px 15px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.reminder-content {
    flex: 1;
}

.reminder-title {
    font-weight: 600;
    color: #856404;
    margin-bottom: 5px;
}

.reminder-desc {
    font-size: 0.9rem;
    color: #856404;
}

.reminder-actions {
    display: flex;
    gap: 5px;
}

/* ===== 投票表决管理样式 ===== */
.voting-tabs {
    display: flex;
    gap: 10px;
    margin-bottom: 20px;
    border-bottom: 2px solid #e9ecef;
    padding-bottom: 10px;
}

.voting-tab {
    background: none;
    border: none;
    padding: 10px 20px;
    border-radius: 8px 8px 0 0;
    cursor: pointer;
    color: #6c757d;
    font-weight: 500;
    position: relative;
}

.voting-tab:hover {
    background: #f8f9fa;
    color: #495057;
}

.voting-tab.active {
    background: linear-gradient(135deg, #dc3545 0%, #fd7e14 100%);
    color: white;
    box-shadow: 0 4px 15px rgba(220, 53, 69, 0.3);
}

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

.voting-content {
    min-height: 400px;
}

.voting-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 20px;
}

.voting-card {
    background: white;
    border-radius: 12px;
    padding: 20px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.08);
    border: 1px solid #e9ecef;
    position: relative;
    overflow: hidden;
}

.voting-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #dc3545 0%, #fd7e14 100%);
}

.voting-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.15);
}

.voting-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
}

.voting-header h4 {
    margin: 0;
    color: #2c3e50;
    font-size: 1.2rem;
    font-weight: 600;
}

.voting-type-badge {
    background: #e9ecef;
    color: #6c757d;
    padding: 4px 12px;
    border-radius: 15px;
    font-size: 0.8rem;
    font-weight: 500;
}

.voting-info {
    margin-bottom: 20px;
}

.voting-info .table-enhanced {
    margin: 0;
}

.voting-info th {
    background: #f8f9fa;
    font-weight: 600;
    color: #495057;
    font-size: 0.9rem;
}

.voting-info td {
    color: #212529;
    font-size: 0.9rem;
}

.voting-actions {
    display: flex;
    gap: 10px;
    justify-content: flex-end;
}

.voting-actions .btn {
    padding: 8px 16px;
    border-radius: 6px;
    font-size: 0.9rem;
    font-weight: 500;
}

.voting-actions .btn-primary {
    background: linear-gradient(135deg, #dc3545 0%, #fd7e14 100%);
    border: none;
    color: white;
}

.voting-actions .btn-primary:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 15px rgba(220, 53, 69, 0.4);
}

.voting-actions .btn-outline {
    background: transparent;
    border: 1px solid #dee2e6;
    color: #6c757d;
}

.voting-actions .btn-outline:hover {
    background: #f8f9fa;
    border-color: #adb5bd;
    color: #495057;
}

/* 投票表单样式 */
.voting-candidate-info {
    background: #f8f9fa;
    padding: 15px;
    border-radius: 8px;
    margin-bottom: 20px;
}

.voting-candidate-info h4 {
    margin: 0 0 5px 0;
    color: #2c3e50;
    font-size: 1.1rem;
}

.voting-candidate-info p {
    margin: 0;
    color: #6c757d;
    font-size: 0.9rem;
}

/* 投票选项样式 */
.voting-options {
    margin-bottom: 20px;
}

.voting-option {
    display: flex;
    align-items: center;
    padding: 15px;
    background: #f8f9fa;
    border-radius: 8px;
    margin-bottom: 10px;
    border: 1px solid #e9ecef;
    cursor: pointer;
}

.voting-option:hover {
    background: #e9ecef;
}

.voting-option input[type="radio"] {
    margin-right: 10px;
}

.voting-option label {
    flex: 1;
    font-weight: 500;
    color: #495057;
    cursor: pointer;
}

/* 书面意见样式 */
.written-opinion {
    margin-top: 20px;
}

.written-opinion label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: #495057;
}

.written-opinion textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid #ced4da;
    border-radius: 6px;
    font-size: 0.9rem;
    line-height: 1.5;
    resize: vertical;
    min-height: 100px;
    transition: border-color 0.3s ease;
}

.written-opinion textarea:focus {
    outline: none;
    border-color: #dc3545;
    box-shadow: 0 0 0 3px rgba(220, 53, 69, 0.1);
}

/* 投票详情样式 */
.voting-detail-info {
    margin-bottom: 20px;
}

.voting-detail-info .table-enhanced {
    margin: 0;
}

.voting-results {
    background: #f8f9fa;
    padding: 15px;
    border-radius: 8px;
    margin-bottom: 20px;
}

.voting-results h4 {
    margin: 0 0 10px 0;
    color: #2c3e50;
    font-size: 1rem;
}

.results-detail {
    background: white;
    padding: 15px;
    border-radius: 6px;
    border: 1px solid #e9ecef;
    font-family: 'Courier New', monospace;
    font-size: 0.8rem;
    color: #495057;
    white-space: pre-wrap;
}

.voting-comments-detail {
    background: #f8f9fa;
    padding: 15px;
    border-radius: 8px;
}

.voting-comments-detail h4 {
    margin: 0 0 10px 0;
    color: #2c3e50;
    font-size: 1rem;
}

.comments-content {
    background: white;
    padding: 15px;
    border-radius: 6px;
    border: 1px solid #e9ecef;
    line-height: 1.6;
    color: #495057;
}

/* ===== 通知管理样式 ===== */
.notification-management-container {
    margin: 0 auto;
    padding: 20px;
}

.notification-management-container .page-header {
    background: white;
    border: 1px solid #e9ecef;
    border-radius: 4px;
    padding: 30px;
    margin-bottom: 30px;
    text-align: center;
}

.notification-management-container .page-title {
    font-size: 2.5rem;
    font-weight: 700;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 10px;
}

.notification-management-container .page-subtitle {
    color: #666;
    font-size: 1.1rem;
    font-weight: 300;
}

.notification-management-container .stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    margin-bottom: 30px;
}

.notification-management-container .stat-card {
    background: white;
    padding: 20px;
    text-align: center;
    position: relative;
}

.notification-management-container .stat-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--gradient-primary);
}

.notification-management-container .stat-card:hover {
    background: white;
}

.notification-management-container .stat-icon {
    font-size: 2.5rem;
    margin-bottom: 15px;
    color: #4f46e5;
    font-weight: 900;
    text-shadow: 0 2px 4px rgba(79, 70, 229, 0.3);
}

.notification-management-container .stat-number {
    font-size: 2rem;
    font-weight: 700;
    color: #333;
    margin-bottom: 5px;
}

.notification-management-container .stat-label {
    color: #666;
    font-size: 0.9rem;
    font-weight: 500;
}

/* 工具栏 */
.notification-management-container .toolbar {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-radius: 20px;
    padding: 20px;
    margin-bottom: 20px;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
}

.toolbar-left {
    display: flex;
    gap: 15px;
    align-items: center;
}

.toolbar-right {
    display: flex;
    gap: 15px;
    align-items: center;
}

.filter-group {
    display: flex;
    align-items: center;
    gap: 10px;
}

.filter-group label {
    font-weight: 600;
    color: #495057;
    white-space: nowrap;
}

.filter-group select,
.filter-group input {
    padding: 8px 12px;
    border: 1px solid #ced4da;
    border-radius: 8px;
    font-size: 0.9rem;
    min-width: 150px;
}

/* ===== 审批流程样式 ===== */
.approval-workflow-container {
    margin: 0 auto;
    padding: 20px;
}

.approval-workflow-container .page-header {
    background: white;
    border: 1px solid #e9ecef;
    border-radius: 4px;
    padding: 30px;
    margin-bottom: 30px;
    text-align: center;
}

.approval-workflow-container .page-title {
    font-size: 2.5rem;
    font-weight: 700;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 10px;
}

.approval-workflow-container .page-subtitle {
    color: #666;
    font-size: 1.1rem;
    font-weight: 300;
}

.approval-workflow-container .stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    margin-bottom: 30px;
}

.approval-workflow-container .stat-card {
    background: white;
    padding: 20px;
    text-align: center;
    position: relative;
}

.approval-workflow-container .stat-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--gradient-primary);
}

.approval-workflow-container .stat-card:hover {
    background: white;
}

.approval-workflow-container .stat-icon {
    font-size: 2.5rem;
    margin-bottom: 15px;
    color: #4f46e5;
    font-weight: 900;
    text-shadow: 0 2px 4px rgba(79, 70, 229, 0.3);
}

.approval-workflow-container .stat-number {
    font-size: 2rem;
    font-weight: 700;
    color: #333;
    margin-bottom: 5px;
}

.approval-workflow-container .stat-label {
    color: #666;
    font-size: 0.9rem;
    font-weight: 500;
}

/* ===== 材料管理样式 ===== */
.material-management-container {
    margin: 0 auto;
    padding: 20px;
}

.material-management-container .header {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-radius: 15px;
    padding: 20px 30px;
    margin-bottom: 30px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

/* 统一标题栏样式：字体大小28px，字体粗细700 */
.material-management-container .header h1 {
    color: white;
    font-size: 28px;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 12px;
}

.material-management-container .header h1 i {
    color: white;
    font-size: 28px;
}

.material-management-container .btn-primary {
    background: linear-gradient(135deg, #3498db, #2980b9);
    color: white;
    box-shadow: 0 4px 15px rgba(52, 152, 219, 0.3);
}

.material-management-container .btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(52, 152, 219, 0.4);
}

.material-management-container .btn-outline {
    background: transparent;
    color: #3498db;
    border: 2px solid #3498db;
}

.material-management-container .btn-outline:hover {
    background: #3498db;
    color: white;
    transform: translateY(-2px);
}

.material-management-container .btn-success {
    background: linear-gradient(135deg, #27ae60, #229954);
    color: white;
    box-shadow: 0 4px 15px rgba(39, 174, 96, 0.3);
}

.material-management-container .btn-danger {
    background: linear-gradient(135deg, #e74c3c, #c0392b);
    color: white;
    box-shadow: 0 4px 15px rgba(231, 76, 60, 0.3);
}

.material-management-container .btn-warning {
    background: linear-gradient(135deg, #f39c12, #e67e22);
    color: white;
    box-shadow: 0 4px 15px rgba(243, 156, 18, 0.3);
}

.material-management-container .btn-sm {
    padding: 6px 12px;
    font-size: 12px;
    min-width: auto;
}

.material-management-container .btn:hover {
    transform: translateY(-2px);
}

/* ===== 公示管理样式 ===== */
.publicity-management-container {
    margin: 0 auto;
    padding: 20px;
}

.publicity-management-container .page-header {
    background: white;
    border: 1px solid #e9ecef;
    border-radius: 4px;
    padding: 30px;
    margin-bottom: 30px;
    text-align: center;
}

.publicity-management-container .page-title {
    font-size: 2.5rem;
    font-weight: 700;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 10px;
}

.publicity-management-container .page-subtitle {
    color: #666;
    font-size: 1.1rem;
    font-weight: 300;
}

.publicity-management-container .stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    margin-bottom: 30px;
}

.publicity-management-container .stat-card {
    background: white;
    padding: 20px;
    text-align: center;
    position: relative;
}

.publicity-management-container .stat-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--gradient-primary);
}

.publicity-management-container .stat-card:hover {
    background: white;
}

.publicity-management-container .stat-icon {
    font-size: 2.5rem;
    margin-bottom: 15px;
    color: #4f46e5;
    font-weight: 900;
    text-shadow: 0 2px 4px rgba(79, 70, 229, 0.3);
}

.publicity-management-container .stat-number {
    font-size: 2rem;
    font-weight: 700;
    color: #333;
    margin-bottom: 5px;
}

.publicity-management-container .stat-label {
    color: #666;
    font-size: 0.9rem;
    font-weight: 500;
}

/* ===== 响应式设计 ===== */
/* ===== 响应式设计 - 参照原始独立页面 ===== */
@media (max-width: 1200px) {
    .tab-list {
        grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
        gap: 12px;
    }
    
    /* 原有tab-item响应式样式已移除 */
    
    /* 筛选区域中等屏幕优化 */
    .filter-group {
        min-width: 180px;
        max-width: 250px;
    }
}

@media (max-width: 900px) {
    /* 筛选区域小屏幕优化 */
    .filter-section {
        flex-direction: column;
        align-items: stretch;
    }
    
    .filter-group {
        min-width: auto;
        max-width: none;
        flex: none;
    }
    
    .filter-group:last-child {
        flex: none;
        max-width: none;
    }
}

@media (max-width: 768px) {
    .development-integrated-container {
        padding: 15px;
    }
    
    .page-title {
        font-size: 2rem;
    }
    
    .stats-grid {
        grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
        gap: 15px;
    }
    
    .tab-list {
        grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
        gap: 10px;
    }
    
    /* 原有tab-item移动端响应式样式已移除 */
    
    .card {
        padding: 20px;
        margin-bottom: 15px;
    }
    
    .table-wrapper {
        font-size: 0.8rem;
    }
    
    .btn {
        padding: 10px 20px;
        font-size: 0.9rem;
        min-width: 100px;
    }
    
    .assessment-tabs {
        flex-wrap: wrap;
        gap: 5px;
    }
    
    .assessment-tab {
        padding: 8px 15px;
        font-size: 0.9rem;
    }
    
    .assessment-list {
        grid-template-columns: 1fr;
        gap: 15px;
    }
    
    .assessment-card {
        padding: 15px;
    }
    
    /* 筛选区域响应式 */
    .filter-section {
        flex-direction: column;
        align-items: stretch;
    }
    
    .filter-group {
        min-width: auto;
        max-width: none;
        flex: none;
    }
    
    .filter-group:last-child {
        flex: none;
        max-width: none;
    }
    
    .dimension-item {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }
    
    .dimension-label {
        margin-bottom: 5px;
    }
    
    .test-actions {
        flex-direction: column;
        align-items: center;
    }
    
    .assessment-actions {
        flex-direction: column;
        gap: 8px;
    }
    
    .voting-tabs {
        flex-wrap: wrap;
        gap: 5px;
    }
    
    .voting-tab {
        padding: 8px 15px;
        font-size: 0.9rem;
    }
    
    .voting-list {
        grid-template-columns: 1fr;
        gap: 15px;
    }
    
    .voting-card {
        padding: 15px;
    }
    
    .voting-actions {
        flex-direction: column;
        gap: 8px;
    }
    
    .filter-group {
        flex-direction: column;
        align-items: flex-start;
        gap: 5px;
    }
    
    .filter-group label {
        min-width: auto;
    }
    
    .filter-group select,
    .filter-group input {
        min-width: auto;
        width: 100%;
    }
    
    .toolbar {
        flex-direction: column;
        gap: 15px;
    }
    
    .toolbar-left,
    .toolbar-right {
        flex-direction: column;
        gap: 10px;
    }
}

/* ✅ 优化：移除!important，使用高特异性选择器 */
/* ===== 模态框增强样式 ===== */
.development-integrated-container .modal-overlay-enhanced,
#developmentPage .modal-overlay-enhanced,
.modal-overlay-enhanced {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 99999;
    backdrop-filter: blur(8px);
    visibility: visible;
    opacity: 1;
}

/* ✅ 参照编辑党员信息模态框样式 - 使用高特异性选择器替代!important */
/* 参照 main.css 中 .edit-member-modal 的样式结构 */
/* 提高特异性以覆盖 step-forms.css 和 components.css 的样式 */
/* 注意：components.css 和 step-forms.css 已添加 .modal-overlay-enhanced .modal-dialog 例外规则 */
.modal-overlay-enhanced .modal-dialog.modal-lg,
.development-integrated-container .modal-overlay-enhanced .modal-dialog.modal-lg,
#developmentPage .modal-overlay-enhanced .modal-dialog.modal-lg,
.development-integrated-container .modal-overlay-enhanced .modal-dialog,
#developmentPage .modal-overlay-enhanced .modal-dialog,
.modal-overlay-enhanced .modal-dialog {
    background: transparent !important; /* 必须使用!important覆盖step-forms.css和components.css的通用规则 */
    border-radius: 0 !important; /* 参照edit-member-modal：移除dialog圆角 */
    box-shadow: none !important; /* 参照edit-member-modal：移除dialog阴影 */
    max-width: 800px !important; /* 参照edit-member-modal的尺寸设置 */
    width: 95vw !important; /* 确保宽度设置生效 */
    max-height: 90vh;
    overflow: hidden; /* 参照edit-member-modal：使用hidden */
    animation: modalSlideIn 0.3s ease-out;
    padding: 0 !important; /* 参照edit-member-modal：移除内边距 */
    display: flex !important;
    flex-direction: column;
    position: relative;
    box-sizing: border-box;
}

/* modal-lg 的样式已在上面统一处理，无需重复定义 */

/* ✅ 参照edit-member-modal .modal-content的样式 */
.development-integrated-container .modal-overlay-enhanced .modal-content,
#developmentPage .modal-overlay-enhanced .modal-content,
.modal-overlay-enhanced .modal-content {
    padding: 0;
    background: white; /* 参照edit-member-modal：content有白色背景 */
    border-radius: 8px; /* 参照edit-member-modal：content有圆角 */
    overflow: hidden; /* 参照edit-member-modal：确保子元素的圆角正确显示 */
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15); /* 参照edit-member-modal：阴影在content上 */
    display: flex;
    flex-direction: column;
    flex: 1;
    max-width: 100%;
    width: 100% !important; /* 确保content占满dialog的宽度 */
    height: auto;
}

/* ✅ 参照edit-member-modal .modal-header的样式 */
.modal-overlay-enhanced .modal-header {
    padding: 20px; /* 参照edit-member-modal：统一padding */
    border-bottom: 1px solid #e5e7eb; /* 参照edit-member-modal：添加分隔线 */
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: linear-gradient(135deg, #dc2626 0%, #b91c1c 100%); /* 参照edit-member-modal：使用红色渐变 */
    border-radius: 8px 8px 0 0; /* 参照edit-member-modal：顶部圆角 */
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1); /* 参照edit-member-modal：轻微阴影 */
    position: relative;
    overflow: hidden;
    flex-shrink: 0; /* 参照edit-member-modal：防止header被压缩 */
}

.modal-overlay-enhanced .modal-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.1) 0%, transparent 50%);
    pointer-events: none;
    z-index: 1;
}

.modal-overlay-enhanced .modal-title {
    margin: 0;
    font-size: 20px;
    font-weight: 700;
    color: #ffffff;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
    z-index: 2;
    position: relative;
}

.modal-overlay-enhanced .btn-close {
    background: rgba(255, 255, 255, 0.2);
    border: none;
    font-size: 24px;
    color: #ffffff;
    cursor: pointer;
    padding: 0;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    z-index: 100000;
    position: relative;
    pointer-events: auto;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}

.modal-overlay-enhanced .btn-close:hover {
    background: rgba(255, 255, 255, 0.3);
    color: #ffffff;
    transform: scale(1.1);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

/* ✅ 参照edit-member-modal .modal-body的样式 */
.modal-overlay-enhanced .modal-body {
    padding: 0; /* 参照edit-member-modal：移除padding，让表单占满整个区域 */
    background: transparent; /* 参照edit-member-modal：body透明，让表单直接显示 */
    backdrop-filter: none; /* 移除backdrop-filter */
    border-radius: 0;
    margin: 0;
    max-height: calc(90vh - 200px); /* 参照edit-member-modal：为header和footer留出空间 */
    overflow-y: auto; /* 参照edit-member-modal：内容超出时滚动 */
    overflow-x: hidden; /* 防止横向滚动 */
    flex: 1 1 auto; /* 参照edit-member-modal：允许拉伸，占据剩余空间 */
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 0;
    height: auto;
    min-height: 0;
}

/* ✅ 参照edit-member-modal .modal-footer的样式 */
.modal-overlay-enhanced .modal-footer {
    padding: 20px; /* 参照edit-member-modal：统一padding */
    border-top: 1px solid #e5e7eb; /* 参照edit-member-modal：使用标准分隔线颜色 */
    display: flex;
    justify-content: flex-end;
    gap: 10px;
    background: white; /* 参照edit-member-modal：footer有白色背景 */
    backdrop-filter: none; /* 移除backdrop-filter */
    border-radius: 0 0 8px 8px; /* 参照edit-member-modal：底部圆角 */
    margin: 0;
    margin-top: 0;
    flex-shrink: 0; /* 参照edit-member-modal：防止footer被压缩 */
}

/* ✅ 参照edit-member-modal .edit-form的样式 - 给表单添加白色背景 */
.modal-overlay-enhanced #createBatchForm,
.modal-overlay-enhanced form {
    background: white !important; /* 参照edit-member-modal：给表单添加白色背景 */
    padding: 20px !important; /* 参照edit-member-modal：使用20px padding */
    padding-bottom: 0 !important; /* 参照edit-member-modal：移除底部padding，按钮区域单独处理 */
    border-radius: 0 !important; /* 参照edit-member-modal：移除圆角，按钮区域单独处理 */
    margin: 0 !important; /* 参照edit-member-modal：移除外边距 */
    height: auto !important; /* 参照edit-member-modal：自动高度，根据内容调整 */
    min-height: auto !important; /* 参照edit-member-modal：移除最小高度限制 */
    box-sizing: border-box !important;
}

.modal-overlay-enhanced .form-group {
    margin-bottom: 20px;
}

.modal-overlay-enhanced .form-group:last-child {
    margin-bottom: 0;
}

.modal-overlay-enhanced .form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: #2c3e50;
}

.modal-overlay-enhanced .form-group input,
.modal-overlay-enhanced .form-group select,
.modal-overlay-enhanced .form-group textarea {
    width: 100%;
    padding: 12px 15px;
    border: 2px solid #e9ecef;
    border-radius: 10px;
    font-size: 14px;
}

.modal-overlay-enhanced .form-group input:focus,
.modal-overlay-enhanced .form-group select:focus,
.modal-overlay-enhanced .form-group textarea:focus {
    outline: none;
    border-color: #3498db;
    box-shadow: 0 0 0 3px rgba(52, 152, 219, 0.1);
}

.modal-overlay-enhanced .btn {
    padding: 12px 24px;
    border: none;
    border-radius: 10px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.modal-overlay-enhanced .btn-primary {
    background: linear-gradient(135deg, #3498db, #2980b9);
    color: white;
    box-shadow: 0 4px 15px rgba(52, 152, 219, 0.3);
}

.modal-overlay-enhanced .btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(52, 152, 219, 0.4);
}

.modal-overlay-enhanced .btn-outline {
    background: transparent;
    color: #6c757d;
    border: 2px solid #e9ecef;
}

.modal-overlay-enhanced .btn-outline:hover {
    background: #f8f9fa;
    border-color: #dee2e6;
    transform: translateY(-2px);
}

@keyframes modalSlideIn {
    from {
        opacity: 0;
        transform: scale(0.9) translateY(-20px);
    }
    to {
        opacity: 1;
        transform: scale(1) translateY(0);
    }
}

.modal-content-enhanced.large {
    max-width: 800px;
    width: 90%;
    max-height: 90vh;
    overflow-y: auto;
}

/* ===== 现代化表单样式 - 优化版 ===== */
/* 表单容器样式 - 增加内边距，让内容不堆叠 */
/* 注意：表单的padding已在上面通过#createBatchForm设置，这里只设置布局 */
.modal-overlay-enhanced #createBatchForm.form-modern,
.modal-overlay-enhanced .form-modern {
    display: flex !important;
    flex-direction: column !important;
    gap: 0 !important;
    box-sizing: border-box !important;
}

/* ✅ 参照edit-member-modal .form-group的样式 */
.modal-overlay-enhanced .form-group-modern {
    display: flex !important;
    flex-direction: column !important;
    position: relative;
}

.modal-overlay-enhanced .form-group-modern:last-child {
    margin-bottom: 0 !important;
}

/* 行布局中的表单组间距 */
.modal-overlay-enhanced .form-modern .row .form-group-modern {
    margin-bottom: 0 !important; /* 行布局中由row控制间距 */
}

/* ✅ 参照edit-member-modal .form-group label的样式 */
.modal-overlay-enhanced .form-label-modern {
    display: flex !important;
    align-items: center !important;
    gap: 6px !important;
    margin-bottom: 6px !important; /* 参照edit-member-modal：使用6px间距 */
    font-size: 14px !important; /* 参照edit-member-modal：使用14px字体 */
    font-weight: 500 !important; /* 参照edit-member-modal：使用500字重 */
    color: #374151 !important; /* 参照edit-member-modal：使用#374151颜色 */
}

/* 必填字段标识 */
.modal-overlay-enhanced .form-label-modern:has(+ .form-control-modern[required]),
.modal-overlay-enhanced .form-label-modern:has(+ select[required]) {
    position: relative;
}

.modal-overlay-enhanced .form-label-modern:has(+ .form-control-modern[required])::after,
.modal-overlay-enhanced .form-label-modern:has(+ select[required])::after {
    content: '*';
    color: #dc2626;
    font-weight: 700;
    margin-left: 2px;
    font-size: 16px;
}

/* ✅ 参照edit-member-modal .form-group input/select/textarea的样式 */
.modal-overlay-enhanced .form-control-modern {
    width: 100% !important;
    padding: 10px !important; /* 参照edit-member-modal：使用10px padding */
    font-size: 1rem !important; /* 参照edit-member-modal：使用1rem字体 */
    border-radius: 8px !important; /* 参照edit-member-modal：使用8px圆角 */
    border: 1px solid #ccc !important; /* 参照edit-member-modal：使用1px边框，颜色#ccc */
    transition: all 0.2s ease !important; /* 参照edit-member-modal：使用0.2s ease过渡 */
    background: white !important; /* 参照edit-member-modal：白色背景 */
    box-sizing: border-box !important;
    font-family: inherit !important;
}

/* ✅ 参照edit-member-modal的hover和focus样式 */
.modal-overlay-enhanced .form-control-modern:hover {
    border-color: #d1d5db !important; /* 参照edit-member-modal：hover时边框颜色 */
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1) !important; /* 参照edit-member-modal：hover时阴影 */
}

.modal-overlay-enhanced .form-control-modern:focus {
    outline: none !important;
    border-color: #dc2626 !important; /* 参照edit-member-modal：focus时使用红色边框 */
    box-shadow: 0 0 0 3px rgba(220, 38, 38, 0.1) !important; /* 参照edit-member-modal：focus时阴影 */
    transform: translateY(-1px) !important; /* 参照edit-member-modal：轻微上移 */
}

.modal-overlay-enhanced .form-control-modern::placeholder {
    color: #94a3b8;
    font-style: normal;
    opacity: 0.8;
}

/* 下拉框样式优化 */
.modal-overlay-enhanced .form-control-modern[type="select"],
.modal-overlay-enhanced select.form-control-modern {
    cursor: pointer;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%23334155' d='M6 9L1 4h10z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 14px center;
    background-size: 12px;
    padding-right: 40px;
    appearance: none;
}

/* ✅ 参照edit-member-modal的textarea样式 */
.modal-overlay-enhanced textarea.form-control-modern {
    resize: vertical !important;
    min-height: 100px !important; /* 参照edit-member-modal：使用100px最小高度 */
    font-family: inherit !important;
    line-height: 1.5 !important;
    padding: 10px !important; /* 参照edit-member-modal：使用10px padding */
}

/* 数字输入框样式 */
.modal-overlay-enhanced input[type="number"].form-control-modern {
    -moz-appearance: textfield;
    appearance: textfield;
}

.modal-overlay-enhanced input[type="number"].form-control-modern::-webkit-outer-spin-button,
.modal-overlay-enhanced input[type="number"].form-control-modern::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

/* 日期时间输入框样式 */
.modal-overlay-enhanced input[type="datetime-local"].form-control-modern {
    cursor: pointer;
}

/* 行布局优化 */
.modal-overlay-enhanced .form-modern .row {
    display: flex;
    gap: 24px; /* 增加列之间的间距 */
    margin: 0;
    margin-bottom: 0; /* 行本身不添加底部间距，由内部form-group控制 */
}

.modal-overlay-enhanced .form-modern .row > [class*="col-"] {
    flex: 1;
    padding: 0;
    min-width: 0; /* 防止flex子项溢出 */
}

/* 复选框样式优化 */
.modal-overlay-enhanced .form-check {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin: 0;
    padding: 16px 18px; /* 增加内边距，让复选框区域更舒适 */
    background: #f8fafc;
    border-radius: 10px;
    border: 2px solid #e2e8f0;
    transition: all 0.25s ease;
    margin-top: 4px; /* 与上方内容保持间距 */
}

.modal-overlay-enhanced .form-check:hover {
    background: #f1f5f9;
    border-color: #cbd5e0;
}

.modal-overlay-enhanced .form-check-input {
    width: 20px;
    height: 20px;
    min-width: 20px;
    border: 2px solid #cbd5e0;
    border-radius: 6px;
    background: #ffffff;
    cursor: pointer;
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
    appearance: none;
    position: relative;
    margin-top: 2px;
    flex-shrink: 0;
}

.modal-overlay-enhanced .form-check-input:hover {
    border-color: var(--color-primary);
    background: #eff6ff;
}

.modal-overlay-enhanced .form-check-input:checked {
    background: var(--color-primary);
    border-color: var(--color-primary);
    box-shadow: 0 0 0 3px rgba(161, 22, 22, 0.15);
}

.modal-overlay-enhanced .form-check-input:checked::after {
    content: '✓';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: #ffffff;
    font-size: 14px;
    font-weight: 700;
    line-height: 1;
}

.modal-overlay-enhanced .form-check-label {
    flex: 1;
    font-size: 14px;
    color: #334155;
    line-height: 1.6;
    cursor: pointer;
    user-select: none;
    font-weight: 500;
}

.modal-overlay-enhanced .form-check-label:hover {
    color: #1e293b;
}

/* 按钮样式优化 */
.modal-overlay-enhanced .btn-primary-modern,
.modal-overlay-enhanced .btn-secondary-modern {
    padding: 12px 28px;
    border: none;
    border-radius: 10px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
    min-width: 100px;
    letter-spacing: 0.3px;
}

.modal-overlay-enhanced .btn-primary-modern {
    background: var(--gradient-primary);
    color: #ffffff;
    box-shadow: 0 4px 12px rgba(161, 22, 22, 0.3);
}

.modal-overlay-enhanced .btn-primary-modern:hover {
    background: var(--gradient-primary-dark);
    box-shadow: 0 6px 20px rgba(161, 22, 22, 0.4);
    transform: translateY(-2px);
}

.modal-overlay-enhanced .btn-primary-modern:active {
    transform: translateY(0);
    box-shadow: 0 2px 8px rgba(161, 22, 22, 0.3);
}

.modal-overlay-enhanced .btn-secondary-modern {
    background: #ffffff;
    color: #64748b;
    border: 2px solid #e2e8f0;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}

.modal-overlay-enhanced .btn-secondary-modern:hover {
    background: #f8fafc;
    border-color: #cbd5e0;
    color: #475569;
    transform: translateY(-1px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.08);
}

.modal-overlay-enhanced .btn-secondary-modern:active {
    transform: translateY(0);
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

.modal-overlay-enhanced .btn-primary-modern i,
.modal-overlay-enhanced .btn-secondary-modern i {
    font-size: 14px;
}

/* 响应式优化 */
@media (max-width: 768px) {
    .modal-overlay-enhanced #createBatchForm,
    .modal-overlay-enhanced form {
        padding: 24px 20px; /* 移动端减少内边距 */
    }
    
    .modal-overlay-enhanced .form-modern .row {
        flex-direction: column;
        gap: 0;
    }
    
    .modal-overlay-enhanced .form-group-modern {
        margin-bottom: 24px; /* 移动端保持合适的间距 */
    }
    
    .modal-overlay-enhanced .form-control-modern {
        padding: 14px 16px;
        font-size: 16px; /* 防止iOS自动缩放 */
    }
    
    .modal-overlay-enhanced .form-check {
        padding: 14px 16px;
    }
}

.btn-secondary-modern:active {
    transform: translateY(0);
}

/* 模态框动画增强 */
@keyframes modalFadeIn {
    from {
        opacity: 0;
        backdrop-filter: blur(0px);
    }
    to {
        opacity: 1;
        backdrop-filter: blur(8px);
    }
}

@keyframes modalSlideIn {
    from {
        opacity: 0;
        transform: scale(0.9) translateY(-30px);
    }
    to {
        opacity: 1;
        transform: scale(1) translateY(0);
    }
}

/* ===== 模态框响应式样式 ===== */
@media (max-width: 768px) {
    .development-integrated-container .modal-overlay-enhanced .modal-dialog.modal-lg,
    #developmentPage .modal-overlay-enhanced .modal-dialog.modal-lg,
    .modal-overlay-enhanced .modal-dialog.modal-lg {
        max-width: 95%;
        width: 95%;
        margin: 10px;
        background: transparent; /* 使用高特异性选择器确保响应式下也透明 */
    }
    
    .modal-overlay-enhanced .modal-header,
    .modal-overlay-enhanced .modal-body,
    .modal-overlay-enhanced .modal-footer {
        padding: 15px;
    }
    
    .modal-overlay-enhanced .modal-title {
        font-size: 18px;
    }
    
    .form-group-modern {
        margin-bottom: 20px;
    }
    
    .form-control-modern {
        padding: 12px 14px;
        font-size: 14px;
    }
    
    .btn-primary-modern,
    .btn-secondary-modern {
        padding: 12px 20px;
        font-size: 14px;
    }
    
    .modal-overlay-enhanced .modal-footer {
        flex-direction: column;
        gap: 10px;
    }
    
    .modal-overlay-enhanced .modal-footer .btn {
        width: 100%;
    }
}

@media (max-width: 480px) {
    .development-integrated-container .modal-overlay-enhanced .modal-dialog.modal-lg,
    #developmentPage .modal-overlay-enhanced .modal-dialog.modal-lg,
    .modal-overlay-enhanced .modal-dialog.modal-lg {
        max-width: 98%;
        width: 98%;
        margin: 5px;
        background: transparent; /* 使用高特异性选择器确保小屏幕下也透明 */
    }
    
    .modal-overlay-enhanced .modal-header,
    .modal-overlay-enhanced .modal-body,
    .modal-overlay-enhanced .modal-footer {
        padding: 12px;
    }
    
    .modal-overlay-enhanced .modal-title {
        font-size: 16px;
    }
    
    .form-group-modern {
        margin-bottom: 16px;
    }
}

/* ===== 表单验证样式 ===== */
.form-control-modern:invalid {
    border-color: #dc3545;
}

.form-control-modern:invalid:focus {
    border-color: #dc3545;
    box-shadow: 0 0 0 4px rgba(220, 53, 69, 0.1);
}

.form-control-modern:valid:not(:placeholder-shown) {
    border-color: #28a745;
}

.form-control-modern:valid:not(:placeholder-shown):focus {
    border-color: #28a745;
    box-shadow: 0 0 0 4px rgba(40, 167, 69, 0.1);
}

.form-error-message {
    color: #dc3545;
    font-size: 12px;
    margin-top: 4px;
    display: block;
}

.form-success-message {
    color: #28a745;
    font-size: 12px;
    margin-top: 4px;
    display: block;
}

.form-group-modern.has-error .form-control-modern {
    border-color: #dc3545;
}

.form-group-modern.has-error .form-label-modern {
    color: #dc3545;
}

.form-group-modern.has-success .form-control-modern {
    border-color: #28a745;
}

/* ===== 加载和错误状态 ===== */
.loading-placeholder {
    text-align: center;
    padding: 60px 20px;
    color: #6c757d;
}

.loading-icon {
    color: var(--color-primary);
    margin-bottom: 15px;
    font-size: 1.5rem;
}

.error-message {
    background: #f8d7da;
    color: #721c24;
        padding: 15px;
    border-radius: 8px;
    border: 1px solid #f5c6cb;
    text-align: center;
}

.empty-state {
    text-align: center;
    padding: 60px 20px;
    color: #6c757d;
}

.empty-state-icon {
    color: #dee2e6;
    margin-bottom: 20px;
}

.empty-state h3 {
    color: #495057;
    margin-bottom: 10px;
}

.empty-state p {
    margin: 0;
    font-size: 0.9rem;
}

/* ✅ 优化：移除!important，使用高特异性选择器 */
/* 使用页面容器作用域提高特异性 */
.development-integrated-container .stage-actions .action-buttons .btn:hover,
#developmentPage .stage-actions .action-buttons .btn:hover,
.development-member-view .stage-actions .action-buttons .btn:hover {
    transform: translateY(-2px);
    transition: all 0.2s ease;
    z-index: 10;
}

.development-integrated-container .stage-actions .action-buttons .btn-primary:hover,
#developmentPage .stage-actions .action-buttons .btn-primary:hover,
.development-member-view .stage-actions .action-buttons .btn-primary:hover {
    box-shadow: 0 4px 12px rgba(220, 38, 38, 0.3);
}

.development-integrated-container .stage-actions .action-buttons .btn-success:hover,
#developmentPage .stage-actions .action-buttons .btn-success:hover,
.development-member-view .stage-actions .action-buttons .btn-success:hover {
    box-shadow: 0 4px 12px rgba(16, 185, 129, 0.3);
}

.development-integrated-container .stage-actions .action-buttons .btn-info:hover,
#developmentPage .stage-actions .action-buttons .btn-info:hover,
.development-member-view .stage-actions .action-buttons .btn-info:hover {
    box-shadow: 0 4px 12px rgba(161, 22, 22, 0.3);
}

.development-integrated-container .stage-actions .action-buttons .btn-warning:hover,
#developmentPage .stage-actions .action-buttons .btn-warning:hover,
.development-member-view .stage-actions .action-buttons .btn-warning:hover {
    box-shadow: 0 4px 12px rgba(245, 158, 11, 0.3);
}

/* ===== 表单编辑器模态框样式 ===== */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.modal {
    background: white;
    border-radius: 8px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    max-width: 90%;
    max-height: 90%;
    overflow: hidden;
    position: relative;
}

.modal-lg {
    width: 800px;
    max-width: 90vw;
}

.modal-header {
    padding: 20px;
    border-bottom: 1px solid #e9ecef;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.modal-title {
    margin: 0;
    font-size: 18px;
    font-weight: 600;
    color: #333;
}

.modal-close {
    background: none;
    border: none;
    font-size: 20px;
    color: #666;
    cursor: pointer;
    padding: 5px;
    border-radius: 4px;
    transition: background-color 0.2s;
}

.modal-close:hover {
    background-color: #f8f9fa;
    color: #333;
}

.modal-body {
    padding: 20px;
    max-height: 60vh;
    overflow-y: auto;
}

.modal-footer {
    padding: 20px;
    border-top: 1px solid #e9ecef;
    display: flex;
    justify-content: flex-end;
    gap: 10px;
}

.form-editor {
    max-width: 100%;
}

.form-group {
    margin-bottom: 20px;
}

.form-label {
    display: block;
    margin-bottom: 5px;
    font-weight: 500;
    color: #333;
}

.form-label.required::after {
    content: ' *';
    color: #dc3545;
}

.form-control {
    width: 100%;
    padding: 8px 12px;
    border: 1px solid #ced4da;
    border-radius: 4px;
    font-size: 14px;
    transition: border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out;
}

.form-control:focus {
    outline: none;
    border-color: #80bdff;
    box-shadow: 0 0 0 0.2rem rgba(0, 123, 255, 0.25);
}

.form-control[readonly] {
    background-color: #f8f9fa;
    color: #6c757d;
}

textarea.form-control {
    resize: vertical;
    min-height: 80px;
}

/* 响应式模态框 */
@media (max-width: 768px) {
    .modal-lg {
        width: 95%;
        margin: 10px;
    }
    
    .modal-header,
    .modal-body,
    .modal-footer {
        padding: 15px;
    }
}

/* 文件上传样式 */
.file-upload-area {
    border: 2px dashed #ced4da;
    border-radius: 8px;
    padding: 40px 20px;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
    background: #f8f9fa;
}

.file-upload-area:hover {
    border-color: #007bff;
    background: #e3f2fd;
}

.upload-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
}

.upload-icon {
    font-size: 48px;
    color: #6c757d;
}

.upload-hint {
    color: #6c757d;
    font-size: 14px;
    margin: 0;
}

.file-list {
    margin-top: 15px;
}

.file-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px;
    background: #f8f9fa;
    border: 1px solid #e9ecef;
    border-radius: 4px;
    margin-bottom: 8px;
}

.file-info {
    display: flex;
    align-items: center;
    gap: 8px;
    flex: 1;
}

.file-info i {
    color: #007bff;
}

.file-name {
    font-weight: 500;
    color: #333;
}

.file-size {
    color: #6c757d;
    font-size: 12px;
}

.btn-remove-file {
    background: none;
    border: none;
    color: #dc3545;
    cursor: pointer;
    padding: 4px;
    border-radius: 4px;
    transition: background-color 0.2s;
}

.btn-remove-file:hover {
    background-color: #f8d7da;
}

/* 批量谈话分配样式 */
.applicant-selection {
    border: 1px solid #e9ecef;
    border-radius: 8px;
    padding: 15px;
    background: #f8f9fa;
}

.selection-header {
    display: flex;
    gap: 10px;
    margin-bottom: 15px;
    padding-bottom: 10px;
    border-bottom: 1px solid #e9ecef;
}

.applicant-list {
    max-height: 300px;
    overflow-y: auto;
}

.applicant-item {
    margin-bottom: 10px;
}

.applicant-checkbox {
    display: flex;
    align-items: center;
    padding: 10px;
    background: white;
    border: 1px solid #e9ecef;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.2s ease;
}

.applicant-checkbox:hover {
    background: #f8f9fa;
    border-color: #007bff;
}

.applicant-checkbox input[type="checkbox"] {
    margin-right: 10px;
    transform: scale(1.2);
}

.applicant-info {
    flex: 1;
}

.applicant-name {
    font-weight: 600;
    color: #333;
    margin-bottom: 4px;
}

.applicant-details {
    display: flex;
    gap: 15px;
    font-size: 12px;
    color: #6c757d;
}

.applicant-details span {
    background: #e9ecef;
    padding: 2px 6px;
    border-radius: 3px;
}

.empty-state {
    text-align: center;
    padding: 40px 20px;
    color: #6c757d;
}

.empty-state i {
    font-size: 48px;
    margin-bottom: 15px;
    color: #dee2e6;
}

/* 申请详情和文件管理样式 */
.file-list-container {
    max-height: 400px;
    overflow-y: auto;
}

.file-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 15px;
    background: #f8f9fa;
    border: 1px solid #e9ecef;
    border-radius: 8px;
    margin-bottom: 10px;
}

.file-info {
    display: flex;
    align-items: center;
    gap: 12px;
    flex: 1;
}

.file-info i {
    font-size: 24px;
    color: #007bff;
}

.file-details {
    flex: 1;
}

.file-name {
    font-weight: 600;
    color: #333;
    margin-bottom: 4px;
}

.file-meta {
    display: flex;
    gap: 15px;
    font-size: 12px;
    color: #6c757d;
}

.file-meta span {
    background: #e9ecef;
    padding: 2px 6px;
    border-radius: 3px;
}

.file-actions {
    display: flex;
    gap: 8px;
}

.application-detail {
    max-height: 500px;
    overflow-y: auto;
}

.detail-section {
    margin-bottom: 25px;
    padding-bottom: 20px;
    border-bottom: 1px solid #e9ecef;
}

.detail-section:last-child {
    border-bottom: none;
    margin-bottom: 0;
}

.detail-section h4 {
    color: #2c3e50;
    margin-bottom: 15px;
    font-size: 16px;
    font-weight: 600;
}

.detail-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 15px;
}

.detail-item {
    display: flex;
    align-items: center;
    padding: 8px 0;
}

.detail-item .label {
    font-weight: 500;
    color: #6c757d;
    min-width: 80px;
    margin-right: 10px;
}

.detail-item .value {
    color: #333;
    flex: 1;
}

.content-box {
    background: #f8f9fa;
    border: 1px solid #e9ecef;
    border-radius: 6px;
    padding: 15px;
    white-space: pre-wrap;
    line-height: 1.6;
    color: #333;
}

/* ===== 批次管理页面优化样式 ===== */

/* 1. 视觉层次优化 - 标题样式 */
.batch-management-container .batch-header h1.batch-title,
.batch-management-container .application-header h1 {
    font-size: 28px !important;
    font-weight: 700 !important;
    color: #A11616 !important;
    margin-bottom: 10px;
}

.batch-management-container .batch-description,
.batch-management-container .application-description {
    color: #6c757d;
    margin: 0;
    font-size: 14px;
}

/* 2. 内容区间距优化 */
.batch-management-container {
    padding: 24px !important;
    margin-top: 20px;
}

.content-container {
    padding: 24px;
    margin-top: 20px;
}

/* 3. 按钮样式优化 */
.batch-management-container .btn-primary {
    background-color: #A11616;
    color: white;
    padding: 10px 20px;
    border-radius: 6px;
    border: none;
    transition: background-color 0.3s ease, transform 0.3s ease;
    cursor: pointer;
    font-weight: 500;
}

.batch-management-container .btn-primary:hover {
    background-color: #991b1b;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(161, 22, 22, 0.3);
}

.batch-management-container .btn-primary:active {
    transform: translateY(0);
}

.batch-management-container .btn-primary:disabled {
    background-color: #ddd;
    cursor: not-allowed;
    transform: none;
    opacity: 0.6;
}

/* 暂停按钮 - 橙色 */
.batch-management-container .btn-pause,
.batch-management-container .btn-warning {
    background-color: #ff9800;
    color: white;
    border: none;
    padding: 6px 12px;
    border-radius: 6px;
    transition: all 0.3s ease;
    cursor: pointer;
}

.batch-management-container .btn-pause:hover,
.batch-management-container .btn-warning:hover {
    background-color: #f57c00;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(255, 152, 0, 0.3);
}

/* 关闭按钮 - 红色 */
.batch-management-container .btn-close,
.batch-management-container .btn-danger {
    background-color: #e74c3c;
    color: white;
    border: none;
    padding: 6px 12px;
    border-radius: 6px;
    transition: all 0.3s ease;
    cursor: pointer;
}

.batch-management-container .btn-close:hover,
.batch-management-container .btn-danger:hover {
    background-color: #c0392b;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(231, 76, 60, 0.3);
}

/* 详情按钮 - 蓝色 */
.batch-management-container .btn-detail,
.batch-management-container .btn-info {
    background-color: #3498db;
    color: white;
    border: none;
    padding: 6px 12px;
    border-radius: 6px;
    transition: all 0.3s ease;
    cursor: pointer;
}

.batch-management-container .btn-detail:hover,
.batch-management-container .btn-info:hover {
    background-color: #2980b9;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(52, 152, 219, 0.3);
}

/* 编辑按钮 - 蓝色文字 */
.batch-management-container .btn-edit,
.batch-management-container .btn-outline-primary {
    background-color: transparent;
    color: #3498db;
    border: 1px solid #3498db;
    padding: 6px 12px;
    border-radius: 6px;
    transition: all 0.3s ease;
    cursor: pointer;
}

.batch-management-container .btn-edit:hover,
.batch-management-container .btn-outline-primary:hover {
    background-color: #3498db;
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(52, 152, 219, 0.3);
}

/* 删除按钮 - 深红色 */
.batch-management-container .btn-delete {
    background-color: transparent;
    color: #c0392b;
    border: none;
    padding: 6px 12px;
    border-radius: 6px;
    transition: all 0.3s ease;
    cursor: pointer;
}

.batch-management-container .btn-delete:hover {
    background-color: #c0392b;
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(192, 57, 43, 0.3);
}

/* 刷新按钮 */
.batch-management-container .btn-refresh {
    background-color: #e74c3c;
    color: white;
    padding: 10px 20px;
    border-radius: 6px;
    border: none;
    transition: all 0.3s ease;
    cursor: pointer;
}

.batch-management-container .btn-refresh:hover {
    background-color: #c0392b;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(231, 76, 60, 0.3);
}

/* 按钮组样式 */
.batch-management-container .btn-group {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

.batch-management-container .btn-action {
    font-size: 12px;
    padding: 6px 12px;
    white-space: nowrap;
}

/* 4. 表格样式优化 */
.batch-management-container .table-batch,
.batch-management-container .table {
    width: 100%;
    border-collapse: collapse;
    background: white;
    border-radius: 8px;
    overflow: hidden;
}

.batch-management-container .table-batch thead,
.batch-management-container .table thead {
    background-color: #f8f9fa;
}

.batch-management-container .table-batch th,
.batch-management-container .table th {
    background-color: #f8f9fa;
    padding: 16px;
    text-align: left;
    font-weight: 700;
    color: #374151;
    border-bottom: 2px solid #ddd;
    font-size: 14px;
}

.batch-management-container .table-batch tbody tr,
.batch-management-container .table tbody tr {
    border-bottom: 1px solid #e9ecef;
    transition: all 0.2s ease;
}

.batch-management-container .table-batch tbody tr:hover,
.batch-management-container .table tbody tr:hover {
    background: #f1f5f9;
    cursor: pointer;
    transform: scale(1.01);
}

.batch-management-container .table-batch td,
.batch-management-container .table td {
    padding: 16px;
    text-align: left;
    color: #374151;
    font-size: 14px;
}

/* 5. 模态框优化 */
.modal-overlay-enhanced {
    background: rgba(0, 0, 0, 0.3) !important;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    visibility: visible;
    opacity: 1;
    transition: opacity 0.3s ease;
    z-index: 99999;
}

.modal-overlay-enhanced.active {
    visibility: visible;
    opacity: 1;
}

.modal-overlay-enhanced .modal-container,
.modal-overlay-enhanced .modal-dialog .modal-content {
    background: white;
    padding: 24px;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    width: 80%;
    max-width: 600px;
    max-height: 90vh;
    overflow-y: auto;
}

.modal-overlay-enhanced .modal-header {
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 16px;
    padding-bottom: 16px;
    border-bottom: 1px solid #e9ecef;
}

.modal-overlay-enhanced .modal-footer {
    text-align: right;
    padding-top: 16px;
    border-top: 1px solid #e9ecef;
    margin-top: 16px;
}

/* 6. 响应式设计优化 */
@media (max-width: 768px) {
    .batch-management-container {
        padding: 16px !important;
    }
    
    .batch-management-container .batch-actions {
        flex-direction: column;
        gap: 12px;
    }
    
    .batch-management-container .table-batch td,
    .batch-management-container .table-batch th,
    .batch-management-container .table td,
    .batch-management-container .table th {
        padding: 12px;
        font-size: 14px;
    }
    
    .batch-management-container .table-responsive {
        overflow-x: auto;
    }
    
    .batch-management-container .table-batch,
    .batch-management-container .table {
        min-width: 600px;
    }
    
    .batch-management-container .btn-group {
        flex-direction: column;
        width: 100%;
    }
    
    .batch-management-container .btn-action {
        width: 100%;
    }
    
    .modal-overlay-enhanced .modal-container,
    .modal-overlay-enhanced .modal-dialog .modal-content {
        width: 95%;
        padding: 16px;
    }
}

/* 7. 分页样式（如果添加分页功能） */
.pagination {
    display: flex;
    gap: 10px;
    margin-top: 20px;
    justify-content: center;
    align-items: center;
}

.pagination-btn {
    padding: 8px 12px;
    background-color: #A11616;
    color: white;
    border-radius: 6px;
    cursor: pointer;
    border: none;
    transition: all 0.3s ease;
}

.pagination-btn:hover {
    background-color: #991b1b;
    transform: translateY(-2px);
}

.pagination-btn:disabled {
    background-color: #ddd;
    cursor: not-allowed;
    opacity: 0.6;
}

.pagination-btn.active {
    background-color: #991b1b;
    font-weight: 600;
}