/* css/modals-base.css — modais gerais: lista de usuários e badges de perfil */
/* MODAIS GERAIS */
#modalUsuarios, #modalSenha, #modalNovoProjeto, #modalCadastrarWorkspace, #modalExcluirProjeto { position: fixed; inset: 0; background: rgba(0,0,0,0.55); z-index: 9999; display: none; align-items: center; justify-content: center; padding: 20px; }
.users-modal-content { background: var(--panel); border: 1px solid var(--line); border-radius: 12px; padding: 26px 28px; width: 100%; max-width: 780px; box-shadow: 0 20px 48px rgba(0,0,0,0.28); }
.users-list-table { max-height: 260px; overflow-y: auto; border: 1px solid var(--line); border-radius: 8px; margin-top: 18px; }
.users-list-table table { width: 100%; border-collapse: collapse; }
.users-list-table th, .users-list-table td { text-align: left !important; vertical-align: middle; padding: 10px 14px; border-bottom: 1px solid var(--line); }
.users-list-table tbody tr:last-child td { border-bottom: none; }
.users-list-table th:last-child, .users-list-table td:last-child { text-align: center !important; }
.badge-role { display: inline-block; padding: 2px 7px; border-radius: 4px; font-size: 10.5px; font-weight: 700; text-transform: uppercase; }
.role-superuser { background: #4F46E5; color: #fff; }
.role-admin { background: #0E8074; color: #fff; }
.role-approver { background: #7c3aed; color: #fff; }
.role-user { background: #64748B; color: #fff; }
.role-developer { background: #2563eb; color: #fff; }
.role-analyst { background: #d97706; color: #fff; }
.role-manager { background: #7c3aed; color: #fff; }
.um-aprov-tag { margin-top: 4px; font-size: 10.5px; color: #7c3aed; font-weight: 600; line-height: 1.2; }
