.dimensions {
  width: 35rem;
  height: 45rem;
  padding: 0;
  overflow: hidden;
  background-image: url("/assets/images/bg.jpg");
}

.content {
  margin: 0;
}

.title {
  box-shadow: var(--shadow-bottom);
  padding: 1.5rem 0 1rem 0;
  margin-top: 0;
  // color: #58180d;
  // font-family: "Bookinsanity", serif;
}

.spell-list {
  height: 34rem;
  padding: 1rem 1rem 0 1rem;
  overflow-y: auto;
  gap: 0.5rem;
}

.spell {
  height: 3rem;
  padding: 15px 10px;
  margin-bottom: 0.5rem;
  color: rgba(0, 0, 0, 0.87);
  display: flex;
  align-items: center;
  // justify-content: space-between;
  background-image: url("/assets/images/texture.png");
  border-radius: 10px;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  box-shadow:
    0 5px 5px -3px rgba(0, 0, 0, 0.2),
    0 8px 8px 1px rgba(0, 0, 0, 0.14),
    0 3px 10px 2px rgba(0, 0, 0, 0.12);
  transition: background-color 0.2s ease-in-out;
  &:hover {
    border: 1px solid #9b8559;
  }
}

.spell-name {
  width: 45%;
}

.spell-level {
  width: 30%;
}

.spell-school {
  width: 25%;
}

.selected {
  background-color: #58180d;
  box-sizing: border-box;
  border: 3px solid #9b8559 !important;
  &:hover {
    background-color: var(--items);
  }
}

.button-container {
  box-shadow: var(--shadow-top);
  height: 5.5rem;
  display: flex;
  justify-content: center;
  align-items: center;

  button {
    font-size: 1.25rem;
    font-weight: 600;
    width: 18.5rem;
    border-radius: 10px;
    padding: 0.5rem 1rem;
    background-color: var(--delete);
    border: none;
    box-shadow: var(--shadow);
  }

  .disabled {
    filter: grayscale(0.5);
    cursor: not-allowed;
  }
}
