/**
 * グループ統計（group-activity）用スタイル
 * group-activity.php のインライン <style> から外部ファイル化
 */

/* ========================================
   統計セクション
======================================== */
.oe-group-section--stats .oe-stats-content {
    opacity: 1;
    transform: translateY(0);
}

/* セクションタイトル */
.oe-group-section--stats .section-title {
    margin-bottom: 24px;
}

.oe-group-section--stats .section-title-main {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 8px;
}

.oe-group-section--stats .section-icon {
    font-size: 24px;
    line-height: 1;
    display: flex;
    align-items: center;
}

.oe-group-section--stats .section-icon img.oe-icon {
    width: 24px;
    height: 24px;
}

.oe-group-section--stats .section-heading {
    margin: 0;
    font-size: 20px;
    font-weight: 700;
    color: #111827;
}

.oe-group-section--stats .section-count {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 28px;
    height: 28px;
    padding: 0 10px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: #ffffff;
    font-size: 13px;
    font-weight: 700;
    border-radius: 14px;
}

.oe-group-section--stats .section-subtitle {
    font-size: 14px;
    color: #6b7280;
    margin-left: 36px;
}

/* 統計コンテンツラッパー */
.oe-group-section--stats .activity-content-wrapper {
    background: #ffffff;
}

/* 統計タイムライン */
.oe-group-section--stats .activity-timeline {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

/* 統計アイテム */
.oe-group-section--stats .activity-item {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    padding: 20px;
    background: #f9fafb;
    border: 1px solid #e5e7eb;
    border-radius: 10px;
    transition: all 0.3s ease;
}

.oe-group-section--stats .activity-item:hover {
    background: #ffffff;
    border-color: #d1d5db;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    transform: scale(1.01);
}

/* アイコン */
.oe-group-section--stats .activity-icon {
    flex-shrink: 0;
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: none;
    border-radius: 12px;
    font-size: 24px;
    box-shadow: none;
}

.oe-group-section--stats .activity-icon img.oe-icon {
    width: 24px;
    height: 24px;
    filter: none;
}

/* コンテンツ */
.oe-group-section--stats .activity-content {
    flex: 1;
    min-width: 0;
}

.oe-group-section--stats .activity-title {
    font-size: 16px;
    font-weight: 700;
    color: #111827;
    margin-bottom: 6px;
}

.oe-group-section--stats .activity-meta {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 8px;
}

.oe-group-section--stats .activity-count {
    display: inline-flex;
    align-items: center;
    padding: 4px 12px;
    background: #eff6ff;
    color: #fff;
    font-size: 14px;
    font-weight: 700;
    border-radius: 6px;
}

.oe-group-section--stats .activity-description {
    font-size: 14px;
    color: #6b7280;
    line-height: 1.6;
}

/* 空の状態 */
.oe-group-section--stats .activity-empty-state {
    text-align: center;
    padding: 80px 20px;
}

.oe-group-section--stats .empty-icon {
    font-size: 72px;
    margin-bottom: 20px;
    opacity: 0.5;
}

.oe-group-section--stats .empty-icon img.oe-icon {
    width: 72px;
    height: 72px;
}

.oe-group-section--stats .empty-text {
    font-size: 18px;
    font-weight: 700;
    color: #374151;
    margin: 0 0 8px;
}

.oe-group-section--stats .empty-description {
    font-size: 14px;
    color: #6b7280;
    margin: 0;
    max-width: 400px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.6;
}

/* レスポンシブ対応 */
@media (max-width: 768px) {
    .oe-group-section--stats .activity-item {
        padding: 12px;
    }

    .oe-group-section--stats .section-subtitle {
        margin-left: 0;
        margin-top: 8px;
    }
}

@media (max-width: 480px) {
    .oe-group-section--stats .section-title-main {
        flex-wrap: wrap;
    }

    .oe-group-section--stats .section-heading {
        font-size: 18px;
    }
}

/* アニメーション */
@keyframes oe-fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.oe-group-section--stats .activity-item {
    animation: oe-fadeInUp 0.5s ease forwards;
}

.oe-group-section--stats .activity-item:nth-child(1) { animation-delay: 0.1s; }
.oe-group-section--stats .activity-item:nth-child(2) { animation-delay: 0.2s; }
.oe-group-section--stats .activity-item:nth-child(3) { animation-delay: 0.3s; }
.oe-group-section--stats .activity-item:nth-child(4) { animation-delay: 0.4s; }
.oe-group-section--stats .activity-item:nth-child(5) { animation-delay: 0.5s; }
.oe-group-section--stats .activity-item:nth-child(6) { animation-delay: 0.6s; }