/* books.css */
body {
  background: #f5f7fa;
  font-family: Arial, sans-serif;
  color: #333;
  margin: 0;
  padding: 0;
}

.container {
  max-width: 800px;
  margin: 50px auto;
  padding: 0 20px;
}

h1 {
  text-align: center;
  color: #2c3e50;
}

.book-section {
  margin-top: 40px;
}

.book-section h2 {
  border-left: 4px solid #48752C;
  padding-left: 12px;
  color: #48752C;
}

.book-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: 20px;
}

.book-item {
  background: #fff;
  border-radius: 6px;
  padding: 15px 20px;
  box-shadow: 0 1px 4px rgba(0,0,0,0.1);
  transition: transform 0.2s ease;
}

.book-item:hover {
  transform: translateY(-3px);
}

.book-title {
  font-size: 16px;
  font-weight: bold;
}

.book-author {
  font-size: 14px;
  color: #555;
}

.back-home {
  text-align: center;
  margin-top: 30px;
}

.back-home a {
  font-size: 14px;
  text-decoration: none;
  color: #48752C;
  border: 1px solid #48752C;
  padding: 6px 12px;
  border-radius: 20px;
  transition: all 0.2s ease;
}

.back-home a:hover {
  background: #48752C;
  color: #fff;
}

/*
for wishlist
*/
/* Wishlist checkboxes style */
.book-item label {
  display: flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
}

.book-item input[type="checkbox"] {
  transform: scale(1.2);
  accent-color: #48752C;  /* Brand green for supported browsers */
  cursor: pointer;
}

.book-item input[type="checkbox"]:checked + span {
  text-decoration: none;
  opacity: 0.7;
}
