/**
 * 党员发展阶段页面通用样式
 */

/* 阶段页面容器 */
.development-stage-page {
    width: 100%;
    min-height: 100vh;
    background: #f5f7fa;
    padding: 0;
}

/* 阶段页面头部 */
.stage-page-header {
    background: #fff;
    padding: 24px 32px;
    border-bottom: 1px solid #e5e7eb;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}

.stage-page-header h2 {
    margin: 0;
    font-size: 24px;
    font-weight: 600;
    color: #1f2937;
    display: flex;
    align-items: center;
    gap: 12px;
}

.stage-page-header h2 i {
    color: #dc2626;
}

.stage-page-header .subtitle {
    margin: 8px 0 0 0;
    font-size: 14px;
    color: #6b7280;
}

/* 功能标签页导航 */
.stage-tabs-container {
    background: #fff;
    border-bottom: 1px solid #e5e7eb;
    padding: 0 32px;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
}

.stage-tabs-nav {
    display: flex;
    gap: 8px;
    min-width: max-content;
}

.stage-tab-btn {
    padding: 16px 24px;
    background: transparent;
    border: none;
    border-bottom: 3px solid transparent;
    cursor: pointer;
    font-size: 14px;
    font-weight: 500;
    color: #6b7280;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    gap: 8px;
    white-space: nowrap;
    position: relative;
}

.stage-tab-btn:hover {
    color: #dc2626;
    background: #fef2f2;
}

.stage-tab-btn.active {
    color: #dc2626;
    border-bottom-color: #dc2626;
    background: #fef2f2;
}

.stage-tab-btn i {
    font-size: 16px;
}

/* 标签页内容区域 */
.stage-tab-content {
    padding: 24px 32px;
    min-height: 400px;
}

.stage-tab-pane {
    display: none;
}

.stage-tab-pane.active {
    display: block;
}

/* 加载状态 */
.stage-loading-state {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 60px 20px;
    color: #6b7280;
}

.stage-loading-state i {
    font-size: 48px;
    margin-bottom: 16px;
    color: #dc2626;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    from {
        transform: rotate(0deg);
    }
    to {
        transform: rotate(360deg);
    }
}

/* 空状态 */
.stage-empty-state {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 60px 20px;
    color: #6b7280;
    text-align: center;
}

.stage-empty-state i {
    font-size: 64px;
    margin-bottom: 16px;
    color: #d1d5db;
}

.stage-empty-state p {
    font-size: 16px;
    margin: 0;
}

/* 响应式布局 */
@media (max-width: 768px) {
    .stage-page-header {
        padding: 16px 20px;
    }

    .stage-page-header h2 {
        font-size: 20px;
    }

    .stage-tabs-container {
        padding: 0 20px;
    }

    .stage-tab-btn {
        padding: 12px 16px;
        font-size: 13px;
    }

    .stage-tab-content {
        padding: 16px 20px;
    }
}

/* 统计卡片 */
.stage-stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    margin-bottom: 24px;
}

.stage-stat-card {
    background: #fff;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
    border: 1px solid #e5e7eb;
}

.stage-stat-card .stat-label {
    font-size: 14px;
    color: #6b7280;
    margin-bottom: 8px;
}

.stage-stat-card .stat-value {
    font-size: 28px;
    font-weight: 600;
    color: #1f2937;
}

.stage-stat-card .stat-icon {
    float: right;
    font-size: 32px;
    color: #dc2626;
    opacity: 0.2;
}

