.people-table {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  width: 100%;
  background-color: var(--white-clr);
  border-radius: 1.25rem;
  padding: 1.875rem 1.25rem;
}
.people-table__add-btn {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 0.625rem;
  background-color: var(--light-purple-clr);
  border: none;
  border-radius: 0.75rem;
  cursor: pointer;
  transition: background-color 0.2s ease;
  align-self: flex-start;
}
.people-table__add-btn:hover {
  opacity: 0.8;
}
.people-table__add-icon {
  width: 1.5rem;
  height: 1.5rem;
  color: var(--blue-secondary-clr);
  flex-shrink: 0;
}
.people-table__add-label {
  font-family: var(--font-primary);
  font-size: 1rem;
  font-weight: 700;
  line-height: 1.3;
  color: var(--blue-secondary-clr);
  white-space: nowrap;
}
.people-table__wrapper {
  display: flex;
  flex-direction: column;
  width: 100%;
  overflow-x: auto;
  scroll-behavior: smooth;
  -webkit-overflow-scrolling: touch;
  scrollbar-gutter: stable;
  scrollbar-width: thin;
  scrollbar-color: var(--gray-primary-clr) transparent;
}
.people-table__wrapper::-webkit-scrollbar {
  width: 4px;
}
.people-table__wrapper::-webkit-scrollbar-track {
  background: transparent;
}
.people-table__wrapper::-webkit-scrollbar-thumb {
  background-color: var(--gray-primary-clr);
  border-radius: 30px;
  -webkit-transition: background-color 0.2s ease;
  transition: background-color 0.2s ease;
  height: 4px;
}
.people-table__wrapper::-webkit-scrollbar-thumb:hover {
  background-color: color-mix(in srgb, var(--gray-primary-clr) 80%, black);
}
.people-table__header {
  display: flex;
  align-items: center;
  width: -moz-fit-content;
  width: fit-content;
  min-width: -moz-max-content;
  min-width: max-content;
}
.people-table__header-cell {
  padding: 0.625rem;
  font-family: var(--font-primary);
  font-size: 0.875rem;
  font-weight: 400;
  line-height: normal;
  color: var(--gray-tertiary-clr);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  border-top: 1px solid var(--gray-secondary-clr);
  border-bottom: 1px solid var(--gray-secondary-clr);
  border-right: 1px solid var(--gray-secondary-clr);
}
.people-table__header-cell:first-child {
  border-left: 1px solid var(--gray-secondary-clr);
  border-radius: 0.5rem 0 0 0;
}
.people-table__header-cell:nth-last-child(2) {
  border-left: none;
  border-radius: 0 0.5rem 0 0;
}
.people-table__header-cell:last-child {
  display: none;
}
.people-table__body {
  width: 100%;
  display: flex;
  flex-direction: column;
}
.people-table__row {
  position: relative;
  display: flex;
  align-items: center;
  width: -moz-fit-content;
  width: fit-content;
  min-width: 0;
  border-bottom: 1px solid var(--gray-secondary-clr);
}
.people-table__row--editing {
  background-color: var(--light-purple-clr);
}
.people-table__row--editing .people-table__cell {
  background-color: var(--light-purple-clr);
}
.people-table__row--editing .people-table__cell--editing {
  padding: 0.313rem;
}
.people-table__row--editing .people-table__cell:last-child {
  background-color: transparent;
}
.people-table__row--has-drafts {
  background-color: rgba(221, 214, 254, 0.3);
}
.people-table__row--has-drafts .people-table__cell {
  background-color: rgba(221, 214, 254, 0.3);
}
.people-table__row--has-drafts .people-table__cell:last-child {
  background-color: transparent;
}
.people-table__row--saving {
  opacity: 0.6;
  pointer-events: none;
  cursor: not-allowed;
}
.people-table__row:last-child {
  border-radius: 0 0 0.5rem 0.5rem;
}
.people-table__row:last-child .people-table__cell:first-child {
  border-radius: 0 0 0 0.5rem;
}
.people-table__row:last-child .people-table__cell:first-child .people-table__cell-input {
  border-radius: 0.188rem 0.188rem 0.188rem 0.5rem;
}
.people-table__row:last-child .people-table__cell:nth-last-child(2) {
  border-radius: 0 0 0.5rem 0;
}
.people-table__row:last-child .people-table__cell:nth-last-child(2) .people-table__cell-input {
  border-radius: 0.188rem 0.188rem 0.5rem 0.188rem;
}
.people-table__cell {
  font-family: var(--font-primary);
  font-size: 1rem;
  font-weight: 400;
  line-height: 1.3;
  color: var(--text-dark-clr);
  overflow: hidden;
  min-width: 0;
  cursor: pointer;
  transition: background-color 0.2s ease;
  padding: 0.625rem;
  border-right: 1px solid var(--gray-secondary-clr);
}
.people-table__cell:first-child {
  border-left: 1px solid var(--gray-secondary-clr);
}
.people-table__cell:last-child {
  padding: 0;
  border-right: none;
}
.people-table__cell--actions {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  right: -40px;
  display: flex;
  justify-content: flex-end;
  align-items: center;
  cursor: default;
}
.people-table__cell--editing {
  padding: 0;
}
.people-table__cell--error {
  background-color: rgba(239, 68, 68, 0.05);
  border-color: rgba(239, 68, 68, 0.3);
}
.people-table__cell--error .people-table__cell-input {
  border-color: #ef4444;
  border-color: var(--red-clr, #ef4444);
  background-color: rgba(239, 68, 68, 0.02);
}
.people-table__cell-error {
  position: absolute;
  bottom: -18px;
  left: 0.625rem;
  right: 0.625rem;
  font-size: 0.75rem;
  font-weight: 400;
  color: #ef4444;
  color: var(--red-clr, #ef4444);
  line-height: 1.2;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  z-index: 10;
}
.people-table__cell-text {
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  min-width: 0;
  flex-shrink: 1;
}
.people-table__cell-input {
  width: 100%;
  padding: 0.5rem 0.75rem;
  font-family: var(--font-primary);
  font-size: 1rem;
  font-weight: 400;
  border: 1px solid var(--blue-secondary-clr);
  border-radius: 0.188rem;
  outline: none;
  background-color: var(--white-clr);
  color: var(--text-dark-clr);
  line-height: 1.3;
}
.people-table__delete-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2.125rem;
  height: 2.125rem;
  background: none;
  border: none;
  border-radius: 0.375rem;
  cursor: pointer;
  transition: background-color 0.2s ease;
}
.people-table__delete-btn:hover {
  background-color: var(--gray-secondary-clr);
}
.people-table__delete-btn:focus-visible {
  outline: 2px solid var(--blue-secondary-clr);
  outline-offset: 2px;
}
.people-table__delete-icon {
  width: 1.75rem;
  height: 1.375rem;
  color: var(--dark-green-clr);
}
.people-table__save-row-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2.125rem;
  height: 2.125rem;
  background: var(--blue-secondary-clr);
  border: none;
  border-radius: 0.375rem;
  cursor: pointer;
  transition: all 0.2s ease;
}
.people-table__save-row-icon {
  width: 1.25rem;
  height: 1.25rem;
  color: var(--white-clr);
  flex-shrink: 0;
}
.people-table__empty {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2.5rem;
  font-family: var(--font-primary);
  font-size: 1rem;
  font-weight: 400;
  color: var(--gray-tertiary-clr);
}
.people-table__save-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.625rem 2rem 0.75rem;
  background-color: var(--blue-secondary-clr);
  color: var(--white-clr);
  font-family: var(--font-secondary);
  font-size: 0.875rem;
  font-weight: 600;
  line-height: normal;
  border: none;
  border-radius: 12.5rem;
  cursor: pointer;
  transition: background-color 0.2s ease;
}
.people-table__save-btn:hover {
  background-color: var(--light-voilet-clr);
}
.people-table__save-btn:focus-visible {
  outline: 2px solid var(--blue-secondary-clr);
  outline-offset: 2px;
}
.people-table__save-btn:disabled {
  background-color: var(--light-voilet-clr);
}.add-colleague-modal {
  min-width: 400px;
  text-align: center;
}
.add-colleague-modal__loading {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 24px;
  padding: 40px 0;
}
.add-colleague-modal__loading-text {
  font-size: 16px;
  color: #6b7280;
  margin: 0;
}
.add-colleague-modal__success {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  padding: 20px 0;
}
.add-colleague-modal__success-icon {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background-color: #10b981;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 8px;
}
.add-colleague-modal__check-icon {
  width: 32px;
  height: 32px;
  color: white;
}
.add-colleague-modal__success-title {
  font-size: 24px;
  font-weight: 600;
  color: #111827;
  margin: 0;
}
.add-colleague-modal__success-text {
  font-size: 16px;
  color: #6b7280;
  margin: 0;
}
.add-colleague-modal__success-button {
  margin-top: 16px;
  padding: 12px 32px;
  background-color: #3b82f6;
  color: white;
  border: none;
  border-radius: 8px;
  font-size: 16px;
  font-weight: 500;
  cursor: pointer;
  transition: background-color 0.2s;
}
.add-colleague-modal__success-button:hover {
  background-color: #2563eb;
}.delete-confirmation-modal {
  min-width: 28.75rem;
}
.delete-confirmation-modal__title {
  font-size: 1.125rem;
  color: var(--text-dark-clr);
  margin-bottom: 0.563rem;
}
.delete-confirmation-modal__text {
  font-size: 1rem;
  color: #566369;
  margin-bottom: 1.875rem;
}
.delete-confirmation-modal__actions {
  display: flex;
  gap: 0.75rem;
  justify-content: flex-end;
}.people__wrapper {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  width: 100%;
  max-width: var(--max-width-container);
  margin: 0 auto;
  padding: 4.375rem 1.25rem 0.625rem;
}
@media (max-width: 768px) {
  .people__wrapper {
    padding: 1.875rem 0 0.625rem;
  }
}
.people__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
}
.people__title {
  font-family: var(--font-primary);
  font-size: 1.875rem;
  font-weight: 700;
  line-height: 1.3;
  color: var(--text-dark-clr);
  margin: 0;
}
@media (max-width: 768px) {
  .people__title {
    font-size: 1.25rem;
  }
}
.people__actions {
  display: flex;
  align-items: center;
  background-color: var(--white-clr);
  border-radius: 0.625rem;
  overflow: hidden;
}
.people__action-btn {
  display: flex;
  align-items: center;
  gap: 0.625rem;
  padding: 0.625rem 0.875rem;
  background: none;
  border: none;
  cursor: pointer;
  transition: background-color 0.2s ease;
}
.people__action-btn:hover {
  opacity: 0.8;
}
@media (max-width: 768px) {
  .people__action-btn {
    padding: 0.375rem 0.5rem;
  }
}
.people__action-label {
  font-family: var(--font-primary);
  font-size: 0.875rem;
  font-weight: 400;
  line-height: 1.3;
  color: var(--text-dark-clr);
}
@media (max-width: 768px) {
  .people__action-label {
    font-size: 0.75rem;
  }
}
.people__action-icon {
  width: 0.75rem;
  height: 0.75rem;
  flex-shrink: 0;
}
.people__action-divider {
  width: 1px;
  height: 100%;
  background-color: var(--gray-secondary-clr);
}