

/* Bookmark icon */
#bookmark-icon-container {
  position: relative;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background-color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.3s, background-color 0.3s;
}

#bookmark-icon-container:hover {
  cursor: pointer;
  transform: scale(1.1); /* Zoom in effect */
  background-color: #eeeee6;
}

#bookmark-icon-container #bookmark-icon {
  cursor: pointer;
  /* top: -2px;
  right: 3px; */
  font-size: 2em;
  position: absolute;
  padding: 5px;
  border-radius: 50%;
}

#bookmark-icon-container #total-bookmark {
  cursor: pointer;
  font-weight: bold;
  font-size: smaller;
  color: #000000;
  position: absolute;
  /* top: 7px;
  right: 11px; */
  z-index: 1000;
  transition: transform 0.3s, background-color 0.3s;
  /* background-color: #fff; */
  padding: 2px;
  border-radius: 50%;
}

/* Bookmark container styles */
#bookmark-container {
  display: none;
  position: fixed;
  top: 15px;
  right: 15px;
  width: 300px;
  padding: 20px;
  margin: 40px 20px 0 0;
  border-radius: 10px;
  background-color: #999;
  /* opacity: 0.9;  */
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  /* overflow-y: auto;  */
  /* height: 550px; */
  z-index: 1000;
  border-top: 1.5px solid #eee;
  border-bottom: 1.5px solid #eee;
  padding-top: 10px;
}

#bookmark-items {
  overflow-y: auto;
  height: 500px;
}

#bookmark-container h2 {
  margin-bottom: 10px;
  text-align: center;
  margin-top: 0;
  font-weight: bold;
}

/* Bookmark items styling ----------------*/
.bookmark-item {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  align-items: center;
  justify-content: center;
  text-align: center;
  margin-top: 15px;
  padding: 10px;
  border: 1px solid #000;
  border-radius: 8px;
  max-width: 100%;
  height: 70px;
  cursor: pointer;
}

.bookmark-item img {
  grid-column: 1;
  height: 70px;
  width: auto;
}

.bookmark-item .title {
  grid-column: 2;
  justify-content: center;
  text-align: center;
  /* font-size: 15px; */
  margin: 0;
  white-space: normal; /* Allow text to wrap */
}

.bookmark-item .delete-item {
  grid-column: 3;
  position: absolute;
  background: none;
  width: 35px;
  right: 20px;
  color: #000;
  cursor: pointer;
  font-size: 20px;
}

/* .bookmark-item p {
    margin-bottom: 0;
    color: #000;
    align-self: center;
  } */

#bookmark-container .deleteall {
  cursor: pointer;
  bottom: 5px;
  left: 50%;
  transform: translate(-50%);
  background-color: rgb(255, 255, 255, 0.3);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  margin-top: 15px;
  padding: 7px;
  color: #000;
  z-index: 1; /* Ensure text is above the pseudo-element */
  font-weight: bold;
  border-radius: 20px;
  width: 250px;
  position: relative;
  justify-content: center;
  text-align: center;
  align-items: center;
}

#bookmark-container .deleteall:hover {
  background-color: rgb(255, 255, 255, 0.7);
}

/* Bookmark css for smaller screen */
@media (max-width: 768px) {
  #bookmark-container {
    top: 10px;
    right: 40px;
    width: 270px;
  }
}
