/* From Uiverse.io by TemplateVentures */
.custom_loader {
  width: 350px;
  max-width: 350px;
  height: 180px;
  border-radius: 10px;
  background: #fff;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-evenly;
  padding: 30px;
  box-shadow: 2px 2px 10px -5px lightgrey;
}
.custom_loading {
  width: 100%;
  height: 10px;
  background: lightgrey;
  border-radius: 10px;
  position: relative;
  overflow: hidden;
}
.custom_loading::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 50%;
  height: 10px;
  background: #002;
  border-radius: 10px;
  z-index: 1;
  animation: custom_loading 0.6s alternate infinite;
}
.custom_loader label {
  color: #002;
  font-size: 18px;
  animation: bit 0.6s alternate infinite;
}

@keyframes bit {
  from {
    opacity: 0.3;
  }
  to {
    opacity: 1;
  }
}

@keyframes custom_loading {
  0% {
    left: -25%;
  }
  100% {
    left: 70%;
  }
  0% {
    left: -25%;
  }
}

.error {
  color: red;
}

.courses .nav-pills .nav-item {
  position: relative;
}
.courses .nav-pills .nav-link.active {
  position: relative;
  z-index: 1;
  background-color: #fff !important;
  color: #000;
  border: none;
  transition: color 0.3s ease;
}
/* .courses .nav-pills .nav-item .nav-link.active::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    background: linear-gradient(82.75deg, rgba(42, 183, 222, 0.2) 15.17%, rgba(228, 25, 74, 0.2) 51.31%, rgba(255, 194, 27, 0.2) 87.88%);
    z-index: -1;
    filter: blur(50px);
    border-radius: 50%;
    width: 325px;
    height: 120px;
    transform: translate(-50%, -50%);
  } */
.courses .nav-pills li:has(a.active)::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  background: linear-gradient(
    82.75deg,
    rgba(42, 183, 222, 0.2) 15.17%,
    rgba(228, 25, 74, 0.2) 51.31%,
    rgba(255, 194, 27, 0.2) 87.88%
  );
  z-index: -5;
  filter: blur(50px);
  border-radius: 50%;
  width: 325px;
  height: 120px;
  transform: translate(-50%, -50%);
}
.courses .nav-pills .nav-link {
  background: transparent;
  color: #000;
  border: none;
  transition: color 0.3s ease;
}

.nice-select ul.list {
  max-height: 200px;
  overflow-y: scroll;
}

.no__result .search__loader_nex {
  display: flex;
  align-items: center;
  justify-content: center;
}

.search__loader_nex .loaderMiniContainer {
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  width: 130px;
  height: fit-content;
}

.search__loader_nex .barContainer {
  width: 100%;
  height: fit-content;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  gap: 10px;
  background-position: left;
}

.search__loader_nex .bar {
  width: 100%;
  height: 8px;
  background: linear-gradient(
    to right,
    rgb(161, 94, 255),
    rgb(217, 190, 255),
    rgb(161, 94, 255)
  );
  background-size: 200% 100%;
  border-radius: 10px;
  animation: bar ease-in-out 3s infinite alternate-reverse;
}

@keyframes bar {
  0% {
    background-position: left;
  }

  100% {
    background-position: right;
  }
}

.search__loader_nex .bar2 {
  width: 50%;
}

.search__loader_nex .svgIcon {
  position: absolute;
  left: -25px;
  margin-top: 18px;
  z-index: 2;
  width: 70%;
  animation: search ease-in-out 3s infinite alternate-reverse;
}

@keyframes search {
  0% {
    transform: translateX(0%) rotate(70deg);
  }

  100% {
    transform: translateX(100px) rotate(10deg);
  }
}

.search__loader_nex .svgIcon circle,
.search__loader_nex line {
  stroke: rgb(162, 55, 255);
}

.search__loader_nex .svgIcon circle {
  fill: rgba(98, 65, 142, 0.238);
}
