#book-popup {
  position: fixed;
  inset: 0px;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: rgba(0, 0, 0, 0.5);
  display: none;
  z-index: 10;
}

#popup {
  width: 60%;
  height: 90%;
  margin: auto;
  background-color: white;
  border-radius: 10px;
  box-shadow: 2px 2px 5px rgba(0, 0, 0, 0.3);
  padding: 20px;
  position: relative;
}

#close-popup-btn {
  z-index: 20;
  position: absolute;
  right: 15px;
  top: 5px;
  border-radius: 50%;
  width: 2rem;
  height: 2rem;
  color: gray;
  border: none;
  font-size: 2rem;
  background-color: white;
}

#close-popup-btn:hover {
  color: var(--red);
}

.info-container {
  position: relative;
  width: 50%;
  height: 100%;
  display: inline;
}

.info-container h1 {
  margin-top: 0;
}

.reviews-container {
  width: 50%;
  height: 100px;
  display: inline;
}

#confirmation-popup {
  position: fixed;
  inset: 0px;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: rgba(0, 0, 0, 0.5);
  z-index: 20;
}

#confirmation-popup.hidden {
  display: none;
}

#confirmation-content {
  background-color: white;
  border-radius: 10px;
  box-shadow: 2px 2px 5px rgba(0, 0, 0, 0.3);
  padding: 30px;
  text-align: center;
  width: fit-content;
  font-size: 0.8rem;
}

#confirmation-content h2 {
  margin-top: 0;
  margin-bottom: 20px;
}

#confirmation-buttons {
  display: flex;
  gap: 10px;
  justify-content: center;
}

#confirm-delete-btn,
#cancel-delete-btn {
  padding: 10px 20px;
  border: none;
  border-radius: 5px;
  font-size: 1rem;
  cursor: pointer;
  font-weight: bold;
}

#confirm-delete-btn {
  background-color: var(--red);
  color: white;
}

#confirm-delete-btn:hover {
  background-color: var(--red-hover);
}

#cancel-delete-btn {
  background-color: #cccccc;
  color: #333;
}

#cancel-delete-btn:hover {
  background-color: #aaaaaa;
}
