.container {
  max-width: 600px;
  margin: 0 auto;
  background: #fff;
  padding: 20px;
  border-radius: 8px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

h1 {
  text-align: center;
}

input[type="search"] {
  width: 100%;
  padding: 10px;
  margin-bottom: 10px;
  border: 1px solid #ccc;
  border-radius: 4px;
}

button:not(.firebaseui-button) {
  padding: 10px;
  background-color: #5cb85c;
  border: none;
  border-radius: 4px;
  color: white;
  cursor: pointer;
}

#search-button {
  width: 100%;
}
button:not(.firebaseui-button):hover {
  background-color: #4cae4c;
}

#results {
  margin-top: 20px;
}

.result-item {
  padding: 10px;
  border: 1px solid #ddd;
  margin-bottom: 10px;
  border-radius: 4px;
  background-color: #f9f9f9;
}

.result-item {
  display: flex; /* Enable flexbox */
  flex-direction: column; /* Stack children vertically */
  align-items: center; /* Horizontally center all children */
  justify-content: center; /* Center vertically within parent (optional) */
  text-align: center; /* Center the text inside the <h3> and <p> */
  margin: 20px 0; /* Add some margin between items */
}
.result-item h3 {
  margin-bottom: 0;
}

.result-item a {
  margin-bottom: 5px;
}
.add-to-wishlist {
  background-color: #007bff;
  color: white;
  padding: 5px;
  border: none;
  border-radius: 4px;
  cursor: pointer;
}

.add-to-wishlist:hover {
  background-color: #0056b3;
}

.display-if-signed-in {
  display: none;
}

.display-if-signed-out {
  display: none;
}

.book-details {
  float: right;
}

.wished-book {
  display: flex; /* Flexbox layout */
  align-items: top; /* Align items vertically (centered) */
  width: 100%; /* Full viewport width */
  padding: 10px; /* Optional padding */
  max-width: 640px;
  margin: auto;
}

.book-cover {
  width: 128px;
}

.book-details {
  flex-grow: 1; /* Take up the remaining space */
  margin-left: 10px; /* Add space between the image and details */
}

.book-details p {
  text-align: left;
}

.book-details p,
h3 {
  margin-top: 0;
  margin-bottom: 5px;
}

.book-details button {
  max-width: 150px;
  display: block;
  margin-top: 10px;
}

#add-to-wishlist-link {
  text-align: left;
}

h2 {
  margin-bottom: 5px;
}

.width-limit {
  max-width: 730px;
  padding: 20px;
  margin: auto;
  background-color: rgb(252, 251, 248);
}

button.in-wishlist {
  background-color: grey;
}
button.in-wishlist:hover {
  background-color: darkgrey; /* A subtle hover effect */
}

#faq-p {
  text-align: left;
}

#sign-out-btn {
  max-width: 150px;
  margin-bottom: 10px;
}
#delete-account-btn {
  max-width: 150px;
}
