/* styles.css */
body {
  font-family: 'Poppins', Arial, sans-serif;
  background: linear-gradient(to bottom right, #f9f9f9, #e8f0f7);
  color: #333;
  margin: 0;
  padding: 0;
}

header {
  background-color: #4CAF50;
  color: white;
  padding: 1.5rem;
  text-align: center;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

header h1 {
  font-size: 2.5rem;
  margin: 0;
}

header span {
  color: #ffeb3b;
}

#book-details {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 2rem;
  background-color: white;
  margin: 2rem auto;
  max-width: 900px;
  border-radius: 10px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

#book-cover {
  width: 180px;
  height: auto;
  border-radius: 10px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

#book-description {
  font-size: 1.2rem;
  color: #555;
  max-width: 600px;
}

#review-section, #add-review {
  max-width: 900px;
  margin: 2rem auto;
  padding: 2rem;
  background-color: white;
  border-radius: 10px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

#review-section h2, #add-review h2 {
  font-size: 2rem;
  margin-bottom: 1rem;
  color: #4CAF50;
  text-align: center;
}

#review-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

#review-list li {
  padding: 1rem;
  margin-bottom: 1rem;
  background: #f5f5f5;
  border-radius: 10px;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease;
}

#review-list li:hover {
  transform: translateY(-5px);
  background: #e8f0f7;
}

#review-form {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

#review-form input, #review-form textarea, #review-form button {
  padding: 0.8rem;
  border: 1px solid #ccc;
  border-radius: 5px;
  font-size: 1rem;
}

#review-form button {
  background-color: #4CAF50;
  color: white;
  border: none;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

#review-form button:hover {
  background-color: #45a049;
}
