#Library_Search {
  display: flex;
  flex-direction: row;
  position: fixed;
  padding: min(5px, 0.55dvh) min(15px, 1.65dvh);
  width: 20vw;
  top: calc(var(--bot-of-radios) + min(20px, 0.20dvh));
  right: calc(50vw + 20px);
  border-radius: 25px;
  justify-content: start;
  align-items: start;
  z-index: 11;
  background-color: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(5px);
  flex-wrap: wrap;
  gap: 3px 10px;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.05);
}

.Library_Search_icon {
  display: block;
  position: relative;
  background-color: transparent;
  background-image: url('/icon/small/pl_icons/search.svg');
  background-size: min(20px, 2.2dvh) min(20px, 2.2dvh);
  background-repeat: no-repeat;
  background-position: 70% 50%;
  width: 20px;
  height: min(40px, 4.45dvh);
  z-index: 13;
}

#librarySearchInput {
  display: flex;
  position: relative;
  width: 13dvw;
  margin: 0;
  background-color: transparent;
  z-index: 12;
  border: 1px solid transparent;
  outline: none;
  box-shadow: none;
  -webkit-appearance: none;
  appearance: none;
  padding: min(8px, 0.90dvh);
}

#librarySearchInput:focus,
#librarySearchInput:focus-visible,
#librarySearchInput:active {
  outline: none;
  box-shadow: none;
  border-color: transparent;
}

#the_x {
  display: none;
  position: absolute;
  top: 15px;
  right: 20px;
  width: 20px;
  height: 20px;
  background-color: transparent;
  background-image: url('/icon/small/pl_icons/close_icon.svg');
  background-size: 15px 15px;
  background-repeat: no-repeat;
  background-position: center;
  z-index: 17;
  cursor: pointer;
}

.Library_Search_results {
  position: relative;
  width: 340px;
  max-height: 300px;
  display: none;
  padding: 10px;
  font-size: 14px;
  border-radius: 10px;
  flex-direction: column;
  gap: 5px;
  overflow-y: auto;
  scrollbar-width: thin;
  scrollbar-color: #99999960 transparent;
}

#librarySearchInput:focus ~ .Library_Search_results {
  display: flex;
}

#librarySearchInput:focus ~ #the_x {
  display: flex;
}

#s_mob_only {
  display: none;
}

.Library_Search_results::-webkit-scrollbar {
  width: 4px;
  height: 0;
}

.Library_Search_results::-webkit-scrollbar-track {
  background: transparent;
}

.Library_Search_results::-webkit-scrollbar-thumb {
  background-color: #99999960;
  border-radius: 2px;
}

.search-result {
  display: flex;
  flex-direction: row;
  height: 30px;
  justify-content: space-between;
  align-items: center;
  color: black;
  gap: 10px;
  cursor: pointer;
}

.search-result span {
  color: black;
}

.the_title {
  display: flex;
  flex-direction: row;
  width: 100%;
  height: 30px;
  justify-content: space-between;
  align-items: center;
  color: black;
  font-size: 16px;
}

span.station-name {
  font-size: 14px;
  white-space: nowrap;
}

@media (max-width: 940px) {
  #s_mob_only {
    display: flex;
    position: absolute;
    top: 10px;
    right: 10px;
    width: 20px;
    height: 20px;
    z-index: 15;
    background-color: transparent;
    background-image: url('/icon/small/pl_icons/search.svg');
    background-size: 20px 20px;
    background-repeat: no-repeat;
    background-position: center;
  }

  #Library_Search {
    top: 50px;
    left: 10px;
    z-index: 125;
    background-color: transparent;
    max-height: 220px;
    display: none;
    width: calc(100% - 20px);
  }

  #librarySearchInput {
    background-color: transparent;
    width: calc(100% - 60px);
  }

  .Library_Search_results {
    max-height: 160px;
  }
}
