.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, border-radius 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-bar-results {
  position: absolute;
  background-color: rgba(18, 18, 18, 0.9);
  color: white;
  max-height: 35vw;
  width: 30vw;
  overflow-y: auto;
  z-index: 1000;
  opacity: 0;
  visibility: hidden;
  border-radius: 0vw 0vw 1vw 1vw;
  transition: opacity 0.25s ease, visibility 0.25s ease, margin-top 0.25s ease;
}

.search-noresult {
  position: fixed;
  right: 0;
  width: 80vw;
  z-index: 1;
  top: 10vw;
}

.search-noresult p {
  position: relative;


  background-color: rgba(255, 0, 0, 0.25);
  border: 0.15vw solid rgba(255, 0, 0, 0.85);
  color: white;
  padding: 0.5vw;
  text-align: center;
  width: 30vw;
  border-radius: 0.75vw;
  font-size: 1.15vw;
  left: 50%;
  transform: translate(-50%, -50%);
}


.search-bar-results.show {
  opacity: 1;
  visibility: visible;
}

.search-bar-result {
  display: flex;
  align-items: center;
  color: white;
  justify-content: flex-start;
  text-align: left;
}

.search-bar-result p {
  margin: 0;
  font-size: 1.25vw;
  color: #ffffff;
  padding: 1vw;
  font-weight: 500;
  text-align: center;
  width: 100%;
}

.search-bar-result-link {
  text-decoration: none;
  color: white;
  display: flex;
  align-items: center;
  font-size: 0.75vw;
  width: 100%;
  padding: 1vw;
  transition: background-color 0.075s ease;
}

.search-bar-result-link:hover {
  background-color: rgba(172, 172, 172, 0.15);
}

.search-bar-result-pic {
  width: 4vw;
  height: 4vw;
  border-radius: 50%; /* Aby sa fotky zobrazovali ako kruhy */
  margin-right: 1vw; /* Medzera medzi fotkou a menom */
  object-fit: cover;
  background-position: center;
}

.search-bar-result-username {
  font-weight: bold;
}

.delete-user {
  margin-left: auto;
  cursor: pointer;
  font-size: 1.5vw;
  color: rgba(69, 69, 69, 0);
  transition: color 0.25s ease;
  padding-right: 1vw;
}


.search-bar-result:hover .delete-user {
  color: rgb(100, 100, 100);
}







/* FILTERS */

/* ----------------------------------------
   Sidebar Container
---------------------------------------- */
.sidebar-filters-container {
  width: 100%;
  height: 60vw;
  margin-top: 3vw;
  display: flex;
  flex-direction: column;
  overflow-y: auto;
  padding-bottom: 35vw;
}

/* ----------------------------------------
   Price Filter Section
---------------------------------------- */
.sidebar-filters-price {
  padding: 2vw 2vw 0vw 2vw;
}

.sidebar-filters-label {
  font-size: 1.2vw;
  margin-bottom: 1vw;
  display: block;
  text-align: center;
  
}

.sidebar-filters-double-slider {
  position: relative;
  width: 16vw;
  margin-left: -1.25vw;
  height: 3vw;
  margin-bottom: 2vw;
}

.sidebar-filters-slider-track {
  position: absolute;
  top: -2.5vw;
  left: 0;
  right: 0;
  height: 0.5vw;
  background: #ccc;
  border-radius: 1vw;
  z-index: 1;
}

.sidebar-filters-range-slider {
  -webkit-appearance: none;
  position: absolute;
  width: 100%;
  height: 2.5vw;
  background: none;
  pointer-events: none;
  z-index: 3;
  margin-top: -3.5vw;
}

.sidebar-filters-range-slider::-webkit-slider-thumb {
  -webkit-appearance: none;
  pointer-events: auto;
  height: 2vw;
  width: 0.5vw;
  border-radius: 1vw;
  background: #3a3a3a;
  border: none;
  cursor: pointer;
  position: relative;
  z-index: 3;
}

.sidebar-filters-range-slider::-moz-range-thumb {
  pointer-events: auto;
  height: 2vw;
  width: 2vw;
  border-radius: 50%;
  background: #002b5c;
  border: none;
  cursor: pointer;
  position: relative;
  z-index: 3;
}

.sidebar-filters-active-track {
  position: absolute;
  top: -2.5vw;
  height: 0.5vw;
  background: #656c6e;
  border-radius: 1vw;
  z-index: 2;
}

.sidebar-filters-inputs {
  margin-top: 4vw;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1vw;
}

.sidebar-filters-input {
  width: 40%;
  font-size: 1vw;
  padding: 0.5vw;
  border: 0.1vw solid #373737;
  background-color: #2f2f2f70;
  color: white;
  text-align: center;
  border-radius: 0.75vw;
  -moz-appearance: textfield;
}

.sidebar-filters-inputs span {
  font-size: 1.5vw;
  color: #545454;
}

.sidebar-filters-input::-webkit-outer-spin-button,
.sidebar-filters-input::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}


/* ----------------------------------------
   Collapsible Filters
---------------------------------------- */
.sidebar-filters-group {
  border-top: 0.1vw solid #cccccc2e;
  padding: 0.85vw 1vw;
}

.sidebar-filters-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.95vw;
  cursor: pointer;
  user-select: none;
}

.sidebar-filters-arrow {
  transition: transform 0.3s ease;
}

.sidebar-filters-header.open .sidebar-filters-arrow {
  transform: rotate(180deg);
}

.sidebar-filters-options {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
  display: flex;
  flex-direction: column;
  gap: 0vw;
  padding-left: 1vw;
}

.sidebar-filters-options label {
  font-size: 1vw;
}

/* CHECKBOX */

  .checkbox-wrapper-33 {
    --s-xsmall: 0.625em;
    --s-small: 1em;
    --border-width: 0.1vw;
    --c-primary: #5F11E8;
    --c-primary-20-percent-opacity: rgb(95 17 232 / 20%);
    --c-primary-10-percent-opacity: rgb(95 17 232 / 10%);
    --t-base: 0.4s;
    --t-fast: 0.2s;
    --e-in: ease-in;
    --e-out: cubic-bezier(.11,.29,.18,.98);
    margin-top: 0.5vw;
  }

  .checkbox-wrapper-33 .visuallyhidden {
    border: 0;
    clip: rect(0 0 0 0);
    height: 1px;
    margin: -1px;
    overflow: hidden;
    padding: 0;
    position: absolute;
    width: 1px;
  }

  .checkbox-wrapper-33 .checkbox {
    display: flex;
    align-items: center;
    justify-content: flex-start;
  }
  .checkbox-wrapper-33 .checkbox + .checkbox {
    margin-top: var(--s-small);
  }
  .checkbox-wrapper-33 .checkbox__symbol {
    display: inline-block;
    display: flex;
    margin-right: calc(var(--s-small) * 0.7);
    border: var(--border-width) solid var(--c-primary);
    position: relative;
    border-radius: 0.1em;
    width: 1em;
    height: 1em;
    transition: box-shadow var(--t-base) var(--e-out), background-color var(--t-base);
    box-shadow: 0 0 0 0 var(--c-primary-10-percent-opacity);
  }
  .checkbox-wrapper-33 .checkbox__symbol:after {
    content: "";
    position: absolute;
    top: 0.25em;
    left: 0.3em;
    width: 0.25em;
    height: 0.25em;
    background-color: var(--c-primary-20-percent-opacity);
    opacity: 0;
    border-radius: 3em;
    transform: scale(1);
    transform-origin: 50% 50%;
  }
  .checkbox-wrapper-33 .checkbox .icon-checkbox {
    width: 1em;
    height: 1em;
    margin: auto;
    fill: none;
    stroke-width: 3;
    stroke: currentColor;
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-miterlimit: 10;
    color: var(--c-primary);
    display: inline-block;
  }
  .checkbox-wrapper-33 .checkbox .icon-checkbox path {
    transition: stroke-dashoffset var(--t-fast) var(--e-in);
    stroke-dasharray: 30px, 31px;
    stroke-dashoffset: 31px;
  }
  .checkbox-wrapper-33 .checkbox__textwrapper {
    margin: 0;
    font-size: 0.85vw;
    transform: translateY(-0.05vw);
  }
  .checkbox-wrapper-33 .checkbox__trigger:checked + .checkbox__symbol:after {
    -webkit-animation: ripple-33 1.5s var(--e-out);
            animation: ripple-33 1.5s var(--e-out);
  }
  .checkbox-wrapper-33 .checkbox__trigger:checked + .checkbox__symbol .icon-checkbox path {
    transition: stroke-dashoffset var(--t-base) var(--e-out);
    stroke-dashoffset: 0px;
  }


  @-webkit-keyframes ripple-33 {
    from {
      transform: scale(0);
      opacity: 1;
    }
    to {
      opacity: 0;
      transform: scale(20);
    }
  }

  @keyframes ripple-33 {
    from {
      transform: scale(0);
      opacity: 1;
    }
    to {
      opacity: 0;
      transform: scale(20);
    }
  }

/* ----------------------------------------
   Search Button 
---------------------------------------- */
.sidebar-filters-search {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 20vw;
  font-size: 1.2vw;
  padding: 1.2vw;
  background: #6161612b;
  backdrop-filter: blur(0.5vw);
  color: white;
  border: none;
  cursor: pointer;
  z-index: 999;
  border-radius: 0vw 1vw 0vw 0vw;
  transition: background-color 0.25s ease;
}

.sidebar-filters-search:hover {
  background-color: #4c4c4c2b;
}
