.bbc-navbar {
  background-color: #000000;
  color: #ffffff;
  font-size: 1.5em;
  padding: 0.5em;
  height: 50px;
  font-family: Arial, Helvetica, sans-serif;
}

body {
  margin: 0;
  padding: 0;
  font-family: Arial, Helvetica, sans-serif;
}

#search-container {
  position: relative;
}

#search-input {
  width: 200px;
  padding: 10px;
  border-radius: 0px 10px 10px 0px;
}

#magnifying-glass {
  border-radius: 10px 0px 0px 10px;

  /* Center the icon vertically */
  display: flex;
  align-items: center;
}

#search-results {
  display: block;
  opacity: 0;
  position: absolute;
  top: 50px;
  width: 100%;
  max-height: 200px;
  overflow-y: auto;
  border: 1px solid #ccc;
  border-radius: 4px;
  z-index: 99;
  /* Ensure the dropdown floats on top */
}

#search-results div {
  margin: 5px 0px;
  cursor: pointer;
}

#search-results div:hover {
  background: white;
}

#search-results div:focus {
  background: white;
}

.search-res {
  display: block;
  padding: 0 40px 0 40px;
  cursor: pointer;
}

.search-res:focus {
  display: block;
  padding: 0 40px 0 40px;
  cursor: pointer;
  background-color: lightgray;
}

.result-type {
  color: black;
  opacity: 50%;
  float: right;
}

img {
  width: 100%;
  height: auto;
}

.no-wrap {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.cover-thumbnail {
  width: 100px;
  height: 150px;
  float: left;
  margin-right: 10px;
}

.small-img {
  width: 50px;
  height: 50px;
  float: left;
  margin-right: 10px;
}

.youtube-thumbnail {
  max-height: 100px;
  float: left;
  margin-right: 10px;
}

.rating__value {
  display: flex;
  align-items: center;
}

.star {
  cursor: pointer;
  color: grey; /* Default color for stars */
  font-size: 24px;
}

.star.rated {
  color: darkorange; /* Color for selected stars */
}

.star:hover,
.star:hover ~ .star {
  color: orange; /* Color when hovering over stars */
}

.btn-clear {
  margin-left: 10px;
  padding: 5px 10px;
  border: none;
  background-color: #007bff;
  color: white;
  border-radius: 5px;
  cursor: pointer;
}

.btn-clear:hover {
  background-color: #0056b3;
}

.btn-rate {
  margin-left: 0px;
  padding: 0px;
  border: none;
  background-color: white;
  cursor: pointer;
}

#favorite-help {
  opacity: 0;
  transition: opacity 0.5s;
}
#favorite-help:hover {
  opacity: 1;
  transition: opacity 0.5s;
}
.yellow-star {
  color: #ffc107;
}