/* Members Directory - Extracted from inline styles */

/* Masonry Layout */
.members-masonry {
    columns: 3 300px;
    column-gap: 1.5rem;
}

.members-masonry .member-card {
    break-inside: avoid;
    margin-bottom: 1.5rem;
    display: inline-block;
    width: 100%;
}

@media (max-width: 768px) {
    .members-masonry {
        columns: 2 200px;
    }
}

@media (max-width: 480px) {
    .members-masonry {
        columns: 1;
    }
}



.members-header {
    margin-bottom: 2rem;
}

.member-card {
    border: none;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
    transition: all 0.3s ease;
    text-align: center;
    padding: 2rem 1.5rem;
    
    text-decoration: none;
    color: inherit;
    display: block;
}

.member-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(0,0,0,0.12);
    color: inherit;
}

.member-avatar {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    object-fit: cover;
    margin: 0 auto 1rem;
    border: 3px solid #e2e8f0;
}

.member-initials {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    margin: 0 auto 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 700;
    color: white;
    background: var(--gradient-primary);
}

.member-name {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: #2d3748;
}

.member-role {
    display: inline-block;
    padding: 0.2rem 0.75rem;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
    margin-bottom: 0.75rem;
}

.role-admin { background: #fee2e2; color: #dc2626; }
.role-moderator { background: #dbeafe; color: #2563eb; }
.role-member { background: #f0fdf4; color: #16a34a; }
.role-default { background: #f3f4f6; color: #6b7280; }

.member-since {
    font-size: 0.8125rem;
    color: #718096;
}

.members-count {
    font-size: 0.875rem;
    opacity: 0.8;
}

.pagination-wrapper {
    display: flex;
    justify-content: center;
    margin-top: 2rem;
}

.pagination .page-link {
    border-radius: 8px;
    margin: 0 2px;
    border: none;
    color: #4a5568;
    padding: 0.5rem 0.875rem;
}

.pagination .page-link:hover {
    background: #edf2f7;
    color: var(--primary);
}

.pagination .page-item.active .page-link {
    background: var(--primary);
    color: white;
}

.pagination .page-item.disabled .page-link {
    color: #cbd5e0;
}
