.mainContainer {
  display: flex;
  justify-content: center;
  align-items: center;
  overflow: hidden;
  padding-top: 50px;
  padding-bottom: 66px;
}

.categoriesSection {
  display: flex;
  flex-direction: column;
  align-items: center;
  max-width: 520px;
  width: 100%;
  padding-inline: 20px;
  box-sizing: border-box;
  overflow-y: auto;
  overflow-x: hidden;
  scrollbar-width: none;
  -ms-overflow-style: none;
}

/* main categories   Section */
.categoriesOuterContainer {
  display: flex;
  flex-direction: column;
  width: 100%;
  gap: 24px;
  height: auto;
}
.categoriesInnerContainer {
  display: flex;
  flex-direction: column;
  width: 100%;
  gap: 24px;
  height: auto;
  padding-top: 24px;
}
.categoriesInnerContainer p {
  font-size: 18px;
  font-weight: 700;
  text-align: center;
}
.searchContainer {
  border: 2px solid white;
  border-radius: 9999px;
  padding-inline: 16px;
  padding-block: 12px;
  display: flex;
  gap: 10px;
}
.searchContainer input {
  border: none;
  outline: none;
  background-color: transparent;
  width: 100%;
  font-size: 18px;
  color: white;
}

.quizCategoriesContainer {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
  width: 100%;
  margin-top: 24px;
  padding-bottom: 24px;
}
.category-item {
  display: flex;
  align-items: center;
  gap: 1px;
  border: 1px solid white;
  border-radius: 50px;
  padding: 8px;
  cursor: pointer;
  color: white;
  height: 45px;
}

.category-image {
  width: 46px;
  border-radius: 50%;
}
.category-name {
  flex-grow: 1;
  text-align: center;
  font-size: 0.875rem; /* Equivalent to text-sm */
}

@media (max-width: 768px) {
  .mainContainer {
    flex-direction: column;
  }
}

.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 */
}

.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;
  }
}
