hr {
  width: 95%;
  border: 0.5px solid oklch(83.843% 0.00778 16.639);
}

.selected-users {
  flex-wrap: wrap;
  width: 90%;
}

.wrapper-container {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: center;
  flex-wrap: wrap;

  gap: 1rem;
  width: 90%;
  margin: 0;
  padding: 10px;
  height: fit-content;
  max-width: 1142px;
}

.wrapper-container > div {
  width: 90%;
}

.wrapper-cards {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: center;
  gap: 20px;
  max-height: 800px;
  overflow-y: auto;
}

.group-container {
  display: flex;
  justify-content: center;
  align-items: center;

  width: 90%;
  margin: auto;
}

.group-list-title {
  display: flex;
  justify-content: space-between;
  align-items: center;
  align-self: center;
}

.groups-header-nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  align-self: center;
}

.groups-summary-box {
  display: flex;
  justify-content: center;
  align-items: center;
  box-sizing: border-box;
  height: fit-content;

  gap: 20px;
}

.summary-card {
  width: 20%;
  max-width: 200px;
  height: 100%;
}

.summary-card * {
  margin: 0;
}

.group-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
}

.groups-card-header {
  display: flex;
  justify-content: space-between;
}

.group-end-btn {
  display: flex;
  justify-content: center;
  align-items: center;

  gap: 5px;
}

.group-header-stat {
  display: flex;
  justify-content: space-evenly;
  align-items: center;

  gap: 20px;
}

.group-stat {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.group-members {
  display: flex;
  flex-direction: column;
  align-items: flex-start;

  gap: 10px;
}

.card-member {
  display: flex;
  flex-direction: column;
  align-items: flex-start;

  gap: 5px;

  width: 100%;
  box-sizing: border-box;

  overflow-x: scroll;
  -ms-overflow-style: none; 
  scrollbar-width: none;
}

.card-member::-webkit-scrollbar {
  display: none;
}

.card-title {
  display: flex;
  justify-content: space-between;
  align-items: center;

  width: 100%;
}

.card-title h5 {
  margin: 0;
}

.group-todo {
  display: flex;
  align-items: flex-start;
  justify-content: flex-start;
  flex-direction: column;

  gap: 5px;
  padding: 5px 10px;
}

.modal-overlay-groups {
  display: none;
  position: fixed;
  align-items: center;
  justify-content: center;

  z-index: 100;

  width: 100%;
  height: 100vh;
  /*Need this so it overlaps the full window*/
  top: 0;
  left: 0;

  background: rgba(0, 0, 0, 0.6);
}

.active {
  display: flex;
}

.modal-box-groups {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px 0px;

  width: 60%;
  max-width: 700px;;
  border-radius: 15px;
  background-color: white;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
  box-sizing: border-box;
}

.form-modal-groups {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;

  margin: 10px 20px;
  gap: 15px;
  width: 80%;
  max-width: 600px;
}

.form-modal-groups input[type="text"],
.form-modal-groups textarea {
  width: 100%;
  padding: 12px 16px;
  border: 2px solid #e5e7eb;
  border-radius: 10px;
  font-size: 14px;
  font-family: inherit;
  transition: all 0.2s ease;
  box-sizing: border-box;
}

.form-modal-groups textarea {
  resize: vertical;
}

.form-modal-groups label {
  font-weight: 500;
  box-sizing: border-box;
  font-size: 0.875rem;
  line-height: 1;

  color: #333;
}

.groups-header-nav input[type="submit"] {
  border-radius: 10px;
  padding: 8px 20px;
  border: 1px solid rgba(27, 31, 35, 0.15);
  font-size: 14px;
  font-weight: 500;
  line-height: 20px;

  box-shadow: rgba(27, 31, 35, 0.1) 0 1px 0;
  background: oklch(57.81% 0.1776 147.5);
  color: white;

  cursor: pointer;
}

.form-modal-groups button {
  align-self: stretch;
}

.justify-row-between {
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;

  justify-content: space-between;
  align-items: center;
  width: 100%;

  gap: 10px;
}

.justify-row-between input {
  width: 80%;
}

.form-modal-groups .addUserBtn {
  white-space: nowrap;
  font-size: 20px;
}

#addGroup {
  display: flex;
  align-self: flex-end;
}

.container-invites {
  overflow-y: scroll;
  max-height: 400px;
}
