.active-filter-button {
  padding: 8px 14px;
  border-radius: 6px;
  opacity: 0px;
  box-shadow: 0px 1px 2px 0px #6951ff0d;
  background: var(--primary-red);
  border: 1px solid var(--primary-red);
  width: fit-content;
  color: var(--primary-white);
  text-decoration: none;
  transition: all 0.3s ease;
}
.inactive-filter-button {
  padding: 8px 14px;
  border-radius: 6px;
  opacity: 0px;
  box-shadow: 0px 1px 2px 0px #6951ff0d;
  background: var(--primary-white);
  border: 1px solid var(--primary-red);
  width: fit-content;
  color: var(--primary-red);
  text-decoration: none;
  transition: all 0.3s ease;
}
.filter-btn {
  cursor: pointer;
}
.filter-buttons {
  display: flex;
  gap: 15px;
  padding: 20px 0;
  flex-wrap: wrap;
}
.biz-registar-item {
  border: 1px solid var(--primary-red);
  padding: 15px;
  border-radius: 10px;
  position: relative;
}
.biz-registar-item-img {
  width: 100%;
  aspect-ratio: 1 / 0.66;
  border-radius: 10px;
  background-color: #f0f0f0;
}
.biz-register-item-title-wrap {
  position: absolute;
  bottom: 19px;
  left: 15px;
  right: 15px;
  top: 15px;
  /* Background gradient: Strongest at the bottom, fading up */
  background: linear-gradient(
    to top,
    rgba(0, 0, 0, 0.9) 0%,
    rgba(0, 0, 0, 0) 60%
  );
  border-radius: 15px;
  display: flex;
  justify-content: center;
  align-items: end;
}

.biz-registar-item-title {
  color: white; /* Ensure readability */
  padding-bottom: 20px;
}

.biz-registar-members-title {
  font-size: 32px;
  font-weight: 500;
  color: var(--primary-dark);
  padding-top: 40px;
}
.spinner {
  width: 40px;
  height: 40px;
  border: 4px solid rgba(0, 0, 0, 0.2);
  border-top: 4px solid #333;
  border-radius: 50%;
  animation: spin 1s linear infinite; /* Keep the animation */

  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

/* Spinner Animation */
@keyframes spin {
  0% {
    transform: translate(-50%, -50%) rotate(0deg);
  }
  100% {
    transform: translate(-50%, -50%) rotate(360deg);
  }
}

#biz-registar-posts {
  min-height: 100px;
  position: relative;
}

.background-banner-wrapper {
  position: absolute;
  right: 0%;
  z-index: -1;
  display: none;
  justify-content: end;
}
.background-banner {
  width: 90%;
}
.background-filter-banner-linear-x {
  height: 100%;
  width: 100%;
  position: absolute;
  top: 0;
  left: 0;
  background-image: linear-gradient(
    to bottom,
    rgba(255, 255, 255, 1) 13%,
    rgba(255, 255, 255, 0.4) 13%,
    rgba(255, 255, 255, 0.4) 87%,
    rgba(255, 255, 255, 1) 87%
  );
}
.background-filter-banner-linear-y {
  height: 100%;
  width: 100%;
  position: absolute;
  top: 0;
  left: 0;
  background-image: linear-gradient(
    to left,
    rgba(255, 255, 255, 0) 40%,
    rgba(255, 255, 255, 1) 100%
  );
}
.main-content-biz {
  width: 100%;
}
@media (min-width: 1200px) {
  .background-banner-wrapper {
    display: flex;
  }
  .main-content-biz {
    width: 65%;
  }
}
@media (min-width: 1400px) {
  .background-banner-wrapper {
    right: 0%;
  }
  .background-banner {
    width: 100%;
  }
  .background-filter-banner-linear-y {
    background-image: linear-gradient(
      to left,
      rgba(255, 255, 255, 0) 40%,
      rgba(255, 255, 255, 1) 100%
    );
  }
}
