/* ============================================
   Admin Page Styles（支部長・運営用）
   ============================================ */
.admin-container {
    max-width: 800px;
}

.back-link {
    display: inline-flex;
    align-items: center;
    color: #667eea;
    text-decoration: none;
    font-size: 14px;
    margin-bottom: 20px;
    transition: all 0.3s ease;
}

.back-link:hover {
    color: #764ba2;
    transform: translateX(-4px);
}

.back-link::before {
    content: "←";
    margin-right: 8px;
    font-size: 18px;
}

.admin-header {
    text-align: center;
    margin-bottom: 24px;
}

.admin-header h1 {
    font-size: 28px;
    font-weight: 700;
    color: #1a1a1a;
    margin-bottom: 8px;
}

.admin-header p {
    font-size: 16px;
    color: #666;
    font-weight: 500;
}

.admin-notice {
    background: linear-gradient(135deg, #fff8e6 0%, #ffecb3 100%);
    border: 1px solid #ffc107;
    border-radius: 12px;
    padding: 14px 18px;
    margin-bottom: 24px;
    font-size: 13px;
    color: #5d4e37;
}

.admin-notice strong {
    color: #1a1a1a;
}

.admin-meta {
    background: linear-gradient(135deg, #f5f7fa 0%, #e9ecef 100%);
    border-radius: 16px;
    padding: 20px;
    margin-bottom: 30px;
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    justify-content: center;
}

.admin-meta .meta-item {
    font-size: 14px;
    color: #555;
}

.admin-meta .meta-label {
    font-weight: 600;
    color: #1a1a1a;
}

.admin-content {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.admin-section {
    background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
    border-radius: 16px;
    padding: 24px;
    border: 2px solid transparent;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.admin-section:hover {
    border-color: #667eea;
}

.section-number {
    font-size: 18px;
    font-weight: 600;
    color: #667eea;
    margin-bottom: 16px;
    padding-bottom: 8px;
    border-bottom: 2px solid #667eea;
}

.section-content {
    font-size: 14px;
    color: #555;
    line-height: 1.8;
}

.section-content p {
    margin-bottom: 12px;
}

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

.section-content ul {
    margin: 12px 0;
    padding-left: 24px;
}

.section-content li {
    margin-bottom: 8px;
}

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

.section-content .note {
    font-size: 13px;
    color: #666;
    font-style: italic;
    margin-top: 8px;
}

/* GA4 改善レポート用 */
.admin-summary {
    font-size: 14px;
    line-height: 1.7;
    color: #333;
    margin: 0;
}

.admin-stat-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
    margin-top: 12px;
}

.admin-stat {
    background: #f8f9fc;
    border: 1px solid rgba(102, 126, 234, 0.15);
    border-radius: 12px;
    padding: 14px 12px;
    text-align: center;
}

.admin-stat-value {
    display: block;
    font-size: 22px;
    font-weight: 700;
    color: #1a1a1a;
    letter-spacing: -0.02em;
}

.admin-stat-label {
    display: block;
    margin-top: 4px;
    font-size: 12px;
    color: #666;
}

.admin-table-wrap {
    overflow-x: auto;
    margin-top: 12px;
    border-radius: 10px;
    border: 1px solid #eee;
}

.admin-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 13px;
}

.admin-table th,
.admin-table td {
    padding: 10px 12px;
    text-align: left;
    border-bottom: 1px solid #f0f0f0;
    vertical-align: top;
}

.admin-table th {
    background: #f8f9fc;
    font-weight: 600;
    color: #333;
    white-space: nowrap;
}

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

.admin-priority {
    display: inline-block;
    font-size: 11px;
    font-weight: 700;
    padding: 3px 8px;
    border-radius: 999px;
    margin-left: 8px;
    vertical-align: middle;
}

.admin-priority--high {
    background: #fff3cd;
    color: #856404;
}

.admin-priority--mid {
    background: #e7f1ff;
    color: #0b5ed7;
}

.admin-priority--low {
    background: #f1f3f5;
    color: #495057;
}

.admin-caption {
    font-size: 12px;
    color: #888;
    margin-top: 8px;
}

@media (min-width: 640px) {
    .admin-stat-grid {
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }

    .admin-stat-grid--3 {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

@media (max-width: 640px) {
    .admin-section {
        padding: 20px;
    }

    .section-number {
        font-size: 16px;
    }

    .section-content {
        font-size: 13px;
    }
}
