/* Members Page Styles */
.members-page {
  max-width: 1200px;
}

.members-page .page-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 32px;
}

.members-page .page-header h1 {
  font-size: 2rem;
  font-weight: 700;
  color: #ffd700;
  margin: 0 0 8px 0;
}

.members-page .page-description {
  color: #64748b;
  font-size: 1rem;
  margin: 0;
}

.members-list {
  display: grid;
  gap: 16px;
}

.members-list .empty-state {
  text-align: center;
  padding: 48px 24px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 12px;
}

.members-list .empty-state p {
  color: rgba(255, 255, 255, 0.7);
  margin-bottom: 16px;
  font-size: 1rem;
}

.member-row {
  background: white;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  padding: 20px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  transition: all 0.2s ease;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
}

.member-row:hover {
  border-color: #cbd5e1;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
  transform: translateY(-2px);
}

.member-info {
  display: flex;
  align-items: center;
  gap: 16px;
  flex: 1;
}

.member-avatar {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  font-weight: 700;
  flex-shrink: 0;
}

.member-details {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.member-name {
  font-size: 1.125rem;
  font-weight: 600;
  color: #1a1a2e;
}

.member-email {
  font-size: 0.875rem;
  color: #64748b;
}

.member-meta {
  font-size: 0.8rem;
  color: #94a3b8;
  margin-top: 2px;
}

.member-role {
  margin-right: 24px;
}

.role-badge {
  display: inline-block;
  padding: 6px 16px;
  border-radius: 20px;
  font-size: 0.875rem;
  font-weight: 600;
  text-transform: capitalize;
}

.role-badge.role-owner {
  background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
  color: white;
}

.role-badge.role-admin {
  background: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%);
  color: white;
}

.role-badge.role-member {
  background: linear-gradient(135deg, #43e97b 0%, #38f9d7 100%);
  color: white;
}

.role-badge.role-editor {
  background: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%);
  color: white;
}

.role-badge.role-viewer {
  background: linear-gradient(135deg, #a8edea 0%, #fed6e3 100%);
  color: #1a1a2e;
}

.member-actions {
  display: flex;
  gap: 8px;
}

/* Empty state */
.members-list:empty::after {
  content: 'No team members yet';
  display: block;
  text-align: center;
  padding: 48px;
  color: #94a3b8;
  font-size: 1.125rem;
}

/* Mobile responsiveness */
@media (max-width: 768px) {
  .members-page .page-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
  }

  .member-row {
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
    padding: 16px;
  }

  .member-info {
    width: 100%;
  }

  .member-role {
    margin-right: 0;
    width: 100%;
  }

  .member-actions {
    width: 100%;
  }

  .member-avatar {
    width: 48px;
    height: 48px;
    font-size: 1.25rem;
  }

  .member-name {
    font-size: 1rem;
  }

  .member-email {
    font-size: 0.8rem;
  }
}

