.brothers-list-title h1 {
  font-family: var(--font-header);
  font-size: 40px;
  font-weight: bolder;
}

.brothers-list-content {
  display: flex;
  justify-content: center;
  flex-direction: column;
  align-items: center;

  margin-top: 5em;
}

.brothers-list-input {
  margin-top: 1.5em;
  display: flex;
  justify-content: center;
  align-items: center;

  width: 85%;
}

.brothers-list-container {
  margin-top: 1em;
  width: 85%;

  box-sizing: border-box;

  border: 3px solid var(--bg-secondary);
  border-radius: 10px;

  overflow-y: scroll;

  max-height: 35em;
  padding: 1em .5em;
}

#brothers-list {
  margin: .5em 0;

  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: .5em;
  
  list-style: none;

  padding-inline-start: 0;
}

.brothers-list-item {
  background-color: var(--bg-secondary);

  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: center;

  border-radius: .5em;

  width: 100%;
  padding: .5em 1em;

  box-sizing: border-box;
}

.brothers-list-item h3 {
  color: var(--text-primary);
  font-size: 20px;
  font-weight: bold;
  font-family: var(--font-header);
  padding: 0;
  margin: 0;
}

.brothers-list-item p {
  color: var(--text-secondary);
  font-size: 17px;
  font-weight: 400;
  font-family: var(--font-body);
  font-style: italic;
  padding: 0;
  margin-top: 0.25em;
}

.brother-list-main-content {
  width: 95%;
}

#brother-edit-modal.show,
#brother-add-modal.show {
  opacity: 1;
}

.brother-edit-modal-content,
.brother-add-modal-content {
  background-color: var(--bg-secondary);
  border-radius: 8px;
  padding: .5em;
  max-width: 85vw;
  min-width: 15rem;
  width: 25rem;
  box-shadow: 0 2px 10px rgba(0,0,0,0.3);

  transform: translateY(-20px);
  transition: transform 0.3s ease;

  z-index: 100;
}

.modal-overlay.show .brother-edit-modal-content,
.modal-overlay.show .brother-add-modal-content {
  transform: translatey(0);
}

#brother-edit-role {
  font-size: 1.25em;
  font-family: var(--font-body);
  font-weight: 500;
  color: var(--text-secondary);
  font-style: italic;
}

.input-note {
  font-size: .85em;
  font-family: var(--font-body);
  font-weight: 300;
  font-style: italic;
  color: var(--text-secondary);
  margin-left: .25em;
  line-height: 1.25;
}

.brother-edit-main,
.brother-add-main {
  display: flex;
  flex-flow: column;
  justify-content: center;
  align-items: center;

  gap: 1em;

  margin: 1em 0;
}

#brother-user-info-divider {
  font-size: 1em;
  font-family: var(--font-body);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: .5em;
  color: var(--text-secondary);

  font-weight: 300;

  width: 100%;
}

#user-info-arrow-container {
  width: 25%;
  box-sizing: border-box;

  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  padding-left: .25em;
  box-sizing: border-box;
}

.show-more-arrow {
  color: var(--text-secondary);
  transition: rotate .2s;
}

.show-more-arrow.rotate {
  rotate: 90deg;
}

.user-info-divider-bar {
  height: 1px;
  width: 33%;
  background-color: #7c7e8a;
  transition: width .2s;
}

.user-info-divider-bar.hide {
  width: 0%;
}

#brother-user-info-container {
  max-height: 0;
  transition: max-height .2s;
  overflow: hidden;
  width: 80%;
  padding: 0 .5em;
  box-sizing: border-box;

  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  gap: 1em;
}

#brother-user-info-container.show {
  max-height: 8.5em;
}

#reset-user-password-button {
  font-size: 1.15em;
  font-family: var(--font-body);
  font-weight: 500;
  color: var(--text-primary);
  background-color: var(--error);
  border: 2px solid #fc4a40;
  border-radius: 5px;
  padding: .5em .5em;
  cursor: pointer;
  transition: background-color .2s, border-color .2s;
}

#reset-user-password-button:hover {
  background-color: #fc4a40;
  border-color: var(--error);
}

#add-new-brother-button {
  margin-top: 1em;
  margin-bottom: 3em;
  border: 2px solid var(--success);
  border-radius: 7px;
  color: var(--success);
  background-color: var(--bg-primary);

  font-size:1em;
  font-family: var(--font-header);
  font-weight: 500;

  height: 3em;
  width: 80%;

  transition: color .2s, background-color .2s, transform .2s;
}

#add-new-brother-button:hover {
  background-color: var(--success);
  color: var(--text-primary);
}

#add-new-brother-button:active {
  transform: scale(.97);
}