.team-members { padding: 1.5rem 0; max-width: 800px; margin: 0 auto; } .page-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 1.5rem; gap: 1rem; } .page-header h1 { margin: 0; font-size: 1.75rem; } /* Member cell in table */ .member-cell { display: flex; align-items: center; gap: 0.75rem; } .member-avatar { width: 40px; height: 40px; border-radius: 50%; background: var(--accent-primary); color: white; display: flex; align-items: center; justify-content: center; font-weight: 600; font-size: 1rem; flex-shrink: 0; } .member-details { display: flex; flex-direction: column; min-width: 0; } .member-username { font-weight: 500; display: flex; align-items: center; gap: 0.5rem; } .you-badge { font-size: 0.75rem; font-weight: normal; color: var(--text-muted); } .member-email { font-size: 0.8125rem; color: var(--text-muted); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; } .text-muted { color: var(--text-muted); } .role-select { padding: 0.375rem 0.75rem; border: 1px solid var(--border-primary); border-radius: var(--radius-md); font-size: 0.875rem; background: var(--bg-tertiary); color: var(--text-primary); cursor: pointer; } .role-select:focus { outline: none; border-color: var(--accent-primary); } /* Messages */ .error-message { display: flex; align-items: center; justify-content: space-between; padding: 0.75rem 1rem; margin-bottom: 1rem; background: var(--error-bg); border: 1px solid var(--error); border-radius: var(--radius-md); color: var(--error); font-size: 0.875rem; } .error-dismiss { background: none; border: none; font-size: 1.25rem; cursor: pointer; color: inherit; padding: 0; line-height: 1; } /* States */ .loading-state, .error-state { text-align: center; padding: 4rem 2rem; } .error-state h2 { margin: 0 0 0.5rem; } .error-state p { margin: 0 0 1.5rem; color: var(--text-muted); } /* Modal */ .modal-overlay { position: fixed; top: 0; left: 0; right: 0; bottom: 0; background: rgba(0, 0, 0, 0.7); display: flex; align-items: center; justify-content: center; z-index: 1000; padding: 1rem; } .modal-content { background: var(--bg-secondary); border: 1px solid var(--border-primary); border-radius: var(--radius-lg); padding: 1.5rem; width: 100%; max-width: 400px; box-shadow: var(--shadow-lg); } .modal-content h2 { margin: 0 0 1.5rem; font-size: 1.25rem; color: var(--text-primary); } /* Form */ .form-group { margin-bottom: 1rem; } .form-group label { display: block; margin-bottom: 0.375rem; font-weight: 500; font-size: 0.875rem; color: var(--text-primary); } .form-group input, .form-group select { width: 100%; padding: 0.5rem 0.75rem; border: 1px solid var(--border-primary); border-radius: var(--radius-md); font-size: 0.9375rem; background: var(--bg-tertiary); color: var(--text-primary); } .form-group input:focus, .form-group select:focus { outline: none; border-color: var(--accent-primary); box-shadow: 0 0 0 2px rgba(16, 185, 129, 0.2); } .form-actions { display: flex; justify-content: flex-end; gap: 0.75rem; margin-top: 1.5rem; } /* Buttons */ .btn { display: inline-flex; align-items: center; gap: 0.5rem; padding: 0.5rem 1rem; border: none; border-radius: var(--radius-md); font-size: 0.875rem; font-weight: 500; cursor: pointer; text-decoration: none; transition: all 0.15s ease; } .btn:disabled { opacity: 0.6; cursor: not-allowed; } .btn-primary { background: var(--accent-primary); color: white; } .btn-primary:hover:not(:disabled) { background: var(--accent-primary-hover); } .btn-secondary { background: var(--bg-tertiary); color: var(--text-primary); border: 1px solid var(--border-primary); } .btn-secondary:hover:not(:disabled) { background: var(--bg-hover); } .btn-icon { padding: 0.375rem; } .btn-danger-ghost { background: transparent; color: var(--text-muted); } .btn-danger-ghost:hover:not(:disabled) { background: var(--error-bg); color: var(--error); }