.settings-container {
  display: flex;
  flex-direction: column;
  gap: 2em;
  margin: 2em auto;
  max-width: 60ch;
  padding: 0 1em;
}

.settings-section {
  background: #fffdf7;
  box-shadow: 0 3px 0 0 rgba(0, 0, 0, 0.25);
  border-radius: 6px;
  display: flex;
  flex-direction: column;
  gap: 0.75em;
  padding: 1em;

  h2 {
    color: rgb(112, 57, 26);
    font-family: "Bricolage Grotesque", sans-serif;
    font-size: 1.5rem;
    font-weight: 700;
  }
}

.users-list {
  display: flex;
  flex-direction: column;
  gap: 0.5em;
  list-style: none;
  padding: 0;
  margin: 0;

  li {
    padding: 0.75em 0.25em;
  }
}

.user-item {
  align-items: center;
  display: flex;
  justify-content: space-between;
  padding: 0.5em 0.75em !important;
}

.user-info {
  align-items: center;
  display: flex;
  gap: 0.75em;
}

.user-email {
  font-weight: 500;

  &.primary {
    font-weight: 800;
  }
}

.user-actions {
  align-items: center;
  display: flex;
  gap: 0.75em;

  .destroy {
    align-items: center;
    background: transparent;
    border: none;
    color: rgb(204, 61, 61);
    cursor: pointer;
    display: flex;
    padding: 0.25em;

    &:hover {
      opacity: 0.6;
    }

    svg {
      height: 1.25em;
      width: 1.25em;
    }
  }
}

.columns-list {
  display: flex;
  flex-direction: column;
  gap: 0.75em;
  list-style: none;
  padding: 0;
}

.column-item {
  align-items: center;
  display: flex;
  justify-content: space-between;
  padding: 0.5em 0.75em;
}

.column-info {
  align-items: center;
  display: flex;
  gap: 0.75em;
}

.column-color {
  border: 2px solid rgba(112, 57, 26, 0.2);
  border-radius: 0.25em;
  display: block;
  height: 2em;
  width: 2em;
}

.column-title {
  font-weight: 600;
}

.column-position {
  color: rgb(112, 57, 26);
  font-family: "Inter", sans-serif;
  font-size: 0.875rem;
  font-weight: 300;
  opacity: 0.7;
}

.column-actions {
  align-items: center;
  display: flex;
  gap: 0.75em;

  a {
    color: rgb(112, 57, 26);
    display: flex;
    font-size: 0.875rem;
    text-decoration: none;

    &:hover {
      opacity: 0.6;
    }
  }

  .destroy {
    align-items: center;
    background: transparent;
    border: none;
    color: rgb(204, 61, 61);
    cursor: pointer;
    display: flex;
    padding: 0.25em;

    &:hover {
      opacity: 0.6;
    }

    svg {
      height: 1.25em;
      width: 1.25em;
    }
  }
}

.empty-state {
  color: rgba(112, 57, 26, 0.5);
  font-style: italic;
  margin: 1em 0;
}

.btn-add {
  background: rgba(112, 57, 26, 0.07);
  border-radius: 0.5em;
  color: rgb(112, 57, 26);
  display: inline-block;
  font-family: "Bricolage Grotesque", sans-serif;
  font-size: 1rem;
  font-weight: 600;
  margin-left: auto;
  padding: 0.5em 1em;
  text-decoration: none;

  &:hover {
    background: rgba(112, 57, 26, 0.12);
  }
}
