.sparePartsProductDiv {
  background: #fff;
  padding: 12px;
  margin-bottom: 15px;
}

/* HTML: <div class="loading-indicator"><div class="loader"></div></div> */
.loading-indicator {
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 20px;

}

.loaderbtn {
  position: relative;
}

.btnLoader {
  position: absolute;
  top: calc(50% - 8px);
  left: 10%;
  height: 16px;
  width: 16px;
  border-radius: 50%;
  border: 4px solid currentColor;
  animation:
    l20-1 0.8s infinite linear alternate,
    l20-2 1.6s infinite linear;
}

.loader {
  width: 50px;
  aspect-ratio: 1;
  border-radius: 50%;
  border: 8px solid var(--primary-color);
  animation:
    l20-1 0.8s infinite linear alternate,
    l20-2 1.6s infinite linear;
}

@keyframes l20-1 {
  0% {
    clip-path: polygon(50% 50%, 0 0, 50% 0%, 50% 0%, 50% 0%, 50% 0%, 50% 0%)
  }

  12.5% {
    clip-path: polygon(50% 50%, 0 0, 50% 0%, 100% 0%, 100% 0%, 100% 0%, 100% 0%)
  }

  25% {
    clip-path: polygon(50% 50%, 0 0, 50% 0%, 100% 0%, 100% 100%, 100% 100%, 100% 100%)
  }

  50% {
    clip-path: polygon(50% 50%, 0 0, 50% 0%, 100% 0%, 100% 100%, 50% 100%, 0% 100%)
  }

  62.5% {
    clip-path: polygon(50% 50%, 100% 0, 100% 0%, 100% 0%, 100% 100%, 50% 100%, 0% 100%)
  }

  75% {
    clip-path: polygon(50% 50%, 100% 100%, 100% 100%, 100% 100%, 100% 100%, 50% 100%, 0% 100%)
  }

  100% {
    clip-path: polygon(50% 50%, 50% 100%, 50% 100%, 50% 100%, 50% 100%, 50% 100%, 0% 100%)
  }
}

@keyframes l20-2 {
  0% {
    transform: scaleY(1) rotate(0deg)
  }

  49.99% {
    transform: scaleY(1) rotate(135deg)
  }

  50% {
    transform: scaleY(-1) rotate(0deg)
  }

  100% {
    transform: scaleY(-1) rotate(-135deg)
  }
}

#sparepartApplianceSearchContainer,
#sparepartArticleSearchContainer {
  align-items: center;
}

#sparepartApplianceSearchError,
#sparepartArticleSearchError {
  border: 0px;
  height: 25px;
  background-color: rgba(255, 0, 0, 0.5);
  font-size: 11px;
  color: white;
  font-weight: bold;
  text-align: center;
  padding: 4px 6px;
  line-height: 16px;
  -webkit-border-radius: 6px;
  -moz-border-radius: 6px;
  border-radius: 6px;
  -webkit-box-shadow: 0px 6px 0px 0px rgba(255, 0, 0, 0.3);
  -moz-box-shadow: 0px 0px 6px 0px rgba(255, 0, 0, 0.3);
  box-shadow: 0px 0px 4px 1px rgba(255, 0, 0, 0.3);
  display: none;
}

#sparespartCatalogContent ul:not(:last-of-type) {
  border-bottom: 1px solid #ccc;
  margin-bottom: 5px;
  padding: 10px;
}


.sparepartsSuggestions {
  box-shadow: var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow);
  z-index: 500;
  display: flex;
  width: 100%;
  position: absolute;
  top: 55px;
  flex-direction: column;
  background: #ffffff;
  color: #000;
  border: 1px solid #000;
}

.sparepartsSuggestions .suggestion-item {
  padding: 7px;
}

.sparepartsSuggestions .suggestion-item:hover {
  cursor: pointer;
  background: #f0f0f0; 
  color: #000;
  font-weight: bold;
}