@use '../../abstracts/variables' as *;

// -----------------------------------------------------------------------------
// Progress: dots, star rating, progress bar, step indicators
// -----------------------------------------------------------------------------

.minilesson_progress_dots {
  font-size: 40px;
  text-align: center;
  letter-spacing: 10px;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  padding: 12px 0;
}

.minilesson_star_rating {
  letter-spacing: 20px;
  text-align: center;
  font-size: 30px;
}

// Quiz progress steps

.minilesson_quiz_progress {
  height: 50px;
  display: flex;
  align-items: center;
  position: relative;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.minilesson_quiz_progress:empty {
  display: none;
}

.minilesson_quiz_progress_item {
  border-radius: 50%;
  width: 32px;
  height: 32px;
  min-width: 32px;
  display: flex;
  background-color: $primary-lightest;
  align-items: center;
  justify-content: center;
  color: #6b84eb;
  font-size: 14px;
  font-weight: 700;
  z-index: 1;
  border: 1px solid $primary-border-medium;
}

.minilesson_quiz_progress_item_current {
  background-color: $primary;
  color: $white;
  border-color: $primary;
}

.minilesson_quiz_progress_finalitem {
  border-radius: 50%;
  width: 32px;
  height: 32px;
  min-width: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #6B84EB;
  font-size: 14px;
  font-weight: 700;
  background: $primary-lightest;
  z-index: 1;
  border: 1px solid $primary-border-medium;
}

.minilesson_quiz_progress_item_completed {
  background-color: $primary;
  color: $white;
  border-color: $primary;
}

// Progress bar

.progress-container .progress {
  background-color: $primary-light;
  border-radius: 8px;
}

.progress-container {
  padding: 18px 24px;
  display: flex;
  align-items: center;
  width: 100%;
}

.progress-container .progress.active {
  margin-left: 5px;
}

.progress .progressbar_basestyle {
  background-color: $primary;
}

.progressicon {
  padding: 6px;
  background-color: $primary-lighter;
  border-radius: 50px;
  width: 32px;
  height: 32px;
  text-align: center;
  color: $primary;
}

.progressicon i.fa {
  font-size: 18px;
}

// Progress bar segments

.minilesson_quiz_progress_completed {
  background-color: $primary;
  height: 3px;
}

.minilesson_quiz_progress_incompleted {
  background-color: $primary-border-medium;
  height: 3px;
  margin-left: 2px;
  margin-right: 2px;
  border-radius: 5px;
}

.minilesson_quiz_progress_dashedline {
  height: 3px;
  margin-left: 2px;
  margin-right: 2px;
  border-radius: 5px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='3'%3E%3Cline x1='1.5' y1='1.5' x2='5.5' y2='1.5' stroke='%23C7D2FF' stroke-width='3' stroke-linecap='round'/%3E%3C/svg%3E") repeat-x;
}

.minilesson_quiz_progress .minilesson_quiz_progress_current {
  border: 1px solid $primary;
  border-radius: 50%;
  padding: 2px;
}
