/* ===== Pessoas da empresa (js/pessoas.js) ===== */
.peopleModal {
  width: min(640px, 100%);
}

.peopleBody {
  display: grid;
  gap: 12px;
}

.peopleInvite {
  display: grid;
  gap: 6px;
}

.peopleInvite label {
  font-size: 13px;
  font-weight: 700;
}

.peopleInviteRow {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.peopleInviteRow input {
  flex: 1 1 220px;
  min-width: 0;
}

.peopleBody select,
.peopleShare textarea {
  background: rgba(0, 0, 0, .18);
  border: 1px solid var(--line2);
  color: var(--text);
  border-radius: 10px;
  padding: 8px 10px;
  font: inherit;
  font-size: 13px;
}

html.light .peopleBody select,
html.light .peopleShare textarea {
  background: #ffffff;
}

.peopleShare {
  display: grid;
  gap: 8px;
  padding: 12px;
  border: 1px solid rgba(66, 211, 146, .45);
  border-radius: 12px;
  font-size: 13px;
}

.peopleShare textarea {
  width: 100%;
  box-sizing: border-box;
  resize: vertical;
  line-height: 1.45;
}

.peopleShareActions {
  display: flex;
  justify-content: flex-end;
}

.peopleSection {
  margin: 4px 0 0;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .04em;
  text-transform: uppercase;
  color: var(--muted);
}

.peopleList {
  display: grid;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.peopleItem {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 8px 12px;
  padding: 10px 12px;
  border: 1px solid var(--line2);
  border-radius: 12px;
}

.peopleItem.isSuspended {
  opacity: .7;
  border-style: dashed;
}

.peopleMain {
  display: grid;
  gap: 2px;
  min-width: 0;
  flex: 1 1 220px;
}

.peopleMain strong {
  font-size: 13px;
  overflow-wrap: anywhere;
}

.peopleMain span {
  font-size: 12px;
  color: var(--muted);
}

.peopleActions {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  align-items: center;
}

@media (max-width: 760px) {
  .peopleActions {
    width: 100%;
  }

  .peopleInviteRow .btn {
    flex: 1 1 100%;
  }
}
