#registeredUsersDialog .teamManagedUserRow,
#platformTeamList .teamManagedUserRow {
  grid-template-columns: minmax(220px, 1fr) auto;
  gap: 18px;
}

.teamUserActions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  flex-wrap: wrap;
  gap: 12px;
}

.teamActionTab {
  width: 122px !important;
  min-width: 122px !important;
  height: 38px !important;
  padding: 0 8px !important;
  display: grid !important;
  place-items: center !important;
  border-radius: 9px !important;
  font-size: 12px !important;
  font-weight: 700 !important;
  line-height: 1.1 !important;
  text-align: center;
  box-shadow: none !important;
}

.teamActivateTab {
  color: #ffffff !important;
  background: #087443 !important;
  border-color: #087443 !important;
}

.teamActivateTab:hover {
  background: #066238 !important;
}

.teamSuspendTab {
  color: #ffffff !important;
  background: #9a5b00 !important;
  border-color: #9a5b00 !important;
}

.teamSuspendTab:hover {
  background: #804b00 !important;
}

.teamResetTab {
  color: #155e75 !important;
  background: #ffffff !important;
  border-color: #9fc4c7 !important;
}

.teamResetTab:hover {
  background: #eef7f7 !important;
}

.teamRemoveTab {
  color: #ffffff !important;
  background: #b42318 !important;
  border-color: #b42318 !important;
}

.teamRemoveTab:hover {
  background: #931c14 !important;
}

.teamUserEmailLine {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
}

.teamInlineAdminBadge {
  display: inline-flex;
  align-items: center;
  margin: 0;
}

.teamUsersMessage {
  margin-top: 16px;
  padding: 11px 14px;
  border-radius: 9px;
  font-size: 13px;
  font-weight: 700;
}

.teamUsersMessage.success {
  color: #087443;
  background: #eaf8f1;
  border: 1px solid #c9ecda;
}

.teamUsersMessage.error {
  color: #b42318;
  background: #fee9e7;
  border: 1px solid #f6c8c3;
}

@media (max-width: 760px) {
  #registeredUsersDialog .teamManagedUserRow,
  #platformTeamList .teamManagedUserRow {
    grid-template-columns: 1fr;
  }

  .teamUserActions {
    justify-content: flex-start;
  }
}

/* v4.9.455: show registered users/admins directly on Team access page. */
.teamRegisteredUsersCard {
  display: block !important;
  min-height: 0 !important;
}

.teamRegisteredUsersHeader {
  margin-bottom: 18px;
}

.teamInlineUserList {
  width: 100%;
  display: grid;
  gap: 0;
}

.teamInlineUserList .teamManagedUserRow {
  width: 100%;
  margin: 0;
  grid-template-columns: minmax(220px, 1fr) auto;
  gap: 18px;
}

@media (max-width: 760px) {
  .teamRegisteredUsersCard {
    padding: 22px 20px;
  }

  .teamInlineUserList .teamManagedUserRow {
    grid-template-columns: 1fr;
  }
}


/* v4.9.458: inline product access choices replace the browser prompt. */
.teamProductAccessChoices {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 16px;
  margin-top: 8px;
  align-items: center;
}

.teamProductAccessChoice {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: 0.9rem;
  font-weight: 600;
  cursor: pointer;
}

.teamProductAccessChoice input[type="checkbox"] {
  width: 17px;
  height: 17px;
  margin: 0;
}

.teamProductAccessChoice:has(input:disabled) {
  cursor: default;
  opacity: .72;
}
