/* Container */
.driver-exam-container {
  position: relative;
}
.driver-exam-container.loading:before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(255, 255, 255, 0.7);
  z-index: 10;
}
.driver-exam-container.loading:after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 40px;
  height: 40px;
  margin: -20px 0 0 -20px;
  border: 4px solid #f3f3f3;
  border-top: 4px solid #242E66;
  border-radius: 50%;
  animation: spin 1s linear infinite;
  z-index: 11;
}

@keyframes spin {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}
/* Intro Screen */
.driver-exam-intro-heading {
  margin-bottom: 2.5rem !important;
}

.driver-exam-intro-wrap {
  background-color: #FFFFFF;
  border-radius: 0.625rem;
  display: flex;
  flex-wrap: wrap;
}
.driver-exam-intro-wrap .driver-exam-intro-left,
.driver-exam-intro-wrap .driver-exam-intro-right {
  flex: 1 1 50%;
  padding: 1.25rem;
}
@media (max-width: 768px) {
  .driver-exam-intro-wrap .driver-exam-intro-left,
  .driver-exam-intro-wrap .driver-exam-intro-right {
    flex: 1 1 100%;
    padding: 1.875rem;
  }
}
.driver-exam-intro-wrap .driver-exam-intro-image {
  max-width: 100%;
  height: auto;
}
.driver-exam-intro-wrap .driver-exam-intro-right {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 2.5rem;
}
@media (max-width: 768px) {
  .driver-exam-intro-wrap .driver-exam-intro-right {
    padding-top: 0;
    gap: 1.875rem;
  }
}
.driver-exam-intro-wrap .driver-exam-intro-right .driver-exam-intro-heading {
  margin-bottom: 0 !important;
}

/* Exam Header */
.driver-exam-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.driver-exam-header .driver-exam-question-tracker h2 strong {
  font-weight: 700;
}
.driver-exam-header .driver-exam-questions-navigation {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8125rem;
}
.driver-exam-header .driver-exam-timer {
  min-width: 13.9375rem;
  display: flex;
  align-items: center;
  background-color: #59A1D9;
  color: #FFFFFF;
  border-radius: 2.3125rem;
  padding: 1.25rem 1.875rem;
  font-weight: 500;
}
@media (max-width: 768px) {
  .driver-exam-header .driver-exam-timer {
    min-width: 10.625rem;
    padding: 0.9375rem;
    font-size: 0.9375rem;
    font-style: normal;
    font-weight: 400;
  }
}
.driver-exam-header .driver-exam-timer svg {
  margin-right: 0.625rem;
}
@media (max-width: 768px) {
  .driver-exam-header .driver-exam-timer svg {
    margin-right: 0.3125rem;
  }
}
.driver-exam-header .driver-exam-timer .time {
  margin-left: 0.1875rem;
  font-weight: 700;
}

@keyframes pulse {
  0% {
    opacity: 1;
  }
  50% {
    opacity: 0.8;
  }
  100% {
    opacity: 1;
  }
}
/* Question Display */
.driver-exam-question {
  background-color: #FFFFFF;
  border-radius: 0.625rem;
  padding: 1.25rem;
  margin-bottom: 2.5rem;
}
@media (max-width: 768px) {
  .driver-exam-question {
    padding: 0.9375rem 1.25rem;
    margin-bottom: 0rem;
  }
}
.driver-exam-question .driver-exam-question-content {
  display: flex;
  flex-wrap: wrap;
}
.driver-exam-question .driver-exam-question-image,
.driver-exam-question .driver-exam-question-text {
  flex: 1 1 50%;
  padding: 1.25rem;
}
@media (max-width: 768px) {
  .driver-exam-question .driver-exam-question-image,
  .driver-exam-question .driver-exam-question-text {
    flex: 1 1 100%;
    padding: 0rem;
  }
}
@media (max-width: 768px) {
  .driver-exam-question .driver-exam-question-image {
    margin-bottom: 2.5rem;
  }
}
.driver-exam-question .driver-exam-question-text {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 2.5rem;
}
.driver-exam-question .driver-exam-question-image img {
  width: 100%;
  max-width: 100%;
  height: auto;
  border-radius: 0.625rem;
}

/* Answers */
.driver-exam-answers {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}
.driver-exam-answers .driver-exam-answer {
  position: relative;
}
.driver-exam-answers .driver-exam-answer label {
  display: flex;
  align-items: center;
  cursor: pointer;
  padding-left: 2.125rem;
  min-height: 1.5rem;
  position: relative;
}
.driver-exam-answers .driver-exam-answer label::before {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 1.5rem;
  height: 1.5rem;
  border: 1px solid #242E66;
  border-radius: 0.375rem;
  background-color: #FFFFFF;
  transition: background-color 0.2s, border-color 0.2s;
}
.driver-exam-answers .driver-exam-answer label::after {
  content: url("../img/icn-check-white.svg");
  position: absolute;
  left: 0.0625rem;
  top: calc(50% - 0.125rem);
  transform: translateY(-50%);
  width: 1.5rem;
  height: 1.5rem;
  opacity: 0;
  transition: opacity 0.2s;
  line-height: 1.5rem;
  text-align: center;
}
.driver-exam-answers .driver-exam-answer label input[type=checkbox] {
  opacity: 0;
  position: absolute;
  left: 0;
  width: 1.5rem;
  height: 1.5rem;
  margin: 0;
  cursor: pointer;
}
.driver-exam-answers .driver-exam-answer label input[type=checkbox]:checked + span + .driver-exam-answers .driver-exam-answer label input[type=checkbox]::before {
  background-color: #242E66 !important;
  border-color: #242E66 !important;
}
.driver-exam-answers .driver-exam-answer label input[type=checkbox]:checked + span + .driver-exam-answers .driver-exam-answer label input[type=checkbox]::after {
  opacity: 1;
}
.driver-exam-answers .driver-exam-answer label:has(input[type=checkbox]:checked)::before {
  background-color: #242E66 !important;
  border-color: #242E66 !important;
}
.driver-exam-answers .driver-exam-answer label:has(input[type=checkbox]:checked)::after {
  opacity: 1;
}
.driver-exam-answers .driver-exam-answer label.correct-answer {
  color: #49C88D;
}
.driver-exam-answers .driver-exam-answer label.incorrect-answer {
  color: #FF4545;
}
.driver-exam-answers .driver-exam-answer label.incorrect-answer:has(input[type=checkbox]:checked)::before {
  background-color: #242E66 !important;
  border-color: #242E66 !important;
}
.driver-exam-answers .driver-exam-answer label.incorrect-answer:has(input[type=checkbox]:checked)::after {
  content: url("../img/icn-check-white.svg");
  opacity: 1;
}

/* Navigation */
.driver-exam-question-nav {
  display: flex;
  gap: 1.25rem;
}
.driver-exam-question-nav button {
  padding: 1.28125rem 2.5rem;
  font-size: 1.125rem;
  font-weight: 500;
  line-height: normal;
  text-transform: uppercase;
  border: none;
}
@media (max-width: 768px) {
  .driver-exam-question-nav button {
    padding: 0.9375rem;
    font-size: 0.9375rem;
    font-weight: 500;
    line-height: normal;
  }
}
@media only screen and (max-width: 31.25rem) {
  .driver-exam-question-nav button {
    width: auto;
  }
}
.driver-exam-question-nav button[disabled] {
  opacity: 0.5;
}
.driver-exam-question-nav .driver-exam-prev-btn svg, .driver-exam-question-nav .driver-exam-submit-btn svg {
  margin-left: unset;
  margin-right: 0.625rem;
}

/* Results */
.driver-exam-result-wrap {
  max-width: 50rem;
  margin: 0 auto;
  text-align: center;
}
.driver-exam-result-wrap .heading-wrapper {
  display: flex;
  flex-direction: column;
  gap: 2.5rem;
  margin-bottom: 2.5rem;
}
.driver-exam-result-wrap .wrapper {
  background-color: #fff;
  border-radius: 0.625rem;
  padding: 1.5625rem 1.75rem;
  display: flex;
  flex-direction: column;
  gap: 1.875rem;
}
.driver-exam-result-wrap .driver-exam-result-row {
  display: flex;
  justify-content: space-between;
  padding: 0.9375rem 0;
  border-bottom: 1px solid #E4E6EC;
}
.driver-exam-result-wrap .driver-exam-result-row div {
  flex: 1;
  text-align: left;
}
.driver-exam-result-wrap .driver-exam-result-actions {
  display: flex;
  flex-direction: column;
  gap: 1.875rem;
}
.driver-exam-result-wrap .driver-exam-result-actions button {
  padding: 1.375rem 1.5625rem;
  width: 100%;
  border: none;
  font-size: 1.125rem;
  font-weight: 500;
  line-height: normal;
  text-transform: uppercase;
}

/* Explanation */
.driver-exam-explanation {
  padding: 0.9375rem;
  background-color: #F4F5F7;
  border-left: 0.25rem solid #FFCC45;
  border-radius: 0.25rem;
}

/* Time's up */
.driver-exam-time-up {
  text-align: center;
  padding: 2.5rem;
  background-color: #FFFFFF;
  border-radius: 0.625rem;
  display: flex;
  flex-direction: column;
  gap: 2.5rem;
}
.driver-exam-time-up .driver-exam-restart-btn {
  margin: 0 auto;
  border: none;
  padding: 1.375rem 1.5625rem;
  font-size: 1.125rem;
  font-style: normal;
  font-weight: 500;
  line-height: normal;
  text-transform: uppercase;
}

/* Styles for the moved progress bar */
.driver-exam-progress {
  width: 100%;
  margin: 2.5rem 0;
}
.driver-exam-progress .driver-exam-progress-outer {
  position: relative;
  overflow: hidden;
  background-color: #F4F5F7;
}
.driver-exam-progress .driver-exam-progress-outer.scrolling-active .driver-exam-progress-inner {
  padding-left: 3.625rem;
  padding-right: 3.625rem;
}
.driver-exam-progress .driver-exam-progress-inner {
  display: flex;
  transition: transform 0.3s ease-in-out;
  width: -moz-max-content;
  width: max-content;
}
.driver-exam-progress .driver-exam-questions-navigation {
  display: flex;
  flex-wrap: nowrap;
  gap: 0.8125rem;
}
.driver-exam-progress .progress-nav-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 2.8125rem;
  height: 2.8125rem;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: #FFFFFF;
  border-radius: 0.625rem;
  border: none;
  cursor: pointer;
  z-index: 5;
  transition: opacity 0.2s, background-color 0.2s;
  padding: 0;
  line-height: 1;
}
@media (max-width: 768px) {
  .driver-exam-progress .progress-nav-arrow {
    width: 2.1875rem;
    height: 2.1875rem;
  }
}
.driver-exam-progress .progress-nav-arrow:hover {
  background-color: #e0e0e0;
}
.driver-exam-progress .progress-nav-arrow.progress-nav-left {
  left: 0;
}
.driver-exam-progress .progress-nav-arrow.progress-nav-right {
  right: 0;
}
.driver-exam-progress .progress-nav-arrow:disabled {
  opacity: 0.4;
  cursor: not-allowed;
  background-color: #FFFFFF;
}
.driver-exam-progress .progress-nav-arrow svg {
  width: 0.875rem;
  height: 0.8125rem;
}
.driver-exam-progress .driver-exam-question-num {
  width: 2.8125rem;
  height: 2.8125rem;
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(36, 46, 102, 0.4);
  background-color: #FFFFFF;
  border-radius: 0.625rem;
  cursor: pointer;
  font-weight: bold;
  transition: background-color 0.3s;
}
@media (max-width: 768px) {
  .driver-exam-progress .driver-exam-question-num {
    width: 2.1875rem;
    height: 2.1875rem;
    font-size: 0.9375rem;
    line-height: normal;
  }
}
.driver-exam-progress .driver-exam-question-num:hover {
  background-color: #e0e0e0;
}
.driver-exam-progress .driver-exam-question-num.active {
  background-color: #242E66;
  color: #FFFFFF;
}
.driver-exam-progress .driver-exam-question-num.answered {
  background-color: #ADDEF7;
  color: #242E66;
}
.driver-exam-progress .driver-exam-question-num.success {
  background-color: #D3F2E3;
  color: #242E66;
}
.driver-exam-progress .driver-exam-question-num.error {
  background-color: rgb(255, 218, 218);
  color: #242E66;
}/*# sourceMappingURL=driver-exam-public.css.map */