/* 页面样式文件 */

/* 统计页面加载和错误状态样式 */
.loading-state,
.error-state {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: var(--spacing-xl);
    text-align: center;
    background: var(--gray-50);
    border-radius: var(--radius-md);
    border: 1px solid var(--gray-200);
}

.loading-state i {
    font-size: 2rem;
    color: var(--primary-color);
    margin-bottom: var(--spacing-md);
}

.error-state i {
    font-size: 2rem;
    color: var(--danger-color);
    margin-bottom: var(--spacing-md);
}

.error-state .error-message {
    color: var(--text-secondary);
    font-size: var(--font-size-sm);
    margin: var(--spacing-sm) 0;
}

.error-state .btn {
    margin-top: var(--spacing-md);
}

/* 党员信息管理页面 */
.members-page {
    /* 页面特定样式 */
}

.members-table-container {
    background: var(--white);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
    border: 1px solid var(--gray-200);
    overflow: hidden;
}

.members-table {
    width: 100%;
    border-collapse: collapse;
    font-family: var(--font-family);
    font-size: var(--font-size-sm);
    line-height: 1.4;
}

.members-table th,
.members-table td {
    padding: var(--spacing-md);
    text-align: left;
    border-bottom: 1px solid var(--gray-200);
    font-family: var(--font-family);
    font-size: var(--font-size-sm);
    line-height: 1.4;
    vertical-align: middle;
}

.members-table th {
    background: var(--gray-50);
    font-family: var(--font-family);
    font-size: var(--font-size-sm);
    font-weight: 600;
    color: var(--gray-700);
    line-height: 1.4;
    position: sticky;
    top: 0;
    z-index: 10;
}

.members-table tbody tr {
    transition: background-color 0.2s;
}

.members-table tbody tr:hover {
    background: var(--primary-light);
}

.members-table tbody tr.selected {
    background: var(--secondary-light);
}

/* 注意：.table-container 的基础定义在 main.css 中，这里不再重复定义 */
/* 如需特定样式，请使用更具体的选择器，如 .page-specific .table-container */

/* 党员信息页面样式 */
.member-row {
    transition: all 0.2s ease;
}

.member-row:hover {
    background-color: #f8f9fa;
    transform: translateY(-1px);
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.member-name {
    display: flex;
    align-items: center;
    gap: 8px;
    font-family: var(--font-family);
    font-size: var(--font-size-sm);
    font-weight: 500;
    color: var(--text-primary);
    line-height: 1.4;
}

.gender-badge {
    background: #e3f2fd;
    color: #1976d2;
    padding: 2px 6px;
    border-radius: 8px;
    font-family: var(--font-family);
    font-size: var(--font-size-xs);
    font-weight: 500;
    line-height: 1.2;
}

.work-id, .id-card, .phone, .email, .branch-name, .birth-date, .formal-date {
    font-family: var(--font-family);
    font-size: var(--font-size-sm);
    color: var(--text-secondary);
    font-weight: 400;
    line-height: 1.4;
}

.action-buttons {
    display: flex;
    gap: 6px; /* 增加间距，防止按钮重叠 */
    justify-content: center;
    flex-wrap: wrap;
    align-items: center;
}

.action-buttons .btn {
    padding: 4px 8px;
    font-family: var(--font-family);
    font-size: var(--font-size-xs);
    font-weight: 500;
    line-height: 1.2;
    border-radius: 4px;
    transition: background-color 0.2s ease, box-shadow 0.2s ease, opacity 0.2s ease;
    white-space: nowrap;
    overflow: visible; /* 确保内容可见 */
    text-overflow: ellipsis;
    max-width: 120px;
    position: relative;
    z-index: 1;
    /* 移除transform，改用其他视觉效果 */
    will-change: background-color, box-shadow;
}

.action-buttons .btn:hover {
    /* 移除transform，改用背景色和阴影效果 */
    opacity: 0.9;
    box-shadow: 0 2px 8px rgba(0,0,0,0.15);
    z-index: 10;
}

.members-table .action-buttons .btn:hover {
    /* 移除transform，改用背景色和阴影效果 */
    opacity: 0.9;
    box-shadow: 0 2px 8px rgba(0,0,0,0.15);
    z-index: 10;
}

/* 详情模态框样式 */
.member-details {
    max-height: 60vh;
    overflow-y: auto;
}

.details-section {
    margin-bottom: 24px;
    padding: 16px;
    background: #f8f9fa;
    border-radius: 8px;
    border-left: 4px solid #dc2626;
}

.details-section h4 {
    margin: 0 0 16px 0;
    color: #dc2626;
    font-size: 16px;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 8px;
}

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

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

.detail-item label {
    font-weight: 600;
    color: #374151;
    min-width: 120px;
    font-size: 14px;
}

.detail-item span {
    color: #6b7280;
    font-size: 14px;
}

.points-value {
    font-weight: 700;
    color: #dc2626;
    font-size: 16px;
}

.points-level {
    background: #dc2626;
    color: white;
    padding: 4px 8px;
    border-radius: 12px;
    font-size: 12px;
    font-weight: 500;
}

.notes-content {
    background: white;
    padding: 12px;
    border-radius: 6px;
    border: 1px solid #e5e7eb;
    color: #374151;
    line-height: 1.5;
}

/* 空状态样式 */
.empty-state {
    text-align: center;
    padding: 40px 20px;
}

.empty-state h4 {
    color: #9ca3af;
    font-family: var(--font-family);
    font-size: var(--font-size-md);
    font-weight: 500;
    line-height: 1.4;
}

.empty-state p {
    color: #d1d5db;
    font-family: var(--font-family);
    font-size: var(--font-size-sm);
    line-height: 1.4;
}

/* 加载状态样式 */
.loading-spinner {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.loading-spinner i {
    color: #dc2626;
    margin-bottom: 10px;
}

.loading-spinner p {
    color: #6b7280;
    margin: 0;
    font-family: var(--font-family);
    font-size: var(--font-size-sm);
    line-height: 1.4;
}

/* 党员管理页面操作按钮特殊样式 */
.members-table .action-buttons {
    flex-wrap: nowrap;
}

.members-table .action-buttons .btn {
    min-width: 32px;
    width: 32px;
    height: 32px;
    padding: 6px;
    font-size: 12px;
}

/* 状态徽章样式 */
.status-badge {
    padding: 4px 8px;
    border-radius: 12px;
    font-family: var(--font-family);
    font-size: var(--font-size-xs);
    font-weight: 500;
    line-height: 1.2;
    display: inline-flex;
    align-items: center;
    gap: 4px;
}

/* 打印选项样式 */
.print-options {
    padding: 20px 0;
}

.print-format-options {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 15px;
    margin-bottom: 30px;
}

.format-option {
    border: 2px solid #e5e7eb;
    border-radius: 8px;
    padding: 20px;
    cursor: pointer;
    transition: all 0.3s ease;
    background: white;
}

.format-option:hover {
    border-color: #dc2626;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(220, 38, 38, 0.15);
}

.format-option.selected {
    border-color: #dc2626;
    background: #fef2f2;
}

.format-icon {
    width: 48px;
    height: 48px;
    background: #dc2626;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 20px;
    margin-bottom: 12px;
}

.format-info h5 {
    margin: 0 0 8px 0;
    color: #1f2937;
    font-size: 16px;
    font-weight: 600;
}

.format-info p {
    margin: 0;
    color: #6b7280;
    font-size: 14px;
    line-height: 1.4;
}

.print-settings {
    background: #f8f9fa;
    border-radius: 8px;
    padding: 20px;
}

.print-settings h4 {
    margin: 0 0 15px 0;
    color: #1f2937;
    font-size: 16px;
    font-weight: 600;
}

.setting-group {
    margin-bottom: 12px;
}

.setting-group label {
    display: flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    font-size: 14px;
    color: #374151;
}

.setting-group input[type="checkbox"] {
    width: 16px;
    height: 16px;
    accent-color: #dc2626;
}

/* 打印预览样式 */
.print-preview-container {
    background: white;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    padding: 20px;
    max-height: 70vh;
    overflow-y: auto;
}

.print-preview-container .print-page {
    background: white;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    border-radius: 4px;
    padding: 30px;
    margin: 0 auto;
    max-width: 800px;
}

/* 高级筛选样式 */
.form-row {
    display: flex;
    gap: 20px;
    margin-bottom: 20px;
}

.form-group {
    flex: 1;
}

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

.form-group input,
.form-group select {
    width: 100%;
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 14px;
    box-sizing: border-box;
}

.date-range,
.points-range {
    display: flex;
    align-items: center;
    gap: 10px;
}

.date-range input,
.points-range input {
    flex: 1;
}

.date-range span,
.points-range span {
    color: #666;
    font-size: 14px;
}

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

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

.status-info {
    background: #dbeafe;
    color: #1e40af;
}

.status-default {
    background: #f3f4f6;
    color: #374151;
}

/* 操作按钮样式 */
.action-buttons {
    display: flex;
    gap: 8px;
}

.action-btn {
    padding: 6px 8px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 12px;
    transition: all 0.2s;
}

.action-btn.edit {
    background: var(--color-primary);
    color: white;
}

.action-btn.edit:hover {
    background: var(--color-primary-dark);
}

.action-btn.delete {
    background: #ef4444;
    color: white;
}

.action-btn.delete:hover {
    background: #dc2626;
}

/* 分页样式 */
.pagination-section {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 20px;
    padding: 16px 20px;
}

.pagination-info {
    color: var(--gray-600);
    font-family: var(--font-family);
    font-size: var(--font-size-sm);
    line-height: 1.4;
}

.pagination {
    display: flex;
    gap: 8px;
}

.page-btn {
    padding: 8px 12px;
    border: 1px solid var(--gray-300);
    background: white;
    border-radius: 4px;
    cursor: pointer;
    transition: all 0.2s;
}

.page-btn:hover {
    background: var(--gray-50);
}

.page-btn.active {
    background: var(--primary-color);
    color: white;
    border-color: var(--primary-color);
}

/* 积分管理页面 */
.points-page {
    /* 积分页面样式 */
}

/* 个人信息页面样式 */
.profile-banner {
    background: var(--gradient-primary);
    color: white;
    padding: var(--spacing-xl);
    border-radius: var(--radius-lg);
    margin-bottom: var(--spacing-lg);
    box-shadow: 0 4px 12px rgba(161, 22, 22, 0.3);
}

.profile-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: var(--spacing-md);
    margin-bottom: var(--spacing-lg);
}

/* 个人信息页面使用标准的标签页布局 */

.section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: var(--spacing-lg);
    padding: var(--spacing-md) var(--spacing-lg);
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
    border-radius: var(--radius-lg);
    border-bottom: 2px solid #e2e8f0;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.section-header h3 {
    margin: 0;
    color: var(--primary-color);
    font-size: var(--font-size-xl);
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: var(--spacing-sm);
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
}

.section-header h3 i {
    color: var(--primary-color);
    font-size: var(--font-size-lg);
}

.form-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: var(--spacing-lg);
    margin-bottom: var(--spacing-lg);
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-xs);
}

.form-group label {
    font-weight: 600;
    color: var(--gray-700);
    font-size: var(--font-size-sm);
}

.form-group input,
.form-group select {
    padding: var(--spacing-sm) var(--spacing-md);
    border: 2px solid #e2e8f0;
    border-radius: var(--radius-md);
    font-size: var(--font-size-sm);
    transition: all 0.3s ease;
    background: var(--white);
}

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

.form-group input[readonly] {
    background: #f8fafc;
    color: var(--gray-500);
    cursor: not-allowed;
}

.form-help {
    color: var(--gray-500);
    font-size: var(--font-size-xs);
    margin-top: var(--spacing-xs);
}

.form-actions {
    display: flex;
    gap: var(--spacing-md);
    justify-content: flex-end;
    padding-top: var(--spacing-lg);
    border-top: 1px solid #e2e8f0;
}

.checkbox-group {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-sm);
}

.checkbox-item {
    display: flex;
    align-items: center;
    gap: var(--spacing-sm);
    cursor: pointer;
    font-weight: 500;
}

.checkbox-item input[type="checkbox"] {
    width: 18px;
    height: 18px;
    accent-color: var(--primary-color);
}

.security-info {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: var(--radius-md);
    padding: var(--spacing-lg);
    margin-top: var(--spacing-lg);
}

.security-info h4 {
    margin: 0 0 var(--spacing-md) 0;
    color: var(--gray-800);
    font-size: var(--font-size-base);
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: var(--spacing-sm);
}

.security-info ul {
    margin: 0;
    padding-left: var(--spacing-lg);
    color: var(--gray-600);
    font-size: var(--font-size-sm);
    line-height: 1.6;
}

.security-info li {
    margin-bottom: var(--spacing-xs);
}

/* 个人信息页面响应式设计 */
@media (max-width: 768px) {
    .form-grid {
        grid-template-columns: 1fr;
    }
    
    .form-actions {
        flex-direction: column;
    }
}

/* 积分管理页面横幅样式 */
.points-banner {
    background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-secondary) 50%, #f093fb 100%);
    color: var(--white);
    padding: var(--spacing-2xl);
    border-radius: var(--radius-xl);
    margin-bottom: var(--spacing-xl);
    box-shadow: 0 20px 40px rgba(161, 22, 22, 0.3), 0 10px 20px rgba(0, 0, 0, 0.1);
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
}

.points-banner::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.15) 0%, transparent 70%);
    animation: float 8s ease-in-out infinite;
}

.points-banner::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, rgba(255, 255, 255, 0.1) 0%, transparent 50%, rgba(255, 255, 255, 0.05) 100%);
    pointer-events: none;
}

.banner-content {
    position: relative;
    z-index: 2;
    flex: 1;
}

.banner-content h1 {
    font-size: var(--font-size-3xl);
    font-weight: 700;
    margin-bottom: var(--spacing-sm);
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
    background: linear-gradient(45deg, #ffffff, #f0f0f0);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.banner-content p {
    font-size: var(--font-size-lg);
    opacity: 0.9;
    margin: 0;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
}

.banner-stats {
    display: flex;
    gap: var(--spacing-xl);
    align-items: center;
    position: relative;
    z-index: 2;
}

.banner-stats .stat-item {
    text-align: center;
    background: rgba(255, 255, 255, 0.15);
    padding: var(--spacing-lg);
    border-radius: var(--radius-lg);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    transition: all 0.3s ease;
    min-width: 120px;
}

.banner-stats .stat-item:hover {
    background: rgba(255, 255, 255, 0.25);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
}

.banner-stats .stat-number {
    display: block;
    font-size: var(--font-size-3xl);
    font-weight: 700;
    line-height: 1;
    margin-bottom: var(--spacing-xs);
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.banner-stats .stat-label {
    font-size: var(--font-size-sm);
    opacity: 0.9;
    font-weight: 500;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
}

@keyframes float {
    0%, 100% { transform: translate(0, 0) rotate(0deg); }
    50% { transform: translate(-20px, -20px) rotate(180deg); }
}

/* 积分管理标签页样式 */
.tabs-container {
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    border: 1px solid #e5e7eb;
    overflow: hidden;
    margin-bottom: 30px;
}

.tabs-nav {
    display: flex;
    background: #f9fafb;
    border-bottom: 1px solid #e5e7eb;
}

.tab-btn {
    flex: 1;
    padding: 16px 24px;
    background: transparent;
    border: none;
    cursor: pointer;
    font-size: 14px;
    font-weight: 500;
    color: #666;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    border-bottom: 2px solid transparent;
}

.tab-btn:hover {
    background: #f8f9fa;
    color: #333;
}

.tab-btn.active {
    background: #fff;
    color: #dc2626;
    border-bottom-color: #dc2626;
}

.tab-btn i {
    font-size: 16px;
}

.tabs-content {
    background: #fff;
    min-height: 400px;
}

.tab-pane {
    display: none;
    padding: 24px;
}

.tab-pane.active {
    display: block;
}

/* 积分管理统计概览样式 */
.stats-overview {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    margin-bottom: 30px;
}

.stats-overview .stat-card {
    background: #fff;
    border-radius: 8px;
    padding: 24px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    border: 1px solid #e5e7eb;
    transition: box-shadow 0.2s ease;
}

.stats-overview .stat-card:hover {
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.stats-overview .stat-card .stat-icon {
    width: 50px;
    height: 50px;
    border-radius: 8px;
    background: #dc2626;
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    margin-bottom: 16px;
    font-weight: 900;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
}

.stats-overview .stat-content {
    flex: 1;
}

.stats-overview .stat-number {
    font-size: 28px;
    font-weight: 700;
    color: #1f2937;
    line-height: 1;
    margin-bottom: 8px;
}

.stats-overview .stat-label {
    font-size: 14px;
    color: #6b7280;
    font-weight: 500;
}

/* 积分管理页面通用样式 - 统一为首页样式 */
/* ✅ 优化：移除重复的page-header定义，使用main.css中的统一定义 */
/* 注意：page-header的基础样式已在main.css中定义，这里只保留页面特定的覆盖样式 */

/* 积分管理页面标题栏 - 移除border-bottom */
.points-page .page-header,
#pointsPage .page-header {
    border-bottom: none;
}

/* 党员管理页面标题栏 - 保留特定样式覆盖 */
#membersPage .page-header {
    /* ✅ 优化：移除!important，使用高特异性选择器 */
    width: auto;
    height: auto;
    position: static;
    left: auto;
    transform: none;
    max-width: none;
    box-sizing: border-box;
}

#membersPage .page-header .header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    max-width: 1200px;
}

#membersPage .page-header h2 {
    color: white;
    margin: 0;
    font-size: 28px;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 16px;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

#membersPage .page-header h2 i {
    font-size: 32px;
    opacity: 0.9;
}

#membersPage .page-header .header-actions {
    display: flex;
    gap: 12px;
    align-items: center;
    flex-wrap: nowrap;
    min-width: 0;
    margin-right: 0 !important;
}

#membersPage .page-header .header-actions .btn {
    white-space: nowrap;
    flex-shrink: 0;
    padding: 12px 20px;
    font-size: 15px;
    font-weight: 600;
    border-radius: 8px;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

#membersPage .page-header .header-actions .btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

/* 党员管理页面标题栏响应式设计 */
@media (max-width: 768px) {
    #membersPage .page-header {
        height: 70px;
        padding: 0 24px;
        flex-direction: column;
        gap: 12px;
        justify-content: center;
        margin: 0 -20px 24px -20px;
        left: 50%;
        transform: translateX(-50%);
    }
    
    #membersPage .page-header .header-content {
        flex-direction: column;
        gap: 12px;
        text-align: center;
    }
    
    #membersPage .page-header h2 {
        font-size: 24px;
        gap: 12px;
    }
    
    #membersPage .page-header h2 i {
        font-size: 28px;
    }
    
    #membersPage .page-header .header-actions {
        gap: 8px;
        flex-wrap: wrap;
        justify-content: center;
    }
    
    #membersPage .page-header .header-actions .btn {
        padding: 10px 16px;
        font-size: 13px;
        min-width: auto;
    }
}

@media (max-width: 480px) {
    #membersPage .page-header {
        height: 80px;
        padding: 0 16px;
        flex-direction: column;
        gap: 10px;
        justify-content: center;
        margin: 0 -20px 20px -20px;
        left: 50%;
        transform: translateX(-50%);
    }
    
    #membersPage .page-header .header-content {
        flex-direction: column;
        gap: 10px;
        text-align: center;
    }
    
    #membersPage .page-header h2 {
        font-size: 20px;
        gap: 10px;
    }
    
    #membersPage .page-header h2 i {
        font-size: 24px;
    }
    
    #membersPage .page-header .header-actions {
        gap: 6px;
        flex-wrap: wrap;
        justify-content: center;
    }
    
    #membersPage .page-header .header-actions .btn {
        padding: 8px 12px;
        font-size: 12px;
    }
}

/* 党员管理页面内容区域调整 */
#membersPage {
    margin-top: 0;
    padding: 30px 24px;
    background: #f8fafc;
    min-height: calc(100vh - 110px);
    position: relative;
    z-index: 1;
}

/* 党员管理页面筛选区域样式 */
#membersPage .filters-section {
    background: white;
    border-radius: 16px;
    padding: 28px 32px;
    margin-bottom: 24px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    border: 1px solid rgba(0, 0, 0, 0.05);
}

#membersPage .filter-row {
    display: flex;
    gap: 20px;
    align-items: end;
    flex-wrap: wrap;
}

#membersPage .filter-group {
    flex: 1;
    min-width: 200px;
}

#membersPage .filter-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
    color: #374151;
    font-size: 14px;
}

#membersPage .filter-group input,
#membersPage .filter-group select {
    width: 100%;
    padding: 12px 16px;
    border: 2px solid #e5e7eb;
    border-radius: 10px;
    font-size: 14px;
    transition: all 0.3s ease;
    background: #fafafa;
}

#membersPage .filter-group input:focus,
#membersPage .filter-group select:focus {
    outline: none;
    border-color: var(--color-primary);
    background: white;
    box-shadow: 0 0 0 3px rgba(161, 22, 22, 0.1);
}

#membersPage .filter-actions {
    display: flex;
    gap: 12px;
    align-items: center;
    margin-top: 8px;
}

#membersPage .filter-actions .btn {
    padding: 12px 24px;
    border-radius: 10px;
    font-weight: 500;
    font-size: 14px;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
}

#membersPage .filter-actions .btn-primary {
    background: var(--gradient-primary);
    color: white;
}

#membersPage .filter-actions .btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(161, 22, 22, 0.3);
}

#membersPage .filter-actions .btn-danger {
    background: linear-gradient(135deg, #f56565 0%, #e53e3e 100%);
    color: white;
}

#membersPage .filter-actions .btn-danger:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(245, 101, 101, 0.3);
}

/* 党员管理页面数据表格区域样式 */
#membersPage .data-table-container {
    background: white;
    border-radius: 16px;
    padding: 24px 32px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    border: 1px solid rgba(0, 0, 0, 0.05);
    margin-bottom: 24px;
}

#membersPage .table-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    padding-bottom: 16px;
    border-bottom: 2px solid #f1f5f9;
}

#membersPage .batch-actions {
    display: flex;
    align-items: center;
    gap: 16px;
}

#membersPage .select-all-label {
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: 500;
    color: #374151;
    cursor: pointer;
    user-select: none;
}

#membersPage .select-all-label input[type="checkbox"] {
    width: 18px;
    height: 18px;
    accent-color: var(--color-primary);
    cursor: pointer;
}

#membersPage .batch-actions .btn {
    padding: 10px 20px;
    border-radius: 8px;
    font-weight: 500;
    font-size: 14px;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
}

#membersPage .batch-actions .btn-danger {
    background: linear-gradient(135deg, #f56565 0%, #e53e3e 100%);
    color: white;
}

#membersPage .batch-actions .btn-danger:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(245, 101, 101, 0.3);
}

#membersPage .members-table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 16px;
}

#membersPage .members-table th {
    background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%);
    color: #374151;
    font-weight: 600;
    padding: 16px 12px;
    text-align: left;
    border-bottom: 2px solid #e5e7eb;
    font-size: 14px;
}

#membersPage .members-table td {
    padding: 16px 12px;
    border-bottom: 1px solid #f1f5f9;
    color: #4b5563;
    font-size: 14px;
    vertical-align: middle;
}

#membersPage .members-table tbody tr:hover {
    background: #f8fafc;
    transition: background 0.2s ease;
}

#membersPage .members-table tbody tr:last-child td {
    border-bottom: none;
}

/* 党员管理页面分页区域样式 */
#membersPage .pagination-section {
    background: white;
    border-radius: 16px;
    padding: 20px 32px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    border: 1px solid rgba(0, 0, 0, 0.05);
    margin-top: 24px;
}

#membersPage .pagination-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
}

#membersPage .pagination-left {
    display: flex;
    align-items: center;
    gap: 24px;
}

#membersPage .page-size-selector {
    display: flex;
    align-items: center;
    gap: 8px;
}

#membersPage .page-size-selector label {
    font-weight: 500;
    color: #374151;
    font-size: 14px;
}

#membersPage .page-size-selector select {
    padding: 8px 12px;
    border: 2px solid #e5e7eb;
    border-radius: 8px;
    font-size: 14px;
    background: #fafafa;
    transition: all 0.3s ease;
}

#membersPage .page-size-selector select:focus {
    outline: none;
    border-color: var(--color-primary);
    background: white;
    box-shadow: 0 0 0 3px rgba(161, 22, 22, 0.1);
}

#membersPage .pagination-info {
    color: #6b7280;
    font-size: 14px;
    font-weight: 500;
}

#membersPage .pagination {
    display: flex;
    gap: 8px;
    align-items: center;
}

#membersPage .page-btn {
    padding: 10px 16px;
    border: 2px solid #e5e7eb;
    background: white;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-weight: 500;
    font-size: 14px;
    color: #374151;
    min-width: 44px;
    text-align: center;
}

#membersPage .page-btn:hover {
    border-color: var(--color-primary);
    background: #f8fafc;
    transform: translateY(-1px);
}

#membersPage .page-btn.active {
    background: var(--gradient-primary);
    border-color: var(--color-primary);
    color: white;
    box-shadow: 0 4px 12px rgba(161, 22, 22, 0.3);
}

/* 党员管理页面响应式设计 */
@media (max-width: 1200px) {
    #membersPage {
        padding: 24px 20px;
    }
    
    #membersPage .filters-section,
    #membersPage .data-table-container,
    #membersPage .pagination-section {
        padding: 24px 28px;
    }
}

@media (max-width: 768px) {
    #membersPage {
        padding: 20px 16px;
    }
    
    #membersPage .filters-section,
    #membersPage .data-table-container,
    #membersPage .pagination-section {
        padding: 20px 24px;
        margin-bottom: 16px;
    }
    
    #membersPage .filter-row {
        flex-direction: column;
        gap: 16px;
    }
    
    #membersPage .filter-group {
        min-width: 100%;
    }
    
    #membersPage .filter-actions {
        justify-content: center;
        margin-top: 16px;
    }
    
    #membersPage .pagination-container {
        flex-direction: column;
        gap: 16px;
        text-align: center;
    }
    
    #membersPage .pagination-left {
        flex-direction: column;
        gap: 12px;
    }
    
    #membersPage .members-table {
        font-size: 12px;
    }
    
    #membersPage .members-table th,
    #membersPage .members-table td {
        padding: 12px 8px;
    }
}

@media (max-width: 480px) {
    #membersPage {
        padding: 16px 12px;
    }
    
    #membersPage .filters-section,
    #membersPage .data-table-container,
    #membersPage .pagination-section {
        padding: 16px 20px;
    }
    
    #membersPage .filter-actions .btn {
        padding: 10px 16px;
        font-size: 13px;
    }
    
    #membersPage .page-btn {
        padding: 8px 12px;
        font-size: 13px;
        min-width: 36px;
    }
}

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

.points-page .page-title i {
    /* 样式已在main.css中定义 */
}

.points-page .page-actions .btn {
    padding: 10px 20px;
    border-radius: 6px;
    font-size: 14px;
    font-weight: 500;
    border: none;
    cursor: pointer;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    gap: 8px;
}

.points-page .page-actions .btn-primary {
    background: #dc2626;
    color: #fff;
}

.points-page .page-actions .btn-primary:hover {
    background: #b91c1c;
}

/* 积分管理表格通用样式 */
.materials-table-container,
.records-table-container,
.statistics-table-container {
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    border: 1px solid #e5e7eb;
    overflow: hidden;
}

.materials-table,
.records-table,
.statistics-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 14px;
}

.materials-table th,
.records-table th,
.statistics-table th {
    background: #f9fafb;
    font-weight: 600;
    color: #374151;
    padding: 16px 20px;
    text-align: left;
    border-bottom: 1px solid #e5e7eb;
    font-size: 14px;
}

.materials-table td,
.records-table td,
.statistics-table td {
    padding: 16px 20px;
    border-bottom: 1px solid #f3f4f6;
    vertical-align: middle;
}

.materials-table tbody tr:hover,
.records-table tbody tr:hover,
.statistics-table tbody tr:hover {
    background: #f9fafb;
}

.materials-table tbody tr:last-child td,
.records-table tbody tr:last-child td,
.statistics-table tbody tr:last-child td {
    border-bottom: none;
}

/* 思想汇报页面样式 */
.reports-page .page-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 24px;
    padding-bottom: 16px;
    border-bottom: 1px solid #e5e7eb;
}

/* ✅ 优化：移除!important，使用main.css中的高特异性定义 */
/* 统一标题栏样式：字体大小28px，字体粗细700 */
.reports-page .page-title {
    display: flex;
    align-items: center;
    gap: 12px;
}

.reports-page .page-actions .btn {
    padding: 10px 20px;
    border-radius: 6px;
    font-size: 14px;
    font-weight: 500;
    border: none;
    cursor: pointer;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    gap: 8px;
}

.reports-page .page-actions .btn-primary {
    background: #dc2626;
    color: #fff;
}

.reports-page .page-actions .btn-primary:hover {
    background: #b91c1c;
}

/* 思想汇报表单样式 */
.submit-form {
    background: #fff;
    padding: 24px;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    border: 1px solid #e5e7eb;
}

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

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

.submit-form .form-input,
.submit-form .form-textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid #d1d5db;
    border-radius: 6px;
    font-size: 14px;
    transition: border-color 0.2s ease;
}

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

.submit-form .form-textarea {
    resize: vertical;
    min-height: 120px;
}

/* 思想汇报表格样式 */
.reports-table-container {
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    border: 1px solid #e5e7eb;
    overflow: hidden;
}

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

.reports-table th {
    background: #f9fafb;
    font-weight: 600;
    color: #374151;
    padding: 16px 20px;
    text-align: left;
    border-bottom: 1px solid #e5e7eb;
    font-size: 14px;
}

.reports-table td {
    padding: 16px 20px;
    border-bottom: 1px solid #f3f4f6;
    vertical-align: middle;
}

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

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

/* 思想汇报状态徽章 */
.reports-table .status-badge {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    text-align: center;
    min-width: 60px;
    justify-content: center;
}

.reports-table .status-badge.active {
    background: #dcfce7;
    color: #166534;
}

.reports-table .status-badge.inactive {
    background: #fee2e2;
    color: #dc2626;
}

.reports-table .status-badge.pending {
    background: #fef3c7;
    color: #d97706;
}

/* 思想汇报操作按钮 */
.reports-table .action-buttons {
    display: flex;
    gap: 8px;
    align-items: center;
}

.reports-table .action-btn {
    width: 32px;
    height: 32px;
    border: none;
    border-radius: 6px;
    background: #f3f4f6;
    color: #6b7280;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
    font-size: 14px;
}

.reports-table .action-btn:hover {
    background: #e5e7eb;
    color: #374151;
}

.reports-table .action-btn.view {
    background: #dbeafe;
    color: #1d4ed8;
}

.reports-table .action-btn.view:hover {
    background: #bfdbfe;
    color: #1e40af;
}

.reports-table .action-btn.edit {
    background: #fef3c7;
    color: #d97706;
}

.reports-table .action-btn.edit:hover {
    background: #fde68a;
    color: #b45309;
}

.reports-table .action-btn.delete {
    background: #fee2e2;
    color: #dc2626;
}

.reports-table .action-btn.delete:hover {
    background: #fecaca;
    color: #b91c1c;
}

/* 党务材料页面样式 */
.materials-page .page-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 24px;
    padding-bottom: 16px;
    border-bottom: 1px solid #e5e7eb;
}

/* ✅ 优化：移除!important，使用main.css中的高特异性定义 */
/* 统一标题栏样式：字体大小28px，字体粗细700 */
.materials-page .page-title {
    display: flex;
    align-items: center;
    gap: 12px;
}

.materials-page .page-actions .btn {
    padding: 10px 20px;
    border-radius: 6px;
    font-size: 14px;
    font-weight: 500;
    border: none;
    cursor: pointer;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    gap: 8px;
}

.materials-page .page-actions .btn-primary {
    background: #dc2626;
    color: #fff;
}

.materials-page .page-actions .btn-primary:hover {
    background: #b91c1c;
}

/* 党务材料步骤导航 */
.steps-nav {
    display: flex;
    justify-content: space-between;
    margin-bottom: 30px;
    padding: 20px;
    background: #f9fafb;
    border-radius: 8px;
    border: 1px solid #e5e7eb;
}

.step {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 16px;
    background: #fff;
    border-radius: 8px;
    border: 2px solid #e5e7eb;
    transition: all 0.3s ease;
    cursor: pointer;
    flex: 1;
    margin: 0 8px;
}

.step:first-child {
    margin-left: 0;
}

.step:last-child {
    margin-right: 0;
}

.step.active {
    border-color: #dc2626;
    background: #fef2f2;
}

.step-icon {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: #e5e7eb;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #6b7280;
    font-size: 16px;
    transition: all 0.3s ease;
}

.step.active .step-icon {
    background: #dc2626;
    color: #fff;
}

.step-content {
    flex: 1;
}

.step-title {
    font-weight: 600;
    color: #374151;
    margin-bottom: 4px;
}

.step-desc {
    font-size: 14px;
    color: #6b7280;
}

/* 党务材料表单样式 */
.form-content {
    background: #fff;
    padding: 24px;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    border: 1px solid #e5e7eb;
}

.section-title h3 {
    font-size: 18px;
    font-weight: 600;
    color: #1f2937;
    margin-bottom: 8px;
}

.section-title p {
    color: #6b7280;
    margin-bottom: 20px;
}

.guide-content {
    display: grid;
    gap: 16px;
}

.guide-item {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 16px;
    background: #f9fafb;
    border-radius: 8px;
    border: 1px solid #e5e7eb;
}

.guide-icon {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: #dc2626;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    flex-shrink: 0;
}

.guide-text h4 {
    font-weight: 600;
    color: #374151;
    margin-bottom: 4px;
}

.guide-text p {
    color: #6b7280;
    font-size: 14px;
    margin: 0;
}

/* 党务材料表格样式 */
.materials-table-container {
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    border: 1px solid #e5e7eb;
    overflow: hidden;
}

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

.materials-table th {
    background: #f9fafb;
    font-weight: 600;
    color: #374151;
    padding: 16px 20px;
    text-align: left;
    border-bottom: 1px solid #e5e7eb;
    font-size: 14px;
}

.materials-table td {
    padding: 16px 20px;
    border-bottom: 1px solid #f3f4f6;
    vertical-align: middle;
}

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

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

/* 党务材料状态徽章 */
.materials-table .status-badge {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    text-align: center;
    min-width: 60px;
    justify-content: center;
}

.materials-table .status-badge.approved {
    background: #dcfce7;
    color: #166534;
}

.materials-table .status-badge.rejected {
    background: #fee2e2;
    color: #dc2626;
}

.materials-table .status-badge.pending {
    background: #fef3c7;
    color: #d97706;
}

/* 党务材料操作按钮 */
.materials-table .action-buttons {
    display: flex;
    gap: 8px;
    align-items: center;
}

.materials-table .action-btn {
    width: 32px;
    height: 32px;
    border: none;
    border-radius: 6px;
    background: #f3f4f6;
    color: #6b7280;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
    font-size: 14px;
}

.materials-table .action-btn:hover {
    background: #e5e7eb;
    color: #374151;
}

.materials-table .action-btn.view {
    background: #dbeafe;
    color: #1d4ed8;
}

.materials-table .action-btn.view:hover {
    background: #bfdbfe;
    color: #1e40af;
}

.materials-table .action-btn.edit {
    background: #fef3c7;
    color: #d97706;
}

.materials-table .action-btn.edit:hover {
    background: #fde68a;
    color: #b45309;
}

.materials-table .action-btn.delete {
    background: #fee2e2;
    color: #dc2626;
}

.materials-table .action-btn.delete:hover {
    background: #fecaca;
    color: #b91c1c;
}

.materials-table .action-btn.approve {
    background: #dcfce7;
    color: #166534;
}

.materials-table .action-btn.approve:hover {
    background: #bbf7d0;
    color: #15803d;
}

.materials-table .action-btn.reject {
    background: #fee2e2;
    color: #dc2626;
}

.materials-table .action-btn.reject:hover {
    background: #fecaca;
    color: #b91c1c;
}

/* 党员档案页面样式 */
.archives-page .page-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 24px;
    padding-bottom: 16px;
    border-bottom: 1px solid #e5e7eb;
}

/* ✅ 优化：移除!important，使用main.css中的高特异性定义 */
/* 统一标题栏样式：字体大小28px，字体粗细700 */
.archives-page .page-title {
    display: flex;
    align-items: center;
    gap: 12px;
}

.archives-page .page-actions .btn {
    padding: 10px 20px;
    border-radius: 6px;
    font-size: 14px;
    font-weight: 500;
    border: none;
    cursor: pointer;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    gap: 8px;
}

.archives-page .page-actions .btn-primary {
    background: #dc2626;
    color: #fff;
}

.archives-page .page-actions .btn-primary:hover {
    background: #b91c1c;
}

/* 档案横幅样式 */
.archives-banner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: linear-gradient(135deg, #dc2626 0%, #b91c1c 100%);
    color: white;
    padding: 24px 32px;
    border-radius: 12px;
    margin-bottom: 24px;
    box-shadow: 0 4px 12px rgba(220, 38, 38, 0.2);
}

/* 积分管理横幅样式 */
.points-banner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: var(--gradient-primary);
    color: white;
    padding: 24px 32px;
    border-radius: 12px;
    margin-bottom: 24px;
    box-shadow: 0 4px 12px rgba(161, 22, 22, 0.2);
}

.points-banner h2 {
    font-size: 24px;
    font-weight: 700;
    margin: 0 0 8px 0;
    display: flex;
    align-items: center;
    gap: 12px;
}

.points-banner p {
    font-size: 16px;
    margin: 0;
    opacity: 0.9;
}

/* 积分统计样式 */
.points-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    margin-bottom: 24px;
}

/* 党员发展横幅样式 */
.development-banner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
    color: white;
    padding: 24px 32px;
    border-radius: 12px;
    margin-bottom: 24px;
    box-shadow: 0 4px 12px rgba(16, 185, 129, 0.2);
}

.development-banner h2 {
    font-size: 24px;
    font-weight: 700;
    margin: 0 0 8px 0;
    display: flex;
    align-items: center;
    gap: 12px;
}

.development-banner p {
    font-size: 16px;
    margin: 0;
    opacity: 0.9;
}

/* 党员发展统计样式 */
.development-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    margin-bottom: 24px;
}

/* 思想汇报横幅样式 */
.reports-banner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
    color: white;
    padding: 24px 32px;
    border-radius: 12px;
    margin-bottom: 24px;
    box-shadow: 0 4px 12px rgba(245, 158, 11, 0.2);
}

.reports-banner h2 {
    font-size: 24px;
    font-weight: 700;
    margin: 0 0 8px 0;
    display: flex;
    align-items: center;
    gap: 12px;
}

.reports-banner p {
    font-size: 16px;
    margin: 0;
    opacity: 0.9;
}

/* 思想汇报统计样式 */
.reports-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    margin-bottom: 24px;
}

/* 党务材料横幅样式 */
.materials-banner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: linear-gradient(135deg, #8b5cf6 0%, #7c3aed 100%);
    color: white;
    padding: 24px 32px;
    border-radius: 12px;
    margin-bottom: 24px;
    box-shadow: 0 4px 12px rgba(139, 92, 246, 0.2);
}

.materials-banner h2 {
    font-size: 24px;
    font-weight: 700;
    margin: 0 0 8px 0;
    display: flex;
    align-items: center;
    gap: 12px;
}

.materials-banner p {
    font-size: 16px;
    margin: 0;
    opacity: 0.9;
}

/* 党务材料统计样式 */
.materials-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    margin-bottom: 24px;
}

/* 数据统计横幅样式 */
.statistics-banner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: linear-gradient(135deg, #06b6d4 0%, #0891b2 100%);
    color: white;
    padding: 24px 32px;
    border-radius: 12px;
    margin-bottom: 24px;
    box-shadow: 0 4px 12px rgba(6, 182, 212, 0.2);
}

.statistics-banner h2 {
    font-size: 24px;
    font-weight: 700;
    margin: 0 0 8px 0;
    display: flex;
    align-items: center;
    gap: 12px;
}

.statistics-banner p {
    font-size: 16px;
    margin: 0;
    opacity: 0.9;
}

/* 数据统计统计样式 */
.statistics-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    margin-bottom: 24px;
}

/* 系统设置横幅样式 */
.settings-banner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: linear-gradient(135deg, #6b7280 0%, #4b5563 100%);
    color: white;
    padding: 24px 32px;
    border-radius: 12px;
    margin-bottom: 24px;
    box-shadow: 0 4px 12px rgba(107, 114, 128, 0.2);
}

.settings-banner h2 {
    font-size: 24px;
    font-weight: 700;
    margin: 0 0 8px 0;
    display: flex;
    align-items: center;
    gap: 12px;
}

.settings-banner p {
    font-size: 16px;
    margin: 0;
    opacity: 0.9;
}

/* 系统设置统计样式 */
.settings-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    margin-bottom: 24px;
}

/* 违规管理横幅样式 */
.violations-banner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: linear-gradient(135deg, #ef4444 0%, #dc2626 100%);
    color: white;
    padding: 24px 32px;
    border-radius: 12px;
    margin-bottom: 24px;
    box-shadow: 0 4px 12px rgba(239, 68, 68, 0.2);
}

.violations-banner h2 {
    font-size: 24px;
    font-weight: 700;
    margin: 0 0 8px 0;
    display: flex;
    align-items: center;
    gap: 12px;
}

.violations-banner p {
    font-size: 16px;
    margin: 0;
    opacity: 0.9;
}

/* 违规管理统计样式 */
.violations-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    margin-bottom: 24px;
}

.archives-banner h2 {
    font-size: 24px;
    font-weight: 700;
    margin: 0 0 8px 0;
    display: flex;
    align-items: center;
    gap: 12px;
}

.archives-banner p {
    font-size: 16px;
    margin: 0;
    opacity: 0.9;
}

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

.banner-actions .btn {
    padding: 10px 20px;
    border-radius: 6px;
    font-size: 14px;
    font-weight: 500;
    border: none;
    cursor: pointer;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    gap: 8px;
}

.banner-actions .btn-primary {
    background: rgba(255, 255, 255, 0.2);
    color: white;
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.banner-actions .btn-primary:hover {
    background: rgba(255, 255, 255, 0.3);
}

.banner-actions .btn-secondary {
    background: transparent;
    color: white;
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.banner-actions .btn-secondary:hover {
    background: rgba(255, 255, 255, 0.1);
}

/* 档案统计样式 */
.archives-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    margin-bottom: 24px;
}

.stat-item {
    background: #fff;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    border: 1px solid #e5e7eb;
    display: flex;
    align-items: center;
    gap: 16px;
}

.stat-item i {
    font-size: 24px;
    color: #dc2626;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #fef2f2;
    border-radius: 8px;
}

.stat-item div {
    flex: 1;
}

.stat-label {
    display: block;
    font-size: 14px;
    color: #6b7280;
    margin-bottom: 4px;
}

.stat-value {
    display: block;
    font-size: 24px;
    font-weight: 700;
    color: #1f2937;
}

/* 档案表格样式 */
.archives-table-container {
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    border: 1px solid #e5e7eb;
    overflow: hidden;
}

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

.archives-table th {
    background: #f9fafb;
    font-weight: 600;
    color: #374151;
    padding: 16px 20px;
    text-align: left;
    border-bottom: 1px solid #e5e7eb;
    font-size: 14px;
}

.archives-table td {
    padding: 16px 20px;
    border-bottom: 1px solid #f3f4f6;
    vertical-align: middle;
}

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

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

/* 档案状态徽章 */
.archives-table .status-badge {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    text-align: center;
    min-width: 60px;
    justify-content: center;
}

.archives-table .status-badge.generated {
    background: #dcfce7;
    color: #166534;
}

.archives-table .status-badge.pending {
    background: #fef3c7;
    color: #d97706;
}

.archives-table .status-badge.not-generated {
    background: #fee2e2;
    color: #dc2626;
}

/* 档案操作按钮 */
.archives-table .action-buttons {
    display: flex;
    gap: 8px;
    align-items: center;
}

.archives-table .action-btn {
    width: 32px;
    height: 32px;
    border: none;
    border-radius: 6px;
    background: #f3f4f6;
    color: #6b7280;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
    font-size: 14px;
}

.archives-table .action-btn:hover {
    background: #e5e7eb;
    color: #374151;
}

.archives-table .action-btn.view {
    background: #dbeafe;
    color: #1d4ed8;
}

.archives-table .action-btn.view:hover {
    background: #bfdbfe;
    color: #1e40af;
}

.archives-table .action-btn.generate {
    background: #dcfce7;
    color: #166534;
}

.archives-table .action-btn.generate:hover {
    background: #bbf7d0;
    color: #15803d;
}

.archives-table .action-btn.download {
    background: #fef3c7;
    color: #d97706;
}

.archives-table .action-btn.download:hover {
    background: #fde68a;
    color: #b45309;
}

/* 档案搜索框 */
.archives-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    padding: 20px;
    background: #f9fafb;
    border-radius: 8px;
    border: 1px solid #e5e7eb;
}

.search-box {
    position: relative;
    flex: 1;
    max-width: 400px;
}

.search-box i {
    position: absolute;
    left: 12px;
    top: 50%;
    transform: translateY(-50%);
    color: #6b7280;
    font-size: 14px;
}

.search-box input {
    width: 100%;
    padding: 12px 12px 12px 40px;
    border: 1px solid #d1d5db;
    border-radius: 6px;
    font-size: 14px;
    transition: border-color 0.2s ease;
}

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

/* 分页样式 */
.pagination-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 20px;
    padding: 20px;
    background: #f9fafb;
    border-radius: 8px;
    border: 1px solid #e5e7eb;
}

.pagination-info {
    font-size: 14px;
    color: #6b7280;
}

.pagination-controls {
    display: flex;
    gap: 8px;
    align-items: center;
}

.pagination-controls .btn {
    padding: 8px 12px;
    border-radius: 6px;
    font-size: 14px;
    font-weight: 500;
    border: 1px solid #d1d5db;
    background: #fff;
    color: #374151;
    cursor: pointer;
    transition: all 0.2s ease;
}

.pagination-controls .btn:hover {
    background: #f3f4f6;
    border-color: #9ca3af;
}

.pagination-controls .btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.pagination-controls .btn.btn-primary {
    background: #dc2626;
    color: #fff;
    border-color: #dc2626;
}

.pagination-controls .btn.btn-primary:hover {
    background: #b91c1c;
    border-color: #b91c1c;
}

/* 评价相关样式 */
.evaluation-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    margin-bottom: 24px;
}

.evaluation-filters {
    display: flex;
    gap: 16px;
    margin-bottom: 20px;
    padding: 20px;
    background: #f9fafb;
    border-radius: 8px;
    border: 1px solid #e5e7eb;
}

.evaluation-filters select {
    padding: 8px 12px;
    border: 1px solid #d1d5db;
    border-radius: 6px;
    font-size: 14px;
    background: #fff;
}

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

/* 导出相关样式 */
.export-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    margin-bottom: 24px;
}

.export-options {
    background: #fff;
    padding: 24px;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    border: 1px solid #e5e7eb;
}

.export-options h3 {
    font-size: 18px;
    font-weight: 600;
    color: #1f2937;
    margin-bottom: 16px;
}

.export-options .form-group {
    margin-bottom: 16px;
}

.export-options label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: #374151;
}

.export-options select {
    width: 100%;
    padding: 12px;
    border: 1px solid #d1d5db;
    border-radius: 6px;
    font-size: 14px;
    background: #fff;
}

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

.banner-content h1 {
    font-size: var(--font-size-3xl);
    font-weight: 700;
    margin-bottom: var(--spacing-sm);
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.banner-content p {
    font-size: var(--font-size-lg);
    opacity: 0.9;
    margin: 0;
}

.banner-stats {
    display: flex;
    gap: var(--spacing-xl);
    align-items: center;
}

.banner-stats .stat-item {
    text-align: center;
    background: rgba(255, 255, 255, 0.1);
    padding: var(--spacing-md);
    border-radius: var(--radius-md);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.banner-stats .stat-number {
    display: block;
    font-size: var(--font-size-3xl);
    font-weight: 700;
    line-height: 1;
    margin-bottom: var(--spacing-xs);
}

.banner-stats .stat-label {
    font-size: var(--font-size-sm);
    opacity: 0.8;
}

/* 党员发展页面 */
.development-page {
    /* 发展页面样式 */
}

.development-banner {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
    color: var(--white);
    padding: var(--spacing-xl);
    border-radius: var(--radius-lg);
    margin-bottom: var(--spacing-xl);
    box-shadow: var(--shadow-lg);
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
    overflow: hidden;
}

.development-banner::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.1) 0%, transparent 70%);
    animation: float 6s ease-in-out infinite;
}

/* 思想汇报页面 */
.reports-page {
    /* 汇报页面样式 */
}

.reports-banner {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
    color: var(--white);
    padding: var(--spacing-xl);
    border-radius: var(--radius-lg);
    margin-bottom: var(--spacing-xl);
    box-shadow: var(--shadow-lg);
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
    overflow: hidden;
}

.reports-banner::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.1) 0%, transparent 70%);
    animation: float 6s ease-in-out infinite;
}

/* 党务材料页面 */
.materials-page {
    /* 材料页面样式 */
}

.materials-banner {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
    color: var(--white);
    padding: var(--spacing-xl);
    border-radius: var(--radius-lg);
    margin-bottom: var(--spacing-xl);
    box-shadow: var(--shadow-lg);
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
    overflow: hidden;
}

.materials-banner::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.1) 0%, transparent 70%);
    animation: float 6s ease-in-out infinite;
}

/* 党员档案页面 */
.archives-page {
    /* 档案页面样式 */
}

.archives-banner {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
    color: var(--white);
    padding: var(--spacing-xl);
    border-radius: var(--radius-lg);
    margin-bottom: var(--spacing-xl);
    box-shadow: var(--shadow-lg);
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
    overflow: hidden;
}

.archives-banner::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.1) 0%, transparent 70%);
    animation: float 6s ease-in-out infinite;
}

/* 违规管理页面 */
.violations-page {
    /* 违规页面样式 */
}

.violations-banner {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
    color: var(--white);
    padding: var(--spacing-xl);
    border-radius: var(--radius-lg);
    margin-bottom: var(--spacing-xl);
    box-shadow: var(--shadow-lg);
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
    overflow: hidden;
}

.violations-banner::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.1) 0%, transparent 70%);
    animation: float 6s ease-in-out infinite;
}

/* 数据统计页面 */
.statistics-page {
    /* 统计页面样式 */
}

/* ✅ 优化：移除!important，使用main.css中的高特异性定义 */
/* 数据统计页面标题栏背景 - 统一为首页样式 */
/* page-header基础样式已在main.css中定义，这里只保留特定覆盖 */
#statisticsPage .page-header,
.statistics-page .page-header {
    /* 保留特定样式覆盖（如果需要） */
}

/* 统一标题栏样式：字体大小28px，字体粗细700 */
#statisticsPage .page-title,
.statistics-page .page-title {
    display: flex;
    align-items: center;
    gap: 12px;
}

.statistics-banner {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
    color: var(--white);
    padding: var(--spacing-xl);
    border-radius: var(--radius-lg);
    margin-bottom: var(--spacing-xl);
    box-shadow: var(--shadow-lg);
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
    overflow: hidden;
}

.statistics-banner::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.1) 0%, transparent 70%);
    animation: float 6s ease-in-out infinite;
}

/* 系统设置页面 */
.settings-page {
    /* 设置页面样式 */
}

.settings-banner {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
    color: var(--white);
    padding: var(--spacing-xl);
    border-radius: var(--radius-lg);
    margin-bottom: var(--spacing-xl);
    box-shadow: var(--shadow-lg);
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
    overflow: hidden;
}

.settings-banner::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.1) 0%, transparent 70%);
    animation: float 6s ease-in-out infinite;
}

/* 通用页面导航 */
.page-nav {
    display: flex;
    background: var(--white);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
    margin-bottom: var(--spacing-xl);
    overflow: hidden;
    border: 1px solid var(--gray-200);
}

.nav-btn {
    flex: 1;
    padding: var(--spacing-lg);
    background: transparent;
    border: none;
    cursor: pointer;
    font-size: var(--font-size-base);
    font-weight: 500;
    color: var(--gray-600);
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: var(--spacing-sm);
    position: relative;
}

.nav-btn:hover {
    background: var(--gray-50);
    color: var(--gray-800);
}

.nav-btn.active {
    background: var(--primary-color);
    color: var(--white);
    box-shadow: inset 0 -3px 0 var(--primary-dark);
}

.nav-btn i {
    font-size: var(--font-size-lg);
}

/* 标签导航栏 */
.settings-nav {
    display: flex;
    background: var(--white);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
    margin-bottom: var(--spacing-xl);
    overflow: hidden;
    border: 1px solid var(--gray-200);
}

/* 页面内容区域 */
.page-content {
    background: var(--white);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
    border: 1px solid var(--gray-200);
    overflow: hidden;
}

.page-section {
    display: none;
}

.settings-section {
    display: none;
    padding: var(--spacing-xl);
}

.settings-section.active {
    display: block;
}

/* 档案管理页面样式 */
.archives-page {
    /* 档案页面样式 */
}

.archives-banner {
    background: var(--gradient-primary);
    color: var(--white);
    padding: var(--spacing-xl);
    border-radius: var(--radius-lg);
    margin-bottom: var(--spacing-xl);
    box-shadow: var(--shadow-lg);
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
    overflow: hidden;
}

.archives-banner::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.1) 0%, transparent 70%);
    animation: float 6s ease-in-out infinite;
}

.archives-stats {
    display: flex;
    gap: var(--spacing-lg);
    margin-bottom: var(--spacing-lg);
    flex-wrap: wrap;
}

.stat-item {
    display: flex;
    align-items: center;
    gap: var(--spacing-sm);
    padding: var(--spacing-md) var(--spacing-lg);
    background: var(--white);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--gray-200);
    transition: all 0.3s ease;
}

.stat-item:hover {
    box-shadow: var(--shadow-md);
    transform: translateY(-1px);
}

.stat-label {
    color: var(--gray-600);
    font-size: var(--font-size-sm);
    font-weight: 500;
}

.stat-value {
    color: var(--primary-color);
    font-size: var(--font-size-lg);
    font-weight: 700;
}

.archives-table {
    background: var(--white);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
    overflow: hidden;
    border: 1px solid var(--gray-200);
}

.archives-table table {
    width: 100%;
    border-collapse: collapse;
    margin: 0;
}

.archives-table th {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    color: var(--gray-700);
    font-weight: 600;
    padding: var(--spacing-lg);
    text-align: left;
    border-bottom: 2px solid var(--gray-200);
    font-size: var(--font-size-sm);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.archives-table td {
    padding: var(--spacing-lg);
    border-bottom: 1px solid var(--gray-100);
    vertical-align: middle;
    transition: background-color 0.2s ease;
}

.archives-table tr:hover td {
    background-color: var(--gray-50);
}

.archives-table tr:last-child td {
    border-bottom: none;
}

.action-buttons {
    display: flex;
    gap: var(--spacing-sm);
    align-items: center;
}

.btn-sm {
    padding: var(--spacing-xs) var(--spacing-sm);
    font-size: var(--font-size-xs);
    border-radius: var(--radius-sm);
    border: none;
    cursor: pointer;
    transition: all 0.2s ease;
    font-weight: 500;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: var(--spacing-xs);
}

.btn-sm:hover {
    transform: translateY(-1px);
    box-shadow: var(--shadow-sm);
}

.btn-success {
    background: linear-gradient(135deg, #6c757d, #495057);
    color: white;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    color: white;
}

.btn-info {
    background: linear-gradient(135deg, #17a2b8, #138496);
    color: white;
}

.status-badge {
    display: inline-flex;
    align-items: center;
    padding: var(--spacing-xs) var(--spacing-sm);
    border-radius: var(--radius-full);
    font-size: var(--font-size-xs);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.status-badge.active {
    background: linear-gradient(135deg, #6c757d, #495057);
    color: white;
}

.status-badge.pending {
    background: linear-gradient(135deg, #ffc107, #fd7e14);
    color: white;
}

/* 档案弹窗样式 - 已移除冲突的样式定义，使用components.css中的统一样式 */

/* 批量导入预览样式 */
.import-section {
    padding: 20px 0;
}

.import-tips {
    background: #f8f9fa;
    border: 1px solid #e9ecef;
    border-radius: 8px;
    padding: 16px;
    margin-bottom: 20px;
}

.import-tips h4 {
    margin: 0 0 12px 0;
    color: #495057;
    font-size: 16px;
}

.import-tips ul {
    margin: 0;
    padding-left: 20px;
    color: #6c757d;
}

.import-tips li {
    margin-bottom: 8px;
    line-height: 1.5;
}

.import-actions {
    margin-bottom: 20px;
}

.file-upload-area {
    border: 2px dashed #dee2e6;
    border-radius: 8px;
    padding: 40px 20px;
    text-align: center;
    background: #f8f9fa;
    transition: all 0.3s ease;
    margin-bottom: 20px;
}

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

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

.upload-content {
    color: #6c757d;
}

.upload-icon {
    font-size: 48px;
    color: #007bff;
    margin-bottom: 16px;
}

.upload-content h5 {
    margin: 0 0 8px 0;
    color: #495057;
}

.upload-content p {
    margin: 0;
    font-size: 14px;
}

.file-selected {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 16px;
    background: #f8f9fa;
    border: 1px solid #6c757d;
    border-radius: 8px;
}

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

.file-info h5 {
    margin: 0 0 4px 0;
    color: #495057;
}

.file-info p {
    margin: 0;
    color: #6c757d;
    font-size: 14px;
}

.preview-section {
    margin-top: 20px;
    padding-top: 20px;
    border-top: 1px solid #dee2e6;
}

.preview-summary {
    display: flex;
    gap: 20px;
    margin-bottom: 20px;
    padding: 16px;
    background: #f8f9fa;
    border-radius: 8px;
}

.summary-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
}

.summary-item .label {
    font-size: 14px;
    color: #6c757d;
}

.summary-item .value {
    font-size: 18px;
    font-weight: 600;
}

.summary-item .value.success {
    color: #6c757d;
}

.summary-item .value.error {
    color: #dc3545;
}

.summary-item .value.warning {
    color: #ffc107;
}

.preview-actions {
    display: flex;
    gap: 12px;
    margin-bottom: 20px;
}

.preview-table-container {
    max-height: 400px;
    overflow-y: auto;
    border: 1px solid #dee2e6;
    border-radius: 8px;
}

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

.preview-table th {
    background: #f8f9fa;
    padding: 12px 8px;
    text-align: left;
    font-weight: 600;
    color: #495057;
    border-bottom: 1px solid #dee2e6;
    position: sticky;
    top: 0;
    z-index: 10;
}

.preview-table td {
    padding: 12px 8px;
    border-bottom: 1px solid #f1f3f4;
    color: #495057;
}

.preview-table tr.success {
    background: #f8f9fa;
}

.preview-table tr.error {
    background: #fff8f8;
}

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

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

.preview-table .status-badge.success {
    background: #e9ecef;
    color: #495057;
}

.preview-table .status-badge.error {
    background: #f8d7da;
    color: #721c24;
}

.preview-table .error-text {
    color: #dc3545;
    font-size: 12px;
    max-width: 200px;
    word-wrap: break-word;
}

.preview-table .btn {
    padding: 4px 8px;
    font-size: 12px;
    margin-right: 4px;
}


.member-detail-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: var(--spacing-xl);
}

.detail-section {
    background: var(--gray-50);
    padding: var(--spacing-lg);
    border-radius: var(--radius-md);
    border: 1px solid var(--gray-200);
}

.detail-section h4 {
    color: var(--primary-color);
    font-size: var(--font-size-md);
    font-weight: 600;
    margin: 0 0 var(--spacing-md) 0;
    padding-bottom: var(--spacing-sm);
    border-bottom: 2px solid var(--primary-color);
}

.info-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: var(--spacing-sm) 0;
    border-bottom: 1px solid var(--gray-200);
}

.info-row:last-child {
    border-bottom: none;
}

.info-row label {
    color: var(--gray-600);
    font-weight: 500;
    font-size: var(--font-size-sm);
    min-width: 100px;
}

.info-row span {
    color: var(--gray-800);
    font-weight: 400;
    text-align: right;
    flex: 1;
}

/* 表格单元格内容样式 */
.member-name,
.work-id,
.id-card,
.branch-info,
.date-info,
.points-info {
    display: flex;
    align-items: center;
    gap: var(--spacing-xs);
}

.member-name i,
.work-id i,
.id-card i,
.branch-info i,
.date-info i,
.points-info i {
    color: var(--primary-color);
    font-size: var(--font-size-sm);
    width: 16px;
    text-align: center;
}

.branch-info span {
    max-width: 150px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

/* 搜索框样式 */
.search-box {
    position: relative;
    display: flex;
    align-items: center;
    background: var(--white);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--gray-200);
    overflow: hidden;
}

.search-box i {
    position: absolute;
    left: var(--spacing-md);
    color: var(--gray-500);
    z-index: 1;
}

.search-box input {
    width: 100%;
    padding: var(--spacing-md) var(--spacing-md) var(--spacing-md) var(--spacing-xl);
    border: none;
    outline: none;
    background: transparent;
    font-size: var(--font-size-sm);
}

.search-box input:focus {
    background: var(--gray-50);
}

/* 横幅操作按钮样式 */
.banner-actions {
    display: flex;
    gap: var(--spacing-sm);
    align-items: center;
}

.banner-actions .btn {
    display: flex;
    align-items: center;
    gap: var(--spacing-xs);
    padding: var(--spacing-sm) var(--spacing-lg);
    border-radius: var(--radius-md);
    border: none;
    cursor: pointer;
    font-weight: 500;
    transition: all 0.2s ease;
    text-decoration: none;
}

.banner-actions .btn:hover {
    transform: translateY(-1px);
    box-shadow: var(--shadow-md);
}

.banner-actions .btn-primary {
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    color: var(--white);
}

.banner-actions .btn-secondary {
    background: var(--gray-100);
    color: var(--gray-700);
    border: 1px solid var(--gray-300);
}

.banner-actions .btn-secondary:hover {
    background: var(--gray-200);
}

/* 概览页面特定样式 */
.recent-archives-section {
    margin-top: var(--spacing-xl);
}

.section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: var(--spacing-lg);
    padding: var(--spacing-md) 0;
    border-bottom: 2px solid var(--gray-200);
}

.section-header h3 {
    color: var(--primary-color);
    font-size: var(--font-size-lg);
    font-weight: 600;
    margin: 0;
    display: flex;
    align-items: center;
    gap: var(--spacing-sm);
}

.section-header h3 i {
    color: var(--primary-color);
}

.section-header .btn {
    display: flex;
    align-items: center;
    gap: var(--spacing-xs);
    padding: var(--spacing-sm) var(--spacing-md);
    border-radius: var(--radius-md);
    border: 1px solid var(--gray-300);
    background: var(--white);
    color: var(--gray-700);
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    text-decoration: none;
    font-size: var(--font-size-sm);
    font-weight: 600;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.section-header .btn:hover {
    background: var(--primary-color);
    border-color: var(--primary-color);
    color: var(--white);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(161, 22, 22, 0.3);
}

.section-header .btn i {
    font-size: var(--font-size-sm);
}

/* 分页样式 */
.pagination-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: var(--spacing-lg);
    padding: var(--spacing-md) var(--spacing-lg);
    border-top: 1px solid var(--gray-200);
}

.pagination-info {
    display: flex;
    align-items: center;
    gap: var(--spacing-lg);
    color: var(--gray-600);
    font-size: var(--font-size-sm);
}

.page-size-selector {
    display: flex;
    align-items: center;
    gap: var(--spacing-sm);
}

.page-size-selector label {
    color: var(--gray-600);
    font-size: var(--font-size-sm);
    font-weight: 500;
}

.page-size-selector select {
    padding: var(--spacing-xs) var(--spacing-sm);
    border: 1px solid var(--gray-300);
    border-radius: var(--radius-sm);
    background: var(--white);
    color: var(--gray-700);
    font-size: var(--font-size-sm);
    cursor: pointer;
    transition: border-color 0.2s ease;
}

.page-size-selector select:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 2px rgba(var(--primary-color-rgb), 0.1);
}

.pagination-buttons {
    display: flex;
    align-items: center;
    gap: var(--spacing-xs);
}

.page-numbers {
    display: flex;
    align-items: center;
    gap: var(--spacing-xs);
    margin: 0 var(--spacing-sm);
}

.pagination-buttons .btn {
    display: flex;
    align-items: center;
    gap: var(--spacing-xs);
    padding: var(--spacing-xs) var(--spacing-sm);
    border: 1px solid var(--gray-300);
    background: var(--white);
    color: var(--gray-700);
    cursor: pointer;
    transition: all 0.2s ease;
    text-decoration: none;
    font-size: var(--font-size-sm);
    border-radius: var(--radius-sm);
}

.pagination-buttons .btn:hover:not(:disabled) {
    background: var(--gray-50);
    border-color: var(--primary-color);
    color: var(--primary-color);
    transform: translateY(-1px);
}

.pagination-buttons .btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
    background: var(--gray-100);
    color: var(--gray-400);
}

.pagination-buttons .btn.btn-primary {
    background: var(--primary-color);
    color: var(--white);
    border-color: var(--primary-color);
}

.pagination-buttons .btn.btn-primary:hover {
    background: var(--primary-dark);
    border-color: var(--primary-dark);
    color: var(--white);
}

/* 响应式分页 */
@media (max-width: 768px) {
    .pagination-container {
        flex-direction: column;
        gap: var(--spacing-md);
        align-items: stretch;
    }
    
    .pagination-info {
        justify-content: center;
    }
    
    .pagination-buttons {
        justify-content: center;
        flex-wrap: wrap;
    }
    
    .page-numbers {
        order: -1;
        margin: 0;
    }
}

/* 档案生成和导出模块样式 */
.generate-stats,
.export-stats,
.evaluation-stats {
    display: flex;
    gap: var(--spacing-lg);
    margin-bottom: var(--spacing-xl);
    flex-wrap: wrap;
}

.generate-options-grid,
.export-options-grid,
.evaluation-options-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: var(--spacing-xl);
    margin-bottom: var(--spacing-xl);
}

.generate-option-card,
.export-option-card,
.evaluation-option-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
    border: 1px solid var(--gray-200);
    overflow: hidden;
    transition: all 0.3s ease;
    position: relative;
}

.generate-option-card:hover,
.export-option-card:hover,
.evaluation-option-card:hover {
    box-shadow: var(--shadow-lg);
    transform: translateY(-2px);
}

.option-header {
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    color: var(--white);
    padding: var(--spacing-lg);
    display: flex;
    align-items: center;
    gap: var(--spacing-md);
}

.option-header i {
    font-size: var(--font-size-lg);
    width: 24px;
    text-align: center;
}

.option-header h4 {
    margin: 0;
    font-size: var(--font-size-md);
    font-weight: 600;
}

.option-content {
    padding: var(--spacing-lg);
}

.option-content p {
    color: var(--gray-600);
    line-height: 1.6;
    margin-bottom: var(--spacing-md);
    font-size: var(--font-size-sm);
}

.option-stats {
    margin-bottom: var(--spacing-md);
}

.stat-badge {
    display: inline-block;
    background: var(--gray-100);
    color: var(--gray-700);
    padding: var(--spacing-xs) var(--spacing-sm);
    border-radius: var(--radius-sm);
    font-size: var(--font-size-xs);
    font-weight: 500;
}

.form-group {
    margin-bottom: var(--spacing-md);
}

.form-group label {
    display: block;
    color: var(--gray-700);
    font-size: var(--font-size-sm);
    font-weight: 500;
    margin-bottom: var(--spacing-xs);
}

.form-control {
    width: 100%;
    padding: var(--spacing-sm);
    border: 1px solid var(--gray-300);
    border-radius: var(--radius-sm);
    background: var(--white);
    color: var(--gray-700);
    font-size: var(--font-size-sm);
    transition: border-color 0.2s ease;
}

.form-control:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 2px rgba(var(--primary-color-rgb), 0.1);
}

.format-options {
    display: flex;
    gap: var(--spacing-md);
    margin-bottom: var(--spacing-md);
}

.format-option {
    display: flex;
    align-items: center;
    gap: var(--spacing-xs);
    cursor: pointer;
    font-size: var(--font-size-sm);
    color: var(--gray-600);
}

.format-option input[type="radio"] {
    margin: 0;
}

.format-option span {
    display: flex;
    align-items: center;
    gap: var(--spacing-xs);
}

.format-option i {
    color: var(--primary-color);
}

.option-actions {
    padding: var(--spacing-lg);
    background: var(--gray-50);
    border-top: 1px solid var(--gray-200);
}

.option-actions .btn {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: var(--spacing-xs);
    padding: var(--spacing-md);
    border-radius: var(--radius-md);
    border: none;
    cursor: pointer;
    font-weight: 500;
    transition: all 0.2s ease;
    text-decoration: none;
}

.option-actions .btn:hover {
    transform: translateY(-1px);
    box-shadow: var(--shadow-md);
}

/* 进度条样式 */
.generate-progress-section,
.export-progress-section {
    margin-top: var(--spacing-xl);
}

.progress-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
    border: 1px solid var(--gray-200);
    overflow: hidden;
}

.progress-header {
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    color: var(--white);
    padding: var(--spacing-lg);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.progress-header h4 {
    margin: 0;
    font-size: var(--font-size-md);
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: var(--spacing-sm);
}

.progress-header span {
    font-size: var(--font-size-lg);
    font-weight: 700;
}

.progress-bar-container {
    padding: var(--spacing-lg);
}

/* ✅ 优化：移除!important，使用高特异性选择器 */
.progress-bar-container .progress-bar {
    width: 100%;
    height: 4px;
    background: var(--gray-200);
    border-radius: var(--radius-full);
    overflow: hidden;
}

.progress-fill {
    height: 100%;
    background: linear-gradient(90deg, var(--primary-color), var(--primary-dark));
    border-radius: var(--radius-full);
    transition: width 0.3s ease;
    width: 0%;
}

.progress-info {
    padding: 0 var(--spacing-lg) var(--spacing-lg);
}

.progress-info p {
    margin: 0 0 var(--spacing-sm) 0;
    color: var(--gray-700);
    font-weight: 500;
}

.progress-details {
    color: var(--gray-600);
    font-size: var(--font-size-sm);
}

/* 导出历史样式 */
.export-history-section {
    margin-top: var(--spacing-xl);
}

.history-list {
    background: var(--white);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--gray-200);
    overflow: hidden;
}

.history-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: var(--spacing-lg);
    border-bottom: 1px solid var(--gray-100);
    transition: background-color 0.2s ease;
}

.history-item:last-child {
    border-bottom: none;
}

.history-item:hover {
    background: var(--gray-50);
}

.history-date {
    color: var(--gray-600);
    font-size: var(--font-size-sm);
    min-width: 150px;
}

.history-type {
    color: var(--gray-700);
    font-weight: 500;
    flex: 1;
    margin: 0 var(--spacing-md);
}

.history-count {
    color: var(--primary-color);
    font-weight: 600;
    margin-right: var(--spacing-md);
}

.text-muted {
    color: var(--gray-500);
    text-align: center;
    padding: var(--spacing-xl);
    font-style: italic;
}

/* 响应式设计 */
@media (max-width: 768px) {
    .generate-options-grid,
    .export-options-grid {
        grid-template-columns: 1fr;
    }
    
    .format-options {
        flex-direction: column;
        gap: var(--spacing-sm);
    }
    
    .history-item {
        flex-direction: column;
        align-items: flex-start;
        gap: var(--spacing-sm);
    }
    
    .history-date,
    .history-type,
    .history-count {
        margin: 0;
    }
}

/* 评价相关样式 */
.evaluation-list-section {
    margin-top: var(--spacing-xl);
}

.evaluation-table {
    background: var(--white);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
    overflow: hidden;
    border: 1px solid var(--gray-200);
}

.evaluation-table table {
    width: 100%;
    border-collapse: collapse;
    margin: 0;
}

.evaluation-table th {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    color: var(--gray-700);
    font-weight: 600;
    padding: var(--spacing-lg);
    text-align: left;
    border-bottom: 2px solid var(--gray-200);
    font-size: var(--font-size-sm);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.evaluation-table td {
    padding: var(--spacing-lg);
    border-bottom: 1px solid var(--gray-100);
    vertical-align: middle;
    transition: background-color 0.2s ease;
}

.evaluation-table tr:hover td {
    background-color: var(--gray-50);
}

.evaluation-table tr:last-child td {
    border-bottom: none;
}

.evaluation-grade {
    display: flex;
    align-items: center;
    gap: var(--spacing-xs);
}

.evaluation-grade i {
    color: var(--primary-color);
    font-size: var(--font-size-sm);
}

.filter-options {
    display: flex;
    align-items: center;
    gap: var(--spacing-md);
}

/* 评价表单样式 */
.evaluation-form {
    max-height: 70vh;
    overflow-y: auto;
}

.member-info-card {
    background: var(--gray-50);
    padding: var(--spacing-lg);
    border-radius: var(--radius-md);
    margin-bottom: var(--spacing-lg);
    border: 1px solid var(--gray-200);
}

.member-info-card h4 {
    color: var(--primary-color);
    margin: 0 0 var(--spacing-md) 0;
    font-size: var(--font-size-md);
    font-weight: 600;
}

.info-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: var(--spacing-md);
}

.info-item {
    display: flex;
    align-items: center;
    gap: var(--spacing-sm);
}

.info-item label {
    color: var(--gray-600);
    font-weight: 500;
    min-width: 80px;
}

.info-item span {
    color: var(--gray-800);
    font-weight: 400;
}

.evaluation-sections {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-lg);
}

.evaluation-section {
    background: var(--white);
    border: 1px solid var(--gray-200);
    border-radius: var(--radius-md);
    padding: var(--spacing-lg);
}

.evaluation-section h4 {
    color: var(--primary-color);
    margin: 0 0 var(--spacing-md) 0;
    font-size: var(--font-size-md);
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: var(--spacing-sm);
}

.evaluation-section h4 i {
    color: var(--primary-color);
}

.evaluation-item {
    margin-bottom: var(--spacing-md);
}

.evaluation-item:last-child {
    margin-bottom: 0;
}

.evaluation-item label {
    display: block;
    color: var(--gray-700);
    font-size: var(--font-size-sm);
    font-weight: 500;
    margin-bottom: var(--spacing-xs);
}

.evaluation-item select,
.evaluation-item textarea {
    width: 100%;
    padding: var(--spacing-sm);
    border: 1px solid var(--gray-300);
    border-radius: var(--radius-sm);
    background: var(--white);
    color: var(--gray-700);
    font-size: var(--font-size-sm);
    transition: border-color 0.2s ease;
}

.evaluation-item select:focus,
.evaluation-item textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 2px rgba(var(--primary-color-rgb), 0.1);
}

.evaluation-item textarea {
    resize: vertical;
    min-height: 80px;
}

/* 党员选择样式 */
.member-selection {
    max-height: 400px;
    overflow-y: auto;
}

.member-list {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-sm);
    margin-top: var(--spacing-md);
}

.member-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: var(--spacing-md);
    background: var(--white);
    border: 1px solid var(--gray-200);
    border-radius: var(--radius-md);
    transition: all 0.2s ease;
}

.member-item:hover {
    border-color: var(--primary-color);
    box-shadow: var(--shadow-sm);
}

.member-item.selected {
    border-color: var(--primary-color);
    background: var(--primary-color);
    color: var(--white);
}

.member-info h5 {
    margin: 0 0 var(--spacing-xs) 0;
    font-size: var(--font-size-md);
    font-weight: 600;
}

.member-info p {
    margin: 0;
    font-size: var(--font-size-sm);
    color: var(--gray-600);
}

.member-item.selected .member-info p {
    color: rgba(255, 255, 255, 0.8);
}

/* 打印相关样式 */
.print-options {
    max-height: 70vh;
    overflow-y: auto;
}

.print-type-selection {
    margin-bottom: var(--spacing-lg);
}

.print-type-selection h4 {
    color: var(--gray-700);
    margin: 0 0 var(--spacing-md) 0;
    font-size: var(--font-size-md);
    font-weight: 600;
}

.radio-group {
    display: flex;
    gap: var(--spacing-lg);
}

.radio-option {
    display: flex;
    align-items: center;
    gap: var(--spacing-sm);
    cursor: pointer;
    padding: var(--spacing-sm) var(--spacing-md);
    border: 1px solid var(--gray-300);
    border-radius: var(--radius-sm);
    transition: all 0.2s ease;
}

.radio-option:hover {
    border-color: var(--primary-color);
    background: var(--gray-50);
}

.radio-option input[type="radio"] {
    margin: 0;
}

.radio-option span {
    display: flex;
    align-items: center;
    gap: var(--spacing-xs);
    font-size: var(--font-size-sm);
    color: var(--gray-700);
}

.radio-option input[type="radio"]:checked + span {
    color: var(--primary-color);
    font-weight: 500;
}

.filter-section {
    margin-bottom: var(--spacing-lg);
}

.filter-section h4 {
    color: var(--gray-700);
    margin: 0 0 var(--spacing-md) 0;
    font-size: var(--font-size-md);
    font-weight: 600;
}

.filter-row {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: var(--spacing-md);
    margin-bottom: var(--spacing-md);
}

/* 数据统计筛选样式 */
.filters-section {
    background: #fff;
    border-radius: 12px;
    padding: 24px;
    margin-bottom: 24px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.filters-section .section-header {
    /* 隐藏顶部标签栏 */
    display: none;
    margin: 0;
}

.filters-section .section-header h3 {
    font-size: 18px;
    font-weight: 600;
    color: #333;
    margin: 0;
}

.filters-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.filter-group {
    display: flex;
    flex-direction: column;
}

.filter-label {
    font-size: 14px;
    font-weight: 500;
    color: #666;
    margin-bottom: 8px;
}

.filter-group .form-select {
    padding: 10px 12px;
    border: 1px solid #d1d5db;
    border-radius: 8px;
    font-size: 14px;
    background: #fff;
    color: #333;
    transition: all 0.2s ease;
}

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

.filter-group .form-select:hover {
    border-color: #9ca3af;
}

.apply-filters-btn {
    background: #dc2626;
    color: white;
    border: none;
    padding: 10px 20px;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    gap: 8px;
    height: fit-content;
}

.apply-filters-btn:hover {
    background: #b91c1c;
    transform: translateY(-1px);
}

.apply-filters-btn:active {
    transform: translateY(0);
}

/* 响应式设计 */
@media (max-width: 768px) {
    .filters-grid {
        grid-template-columns: 1fr;
    }
}

.print-preview {
    margin-top: var(--spacing-lg);
    border-top: 1px solid var(--gray-200);
    padding-top: var(--spacing-lg);
}

.print-preview h4 {
    color: var(--gray-700);
    margin: 0 0 var(--spacing-md) 0;
    font-size: var(--font-size-md);
    font-weight: 600;
}

.preview-content {
    max-height: 400px;
    overflow-y: auto;
    border: 1px solid var(--gray-200);
    border-radius: var(--radius-md);
    padding: var(--spacing-md);
    background: var(--white);
}

/* 搜索结果提示样式 */
.search-results-info {
    display: flex;
    align-items: center;
    gap: var(--spacing-sm);
    padding: var(--spacing-sm) var(--spacing-md);
    border-radius: var(--radius-sm);
    margin: var(--spacing-sm) 0;
    font-size: var(--font-size-sm);
    font-weight: 500;
}

.search-results-info.success {
    background: #e9ecef;
    color: #495057;
    border: 1px solid #dee2e6;
}

.search-results-info.warning {
    background: #fff3cd;
    color: #856404;
    border: 1px solid #ffeaa7;
}

.search-results-info i {
    font-size: var(--font-size-sm);
}

/* 预览控制样式 */
.preview-controls {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: var(--spacing-lg);
    padding: var(--spacing-md);
    background: var(--gray-50);
    border-radius: var(--radius-md);
    border: 1px solid var(--gray-200);
}

.preview-info {
    display: flex;
    align-items: center;
    gap: var(--spacing-sm);
    color: var(--gray-700);
    font-size: var(--font-size-sm);
    font-weight: 500;
}

.preview-info i {
    color: var(--primary-color);
}

.preview-actions {
    display: flex;
    gap: var(--spacing-sm);
}

.preview-content {
    max-height: 60vh;
    overflow-y: auto;
    border: 1px solid var(--gray-200);
    border-radius: var(--radius-md);
    padding: var(--spacing-md);
    background: var(--white);
}

/* 打印预览内容样式 */
.print-page {
    margin-bottom: var(--spacing-xl);
    padding: var(--spacing-lg);
    border: 1px solid var(--gray-200);
    border-radius: var(--radius-md);
    background: var(--white);
    box-shadow: var(--shadow-sm);
}

.print-header {
    text-align: center;
    margin-bottom: var(--spacing-lg);
    padding-bottom: var(--spacing-md);
    border-bottom: 2px solid var(--primary-color);
}

.print-header h2 {
    margin: 0;
    color: var(--primary-color);
    font-size: var(--font-size-xl);
    font-weight: 600;
}

.print-info {
    margin-top: var(--spacing-sm);
    color: var(--gray-600);
    font-size: var(--font-size-sm);
}

.member-basic-info,
.member-awards-section,
.member-violations-section,
.member-evaluations-section {
    margin-bottom: var(--spacing-lg);
}

.member-photo-section {
    float: right;
    width: 150px;
    text-align: center;
    margin-bottom: var(--spacing-lg);
}

.photo-placeholder {
    border: 2px dashed var(--gray-300);
    padding: var(--spacing-lg);
    border-radius: var(--radius-md);
    background: var(--gray-50);
}

.photo-placeholder i {
    font-size: 48px;
    color: var(--gray-400);
    display: block;
    margin-bottom: var(--spacing-sm);
}

.info-table {
    width: 100%;
}

.info-row {
    display: flex;
    margin-bottom: var(--spacing-sm);
    padding: var(--spacing-xs) 0;
    border-bottom: 1px solid var(--gray-100);
}

.info-row:last-child {
    border-bottom: none;
}

.info-cell {
    flex: 1;
    display: flex;
    align-items: center;
}

.info-cell label {
    font-weight: 600;
    margin-right: var(--spacing-sm);
    min-width: 80px;
    color: var(--gray-700);
}

.info-cell span {
    color: var(--gray-800);
}

.awards-list,
.violations-list {
    margin-top: var(--spacing-sm);
}

.award-item,
.violation-item {
    display: flex;
    justify-content: space-between;
    padding: var(--spacing-sm);
    border-bottom: 1px solid var(--gray-100);
    background: var(--gray-50);
    border-radius: var(--radius-sm);
    margin-bottom: var(--spacing-xs);
}

.no-violations {
    text-align: center;
    color: var(--success-color);
    padding: var(--spacing-lg);
    background: var(--success-light);
    border-radius: var(--radius-md);
    border: 1px solid var(--success-color);
}

.evaluation-content {
    margin-top: var(--spacing-sm);
    padding: var(--spacing-md);
    background: var(--gray-50);
    border-radius: var(--radius-sm);
    border-left: 4px solid var(--primary-color);
}

.evaluation-signature {
    margin-top: var(--spacing-md);
    text-align: right;
    color: var(--gray-600);
    font-size: var(--font-size-sm);
}

.evaluation-signature span {
    margin-left: var(--spacing-lg);
}

/* ✅ 优化：移除!important，使用高特异性选择器 */
/* 党员发展阶段卡片样式 - 缩小50% */
.content-area .stages-grid,
.page.active .stages-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: var(--spacing-md);
    margin-top: var(--spacing-lg);
}

.content-area .stage-card,
.page.active .stage-card {
    background: var(--white);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--gray-200);
    overflow: hidden;
    transition: all 0.3s ease;
    position: relative;
    padding: 12px;
}

.stage-card:hover {
    box-shadow: var(--shadow-lg);
    transform: translateY(-2px);
}

.stage-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: var(--spacing-lg);
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    color: var(--white);
}

/* ✅ 优化：移除!important，使用高特异性选择器 */
.content-area .stage-header h4,
.page.active .stage-header h4 {
    margin: 0;
    font-size: 0.625rem;
    font-weight: 600;
}

.stage-content {
    padding: var(--spacing-lg);
}

/* ✅ 优化：移除!important，使用高特异性选择器 */
.content-area .stage-description,
.page.active .stage-description {
    color: var(--gray-600);
    line-height: 1.3;
    margin-bottom: var(--spacing-sm);
    font-size: 0.5rem;
}

.stage-requirements {
    margin-bottom: var(--spacing-md);
}

.stage-requirements h5 {
    color: var(--gray-700);
    font-size: var(--font-size-sm);
    font-weight: 600;
    margin-bottom: var(--spacing-sm);
}

.stage-requirements ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.stage-requirements li {
    position: relative;
    padding-left: var(--spacing-lg);
    margin-bottom: var(--spacing-xs);
    color: var(--gray-600);
    font-size: var(--font-size-sm);
    line-height: 1.5;
}

.stage-requirements li::before {
    content: "•";
    color: var(--primary-color);
    font-weight: bold;
    position: absolute;
    left: 0;
}

.stage-duration {
    display: flex;
    align-items: center;
    gap: var(--spacing-sm);
    color: var(--gray-600);
    font-size: var(--font-size-sm);
    padding: var(--spacing-sm);
    background: var(--gray-50);
    border-radius: var(--radius-sm);
    border-left: 3px solid var(--primary-color);
}

.stage-duration i {
    color: var(--primary-color);
}

.stage-actions {
    display: flex;
    justify-content: center;
    gap: var(--spacing-sm);
    padding: var(--spacing-md) var(--spacing-lg);
    background: var(--gray-50);
    border-top: 1px solid var(--gray-200);
}

.stage-actions .action-btn {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    border: none;
    background: var(--white);
    color: var(--gray-600);
    cursor: pointer;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow-sm);
}

.stage-actions .action-btn:hover {
    background: var(--primary-color);
    color: var(--white);
    transform: scale(1.1);
}

.stage-actions .action-btn.edit:hover {
    background: var(--blue-500);
}

.stage-actions .action-btn.toggle:hover {
    background: var(--orange-500);
}

.stage-actions .action-btn.delete:hover {
    background: var(--red-500);
}

/* 申请管理页面样式 */
.applications-table-container {
    background: var(--white);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
    border: 1px solid var(--gray-200);
    overflow: hidden;
    margin-top: var(--spacing-lg);
}

.applications-table {
    width: 100%;
    border-collapse: collapse;
    font-size: var(--font-size-sm);
}

.applications-table th,
.applications-table td {
    padding: var(--spacing-md);
    text-align: left;
    border-bottom: 1px solid var(--gray-200);
}

.applications-table th {
    background: var(--gray-50);
    font-weight: 600;
    color: var(--gray-700);
    position: sticky;
    top: 0;
    z-index: 10;
}

.applications-table tbody tr {
    transition: background-color 0.2s;
}

.applications-table tbody tr:hover {
    background: var(--primary-light);
}

/* 资格验证页面样式 */
.verification-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--spacing-xl);
    margin-top: var(--spacing-lg);
}

.verification-form {
    background: var(--white);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
    border: 1px solid var(--gray-200);
    padding: var(--spacing-xl);
}

.verification-form h4 {
    color: var(--gray-700);
    margin-bottom: var(--spacing-lg);
    font-size: var(--font-size-lg);
    font-weight: 600;
}

.verification-results {
    background: var(--white);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
    border: 1px solid var(--gray-200);
    padding: var(--spacing-xl);
}

.verification-results h4 {
    color: var(--gray-700);
    margin-bottom: var(--spacing-lg);
    font-size: var(--font-size-lg);
    font-weight: 600;
}

.result-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: var(--spacing-md);
    margin-bottom: var(--spacing-sm);
    background: var(--gray-50);
    border-radius: var(--radius-sm);
    border-left: 3px solid var(--primary-color);
}

.result-item .label {
    font-weight: 500;
    color: var(--gray-700);
}

.result-item .value.success {
    color: #6c757d;
    font-weight: 600;
}

/* 进度跟踪页面样式 */
.progress-content {
    margin-top: var(--spacing-lg);
}

.progress-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: var(--spacing-lg);
    margin-bottom: var(--spacing-xl);
}

.progress-stats .stat-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
    border: 1px solid var(--gray-200);
    padding: var(--spacing-xl);
    text-align: center;
    transition: all 0.3s ease;
}

.progress-stats .stat-card:hover {
    box-shadow: var(--shadow-lg);
    transform: translateY(-2px);
}

.progress-stats .stat-number {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: var(--spacing-sm);
}

.progress-stats .stat-label {
    color: var(--gray-600);
    font-size: var(--font-size-sm);
    font-weight: 500;
}

.progress-timeline {
    background: var(--white);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
    border: 1px solid var(--gray-200);
    padding: var(--spacing-xl);
}

.progress-timeline h4 {
    color: var(--gray-700);
    margin-bottom: var(--spacing-lg);
    font-size: var(--font-size-lg);
    font-weight: 600;
}

.timeline-item {
    display: flex;
    align-items: center;
    padding: var(--spacing-md);
    margin-bottom: var(--spacing-md);
    background: var(--gray-50);
    border-radius: var(--radius-sm);
    border-left: 3px solid var(--primary-color);
    transition: all 0.2s ease;
}

.timeline-item:hover {
    background: var(--primary-light);
}

.timeline-date {
    background: var(--primary-color);
    color: var(--white);
    padding: var(--spacing-xs) var(--spacing-sm);
    border-radius: var(--radius-sm);
    font-size: var(--font-size-xs);
    font-weight: 600;
    margin-right: var(--spacing-md);
    min-width: 80px;
    text-align: center;
}

.timeline-content {
    color: var(--gray-700);
    font-weight: 500;
}

/* 表格内列表样式 */
.requirements-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.requirements-list li {
    position: relative;
    padding-left: var(--spacing-md);
    margin-bottom: var(--spacing-xs);
    color: var(--gray-600);
    font-size: var(--font-size-sm);
    line-height: 1.4;
}

.requirements-list li::before {
    content: "•";
    color: var(--primary-color);
    font-weight: bold;
    position: absolute;
    left: 0;
}

/* 期限徽章样式 */
.duration-badge {
    display: inline-flex;
    align-items: center;
    gap: var(--spacing-xs);
    padding: var(--spacing-xs) var(--spacing-sm);
    background: var(--blue-50);
    color: var(--blue-600);
    border-radius: var(--radius-sm);
    font-size: var(--font-size-sm);
    font-weight: 500;
    border: 1px solid var(--blue-200);
}

.duration-badge i {
    color: var(--blue-500);
}

/* 支部统计样式 */
.branch-content {
    padding: var(--spacing-lg);
}

.branch-stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: var(--spacing-lg);
    margin-bottom: var(--spacing-xl);
}

.branch-stat-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: var(--spacing-lg);
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--gray-200);
}

.branch-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: var(--spacing-lg);
    padding-bottom: var(--spacing-md);
    border-bottom: 2px solid var(--primary-color);
}

.branch-header h4 {
    color: var(--primary-color);
    font-size: var(--font-size-lg);
    font-weight: 600;
    margin: 0;
}

.branch-code {
    background: var(--primary-color);
    color: var(--white);
    padding: var(--spacing-xs) var(--spacing-sm);
    border-radius: var(--radius-sm);
    font-size: var(--font-size-xs);
    font-weight: 500;
}

.branch-metrics {
    margin-bottom: var(--spacing-lg);
}

.metric-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: var(--spacing-sm) 0;
    border-bottom: 1px solid var(--gray-100);
}

.metric-row:last-child {
    border-bottom: none;
}

.metric-label {
    color: var(--gray-600);
    font-size: var(--font-size-sm);
}

.metric-value {
    color: var(--primary-color);
    font-size: var(--font-size-lg);
    font-weight: 600;
}

.branch-demographics {
    background: var(--gray-50);
    border-radius: var(--radius-md);
    padding: var(--spacing-md);
}

.demo-section {
    margin-bottom: var(--spacing-md);
}

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

.demo-section h5 {
    color: var(--gray-700);
    font-size: var(--font-size-sm);
    font-weight: 600;
    margin: 0 0 var(--spacing-sm) 0;
}

.demo-stats {
    display: flex;
    gap: var(--spacing-md);
}

.demo-item {
    background: var(--white);
    color: var(--gray-600);
    padding: var(--spacing-xs) var(--spacing-sm);
    border-radius: var(--radius-sm);
    font-size: var(--font-size-xs);
    border: 1px solid var(--gray-200);
}

.branch-summary {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: var(--spacing-lg);
    box-shadow: var(--shadow-sm);
}

.branch-summary h4 {
    color: var(--primary-color);
    font-size: var(--font-size-lg);
    font-weight: 600;
    margin: 0 0 var(--spacing-lg) 0;
    padding-bottom: var(--spacing-md);
    border-bottom: 2px solid var(--primary-color);
}

.summary-table {
    overflow-x: auto;
}

.summary-table .table {
    font-size: var(--font-size-sm);
}

.summary-table .table th {
    background: var(--primary-color);
    color: var(--white);
    font-weight: 600;
    text-align: center;
}

.summary-table .table td {
    text-align: center;
    padding: var(--spacing-sm);
}

.summary-total {
    background: var(--primary-light);
    font-weight: 600;
}

.summary-total td {
    color: var(--primary-color);
}

/* 图表容器样式 */
.charts-content {
    padding: var(--spacing-lg);
}

.charts-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: var(--spacing-lg);
}

.chart-container {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: var(--spacing-lg);
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--gray-200);
}

.chart-container h4 {
    color: var(--primary-color);
    font-size: var(--font-size-lg);
    font-weight: 600;
    margin: 0 0 var(--spacing-lg) 0;
    text-align: center;
    padding-bottom: var(--spacing-md);
    border-bottom: 2px solid var(--primary-color);
}

/* 报表生成样式 */
.reports-content {
    padding: var(--spacing-lg);
}

.report-options {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: var(--spacing-lg);
    box-shadow: var(--shadow-sm);
}

.report-form {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: var(--spacing-lg);
    align-items: end;
}

.report-form .form-group {
    margin-bottom: 0;
}

.report-form .btn {
    height: fit-content;
    padding: var(--spacing-md) var(--spacing-lg);
}

/* 数据概览样式优化 */
.overview-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: var(--spacing-lg);
    margin-bottom: var(--spacing-xl);
}

.overview-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: var(--spacing-lg);
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--gray-200);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.overview-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
}

.overview-card:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.overview-card .card-icon {
    width: 60px;
    height: 60px;
    border-radius: var(--radius-full);
    background: var(--primary-light);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: var(--spacing-md);
}

.overview-card .card-icon i {
    font-size: var(--font-size-xl);
    color: var(--primary-color);
}

.overview-card .card-content {
    flex: 1;
}

.overview-card .card-number {
    font-size: var(--font-size-2xl);
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: var(--spacing-xs);
}

.overview-card .card-label {
    color: var(--gray-600);
    font-size: var(--font-size-sm);
    margin-bottom: var(--spacing-sm);
}

.overview-card .card-change {
    display: flex;
    align-items: center;
    gap: var(--spacing-xs);
    font-size: var(--font-size-xs);
    font-weight: 500;
}

.overview-card .card-change.positive {
    color: var(--success-color);
}

.overview-card .card-change.negative {
    color: var(--danger-color);
}

.overview-card .card-change i {
    font-size: var(--font-size-xs);
}

/* 违规管理表单样式 */
.violation-form, .type-form {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: var(--spacing-lg);
    margin-bottom: var(--spacing-lg);
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--gray-200);
}

.form-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: var(--spacing-lg);
    padding-bottom: var(--spacing-md);
    border-bottom: 2px solid var(--primary-color);
}

.form-header h4 {
    color: var(--primary-color);
    font-size: var(--font-size-lg);
    font-weight: 600;
    margin: 0;
}

.form-row {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: var(--spacing-md);
    margin-bottom: var(--spacing-md);
}

.form-actions {
    display: flex;
    gap: var(--spacing-md);
    justify-content: flex-end;
    margin-top: var(--spacing-lg);
    padding-top: var(--spacing-md);
    border-top: 1px solid var(--gray-200);
}

/* 处罚管理样式 */
.penalties-actions {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: var(--spacing-lg);
    margin-top: var(--spacing-lg);
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--gray-200);
}

.penalties-actions h4 {
    color: var(--primary-color);
    font-size: var(--font-size-lg);
    font-weight: 600;
    margin: 0 0 var(--spacing-lg) 0;
    padding-bottom: var(--spacing-md);
    border-bottom: 2px solid var(--primary-color);
}

.penalties-actions .action-buttons {
    display: flex;
    gap: var(--spacing-md);
}

/* 用户列表样式 */
.users-list-container {
    background: var(--white);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--gray-200);
    overflow: hidden;
}

.users-list {
    padding: var(--spacing-md);
}

.user-item {
    display: flex;
    align-items: center;
    padding: var(--spacing-lg);
    border-bottom: 1px solid var(--gray-100);
    transition: all 0.2s ease;
    gap: var(--spacing-lg);
}

.user-item:last-child {
    border-bottom: none;
}

.user-item:hover {
    background: var(--gray-50);
}

/* 注意：.user-avatar 的基础样式在 main.css 中定义，这里不再重复定义 */
/* 如需特定样式，请使用更具体的选择器，如 .page-specific .user-avatar */
/* 已移除：避免覆盖顶部导航栏的用户头像样式 */

/* 如果需要在特定页面使用不同的头像样式，请使用更具体的选择器 */
/* 例如：.members-page .user-avatar { ... } */

.user-info {
    flex: 1;
    min-width: 0;
}

.user-main {
    display: flex;
    align-items: center;
    gap: var(--spacing-md);
    margin-bottom: var(--spacing-sm);
}

.user-name {
    font-size: var(--font-size-lg);
    font-weight: 600;
    color: var(--gray-900);
    margin: 0;
}

.user-role {
    background: var(--gray-100);
    color: var(--gray-600);
    padding: var(--spacing-xs) var(--spacing-sm);
    border-radius: var(--radius-sm);
    font-size: var(--font-size-xs);
    font-weight: 500;
}

.user-details {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-xs);
}

.user-detail {
    display: flex;
    align-items: center;
    gap: var(--spacing-sm);
    color: var(--gray-600);
    font-size: var(--font-size-sm);
}

.user-detail i {
    width: 16px;
    color: var(--gray-400);
    font-size: var(--font-size-xs);
}

.user-status {
    display: flex;
    align-items: center;
    margin-right: var(--spacing-md);
}

.user-actions {
    display: flex;
    gap: var(--spacing-xs);
    flex-shrink: 0;
}

.user-actions .action-btn {
    width: 36px;
    height: 36px;
    border: none;
    border-radius: var(--radius-sm);
    background: var(--gray-100);
    color: var(--gray-600);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
    font-size: var(--font-size-sm);
}

.user-actions .action-btn:hover {
    background: var(--gray-200);
    color: var(--gray-700);
    transform: translateY(-1px);
}

.user-actions .action-btn.edit:hover {
    background: var(--info-color);
    color: var(--white);
}

.user-actions .action-btn.toggle:hover {
    background: var(--warning-color);
    color: var(--white);
}

/* 积分材料上传界面美化样式 */
.upload-form-container {
    background: var(--white);
    border-radius: var(--radius-xl);
    padding: var(--spacing-2xl);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.08), 0 8px 20px rgba(0, 0, 0, 0.04);
    border: 1px solid var(--gray-200);
    margin-top: var(--spacing-lg);
    position: relative;
    overflow: hidden;
}

.upload-form-container::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--color-primary), var(--color-secondary), #f093fb);
}

.upload-form {
    max-width: 700px;
    margin: 0 auto;
}

.upload-form .form-group {
    margin-bottom: var(--spacing-xl);
}

.upload-form .form-label {
    display: block;
    margin-bottom: var(--spacing-sm);
    font-weight: 600;
    color: var(--gray-700);
    font-size: var(--font-size-base);
}

.upload-form .form-label.required::after {
    content: ' *';
    color: var(--danger-color);
    font-weight: 700;
}

.upload-form .form-input,
.upload-form .form-select,
.upload-form .form-textarea {
    width: 100%;
    padding: var(--spacing-lg);
    border: 2px solid var(--gray-200);
    border-radius: var(--radius-lg);
    font-size: var(--font-size-base);
    transition: all 0.3s ease;
    background: var(--white);
    color: var(--gray-700);
}

.upload-form .form-input:focus,
.upload-form .form-select:focus,
.upload-form .form-textarea:focus {
    outline: none;
    border-color: var(--color-primary);
    box-shadow: 0 0 0 4px rgba(161, 22, 22, 0.1);
    transform: translateY(-1px);
}

.upload-form .form-textarea {
    resize: vertical;
    min-height: 120px;
}

/* 文件上传区域美化 */
.file-upload-area {
    border: 3px dashed var(--gray-300);
    border-radius: var(--radius-xl);
    padding: var(--spacing-2xl);
    text-align: center;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    transition: all 0.3s ease;
    cursor: pointer;
    position: relative;
    overflow: hidden;
}

.file-upload-area::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(161, 22, 22, 0.1), transparent);
    transition: left 0.5s ease;
}

.file-upload-area:hover::before {
    left: 100%;
}

.file-upload-area:hover {
    border-color: var(--color-primary);
    background: linear-gradient(135deg, rgba(161, 22, 22, 0.05) 0%, rgba(118, 75, 162, 0.05) 100%);
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(161, 22, 22, 0.15);
}

.file-upload-area.dragover {
    border-color: var(--color-primary);
    background: linear-gradient(135deg, rgba(161, 22, 22, 0.1) 0%, rgba(118, 75, 162, 0.1) 100%);
    transform: scale(1.02);
    box-shadow: 0 15px 35px rgba(161, 22, 22, 0.2);
}

.upload-content .upload-icon {
    font-size: 4rem;
    color: var(--color-primary);
    margin-bottom: var(--spacing-lg);
    transition: all 0.3s ease;
}

.file-upload-area:hover .upload-icon {
    transform: scale(1.1) rotate(5deg);
    color: var(--color-secondary);
}

.upload-content p {
    margin: var(--spacing-sm) 0;
    color: var(--gray-600);
    font-size: var(--font-size-base);
    font-weight: 500;
}

.upload-hint {
    font-size: var(--font-size-sm);
    color: var(--gray-500);
    margin-top: var(--spacing-sm);
}

/* 文件列表美化 */
.file-list {
    margin-top: var(--spacing-lg);
}

.file-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: var(--spacing-lg);
    background: var(--white);
    border-radius: var(--radius-lg);
    margin-bottom: var(--spacing-sm);
    border: 1px solid var(--gray-200);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
}

.file-item:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
    border-color: var(--color-primary);
}

.file-info {
    display: flex;
    align-items: center;
    gap: var(--spacing-md);
}

.file-icon {
    width: 40px;
    height: 40px;
    border-radius: var(--radius-md);
    background: var(--gradient-primary);
    color: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: var(--font-size-lg);
}

.file-details {
    flex: 1;
}

.file-name {
    font-weight: 600;
    color: var(--gray-800);
    margin-bottom: var(--spacing-xs);
}

.file-size {
    font-size: var(--font-size-sm);
    color: var(--gray-500);
}

.remove-file-btn {
    background: linear-gradient(135deg, #dc3545, #c82333);
    color: var(--white);
    border: none;
    border-radius: var(--radius-md);
    padding: var(--spacing-sm) var(--spacing-md);
    cursor: pointer;
    font-size: var(--font-size-sm);
    font-weight: 500;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(220, 53, 69, 0.3);
}

.remove-file-btn:hover {
    background: linear-gradient(135deg, #c82333, #bd2130);
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(220, 53, 69, 0.4);
}

.form-actions {
    display: flex;
    justify-content: flex-end;
    gap: var(--spacing-md);
    margin-top: var(--spacing-2xl);
    padding-top: var(--spacing-xl);
    border-top: 2px solid var(--gray-200);
}

/* 批量导入预览样式 */
.preview-section {
    margin-top: var(--spacing-xl);
    padding: var(--spacing-lg);
    background: var(--gray-50);
    border-radius: var(--radius-lg);
    border: 1px solid var(--gray-200);
}

.preview-summary {
    display: flex;
    gap: var(--spacing-lg);
    margin-bottom: var(--spacing-lg);
    padding: var(--spacing-md);
    background: var(--white);
    border-radius: var(--radius-md);
    border: 1px solid var(--gray-200);
}

.summary-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--spacing-xs);
}

.summary-item .label {
    font-size: var(--font-size-sm);
    color: var(--gray-600);
    font-weight: 500;
}

.summary-item .value {
    font-size: var(--font-size-lg);
    font-weight: 600;
    color: var(--gray-800);
}

.summary-item .value.success {
    color: var(--success-color);
}

.summary-item .value.error {
    color: var(--danger-color);
}

.preview-table-container {
    max-height: 400px;
    overflow-y: auto;
    border: 1px solid var(--gray-200);
    border-radius: var(--radius-md);
    background: var(--white);
}

.preview-table {
    width: 100%;
    border-collapse: collapse;
    font-size: var(--font-size-sm);
}

.preview-table th {
    background: var(--gray-100);
    font-weight: 600;
    color: var(--gray-700);
    padding: var(--spacing-md);
    text-align: left;
    border-bottom: 1px solid var(--gray-200);
    position: sticky;
    top: 0;
    z-index: 1;
}

.preview-table td {
    padding: var(--spacing-md);
    border-bottom: 1px solid var(--gray-100);
    vertical-align: middle;
}

.preview-table tbody tr.success {
    background: rgba(108, 117, 125, 0.05);
}

.preview-table tbody tr.error {
    background: rgba(220, 53, 69, 0.05);
}

.preview-table tbody tr:hover {
    background: var(--gray-50);
}

.status-badge {
    padding: var(--spacing-xs) var(--spacing-sm);
    border-radius: var(--radius-sm);
    font-size: var(--font-size-xs);
    font-weight: 500;
    text-transform: uppercase;
}

.status-badge.success {
    background: rgba(108, 117, 125, 0.1);
    color: var(--success-color);
}

.status-badge.error {
    background: rgba(220, 53, 69, 0.1);
    color: var(--danger-color);
}

.error-text {
    color: var(--danger-color);
    font-size: var(--font-size-xs);
    max-width: 200px;
    word-wrap: break-word;
}

.import-details {
    max-height: 300px;
    overflow-y: auto;
}

.import-details ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.import-details li {
    padding: var(--spacing-sm);
    margin-bottom: var(--spacing-xs);
    border-radius: var(--radius-sm);
    border-left: 3px solid;
}

.import-details li.success {
    background: rgba(108, 117, 125, 0.05);
    border-left-color: var(--success-color);
}

.import-details li.error {
    background: rgba(220, 53, 69, 0.05);
    border-left-color: var(--danger-color);
}

/* 积分管理页面响应式设计 */
@media (max-width: 1024px) {
    .points-banner {
        flex-direction: column;
        text-align: center;
        gap: var(--spacing-xl);
    }
    
    .banner-stats {
        justify-content: center;
        flex-wrap: wrap;
    }
    
    .stats-overview {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    }
    
    .preview-summary {
        flex-direction: column;
        gap: var(--spacing-md);
    }
}

@media (max-width: 768px) {
    .points-banner {
        padding: var(--spacing-xl);
    }
    
    .banner-content h1 {
        font-size: var(--font-size-2xl);
    }
    
    .banner-stats {
        flex-direction: column;
        gap: var(--spacing-md);
        width: 100%;
    }
    
    .banner-stats .stat-item {
        width: 100%;
    }
    
    .tabs-nav {
        flex-direction: column;
    }
    
    .tab-btn {
        padding: var(--spacing-md);
        border-bottom: 1px solid var(--gray-200);
    }
    
    .tab-btn:last-child {
        border-bottom: none;
    }
    
    .stats-overview {
        grid-template-columns: 1fr;
        gap: var(--spacing-md);
    }
    
    .upload-form-container {
        padding: var(--spacing-lg);
        margin: var(--spacing-md);
    }
    
    .file-upload-area {
        padding: var(--spacing-xl);
    }
    
    .upload-content .upload-icon {
        font-size: 3rem;
    }
    
    .file-item {
        flex-direction: column;
        align-items: flex-start;
        gap: var(--spacing-md);
    }
    
    .file-info {
        width: 100%;
    }
    
    .form-actions {
        flex-direction: column;
        gap: var(--spacing-sm);
    }
}

@media (max-width: 480px) {
    .points-banner {
        padding: var(--spacing-lg);
        margin: var(--spacing-md);
    }
    
    .banner-content h1 {
        font-size: var(--font-size-xl);
    }
    
    .banner-stats .stat-number {
        font-size: var(--font-size-2xl);
    }
    
    .tabs-container {
        margin: var(--spacing-md);
    }
    
    .tab-pane {
        padding: var(--spacing-lg);
    }
    
    .stats-overview {
        margin: var(--spacing-md);
    }
    
    .upload-form-container {
        padding: var(--spacing-md);
        margin: var(--spacing-sm);
    }
    
    .file-upload-area {
        padding: var(--spacing-lg);
    }
    
    .upload-content .upload-icon {
        font-size: 2.5rem;
    }
    
    .file-item {
        padding: var(--spacing-md);
    }
}

/* 用户统计样式 */
.user-statistics-content {
    background: #fff;
    border-radius: 8px;
    padding: 30px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.user-stats-overview {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    margin-bottom: 30px;
}

.category-stats {
    margin-top: 30px;
}

.category-stats h4 {
    margin-bottom: 20px;
    color: #333;
    font-size: 18px;
}

.category-chart {
    margin-bottom: 20px;
    text-align: center;
}

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

.category-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px;
    background: #f8f9fa;
    border-radius: 8px;
    border-left: 4px solid #dc3545;
}

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

.category-details {
    display: flex;
    gap: 16px;
}

.category-points {
    color: #dc3545;
    font-weight: 600;
}

.category-count {
    color: #666;
    font-size: 14px;
}

.user-actions .action-btn.delete:hover {
    background: var(--danger-color);
    color: var(--white);
}

/* 用户列表响应式设计 */
@media (max-width: 768px) {
    .user-item {
        flex-direction: column;
        align-items: flex-start;
        gap: var(--spacing-md);
    }
    
    .user-main {
        width: 100%;
        justify-content: space-between;
    }
    
    .user-details {
        width: 100%;
    }
    
    .user-status {
        margin-right: 0;
        margin-bottom: var(--spacing-sm);
    }
    
    .user-actions {
        width: 100%;
        justify-content: flex-end;
    }
}

/* 角色列表样式 */
.roles-list-container {
    background: var(--white);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--gray-200);
    overflow: hidden;
}

.roles-list {
    padding: var(--spacing-md);
}

.role-item {
    display: flex;
    align-items: flex-start;
    padding: var(--spacing-lg);
    border-bottom: 1px solid var(--gray-100);
    transition: all 0.2s ease;
    gap: var(--spacing-lg);
}

.role-item:last-child {
    border-bottom: none;
}

.role-item:hover {
    background: var(--gray-50);
}

.role-avatar {
    width: 50px;
    height: 50px;
    border-radius: var(--radius-full);
    background: var(--secondary-light);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.role-avatar i {
    font-size: var(--font-size-lg);
    color: var(--secondary-color);
}

.role-info {
    flex: 1;
    min-width: 0;
}

.role-main {
    display: flex;
    align-items: center;
    gap: var(--spacing-md);
    margin-bottom: var(--spacing-sm);
    flex-wrap: wrap;
}

.role-name {
    font-size: var(--font-size-lg);
    font-weight: 600;
    color: var(--gray-900);
    margin: 0;
}

.role-stats {
    display: flex;
    gap: var(--spacing-sm);
}

.stat-badge {
    background: var(--gray-100);
    color: var(--gray-600);
    padding: var(--spacing-xs) var(--spacing-sm);
    border-radius: var(--radius-sm);
    font-size: var(--font-size-xs);
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: var(--spacing-xs);
}

.stat-badge i {
    font-size: var(--font-size-xs);
}

.role-description {
    margin-bottom: var(--spacing-sm);
}

.role-description p {
    color: var(--gray-600);
    font-size: var(--font-size-sm);
    margin: 0;
    line-height: 1.5;
}

.role-permissions {
    margin-bottom: var(--spacing-sm);
}

.permissions-preview {
    display: flex;
    flex-wrap: wrap;
    gap: var(--spacing-xs);
}

.permission-tag {
    background: var(--primary-light);
    color: var(--primary-color);
    padding: var(--spacing-xs) var(--spacing-sm);
    border-radius: var(--radius-sm);
    font-size: var(--font-size-xs);
    font-weight: 500;
}

.more-permissions {
    background: var(--gray-200);
    color: var(--gray-600);
    padding: var(--spacing-xs) var(--spacing-sm);
    border-radius: var(--radius-sm);
    font-size: var(--font-size-xs);
    font-weight: 500;
}

.role-actions {
    display: flex;
    gap: var(--spacing-xs);
    flex-shrink: 0;
    align-self: flex-start;
    margin-top: var(--spacing-sm);
}

.role-actions .action-btn {
    width: 36px;
    height: 36px;
    border: none;
    border-radius: var(--radius-sm);
    background: var(--gray-100);
    color: var(--gray-600);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
    font-size: var(--font-size-sm);
}

.role-actions .action-btn:hover {
    background: var(--gray-200);
    color: var(--gray-700);
    transform: translateY(-1px);
}

.role-actions .action-btn.edit:hover {
    background: var(--info-color);
    color: var(--white);
}

.role-actions .action-btn.delete:hover {
    background: var(--danger-color);
    color: var(--white);
}

/* 权限列表样式 */
.permissions-list-container {
    background: var(--white);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--gray-200);
    overflow: hidden;
}

.permissions-list {
    padding: var(--spacing-md);
}

.permission-item {
    display: flex;
    align-items: center;
    padding: var(--spacing-lg);
    border-bottom: 1px solid var(--gray-100);
    transition: all 0.2s ease;
    gap: var(--spacing-lg);
}

.permission-item:last-child {
    border-bottom: none;
}

.permission-item:hover {
    background: var(--gray-50);
}

.permission-avatar {
    width: 50px;
    height: 50px;
    border-radius: var(--radius-full);
    background: var(--warning-light);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.permission-avatar i {
    font-size: var(--font-size-lg);
    color: var(--warning-color);
}

.permission-info {
    flex: 1;
    min-width: 0;
}

.permission-main {
    display: flex;
    align-items: center;
    gap: var(--spacing-md);
    margin-bottom: var(--spacing-sm);
}

.permission-name {
    font-size: var(--font-size-lg);
    font-weight: 600;
    color: var(--gray-900);
    margin: 0;
}

.permission-type {
    background: var(--gray-100);
    color: var(--gray-600);
    padding: var(--spacing-xs) var(--spacing-sm);
    border-radius: var(--radius-sm);
    font-size: var(--font-size-xs);
    font-weight: 500;
}

.permission-description {
    margin-bottom: var(--spacing-sm);
}

.permission-description p {
    color: var(--gray-600);
    font-size: var(--font-size-sm);
    margin: 0;
    line-height: 1.5;
}

.permission-actions {
    display: flex;
    gap: var(--spacing-xs);
    flex-shrink: 0;
}

.permission-actions .action-btn {
    width: 36px;
    height: 36px;
    border: none;
    border-radius: var(--radius-sm);
    background: var(--gray-100);
    color: var(--gray-600);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
    font-size: var(--font-size-sm);
}

.permission-actions .action-btn:hover {
    background: var(--gray-200);
    color: var(--gray-700);
    transform: translateY(-1px);
}

.permission-actions .action-btn.edit:hover {
    background: var(--info-color);
    color: var(--white);
}

/* 角色和权限列表响应式设计 */
@media (max-width: 768px) {
    .role-item, .permission-item {
        flex-direction: column;
        align-items: flex-start;
        gap: var(--spacing-md);
    }
    
    .role-main, .permission-main {
        width: 100%;
        justify-content: space-between;
    }
    
    .role-description, .permission-description {
        width: 100%;
    }
    
    .role-permissions {
        width: 100%;
    }
    
    .role-actions, .permission-actions {
        width: 100%;
        justify-content: flex-end;
        margin-top: 0;
    }
}

/* 思想汇报页面样式 */
.submit-form {
    background: var(--white);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
    border: 1px solid var(--gray-200);
    padding: var(--spacing-xl);
    margin-top: var(--spacing-lg);
}

.submit-form .form-group {
    margin-bottom: var(--spacing-lg);
}

.submit-form label {
    display: block;
    margin-bottom: var(--spacing-sm);
    color: var(--gray-700);
    font-weight: 500;
}

.submit-form .form-input,
.submit-form .form-textarea,
.submit-form .form-select {
    width: 100%;
    padding: var(--spacing-md);
    border: 1px solid var(--gray-300);
    border-radius: var(--radius-sm);
    font-size: var(--font-size-sm);
    transition: border-color 0.2s ease;
}

.submit-form .form-input:focus,
.submit-form .form-textarea:focus,
.submit-form .form-select:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(220, 38, 38, 0.1);
}

.submit-form .form-textarea {
    resize: vertical;
    min-height: 120px;
}

/* 评分管理页面样式 */
.scoring-content {
    margin-top: var(--spacing-lg);
}

.scoring-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: var(--spacing-lg);
    margin-bottom: var(--spacing-xl);
}

.scoring-stats .stat-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
    border: 1px solid var(--gray-200);
    padding: var(--spacing-xl);
    text-align: center;
    transition: all 0.3s ease;
}

.scoring-stats .stat-card:hover {
    box-shadow: var(--shadow-lg);
    transform: translateY(-2px);
}

.scoring-stats .stat-number {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: var(--spacing-sm);
}

.scoring-stats .stat-label {
    color: var(--gray-600);
    font-size: var(--font-size-sm);
    font-weight: 500;
}

.scoring-table {
    background: var(--white);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
    border: 1px solid var(--gray-200);
    overflow: hidden;
}

/* 导出功能页面样式 */
.export-content {
    margin-top: var(--spacing-lg);
}

.export-options {
    background: var(--white);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
    border: 1px solid var(--gray-200);
    padding: var(--spacing-xl);
}

.export-options .form-group {
    margin-bottom: var(--spacing-lg);
}

.export-options label {
    display: block;
    margin-bottom: var(--spacing-sm);
    color: var(--gray-700);
    font-weight: 500;
}

.export-options .form-select {
    width: 100%;
    padding: var(--spacing-md);
    border: 1px solid var(--gray-300);
    border-radius: var(--radius-sm);
    font-size: var(--font-size-sm);
    background: var(--white);
    transition: border-color 0.2s ease;
}

.export-options .form-select:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(220, 38, 38, 0.1);
}

/* 党务材料页面样式 */
.materials-submit-form {
    background: var(--white);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
    border: 1px solid var(--gray-200);
    padding: var(--spacing-xl);
    margin-top: var(--spacing-lg);
}

.materials-submit-form .form-group {
    margin-bottom: var(--spacing-lg);
}

.materials-submit-form label {
    display: block;
    margin-bottom: var(--spacing-sm);
    color: var(--gray-700);
    font-weight: 500;
}

.materials-submit-form .form-input,
.materials-submit-form .form-textarea,
.materials-submit-form .form-select {
    width: 100%;
    padding: var(--spacing-md);
    border: 1px solid var(--gray-300);
    border-radius: var(--radius-sm);
    font-size: var(--font-size-sm);
    transition: border-color 0.2s ease;
}

.materials-submit-form .form-input:focus,
.materials-submit-form .form-textarea:focus,
.materials-submit-form .form-select:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(220, 38, 38, 0.1);
}

.materials-submit-form .form-textarea {
    resize: vertical;
    min-height: 120px;
}

/* 响应式设计 */
@media (max-width: 768px) {
    .stages-grid {
        grid-template-columns: 1fr;
    }
    
    .verification-content {
        grid-template-columns: 1fr;
    }
    
    .progress-stats {
        grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    }
    
    .scoring-stats {
        grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    }
    
    .stage-header {
        flex-direction: column;
        align-items: flex-start;
        gap: var(--spacing-sm);
    }
    
    .stage-actions {
        flex-wrap: wrap;
    }
}

.page-section.active {
    display: block;
}

.section-header {
    background: linear-gradient(135deg, var(--primary-light) 0%, var(--secondary-light) 100%);
    padding: var(--spacing-xl);
    border-bottom: 1px solid var(--gray-200);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.section-header h2 {
    font-size: var(--font-size-xl);
    font-weight: 600;
    color: var(--gray-800);
    margin: 0;
    display: flex;
    align-items: center;
    gap: var(--spacing-sm);
}

.section-header p {
    color: var(--gray-600);
    margin: 0;
    font-size: var(--font-size-sm);
}

.section-actions {
    display: flex;
    gap: var(--spacing-md);
    align-items: center;
}

/* 表单区域 */
.form-section {
    margin-bottom: var(--spacing-xl);
    padding: var(--spacing-lg);
    background: var(--gray-50);
    border-radius: var(--radius-md);
    border: 1px solid var(--gray-200);
}

.section-title {
    margin-bottom: var(--spacing-lg);
    text-align: center;
}

.section-title h3 {
    font-size: var(--font-size-lg);
    font-weight: 600;
    color: var(--gray-800);
    margin-bottom: var(--spacing-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: var(--spacing-sm);
}

.section-title p {
    color: var(--gray-600);
    margin: 0;
    font-size: var(--font-size-sm);
}

/* 步骤导航 */
.steps-nav {
    display: flex;
    justify-content: space-between;
    padding: var(--spacing-xl);
    background: var(--gray-50);
    border-bottom: 1px solid var(--gray-200);
    position: relative;
}

.steps-nav::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    height: 2px;
    background: var(--gray-300);
    z-index: 1;
}

.step {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--spacing-sm);
    position: relative;
    z-index: 2;
    flex: 1;
}

.step-icon {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: var(--gray-300);
    color: var(--gray-600);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: var(--font-size-xl);
    transition: all 0.3s ease;
    border: 4px solid var(--white);
    box-shadow: var(--shadow-sm);
}

.step.active .step-icon {
    background: var(--primary-color);
    color: var(--white);
    transform: scale(1.1);
}

.step.completed .step-icon {
    background: var(--accent-color);
    color: var(--white);
}

.step-content {
    text-align: center;
}

.step-title {
    display: block;
    font-weight: 600;
    color: var(--gray-800);
    margin-bottom: var(--spacing-xs);
}

.step-desc {
    font-size: var(--font-size-sm);
    color: var(--gray-600);
}

/* 响应式设计 */
@media (max-width: 768px) {
    .banner-content h1 {
        font-size: var(--font-size-2xl);
    }
    
    .banner-stats {
        flex-direction: column;
        gap: var(--spacing-md);
        width: 100%;
    }
    
    .banner-stats .stat-item {
        width: 100%;
    }
    
    .page-nav {
        flex-direction: column;
    }
    
    .nav-btn {
        padding: var(--spacing-md);
    }
    
    .steps-nav {
        flex-direction: column;
        gap: var(--spacing-lg);
    }
    
    .steps-nav::before {
        display: none;
    }
    
    .step {
        flex-direction: row;
        text-align: left;
    }
    
    .step-content {
        text-align: left;
    }
    
    .section-header {
        flex-direction: column;
        gap: var(--spacing-md);
        align-items: stretch;
    }
    
    .section-actions {
        flex-direction: column;
        gap: var(--spacing-sm);
    }
}

@media (max-width: 480px) {
    .banner-content h1 {
        font-size: var(--font-size-xl);
    }
    
    .page-content {
        margin: 0 -var(--spacing-sm);
        border-radius: 0;
    }
    
    .section-header,
    .form-section {
        padding: var(--spacing-md);
    }
    
    .step-icon {
        width: 50px;
        height: 50px;
        font-size: var(--font-size-lg);
    }
}

/* 组织管理页面样式 */
.branches-list-container {
    background: var(--white);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
    border: 1px solid var(--gray-200);
    overflow: hidden;
}

.branches-list {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-md);
    padding: var(--spacing-lg);
}

.branch-item {
    display: flex;
    align-items: center;
    gap: var(--spacing-lg);
    padding: var(--spacing-lg);
    background: var(--white);
    border: 1px solid var(--gray-200);
    border-radius: var(--radius-md);
    transition: all 0.3s ease;
    position: relative;
}

.branch-item:hover {
    border-color: var(--primary);
    box-shadow: var(--shadow-md);
    transform: translateY(-2px);
}

.branch-avatar {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    border-radius: var(--radius-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: var(--font-size-xl);
    flex-shrink: 0;
}

.branch-info {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: var(--spacing-sm);
}

.branch-main {
    display: flex;
    align-items: center;
    gap: var(--spacing-md);
    flex-wrap: wrap;
}

.branch-name {
    font-size: var(--font-size-lg);
    font-weight: 600;
    color: var(--gray-900);
    margin: 0;
}

.branch-stats {
    display: flex;
    gap: var(--spacing-sm);
}

.stat-badge {
    background: var(--gray-100);
    color: var(--gray-700);
    padding: var(--spacing-xs) var(--spacing-sm);
    border-radius: var(--radius-sm);
    font-size: var(--font-size-xs);
    font-weight: 500;
}

.branch-details {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-xs);
}

.branch-detail {
    display: flex;
    align-items: center;
    gap: var(--spacing-sm);
    color: var(--gray-600);
    font-size: var(--font-size-sm);
}

.branch-detail i {
    width: 16px;
    color: var(--gray-500);
}

.branch-description {
    color: var(--gray-600);
    font-size: var(--font-size-sm);
    line-height: 1.5;
    margin-top: var(--spacing-xs);
}

.branch-status {
    display: flex;
    align-items: center;
    margin-right: var(--spacing-md);
}

.status-badge {
    padding: var(--spacing-xs) var(--spacing-sm);
    border-radius: var(--radius-sm);
    font-size: var(--font-size-xs);
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.status-badge.active {
    background: var(--success-light);
    color: var(--success-dark);
}

.status-badge.inactive {
    background: var(--gray-100);
    color: var(--gray-600);
}

.branch-actions {
    display: flex;
    gap: var(--spacing-sm);
    align-items: center;
}

.action-btn {
    width: 36px;
    height: 36px;
    border: none;
    border-radius: var(--radius-sm);
    background: var(--gray-100);
    color: var(--gray-600);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
    font-size: var(--font-size-sm);
}

.action-btn:hover {
    background: var(--gray-200);
    color: var(--gray-800);
}

.action-btn.edit-branch:hover {
    background: var(--primary-light);
    color: var(--primary);
}

.action-btn.delete-branch:hover {
    background: var(--danger-light);
    color: var(--danger);
}

/* 响应式设计 */
@media (max-width: 768px) {
    .branch-item {
        flex-direction: column;
        align-items: stretch;
        gap: var(--spacing-md);
    }
    
    .branch-main {
        justify-content: space-between;
    }
    
    .branch-details {
        flex-direction: row;
        flex-wrap: wrap;
        gap: var(--spacing-md);
    }
    
    .branch-status {
        margin-right: 0;
        align-self: flex-start;
    }
    
    .branch-actions {
        align-self: flex-end;
    }
}

@media (max-width: 480px) {
    .branches-list {
        padding: var(--spacing-md);
        gap: var(--spacing-sm);
    }
    
    .branch-item {
        padding: var(--spacing-md);
    }
    
    .branch-avatar {
        width: 50px;
        height: 50px;
        font-size: var(--font-size-lg);
    }
    
    .branch-name {
        font-size: var(--font-size-md);
    }
    
    .branch-details {
        flex-direction: column;        
        gap: var(--spacing-xs);        
    }
}

/* 密码重置样式 */
.reset-password-form {
    padding: 20px;
}

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

.user-info-card {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 15px;
    background: #f8f9fa;
    border-radius: 8px;
    border: 1px solid #e9ecef;
}

.user-info-card .user-avatar {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: var(--primary-color);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
}

.user-info-card .user-details h4 {
    margin: 0 0 5px 0;
    color: var(--text-primary);
    font-size: 18px;
}

.user-info-card .user-details p {
    margin: 0 0 8px 0;
    color: var(--text-secondary);
    font-size: 14px;
}

.user-role-badge {
    display: inline-block;
    padding: 4px 8px;
    background: var(--primary-color);
    color: white;
    border-radius: 4px;
    font-size: 12px;
    font-weight: 600;
}

.form-warning {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    padding: 15px;
    background: #fff3cd;
    border: 1px solid #ffeaa7;
    border-radius: 8px;
    margin-bottom: 20px;
}

.form-warning i {
    color: #856404;
    font-size: 18px;
    margin-top: 2px;
}

.form-warning p {
    margin: 0;
    color: #856404;
    font-size: 14px;
    line-height: 1.5;
}

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

.reset-form .form-label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: var(--text-primary);
}

.reset-form .form-input {
    width: 100%;
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 6px;
    font-size: 14px;
    transition: border-color 0.3s ease;
}

.reset-form .form-input:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 2px rgba(220, 53, 69, 0.1);
}

.form-help {
    margin-top: 5px;
    font-size: 12px;
    color: var(--text-secondary);
}

.reset-form .form-label input[type="checkbox"] {
    margin-right: 8px;
}

.action-btn.reset-password {
    background: #17a2b8;
    color: white;
}

.action-btn.reset-password:hover {
    background: #138496;
}

/* 违规管理页面样式 */
.violations-page {
    padding: 0;
}

.violations-page .page-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 24px;
    padding: 20px 0;
    border-bottom: 1px solid var(--gray-200);
}

/* ✅ 优化：移除!important，使用main.css中的高特异性定义 */
/* 统一标题栏样式：字体大小28px，字体粗细700 */
.violations-page .page-title {
    display: flex;
    align-items: center;
    gap: 12px;
}

.violations-page .page-actions {
    display: flex;
    gap: 12px;
}

.violations-page .stats-overview {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    margin-bottom: 24px;
}

.violations-page .stat-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 20px;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--gray-200);
    display: flex;
    align-items: center;
    gap: 16px;
}

.violations-page .stat-icon {
    width: 48px;
    height: 48px;
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    color: #ffffff;
    font-weight: 900;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
}

.violations-page .stat-card:nth-child(1) .stat-icon {
    background: linear-gradient(135deg, #b91c1c, #dc2626);
}

.violations-page .stat-card:nth-child(2) .stat-icon {
    background: linear-gradient(135deg, #d97706, #f59e0b);
}

.violations-page .stat-card:nth-child(3) .stat-icon {
    background: linear-gradient(135deg, #059669, #10b981);
}

.violations-page .stat-card:nth-child(4) .stat-icon {
    background: var(--gradient-primary);
}

.violations-page .stat-content {
    flex: 1;
}

.violations-page .stat-number {
    font-size: 28px;
    font-weight: 700;
    color: var(--text-primary);
    line-height: 1;
    margin-bottom: 4px;
}

.violations-page .stat-label {
    font-size: 14px;
    color: var(--text-secondary);
    font-weight: 500;
}

.violations-page .tabs-container {
    background: var(--white);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--gray-200);
    overflow: hidden;
}

.violations-page .tabs-nav {
    display: flex;
    background: var(--gray-50);
    border-bottom: 1px solid var(--gray-200);
}

.violations-page .tab-btn {
    flex: 1;
    padding: 16px 20px;
    background: none;
    border: none;
    font-size: 14px;
    font-weight: 500;
    color: var(--text-secondary);
    cursor: pointer;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    border-bottom: 3px solid transparent;
}

.violations-page .tab-btn:hover {
    background: var(--gray-100);
    color: var(--text-primary);
}

.violations-page .tab-btn.active {
    background: var(--white);
    color: #dc2626;
    border-bottom-color: #dc2626;
}

.violations-page .tabs-content {
    padding: 24px;
}

.violations-page .tab-pane {
    display: none;
}

.violations-page .tab-pane.active {
    display: block;
}

.violations-page .section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    padding-bottom: 16px;
    border-bottom: 1px solid var(--gray-200);
}

.violations-page .section-header h3 {
    font-size: 18px;
    font-weight: 600;
    color: var(--text-primary);
    margin: 0;
}

.violations-page .section-actions {
    display: flex;
    gap: 12px;
}

.violations-page .table-container {
    background: var(--white);
    border-radius: var(--radius-md);
    border: 1px solid var(--gray-200);
    overflow: hidden;
}

.violations-page .table {
    width: 100%;
    border-collapse: collapse;
    font-size: 14px;
}

.violations-page .table th {
    background: var(--gray-50);
    padding: 12px 16px;
    text-align: left;
    font-weight: 600;
    color: var(--text-primary);
    border-bottom: 1px solid var(--gray-200);
}

.violations-page .table td {
    padding: 12px 16px;
    border-bottom: 1px solid var(--gray-100);
    color: var(--text-primary);
}

.violations-page .table tbody tr:hover {
    background: var(--gray-50);
}

.violations-page .severity-badge {
    display: inline-flex;
    align-items: center;
    padding: 4px 8px;
    border-radius: var(--radius-sm);
    font-size: 12px;
    font-weight: 500;
    text-transform: uppercase;
}

.violations-page .severity-badge.minor {
    background: #fef3c7;
    color: #92400e;
}

.violations-page .severity-badge.moderate {
    background: #fed7aa;
    color: #c2410c;
}

.violations-page .severity-badge.major {
    background: #fecaca;
    color: #dc2626;
}

.violations-page .severity-badge.severe {
    background: #fca5a5;
    color: #991b1b;
}

.violations-page .status-badge {
    display: inline-flex;
    align-items: center;
    padding: 4px 8px;
    border-radius: var(--radius-sm);
    font-size: 12px;
    font-weight: 500;
}

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

.violations-page .status-badge.resolved {
    background: #d1fae5;
    color: #065f46;
}

.violations-page .status-badge.active {
    background: #d1fae5;
    color: #065f46;
}

.violations-page .status-badge.inactive {
    background: #f3f4f6;
    color: #6b7280;
}

.violations-page .action-buttons {
    display: flex;
    gap: 8px;
}

.violations-page .action-btn {
    width: 32px;
    height: 32px;
    border: none;
    border-radius: var(--radius-sm);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    transition: all 0.2s ease;
}

.violations-page .action-btn.view {
    background: #dbeafe;
    color: #1d4ed8;
}

.violations-page .action-btn.view:hover {
    background: #bfdbfe;
}

.violations-page .action-btn.edit {
    background: #fef3c7;
    color: #92400e;
}

.violations-page .action-btn.edit:hover {
    background: #fde68a;
}

.violations-page .action-btn.handle {
    background: #fecaca;
    color: #dc2626;
}

.violations-page .action-btn.handle:hover {
    background: #fca5a5;
}

.violations-page .action-btn.delete {
    background: #fee2e2;
    color: #dc2626;
}

.violations-page .action-btn.delete:hover {
    background: #fecaca;
}

.violations-page .action-btn.toggle {
    background: #e0e7ff;
    color: #3730a3;
}

.violations-page .action-btn.toggle:hover {
    background: #c7d2fe;
}

.violations-page .statistics-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
}

.violations-page .chart-container {
    background: var(--white);
    border-radius: var(--radius-md);
    padding: 20px;
    border: 1px solid var(--gray-200);
}

.violations-page .chart-container h4 {
    font-size: 16px;
    font-weight: 600;
    color: var(--text-primary);
    margin: 0 0 16px 0;
}

.violations-page .statistics-table {
    grid-column: 1 / -1;
    background: var(--white);
    border-radius: var(--radius-md);
    padding: 20px;
    border: 1px solid var(--gray-200);
}

.violations-page .statistics-table h4 {
    font-size: 16px;
    font-weight: 600;
    color: var(--text-primary);
    margin: 0 0 16px 0;
}

/* ========================================
   党员用户端档案页面样式 - 标签页美化
   ======================================== */

.member-archive-page {
    max-width: none;
    width: 100%;
    margin: 0;
    padding: 20px;
    background: #f8f9fa;
    box-sizing: border-box;
}

/* 页面头部 */
.archive-page-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 24px;
    padding: 24px;
    background: var(--gradient-primary);
    border-radius: 12px;
    color: white;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.archive-page-header .header-left {
    flex: 1;
}

.archive-page-header .page-title {
    font-size: 28px;
    font-weight: 600;
    margin: 0 0 8px 0;
    color: white;
}

.archive-page-header .page-subtitle {
    font-size: 14px;
    opacity: 0.9;
    margin: 0;
}

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

.archive-page-header .btn {
    background: rgba(255, 255, 255, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.3);
    color: white;
    padding: 10px 20px;
    border-radius: 6px;
    transition: all 0.3s ease;
}

.archive-page-header .btn:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: translateY(-2px);
}

/* 用户信息头部 */
.member-info-header {
    display: flex;
    align-items: center;
    gap: 24px;
    padding: 24px;
    background: white;
    border-radius: 12px;
    margin-bottom: 24px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.member-avatar-circle {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: var(--gradient-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 36px;
    flex-shrink: 0;
}

.member-basic-info h2 {
    font-size: 24px;
    font-weight: 600;
    margin: 0 0 12px 0;
    color: #2c3e50;
}

.info-row {
    display: flex;
    flex-wrap: wrap;
    gap: 24px;
}

.info-item {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    color: #64748b;
}

.info-item i {
    color: var(--color-primary);
}

.status-tag {
    display: inline-block;
    padding: 4px 12px;
    border-radius: 12px;
    font-size: 12px;
    font-weight: 500;
}

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

.status-tag.unknown {
    background: #e9ecef;
    color: #6c757d;
}

.status-tag-inline {
    display: inline-block;
    padding: 4px 12px;
    border-radius: 12px;
    font-size: 12px;
    font-weight: 500;
}

.status-tag-inline.active,
.status-tag-inline.ACTIVE {
    background: #d4edda;
    color: #155724;
}

.status-tag-inline.inactive {
    background: #f8d7da;
    color: #721c24;
}

.status-tag-inline.suspended {
    background: #fff3cd;
    color: #856404;
}

.status-tag-inline.unknown {
    background: #e9ecef;
    color: #6c757d;
}

/* 标签页容器 */
.archive-tabs-container {
    background: white;
    border-radius: 12px;
    padding: 8px;
    margin-bottom: 24px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.tabs-wrapper {
    display: flex;
    gap: 8px;
    overflow-x: auto;
}

.tab-button {
    flex: 1;
    min-width: 120px;
    padding: 14px 20px;
    border: none;
    background: transparent;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-size: 14px;
    color: #64748b;
    font-weight: 500;
}

.tab-button i {
    font-size: 16px;
}

.tab-button:hover {
    background: #f1f5f9;
    color: var(--color-primary);
}

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

/* 标签页内容 */
.archive-tab-content {
    background: white;
    border-radius: 12px;
    padding: 24px;
    min-height: 400px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.tab-panel {
    animation: fadeIn 0.3s ease;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* 信息网格 */
.info-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
}

.info-item-card {
    padding: 20px;
    background: #f8f9fa;
    border-radius: 8px;
    border-left: 4px solid var(--color-primary);
    transition: all 0.3s ease;
}

.info-item-card:hover {
    background: #f1f5f9;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

.info-label {
    font-size: 13px;
    color: #64748b;
    margin-bottom: 8px;
    display: flex;
    align-items: center;
    gap: 6px;
}

.info-label i {
    color: var(--color-primary);
}

.info-value {
    font-size: 16px;
    font-weight: 500;
    color: #2c3e50;
}

/* 时间线样式 */
.info-timeline {
    position: relative;
    padding-left: 30px;
}

.timeline-item {
    position: relative;
    padding-bottom: 24px;
}

.timeline-item:not(:last-child)::before {
    content: '';
    position: absolute;
    left: -25px;
    top: 24px;
    bottom: -24px;
    width: 2px;
    background: #e2e8f0;
}

.timeline-marker {
    position: absolute;
    left: -30px;
    top: 0;
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: var(--color-primary);
    border: 3px solid white;
    box-shadow: 0 0 0 2px #e2e8f0;
}

.timeline-content h4 {
    font-size: 18px;
    font-weight: 600;
    margin: 0 0 8px 0;
    color: #2c3e50;
}

.timeline-meta {
    font-size: 14px;
    color: #64748b;
    margin: 0 0 4px 0;
}

.timeline-desc {
    font-size: 14px;
    color: #94a3b8;
    margin: 0;
}

/* 入党历程 */
.party-progress {
    padding: 20px 0;
}

.progress-steps {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.step-item {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    padding: 20px;
    background: #f8f9fa;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.step-item:hover {
    background: #f1f5f9;
    transform: translateX(4px);
}

.step-item.completed {
    background: #d4edda;
    border-left: 4px solid #28a745;
}

.step-icon {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--gradient-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 18px;
    flex-shrink: 0;
}

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

.step-content h4 {
    font-size: 16px;
    font-weight: 600;
    margin: 0 0 4px 0;
    color: #2c3e50;
}

.step-content p {
    font-size: 14px;
    color: #64748b;
    margin: 0;
}

/* 空状态 */
.empty-state {
    text-align: center;
    padding: 60px 20px;
    color: #94a3b8;
}

.empty-state i {
    font-size: 64px;
    margin-bottom: 16px;
    opacity: 0.5;
}

.empty-state h3 {
    font-size: 18px;
    margin: 0 0 8px 0;
    color: #64748b;
}

.empty-state p {
    font-size: 14px;
    margin: 0;
}

/* 响应式设计 */
@media (max-width: 768px) {
    .archive-page-header {
        flex-direction: column;
        gap: 16px;
    }
    
    .archive-page-header .header-actions {
        width: 100%;
    }
    
    .archive-page-header .btn {
        flex: 1;
    }
    
    .member-info-header {
        flex-direction: column;
        text-align: center;
    }
    
    .info-row {
        flex-direction: column;
        gap: 12px;
    }
    
    .tabs-wrapper {
        flex-wrap: nowrap;
        overflow-x: auto;
    }
    
    .tab-button {
        min-width: 100px;
        font-size: 13px;
    }
    
    .tab-button span {
        display: none;
    }
    
    .info-grid {
        grid-template-columns: 1fr;
    }
}

/* 违规记录详情模态框样式 */
.violation-detail-modal {
    padding: 24px;
}

/* 信息分组样式 */
.violation-detail-modal .detail-section {
    margin-bottom: 32px;
}

.violation-detail-modal .detail-section:last-child {
    margin-bottom: 0;
}

/* 分组标题 */
.violation-detail-modal .section-title {
    font-size: 16px;
    font-weight: 600;
    color: #1f2937;
    margin: 0 0 16px 0;
    padding-bottom: 12px;
    border-bottom: 2px solid #e5e7eb;
}

/* 卡片样式 */
.violation-detail-modal .detail-card {
    background-color: #f9fafb;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    padding: 20px;
    margin-top: 16px;
}

.violation-detail-modal .violation-info-section .detail-card {
    background-color: #f0f9ff;
    border-color: #bae6fd;
}

.violation-detail-modal .handle-info-section .detail-card {
    background-color: #f0fdf4;
    border-color: #bbf7d0;
}

/* 表格样式 */
.violation-detail-modal .detail-table {
    width: 100%;
    border-collapse: collapse;
    background-color: transparent;
}

.violation-detail-modal .detail-table td {
    padding: 16px 20px;
    border: 1px solid #e5e7eb;
    vertical-align: top;
}

.violation-detail-modal .detail-table tr:first-child td {
    border-top: none;
}

.violation-detail-modal .detail-table tr:last-child td {
    border-bottom: none;
}

.violation-detail-modal .detail-table td:first-child,
.violation-detail-modal .detail-table td:nth-child(3) {
    border-left: none;
}

.violation-detail-modal .detail-table td:nth-child(2),
.violation-detail-modal .detail-table td:last-child {
    border-right: none;
}

/* 标签样式 */
.violation-detail-modal .detail-table .label {
    background-color: transparent;
    font-weight: 500;
    font-size: 12px;
    color: #6b7280;
    width: 20%;
    white-space: nowrap;
    text-align: right;
    padding-right: 20px;
}

/* 值样式 */
.violation-detail-modal .detail-table .value {
    background-color: transparent;
    font-size: 14px;
    color: #111827;
    width: 30%;
    padding-left: 20px;
}

/* 违规类型详情（保留兼容） */
.violation-detail-modal .violation-type-detail {
    padding: 15px;
    background-color: #fef3c7;
    border-left: 4px solid #f59e0b;
    margin: 20px 0;
    border-radius: 4px;
}

.violation-detail-modal .violation-type-detail h4 {
    margin: 0 0 8px 0;
    font-size: 16px;
    font-weight: 600;
    color: #92400e;
}

.violation-detail-modal .violation-type-detail p {
    margin: 0;
    color: #78350f;
    line-height: 1.6;
    font-size: 14px;
}

/* 状态和严重程度徽章样式 */
.violation-detail-modal .status-badge,
.violation-detail-modal .severity-badge {
    display: inline-block;
    padding: 4px 12px;
    border-radius: 12px;
    font-size: 12px;
    font-weight: 500;
}

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

.violation-detail-modal .status-badge.resolved {
    background-color: #d1fae5;
    color: #065f46;
}

.violation-detail-modal .status-badge.dismissed {
    background-color: #e5e7eb;
    color: #374151;
}

.violation-detail-modal .severity-badge.minor,
.violation-detail-modal .severity-badge.low {
    background-color: #dbeafe;
    color: #1e40af;
}

.violation-detail-modal .severity-badge.moderate,
.violation-detail-modal .severity-badge.medium {
    background-color: #fef3c7;
    color: #92400e;
}

.violation-detail-modal .severity-badge.major,
.violation-detail-modal .severity-badge.high {
    background-color: #fee2e2;
    color: #991b1b;
}

.violation-detail-modal .severity-badge.severe,
.violation-detail-modal .severity-badge.critical {
    background-color: #fecaca;
    color: #7f1d1d;
}

/* 模态框底部按钮布局优化 */
.violation-detail-modal ~ .modal-footer,
.modal[data-modal-type="violation-detail"] .modal-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 24px;
}

.modal-footer-left {
    display: flex;
    gap: 12px;
    align-items: center;
}

.modal-footer-right {
    display: flex;
    gap: 12px;
    align-items: center;
    margin-left: auto;
}