.mainContainer {
  display: flex;
  overflow: hidden;
  padding-top: 50px;
  padding-bottom: 66px;
  /*height: 100vh;*/
   height: 100%;
  position: relative;
}
.categoriesSection {
  display: flex;
  flex-direction: column;
  align-items: center;
  max-width: 520px;
  width: 100%;
  padding-inline: 20px;
  box-sizing: border-box;
  overflow-y: scroll;
  overflow-x: hidden;
  scrollbar-width: none;
  -ms-overflow-style: none;
 }
.slider-container {
  display: flex;
  align-items: center;
  width: -webkit-fill-available;
  margin-inline-start: -20px;
  margin-inline-end: -23px;
}

.category-slider {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  white-space: nowrap;
  border-bottom: 1px solid #fff;
  padding: 10px 0;
  flex-grow: 1;
  scrollbar-width: none;
}
.category-item {
  display: inline-block;
  padding-inline: 32px;
  padding-block: 8px;
  border: 2px solid #4b5563;
  border-radius: 20px;
  background-color: var(--bg-primary);
  color: white;
  cursor: pointer;
  transition: background-color 0.3s;
  font-size: 0.75rem; /* 12px */
  line-height: 1rem; /* 16px */
}

.category-item:hover {
  background-color: var(--bg-secondary);
}

.nav-btn {
  background-color: transparent;
  color: white;
  border: none;
  padding: 10px;
  cursor: pointer;
  font-size: 24px;
  transition: background-color 0.3s;
  box-shadow: rgb(17, 24, 39) 5px 0px 10px 2px;
}

.quizzesContainer {
  display: flex;
  flex-direction: column;
  gap: 24px;
  width: 100%;
  padding-bottom: 24px;
  margin-top: 24px;
}

.outerContainer {
  display: flex;
  flex-direction: column;
  gap: 8px;
  width: 100%;
  border: 1px solid #4b5563;
  border-radius: 9999px;
  padding-block: 8px;
  cursor: pointer;
  background-color: #1f2937;
  box-sizing: border-box;
}
.innerContainer {
  display: flex;
  gap: 20px;
  align-items: center;
  justify-content: space-between;
  padding-inline: 8px;
}

.innerContainer img {
  width: 60px;
  height: 60px;
  object-fit: cover;
  border-radius: 9999px;
}
.quizDetails {
  display: flex;
  flex-direction: column;
  width: 100%;
  justify-content: flex-start;
}
.quizTitleContainer {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
}
.quizTitleContainer p {
  font-size: 10px;
  font-weight: 800;
  color: #20c3ff;
}
.quizPriceContainer,
.priceContainer {
  display: flex;
  justify-content: flex-end;
}
.quizPriceContainer p {
  font-size: 12px;
  font-weight: 700;
}
.quizPriceContainer img {
  width: 20px;
  height: 18px;
  object-fit: contain;
  flex-shrink: 0;
}
.priceContainer p {
  font-size: 10px;
}
.priceContainer img {
  width: 14px;
  height: 15px;
  object-fit: contain;
  flex-shrink: 0;
}

.toast {
  position: fixed;
  top: 25px;
  right: 20px;
  border-radius: 4px;
  background: #fff;
  padding: 20px 77px 20px 15px;
  box-shadow: 0 6px 20px -5px rgba(0, 0, 0, 0.1);
  overflow: hidden;
  transform: translateX(calc(100% + 30px));
  transition: all 0.5s cubic-bezier(0.68, -0.55, 0.265, 1.35);
  background-color: #121212;
  box-sizing: border-box;
  min-width: 312px;
  z-index: 99;
}

.toast.activeToast {
  transform: translateX(0%);
}

.toast .toast-content {
  display: flex;
  align-items: center;
}

.toast-content {
  display: flex;
  gap: 16px;
}

.toast-content .check {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 35px;
  min-width: 35px;
  background-color: #2770ff;
  color: #fff;
  font-size: 20px;
  border-radius: 50%;
}

.toast-content .message {
  display: flex;
  flex-direction: column;
}

.message .text {
  font-size: 1rem;
  line-height: 1.5rem;
  color: white;
}

.message .text.text-1 {
  font-weight: 600;
  color: #333;
}

.toast .close {
  position: absolute;
  top: 10px;
  right: 15px;
  padding: 5px;
  cursor: pointer;
  opacity: 0.7;
}

.toast .close:hover {
  opacity: 1;
}

.toast .progress {
  position: absolute;
  bottom: 0;
  left: 0;
  height: 3px;
  width: 100%;
}

.toast .progress:before {
  content: "";
  position: absolute;
  bottom: 0;
  right: 0;
  height: 100%;
  width: 100%;
  background-color: #e74c3c;
}

.toast.success .progress:before {
  background-color: #07bc0c; /* Success green color */
}
.toast.error.progress:before {
  background-color: #e74c3c; /* Success green color */
}

.progress.activeToast:before {
  animation: progress 5s linear forwards;
}

@keyframes progress {
  100% {
    right: 100%;
  }
}

@media (max-width: 450px) {
  .toast {
    top: 0px;
    right: 0px;
    padding: 20px 44px 20px 15px;
  }
}
