.group-form-tabs {
  border-bottom: 1px solid #e5e7ef;
  max-width: 100%;
  min-width: 0;
  overflow: hidden;
  width: 100%;
}

.group-form-tabs__nav {
  flex-wrap: nowrap;
  gap: 0.125rem;
  margin: 0;
  max-width: 100%;
  min-width: 0;
  overflow-x: auto;
  overflow-y: hidden;
  padding: 0;
  scrollbar-width: thin;
  width: 100%;
}

.group-form-tabs__nav .nav-item {
  flex: 0 0 auto;
}

.group-form-tabs__nav .nav-link {
  min-height: 48px;
  padding: 0.75rem 0.6rem;
  white-space: nowrap;
}

.group-form-tabs__nav .nav-link:focus-visible {
  box-shadow: inset 0 0 0 2px #435ebe;
  outline: 2px solid transparent;
}

.group-form-tabs__nav .nav-link i {
  font-size: 1rem;
}

.group-form-tabs__content {
  max-width: 100%;
  min-width: 0;
  width: 100%;
}

.group-general-tab .input-group,
.group-general-tab .input-group-text.group-categories {
  min-width: 0;
}

.group-general-tab .input-group-text.group-categories {
  align-content: flex-start;
  display: flex;
  flex: 1 1 auto;
  flex-wrap: wrap;
  overflow-wrap: anywhere;
}

.group-form-tabs__content .note-editor {
  max-width: 100%;
  width: 100%;
}

body.theme-dark .group-form-tabs {
  border-bottom-color: #35354f;
}

.attendance-item--readonly,
.attendance-item--readonly:hover {
  cursor: default;
}

@media (max-width: 767px) {
  .group-form-tabs {
    margin-left: -0.25rem;
    margin-right: -0.25rem;
  }

  .group-form-tabs__nav .nav-link {
    min-height: 46px;
    padding: 0.65rem 0.75rem;
  }

  .group-general-tab > .row > [class*="col"] {
    flex: 0 0 auto;
    width: 100%;
  }

  .group-general-tab .form-group {
    margin-bottom: 1rem;
  }

  .group-general-tab .input-group {
    width: 100%;
  }

  .form-actions > [class*="col"] {
    flex: 0 0 auto;
    justify-content: flex-start !important;
    width: 100%;
  }

  .form-actions .btn {
    flex: 1 1 auto;
  }
}

.group-participant-list {
  margin-bottom: 1rem;
}

.group-participant-segments {
  align-items: center;
  background: #f4f6fa;
  border-bottom: 1px solid #e7eaf0;
  display: flex;
  gap: .25rem;
  padding: .65rem 1.25rem;
}

.group-participant-segments__button {
  align-items: center;
  background: transparent;
  border: 1px solid transparent;
  border-radius: 5px;
  color: #65728a;
  display: inline-flex;
  font-size: .82rem;
  font-weight: 700;
  gap: .5rem;
  min-height: 38px;
  padding: .45rem .7rem;
}

.group-participant-segments__button span {
  background: #e5e9f1;
  border-radius: 10px;
  color: #59657c;
  font-size: .7rem;
  min-width: 24px;
  padding: .15rem .4rem;
  text-align: center;
}

.group-participant-segments__button:hover,
.group-participant-segments__button:focus-visible {
  background: #fff;
  border-color: #dce2ee;
  color: #25324b;
}

.group-participant-segments__button:focus-visible {
  box-shadow: 0 0 0 3px rgba(67, 94, 190, .2);
  outline: none;
}

.group-participant-segments__button.is-active {
  background: #fff;
  border-color: #ccd4e3;
  box-shadow: 0 1px 3px rgba(31, 45, 61, .08);
  color: #435ebe;
}

.group-participant-segments__button.is-active span {
  background: #edf1ff;
  color: #435ebe;
}

.group-participant-waiting-notice {
  align-items: center;
  background: #fff8e5;
  border-bottom: 1px solid #f1dfac;
  color: #7a5a00;
  display: flex;
  font-size: .8rem;
  gap: .5rem;
  padding: .65rem 1.25rem;
}

.group-participant-toolbar-controls {
  align-items: center;
  display: flex;
  flex: 1 1 620px;
  gap: .75rem;
  justify-content: flex-end;
  min-width: 0;
}

.group-participant-toolbar-controls .entity-list__search {
  flex: 1 1 420px;
  max-width: 520px;
}

.group-participant-add {
  flex: 0 0 auto;
  white-space: nowrap;
}

.group-participant-list .entity-list__columns,
.group-participant-list .entity-list__row,
.group-participant-list .entity-list__skeleton-row {
  gap: .75rem;
  grid-template-columns: minmax(220px, 1.65fr) minmax(0, 1fr) minmax(0, .75fr) minmax(0, 1fr) minmax(0, .8fr) 42px;
}

.group-participant-avatar-fallback {
  align-items: center;
  color: #435ebe;
  display: inline-flex;
  font-size: .78rem;
  font-weight: 800;
  justify-content: center;
}

.group-participant-contact > span:last-child,
.group-participant-list .entity-list__cell--cpf > span:last-child {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.group-participant-account {
  align-items: flex-start;
  display: flex;
  flex-direction: column;
  gap: .25rem;
}

.group-participant-account small {
  color: #7c8aa5;
  font-size: .7rem;
}

.group-participant-joint-badge {
  align-items: center;
  background: #e7f5f4;
  border-radius: 4px;
  color: #176b65;
  display: inline-flex;
  font-size: .72rem;
  font-weight: 700;
  gap: .3rem;
  padding: .3rem .45rem;
}

.group-participant-list .entity-list__actions {
  min-height: 36px;
}

.group-participant-user-select--loading {
  opacity: .7;
  pointer-events: none;
}

body.theme-dark .group-participant-segments {
  background: #242436;
  border-color: #35354f;
}

body.theme-dark .group-participant-segments__button {
  color: #a7aac2;
}

body.theme-dark .group-participant-segments__button span {
  background: #35354f;
  color: #c4c6d7;
}

body.theme-dark .group-participant-segments__button:hover,
body.theme-dark .group-participant-segments__button:focus-visible,
body.theme-dark .group-participant-segments__button.is-active {
  background: #1e1e2d;
  border-color: #484861;
  color: #aebaff;
}

body.theme-dark .group-participant-segments__button.is-active span {
  background: #303551;
  color: #c3cbff;
}

body.theme-dark .group-participant-waiting-notice {
  background: #39321f;
  border-color: #554a2c;
  color: #e7ca75;
}

body.theme-dark .group-participant-account small {
  color: #a7aac2;
}

body.theme-dark .group-participant-joint-badge {
  background: #1d3d3b;
  color: #8dd5cf;
}

@media (max-width: 767.98px) {
  .group-participant-segments {
    padding: .65rem .9rem;
  }

  .group-participant-segments__button {
    flex: 1 1 50%;
    justify-content: center;
    min-width: 0;
  }

  .group-participant-waiting-notice {
    align-items: flex-start;
    padding: .65rem .9rem;
  }

  .group-participant-toolbar-controls {
    align-items: stretch;
    flex-basis: auto;
    flex-direction: column;
    width: 100%;
  }

  .group-participant-toolbar-controls .entity-list__search {
    flex-basis: auto;
    max-width: none;
  }

  .group-participant-add {
    justify-content: center;
    width: 100%;
  }

  .group-participant-list .entity-list__row {
    gap: .65rem .75rem;
    grid-template-columns: minmax(0, 1fr) 40px;
  }

  .group-participant-list .entity-list__person {
    grid-column: 1;
  }

  .group-participant-list .entity-list__actions {
    grid-column: 2;
    grid-row: 1;
  }

  .group-participant-list .entity-list__cell {
    align-items: center;
    flex-direction: row;
    grid-column: 1 / -1;
  }

  .group-participant-list .entity-list__mobile-label {
    flex: 0 0 64px;
  }

  .group-participant-list .entity-list__footer {
    align-items: stretch;
    flex-direction: column;
  }

  .group-participant-list .entity-list__page-size {
    flex-wrap: wrap;
  }

  .group-participant-list .entity-list__pagination {
    align-self: center;
    max-width: 100%;
  }
}
