.sidebar {
  width: 20vw;
  background-color: #000000ba;
  /* backdrop-filter: blur(1vw); */
  color: white;
  padding: 1vw;
  padding-top: 1.5vw;
  position: fixed;
  top: 0.3vw;
  left: 0vw;
  margin-top: 4vw;
  height: 97%;
  padding-bottom: 30vw;
  overflow: hidden;
  z-index: 1;
}

.sidebar-separator {
  width: 0.1vw;
  background-color: rgb(13, 13, 13);
  height: 100%;
  position: fixed;
  left: 20vw;
  top: 0;
  z-index: 92;
}

@media (max-width: 768px) {
  .sidebar {
    display: none;
  }
  .sidebar-separator {
    display: none;
  }
  .sidebar-profile-banner {
    display: none;
  }
}

.sidebar-user-info {
  display: flex;
  align-items: center;
  padding-bottom: 1vw;
  margin-bottom: 0.65vw;
  z-index: 1;
}

.sidebar-profile-pic-container {
  width: 5vw;
  height: 5vw;
  border-radius: 0.25vw;
  overflow: hidden;
  margin-right: 1vw;
  box-shadow: 0vw 0vw 0.5vw 0vw rgba(0, 0, 0, 0.55);
  margin-left: 0.5vw;
}

.sidebar-profile-pic-frame-container {
  position: absolute;
  width: 6vw;
  height: 6vw;
  transform: translateY(-0.5vw)
}

.sidebar-profile-pic {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transition: transform 0.35s;
}

.sidebar-profile-banner {
  width: 18vw;
  height: 5.8vw;
  border-radius: 0.5vw;
  filter: brightness(0.5);
  object-fit: cover;
  object-position: center;
  transition: transform 0.35s;
  position: fixed;
  z-index: -1;
  margin-left: 0vw;
  margin-top: -0.4vw;
}


.sidebar-user-details {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start; /* ZarovnÃ¡vanie doÄ¾ava */
}

.sidebar-user-name {
  font-size: 1.25vw;
  font-weight: bold;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: calc(14ch);
  text-decoration: none;
  color: rgb(255, 255, 255);
  margin-top: 0.5vw;
}

.sidebar-user-balance {
  font-size: 1vw;
  font-weight: 700;
  color: rgb(255, 255, 255);
  background-color: rgba(10, 10, 10, 0.65);
  padding: 0.35vw 0.5vw;
  border-radius: 0.5vw;
  margin-top: 0.15vw;
  display: flex;
  align-items: center;
}

.sidebar-user-coins-icon {
  color: rgb(255, 217, 0);
  font-size: 1vw;
  transform: translateY(-0.075vw);
}

.sidebar-user-cards-icon {
  color: rgb(182, 229, 239);
  font-size: 1.1vw;
  transform: translateY(-0.075vw);
}

.sidebar-user-garage-icon {
  color: rgb(182, 239, 196);
  font-size: 1.1vw;
  transform: translateY(-0.075vw);
}

.sidebar-user-coins-right {
  margin-left: 0.55vw;
}





















/* PROFILE SEARCH */
.profile-search-container {
  width: 18vw;
  margin-left: 0vw;
  margin-top: 5.5vw;
  height: 3.5vw;
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 5;
  position: fixed;
  border-bottom: 0.1vw solid rgba(50, 50, 50, 0.481);
}

.profile-search-bar input {
  height: 2.5vw;
  width: 18vw;
  padding: 0 1vw;
  font-size: 1vw;
  border: 0.15vw solid rgb(45 45 45 / 9%);
  border-radius: 0.65vw;
  background-color: rgb(79 79 79 / 20%);
  color: #ffffff;
  box-shadow: 0vw 0.3vw 0.6vw rgba(0, 0, 0, 0.2);
  outline: none;
  transition: background-color 0.25s ease;
  padding-left: 2.5vw;
}

.profile-search-bar input:hover {
  background-color: rgb(79 79 79 / 28%);
}

.profile-search-bar input:focus {
  background-color: rgb(79 79 79 / 28%);
}

.profile-search-bar-icon {
  position: absolute;
  left: 0.75vw;
  top: 50%;
  transform: translateY(-50%);
  color: #888;
  pointer-events: none;
  font-size: 1.25vw;
}






/* SEARCH RESULTS */


#searchDropdown {
    opacity: 0;
    transform: translateY(0vw);
    pointer-events: none;
    transition: opacity 0.35s ease, transform 0.35s ease;
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    max-height: calc(91vh - 9vw - 100%);
    overflow-y: auto;
    background: #1111118c;
    backdrop-filter: blur(0.25vw);
    z-index: 9999;
    border-radius: 1vw;
    border: 0.15vw solid #0d0d0d
}


#searchDropdown.show {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0.5vw);
}

.result-remove-icon:before {
  color: #ffffff4a;
  font-size: 1.5vw;
  padding-right: 1vw;
  transition: color 0.25s ease;
}

.result-remove-icon:hover:before {
  color: #ff00004a;
}


.search-result-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1vw 0.5vw;
    cursor: pointer;
    transition: background 0.25s ease;
}

.search-result-item:hover {
    background: #0d0d0d;
}

.search-result-item img.profile-pic {
    width: 4vw;
    height: 4vw;
    border-radius: 50%;
    object-fit: cover;
    margin-right: 0.75vw;
    transform: translateY(-0.15vw);
}

.search-result-item span {
    color: white;
    font-size: 1.1vw;
    font-weight: 300;
    transform: translateY(0.15vw);
}

.search-result-noresults {
    padding: 0.7vw;
    color: white;
    font-size: 1vw;
    text-align: center;
}









































ul {
  display: flex;
  flex-direction: column;
  list-style: none;
  padding: 0;
  margin: 0;
}

.top-list {
  flex-grow: 1;
  margin-top: 3.35vw;
}

.separator {
  height: 10vw;
  width: 100%;

}

.bottom-list {
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  height: 100%;
  margin-top: 6vw;
  padding-top: 5vw;
}

.sidebar-icon {
  font-size: 1.35vw;
  text-align: center;
  margin: 0 auto;
  width: 2vw;
  height: 2.3vw;
  display: flex;
  align-items: center;
  justify-content: center;
}

.sidebar-link {
  text-decoration: none;
  color: white;
  transition: color 0.15s ease;
  font-size: 1vw;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  width: 100%;
  box-sizing: border-box;
  background: rgba(152, 152, 152, 0);
  height: 2.3vw;
  border-radius: 0.5vw;
  transition: background-color 0.15s ease, color 0.15s ease;
  padding-left: 0.65vw;
}

.sidebar-link:hover {
  background-color: rgba(152, 152, 152, 0.1);
}

.sidebar-link:active {
  background-color: rgba(103, 103, 103, 0.1);
  color: rgb(163, 163, 163);
}

.sidebar-link.active {
  background-color: rgba(152, 152, 152, 0.1);
}


.sidebar-link .icon-wrapper {
  display: flex;
  align-items: center;
  text-align: center;
}

.sidebar-link span {
  text-align: left;
  margin-left: -10vw;
  width: 100%;
  padding-left: 5vw;
}

.sidebar-link-active {
  text-decoration: none;
  color: rgb(163, 163, 163);
}

ul li {
  margin: 0.1vw 0.5vw;
}

.sidebar-link-separator {
  background-color: #efefef;
  margin: 0.35vw 0;
}


.icon-wrapper {
  display: flex;
  align-items: center;
  text-align: center;
  transition: transform 0.15s ease, color 0.15s ease;
}

.sidebar-link:hover .sidebar-icon {
  transform: scale(1.1);
}

.sidebar-link:active .sidebar-icon {
  transform: scale(0.9);
  color: rgb(163, 163, 163);
}

.sidebar-icon {
  font-size: 1.35vw;
  text-align: center;
  margin: 0 auto;
  width: 2vw;
  height: 2.3vw;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.15s ease, color 0.15s ease;
}
