/*============================================================================================*/
/* Your custom styles below */
/*============================================================================================*/

/* Loading Results Styles */
#loading-results {
  min-height: 300px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

#loading-results #loader_form {
  position: relative !important;
  background: transparent !important;
  z-index: auto !important;
  width: auto !important;
  height: auto !important;
}

#loading-results [data-loader="circle-side-2"] {
  border: 3px solid #f3f3f3;
  border-top: 3px solid #434bdf;
  border-radius: 50%;
  width: 50px;
  height: 50px;
  animation: spin 1s linear infinite;
}

@keyframes spin {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}

/* Smooth transitions */
#loading-results,
.submit {
  transition: opacity 0.3s ease-in-out;
}

/* Loading text animation */
@keyframes dots {
  0%,
  20% {
    color: rgba(67, 75, 223, 1);
    text-shadow: 0.25em 0 0 rgba(67, 75, 223, 0), 0.5em 0 0 rgba(67, 75, 223, 0);
  }
  40% {
    color: rgba(67, 75, 223, 0.4);
    text-shadow: 0.25em 0 0 rgba(67, 75, 223, 1), 0.5em 0 0 rgba(67, 75, 223, 0);
  }
  60% {
    text-shadow: 0.25em 0 0 rgba(67, 75, 223, 0.4),
      0.5em 0 0 rgba(67, 75, 223, 1);
  }
  80%,
  100% {
    text-shadow: 0.25em 0 0 rgba(67, 75, 223, 0),
      0.5em 0 0 rgba(67, 75, 223, 0.4);
  }
}

#loading-results h3::after {
  content: " .";
  animation: dots 1.5s infinite;
  color: #434bdf;
}

.error-message {
  color: #ee5050;
  font-size: 14px;
  margin-top: 5px;
  display: block;
  font-weight: 500;
}

.quiz-mode .content-left {
  display: none !important;
}

.quiz-mode .content-right {
  width: 100% !important;
  max-width: 100% !important;
  flex: 0 0 100% !important;
  padding: 40px 60px;
  justify-content: center;
  align-items: center;
  min-height: 100vh;
}

@media (max-width: 991px) {
  .quiz-mode .content-right {
    padding: 30px 20px;
  }
}

@media (max-width: 767px) {
  .quiz-mode .content-right {
    padding: 20px 15px;
  }
}

.content-left,
.content-right {
  transition: all 0.3s ease-in-out;
}
