.add-card {
  position: relative;
  height: 20rem;
  width: 15rem;
  border: var(--border);
  border-radius: 10px;
  box-shadow: var(--shadow);
  overflow: hidden;
  transition: all 0.3s ease-in-out;

  .clickable-card {
    width: 100%;
    height: 100%;
    position: relative;
    cursor: pointer;
    transition: all 0.2s ease-in-out;
    background-image: url("/assets/images/bg.jpg");
    filter: brightness(0.8);

    &:hover {
      filter: brightness(0.9);
    }

    .add-icon {
      position: absolute;
      top: 50%;
      left: 50%;
      transform: translate(-50%, -50%);
      height: 4rem;
    }
  }
}

.controll-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin: 0.25rem 0.25rem 0.375rem 0.5rem;
}

.toggle-row {
  display: flex;
  align-items: center;
  gap: 0.25rem;
}

.toggle-label {
  transition: all 0.2s ease-in-out;
  width: 3rem;
  font-weight: 600;
}

.active {
  // font-size: 1.125rem;
}

.inactive {
  color: rgb(124, 124, 124);
}

.spell-selection {
  width: 100%;
  height: 100%;
  // background-color: var(--background-color);
  background-image: url("/assets/images/bg.jpg");
  filter: brightness(0.9);
  padding-top: 0.375rem;
}

.spell-name {
  width: 94%;
  margin: auto;
  display: block;
  border-radius: 5px;
  border: var(--border);
}

.available-spells {
  margin: 0.5rem;
  padding: 0.5rem;
  border: var(--border);
  border-radius: 5px;
  overflow: auto;
  height: 14.5rem;
  background-color: white;
  box-shadow: var(--shadow);

  button {
    all: unset;
    border: var(--border);
    border-radius: 5px;
    padding: 0.25rem;
    margin: 0 auto 0.375rem auto;
    display: block;
    width: 90%;
    box-shadow: var(--shadow);
    cursor: pointer;
    background-image: url("/assets/images/texture.png");
    border: 1px solid var(--border-brown);
    &:hover {
      filter: brightness(0.9);
    }
  }
}

ul {
  list-style-type: none;
  padding: 0;
  margin: 0;
}

.cancel-button {
  width: 10rem;
  height: 2.5rem;
  display: block;
  margin: 0.75rem auto 0 auto;
  background-color: var(--delete);
  border: var(--border);
  border-radius: 10px;
  box-shadow: var(--shadow);
  font-weight: 600;
  font-size: 1.25rem;
}
