.life-box {
  width: 100%;
  height: 100%;
  border: solid 1px var(--border-color);
  background-color: var(--field-background-color);
  box-shadow: var(--shadow);
  border-radius: 10px;
  cursor: pointer;
}

.life-box-name {
  font-size: 1.4rem;
  font-weight: bold;
  text-align: center;
  cursor: pointer;
}

.life-box-bar {
  position: relative;
  display: flex;
  flex-direction: row;
  height: 4rem;
  margin: 0 1rem;
  border-radius: 10px;
  box-shadow: var(--shadow);
  overflow: hidden;
  cursor: pointer;
  &:hover {
    .life-box-bar-current {
      background-color: var(--accept-hover);
    }

    .life-box-bar-temporary {
      background-color: var(--edit-hover);
    }

    .life-box-bar-missing {
      background-color: var(--delete-hover);
    }
  }
}

.life-box-bar-current {
  background-color: var(--accept);
  transition: all 0.2s ease-in-out;
}

.life-box-bar-temporary {
  background-color: var(--edit);
  transition: all 0.2s ease-in-out;
}

.life-box-bar-missing {
  background-color: var(--delete);
  transition: all 0.2s ease-in-out;
}

.life-box-bar-label {
  font-size: 1.5rem;
  font-weight: bold;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

.life-box-buttons {
  display: flex;
  justify-content: space-between;
  margin: 1rem;
  // flex-direction: column;
}

.life-button {
  height: 2.5rem;
  width: 6rem;
  font-size: 1.25rem;
  font-weight: 500;
  border: none;
  box-shadow: var(--shadow);
  border-radius: 10px;
}

.add {
  background-color: var(--accept);
  transition: all 0.2s ease-in-out;
  &:hover {
    background-color: var(--accept-hover);
  }
}

.temp {
  background-color: var(--edit);
  transition: all 0.2s ease-in-out;
  &:hover {
    background-color: var(--edit-hover);
  }
}

.remove {
  background-color: var(--delete);
  transition: all 0.2s ease-in-out;
  &:hover {
    background-color: var(--delete-hover);
  }
}
