/*!**********************************************************************************************************************************************************************************************************************************************************************!*\
  !*** css ./node_modules/next/dist/build/webpack/loaders/css-loader/src/index.js??ruleSet[1].rules[15].oneOf[10].use[2]!./node_modules/next/dist/build/webpack/loaders/postcss-loader/src/index.js??ruleSet[1].rules[15].oneOf[10].use[3]!./app/catalog/bookCard.css ***!
  \**********************************************************************************************************************************************************************************************************************************************************************/
.bookCard {
  width: 100%;
  height: 100%;
  border-radius: 7px;
  border: 1.2px solid #8a1d40;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.12);
  padding: clamp(8px, 2vw, 12px);
  display: flex;
  flex-direction: column;
  gap: 8px;
  box-sizing: border-box;
  position: relative;
}

.bookCover {
  width: 100%;
  aspect-ratio: 2 / 3;
  overflow: hidden;
  border-radius: 6px;
  flex-shrink: 0;
}

.bookCover img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}

.bookTitle {
  font-size: clamp(12px, 2.5vw, 14px);
  font-weight: 700;
  margin: 0;
  color: #1a1a1a;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
  min-height: 2lh;
}

.bookCard.selected {
  border: 2px solid #8e2446;
}
.bookCheckBox {
  position: absolute;
  top: 8px;
  left: 8px;
}

/*!***************************************************************************************************************************************************************************************************************************************************************!*\
  !*** css ./node_modules/next/dist/build/webpack/loaders/css-loader/src/index.js??ruleSet[1].rules[15].oneOf[10].use[2]!./node_modules/next/dist/build/webpack/loaders/postcss-loader/src/index.js??ruleSet[1].rules[15].oneOf[10].use[3]!./app/dashboard.css ***!
  \***************************************************************************************************************************************************************************************************************************************************************/
#bookListDashboard {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
  max-width: 1400px;
  margin: 1rem auto;
  height: auto;
}
#dashboard nav {
  background-color: transparent;
  border-bottom: solid #ddd 1px;
  padding: 4px 0 0 0;
}
#dashboard button {
  background-color: transparent;
  height: 130%;
}
#dashboard button:hover {
  color: black;
  border: none;
  padding-bottom: 14px;
}
#dashboard {
  padding: 0rem;
}
.selectedCategory {
  color: #8e1f42;
  background-color: #e4d9dc;
  border-bottom: solid #8e1f42 2px;
}
#dashboard .selectedCategory:hover {
  color: #8e1f42;
  border-bottom: solid #8e1f42 2px;
}
main {
  padding: 1rem 2rem;
}

#searchBox {
  display: grid;
  grid-template-columns: repeat(1, 1fr);
  padding: 6rem 4rem;
  background-image: url(https://images.pexels.com/photos/8500625/pexels-photo-8500625.jpeg);
  background-size: cover;
  background-repeat: no-repeat;
  background-position: 0 20%;
  border-radius: 1rem;
  gap: 0.8rem;
  justify-items: center;
  height: 5rem;
}
.searchbar {
  background-color: #ece6f0;
  border-radius: 1rem;
  padding: 1.3rem;
  width: 100%;
  display: flex;
}

@media (min-width: 768px) {
  main {
    padding: 1.5rem 2rem;
  }
  #bookListDashboard {
    gap: 2rem;
    padding: 1rem 2rem;
  }
  #dashboard {
    padding: 1rem;
  }
  .searchbar {
    width: 85%;
  }
}

@media (min-width: 1200px) {
  main {
    padding: 2rem 3rem;
  }
}
.searchbar input {
  background-color: transparent;
  border: none;
  height: 100%;
  width: 100%;
}
#searchButton {
  background-color: transparent;
  border: none;
  padding: 0.5rem;
}
.semitransparentButton {
  background-color: #922648;
  opacity: 0.9;
  padding: 0.5rem 2rem;
  width: auto;
  border-radius: 0.5rem;
  color: white;
}

@media (min-width: 1024px) {
  #bookListDashboard {
    grid-template-columns: repeat(4, 1fr);
    gap: 2.5rem;
    padding: 1rem 2.5rem;
  }
}

@media (min-width: 1400px) {
  #bookListDashboard {
    gap: 3rem;
    padding: 1rem 3rem;
  }
}

