#loader {
    position: relative; /* Fixes it to the viewport */
    top: 25px;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: white;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 100; /* Ensures it's on top of everything */
}

/* A simple CSS spinner (adjust as needed) */
.spinner {
    border: 8px solid rgba(0, 0, 0, 0.1);
    border-top: 8px solid #3498db;
    border-radius: 50%;
    width: 50px;
    height: 50px;
    animation: spin 1s linear infinite;
}
@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.juki-quiz-page .hero{
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    padding: 50px 0;
}
.juki-quiz-page .hero .title{
    color: #AF3E9F;
    font-size: 60px;
}
.juki-quiz-page .hero .title .title-1{
    font-size: 50px;
}
.juki-quiz-page .quiz-cont{
    padding: 50px 0;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
}
.juki-quiz-page .question-box {
    padding: 20px;
    border-radius: 24px;
    border: 1px solid #AF3E9F;
    background: #FCF8FF;
    margin-bottom: 30px;
    min-height: 400px;
}
.juki-quiz-page .question-box .question-title{
    font-size: 20px;
    font-weight: 400;
    color: #AF3E9F;
    margin-bottom: 30px;
    min-height: 45px;
}
.juki-quiz-page .question-box .question-input-group{
    margin-bottom: 15px;
}
.juki-quiz-page .question-box .custom-radio {
  display: flex;
  align-items: center;
  justify-content: space-between;
  cursor: pointer;
}
/* Hide native radio */
.juki-quiz-page .question-box .custom-radio input {
  display: none;
}
.juki-quiz-page .question-box .radio-text {
  font-size: 16px;
  color: #000;
  font-weight: 400;
  margin-right: 20px;
  flex-basis: calc(100% - 22px);
}
.juki-quiz-page .question-box .radio-text span{
  color: #AF3E9F;
}
/* Circle of the radius */
.juki-quiz-page .question-box .radio-mark {
  width: 22px;
  height: 22px;
  border: 2px solid #AF3E9F;
  border-radius: 50%;
  position: relative;
  flex-shrink: 0;
}
/* Internal point when selected */
.juki-quiz-page .question-box .custom-radio input:checked + .radio-mark::after {
  content: "";
  width: 10px;
  height: 10px;
  background: #AF3E9F;
  border-radius: 50%;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}
.juki-quiz-page .quiz-cont .link-slide.ysc-btn-blue{
    border: 1px solid #AF3E9F;
    background-color: #AF3E9F;
    border-radius: 0;
    -webkit-border-radius: 0;
    -moz-border-radius: 0;
    -ms-border-radius: 0;
    -o-border-radius: 0;
}
.juki-quiz-page .quiz-cont .link-slide.ysc-btn-blue:hover{
    color: #AF3E9F;
    background-color: #fff;
}
.juki-quiz-page .form-step{
    background-color: #AF3E9F;
    padding: 50px 0;
}
.juki-quiz-page .form-step .form-title{
    color: #fff;
    font-size: 30px;
    font-family: "Work Sans", sans-serif;
    font-weight: 400;
    margin-bottom: 30px;
}
.juki-quiz-page .form-step label{
    color: #fff;
    font-size: 14px;
    font-weight: 400;
}
.juki-quiz-page .form-step .custom-checkbox {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 20px;
  border-radius: 14px;
  cursor: pointer;
  color: #fff;
  font-family: sans-serif;
}
.juki-quiz-page .form-step .custom-checkbox .checkbox-text{
  margin-right: 10px;
  font-size: 18px;
  font-family: "Work Sans", sans-serif;
}
/* Hide native checkbox */
.juki-quiz-page .form-step .custom-checkbox input {
  display: none;
}
/* Checkbox circle */
.juki-quiz-page .form-step .checkbox-mark {
  width: 22px;
  height: 22px;
  border: 2px solid #fff;
  border-radius: 50%;
  position: relative;
  flex-shrink: 0;
}
/* Internal point when marked */
.juki-quiz-page .form-step .custom-checkbox input:checked + .checkbox-mark::after {
  content: "";
  width: 10px;
  height: 10px;
  background: #fff;
  border-radius: 50%;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}
.juki-quiz-page .form-step .submit-btn{
    margin-top: 50px;
    border: 1px solid #fff;
    background-color: transparent;
    border-radius: 0;
    -webkit-border-radius: 0;
    -moz-border-radius: 0;
    -ms-border-radius: 0;
    -o-border-radius: 0;
}
.juki-quiz-page .form-step .submit-btn:hover{
    color: #AF3E9F;
    background-color: #fff;
}
.juki-quiz-page .results-cont{
    padding: 50px 0;
}
.juki-quiz-page .results-cont .result-text{
    color: #933088;
    font-size: 20px;
    font-weight: 400;
    margin-bottom: 50px;
}
.juki-quiz-page .results-cont .results-title{
    color: #AF3E9F;
    font-size: 50px;
    font-weight: 400;
    margin-bottom: 20px;
}
.juki-quiz-page .results-cont .results-subtitle{
    color: #AF3E9F;
    font-size: 20px;
    font-weight: 400;
}
.juki-quiz-page .results-cont .results-desc{
    color: #000;
    font-size: 14px;
    font-weight: 400;
    margin: 30px 0;
}
.juki-quiz-page .ysc-quiz-step.active {
  display: block;
}

.juki-quiz-page ul.products-grid li { display: none; }

/* media query  */
@media (min-width: 992px) {
  .vertical-align-flex {
    display: flex;
    align-items: center;
  }
}
@media(max-width: 991px){
    .juki-quiz-page .question-box,
    .juki-quiz-page .question-box .question-title{
        min-height: auto;
    }
    .juki-quiz-page .hero .title{
        text-align: center;
        margin-bottom: 30px;
        font-size: 35px;
    }
    .juki-quiz-page .hero .title .title-1,
    .juki-quiz-page .results-cont .results-title{
        font-size: 30px;
    }
}