.quiz-step {
  display: none;
}

.quiz-step.active {
  display: block;
}

.quiz-container {
  max-width: 900px;
  margin: 0 auto;
  font-family: 'Lato', sans-serif;
  padding: 40px 20px;
}

.quiz-question {
  font-weight: 700;
  font-size: 36px;
  line-height: 68px;
  color: #032C40;
  text-align: center;
}

.quiz-subtitle {
  font-weight: 400;
  font-size: 16px;
  color: #032C40;
  text-align: center;
}

.quiz-options {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 30px;
  justify-items: center;
}

.quiz-option {
  width: 300px;
  height: 52px;
  border: 1px solid #FAFAFA;
  border-radius: 6px;
  padding-left: 14px;
  padding-right: 24px;
  display: flex;
  align-items: center;
  gap: 10px;
  box-sizing: border-box;
  cursor: pointer;
  background-color: #FAFAFA;
  transition: border-color 0.3s;
}

/* When the option is selected, a pink frame is added */
.quiz-option.selected {
  border-color: #FD2547;
}

.quiz-option input[type="radio"] {
  display: none;
}

.custom-radio {
  width: 24px;
  height: 24px;
  border: 0.5px solid #032C40;
  border-radius: 50%;
  background-color: #fff;
  flex-shrink: 0;
  position: relative;
}

/* Circle filling when selecting */
.quiz-option input[type="radio"]:checked + .custom-radio {
  background-color: #FD2547;
  border-color: #FD2547;
}

/* Check mark */
.quiz-option input[type="radio"]:checked + .custom-radio::after {
  content: '✔';
  color: white;
  font-size: 14px;
  position: absolute;
  left: 6px;
  top: -1px;
}

.quiz-buttons {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 40px;
}

.btn-centered {
  display: block;
  margin-left: auto;
  margin-right: auto;
	margin-top: 50px;
}

/* Button Continue */
.btn-next {
  align-items: center;
  display: block;
  padding: 12px 30px;
  background: #FD2547;
  color: white;
  border: none;
  border-radius: 6px;
  cursor: pointer;
}

.btn-next:hover {
  background-color: #0c2139;
}

.btn-next:disabled {
  opacity: 0.5;
  cursor: not-allowed;
  pointer-events: none;
}

/* Button Previous */
.btn-prev {
  background-color: #f0f2f600;
  width: 121px;
  height: 52px;
  opacity: 1;
  border: 2px solid #F0F2F6;
  border-radius: 6px;
  padding-left: 12px;
  padding-right: 12px;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 6px;

  font-family: 'Lato', sans-serif;
  font-weight: 600;
  font-style: normal;
  font-size: 15px;
  line-height: 32px;
  letter-spacing: -0.02em;
  color: #032C40;
  text-align: center;
  vertical-align: middle;
  cursor: pointer;
  user-select: none;
  transition: background-color 0.3s ease;
}

.btn-prev:hover {
  background-color: #0c2139;
  color: #fff;
}

.btn-prev {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 600;
}

.arrow-icon {
    font-size: 22px;
    line-height: 1;
    display: inline-block;
    margin-top: -2px;
}


/* Button "Privacy-Police and Terms" */
.quiz-links {
  display: flex;
  justify-content: center;
  gap: 30px;
  margin-top: 20px;
}

.quiz-links a {
  font-family: 'Lato', sans-serif;
  font-size: 13px;
  font-weight: 400;
  color: #A1A1A1;
  text-decoration: none;
  transition: color 0.3s;
}

.quiz-links a:hover {
  color: #FD2547;
}

.quiz-progress-label {
  font-family: 'Lato', sans-serif;
  font-weight: 500;
  font-size: 12px;
  line-height: 68px;
  letter-spacing: 6%;
  text-align: center;
  text-transform: uppercase;
  color: #FD2547;
  margin-top: -20px;
}



/* Progress bar */
.quiz-progress {
  display: flex;
  gap: 6px;
  margin-bottom: 40px;
  justify-content: center;
}

.quiz-step-bar {
  width: 52px;
  height: 6px;
  background: #F5F5F5;
  border-radius: 3px;
  transition: background 0.3s;
}

.quiz-step-bar.active {
  background: #FD2547;
}


/* Select */
.select-wrapper {
  position: relative;
  max-width: 600px;
  margin: 30px auto 0;
}

.quiz-select {
  width: 100%;
  height: 52px;
  padding: 14px 16px 0 70px;
  font-family: 'Lato', sans-serif;
  font-size: 16px;
  border: 1px solid #E5E7EB;
  border-radius: 6px;
  background-color: #fff;
  color: #032C40;
  appearance: none;
  background-image: url('data:image/svg+xml;utf8,<svg fill="%23032C40" height="20" viewBox="0 0 24 24" width="20" xmlns="http://www.w3.org/2000/svg"><path d="M7 10l5 5 5-5z"/></svg>');
  background-repeat: no-repeat;
  background-position: right 16px center;
  background-size: 16px;
  cursor: pointer;
  box-sizing: border-box;
}

/* The label that is on the border at the top left */
.quiz-floating-label {
  position: absolute;
  top: 0;
  left: 16px;
  transform: translateY(-50%);
  background-color: white;
  padding: 0 6px;
  font-family: 'Lato', sans-serif;
  font-weight: 500;
  font-style: normal;
  font-size: 11px;
  line-height: 20px;
  letter-spacing: -0.02em;
  color: #A1A1A1;
  pointer-events: none;
  user-select: none;
}

/* Focus in the selection - you can highlight the border */
.quiz-select:focus {
  outline: none;
  border-color: #FD2547;
}



/* input wrapper */
.quiz-input-wrapper {
  max-width: 600px;
  margin: 30px auto 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.quiz-label {
  font-family: 'Lato', sans-serif;
  font-weight: 600;
  font-size: 16px;
  color: #032C40;
}

.quiz-input {
  width: 100%;
  height: 52px;
  padding: 0 16px;
  font-family: 'Lato', sans-serif;
  font-size: 16px;
  border: 1px solid #E5E7EB;
  border-radius: 6px;
  color: #032C40;
  background-color: #fff;
}

.quiz-input::placeholder {
  color: #A0A0A0;
  font-weight: 400;
}

.quiz-input:focus {
  outline: none;
  border-color: #FD2547;
}


/* input-double */
.quiz-input-double {
  display: flex;
  gap: 20px;
  max-width: 600px;
  margin: 30px auto 0;
}

.quiz-input-double .input-wrapper {
  width: 300px;
}

.quiz-step:not(.quiz-input-double) .input-wrapper {
  max-width: 600px;
}

.select-wrapper {
  position: relative;
  flex: 1;
}

/* Styles for selects */
.quiz-select {
  width: 100%;
  height: 52px;
  padding: 14px 16px 0 15px;
  font-family: 'Lato', sans-serif;
  font-size: 16px;
  border: 1px solid #E5E7EB;
  border-radius: 6px;
  background-color: #fff;
  color: #032C40;
  appearance: none;
  background-image: url('data:image/svg+xml;utf8,<svg fill="%23032C40" height="20" viewBox="0 0 24 24" width="20" xmlns="http://www.w3.org/2000/svg"><path d="M7 10l5 5 5-5z"/></svg>');
  background-repeat: no-repeat;
  background-position: right 16px center;
  background-size: 16px;
  cursor: pointer;
  box-sizing: border-box;
}

/* Label on the border at the top left */
.quiz-floating-label {
  position: absolute;
  top: 0;
  left: 16px;
  transform: translateY(-50%);
  background-color: white;
  padding: 0 6px;
  font-family: 'Lato', sans-serif;
  font-weight: 500;
  font-style: normal;
  font-size: 11px;
  line-height: 20px;
  letter-spacing: -0.02em;
  color: #A1A1A1;
  pointer-events: none;
  user-select: none;
}

/* Focus on selection */
.quiz-select:focus {
  outline: none;
  border-color: #FD2547;
}



/* phone */
.quiz-input-single {
  max-width: 600px;
  margin: 30px auto 0;
}

.quiz-label {
  font-family: 'Lato', sans-serif;
  font-weight: 600;
  font-size: 14px;
  color: #032C40;
  margin-bottom: 6px;
}

.quiz-text-input {
  width: 100%;
  height: 52px;
  padding: 0 16px;
  border: 1px solid #E5E7EB;
  border-radius: 6px;
  font-size: 16px;
  color: #032C40;
  font-family: 'Lato', sans-serif;
  box-sizing: border-box;
}

.quiz-text-input::placeholder {
  color: #A0A0A0;
}

.quiz-text-input:focus {
  border-color: #FD2547;
  outline: none;
}

/* email */
.quiz-input-single {
  max-width: 600px;
  margin: 30px auto 0;
}

.quiz-label {
  font-family: 'Lato', sans-serif;
  font-weight: 600;
  font-size: 14px;
  color: #032C40;
  margin-bottom: 6px;
  display: block;
}

.quiz-text-input {
  width: 100%;
  height: 52px;
  padding: 0 16px;
  border: 1px solid #E5E7EB;
  border-radius: 6px;
  font-size: 16px;
  color: #032C40;
  font-family: 'Lato', sans-serif;
  box-sizing: border-box;
}

.quiz-text-input::placeholder {
  color: #A0A0A0;
}

.quiz-text-input:focus {
  border-color: #FD2547;
  outline: none;
}


/* Check */
.quiz-checkbox-block {
  max-width: 700px;
  margin: 40px auto;
  padding: 0 15px;
}

.quiz-checkbox-label {
  display: flex;
  gap: 10px;
  font-family: 'Lato', sans-serif;
  font-size: 14px;
  color: #032C40;
  line-height: 28px;
  cursor: pointer;
   white-space: normal;
}

.quiz-checkbox-label a {
  white-space: nowrap;
}


.quiz-checkbox-label input[type="checkbox"] {
  display: none;
}

.custom-checkbox {
  width: 20px;
  height: 20px;
  border: 1px solid #ccc;
  border-radius: 4px;
  background: #fff;
  position: relative;
  flex-shrink: 0;
  margin-top: 8px;
}

.quiz-checkbox-label input[type="checkbox"]:checked + .custom-checkbox {
  background-color: #FD2547;
  border-color: #FD2547;
  margin-top: 8px;
}

.quiz-checkbox-label input[type="checkbox"]:checked + .custom-checkbox::after {
  content: '✔';
  color: white;
  font-size: 14px;
  position: absolute;
  left: 4px;
  top: -4px;
}

.quiz-checkbox-label a {
  color: #FD2547;
  text-decoration: underline;
  white-space: nowrap;
}



/* Final slide */
.quiz-step.final-step {
  text-align: center;
}

.quiz-final-label {
  font-family: 'Lato', sans-serif;
  font-weight: 500;
  font-size: 12px;
  letter-spacing: 6%;
  color: #FD2547;
  text-transform: uppercase;
  margin-bottom: 10px;
}

.btn-home {
  display: inline-block;
  margin-top: 40px;
  padding: 12px 26px;
  background-color: #FD2547;
  color: #fff;
  font-family: 'Lato', sans-serif;
  font-weight: 600;
  font-size: 15px;
  border-radius: 6px;
  text-decoration: none;
  cursor: pointer;
  transition: background 0.3s ease;
}

.btn-home:hover {
  background-color: #0c2139;
  color: #fff;
}



/* Business Name + Zip code */
.input-wrapper {
  position: relative;
  max-width: 600px;
  height: 52px;
  margin: 30px auto 0;
}


.input-wrapper input.quiz-input-styled {
  box-sizing: border-box;
  width: 100%;
  height: 100%;
  padding: 14px 16px 0 16px;
  font-family: 'Lato', sans-serif;
  font-size: 16px;
  border: 1px solid #E5E7EB;
  border-radius: 6px;
  background-color: #FFFFFF;
  color: #032C40;
  cursor: text;
  outline: none;
  appearance: none;
  -webkit-appearance: none;
}
/* Placeholder */
.input-wrapper input.quiz-input-styled::placeholder {
  color: #A0A0A0;
  font-weight: 400;
}

/* Label over the border */
.input-wrapper input.quiz-input-styled {
  all: unset;
  box-sizing: border-box;
  width: 100%;
  height: 100%;
  padding: 14px 16px 0 16px;
  font-family: 'Lato', sans-serif;
  font-size: 16px;
  border: 1px solid #E5E7EB;
  border-radius: 6px;
  background-color: #FFFFFF;
  color: #032C40;
  cursor: text;
}

/* Focus on input */
.input-wrapper input.quiz-input-styled:focus {
  outline: none;
  border-color: #FD2547;
}


@media (max-width: 1024px) and (min-width: 768px) {
  .quiz-container {
    padding: 30px 16px;
  }

  .quiz-question {
    font-size: 28px;
    line-height: 42px;
  }

  .quiz-subtitle {
    font-size: 15px;
  }

  .quiz-options {
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
  }

  .quiz-option {
    width: 100%;
    padding: 12px 16px;
    font-size: 14px;
  }

  .quiz-buttons {
    flex-direction: column;
    gap: 16px;
  }

  .btn-next,
  .btn-prev {
    width: 100%;
    justify-content: center;
  }

  .btn-centered {
    margin-top: 30px;
  }

  .quiz-links {
    flex-direction: column;
    gap: 10px;
    text-align: center;
  }

  .quiz-step-bar {
    max-width: 40px;
  }

  .quiz-progress-label {
    font-size: 11px;
    line-height: 20px;
  }

  .quiz-input-wrapper,
  .quiz-input-single,
  .quiz-checkbox-block,
  .input-wrapper,
  .select-wrapper {
    max-width: 100%;
    padding: 0 8px;
  }

  .quiz-input-double {
    flex-direction: column;
    gap: 16px;
    max-width: 100%;
    padding: 0 8px;
  }

  .quiz-input-double .input-wrapper {
    width: 100%;
  }

  .quiz-input,
  .quiz-select,
  .quiz-text-input,
  .quiz-input-styled {
    height: 48px;
    font-size: 15px;
  }

  .quiz-label {
    font-size: 14px;
  }

  .quiz-checkbox-label {
    font-size: 13px;
    line-height: 24px;
  }

  .custom-checkbox {
    margin-top: 4px;
  }

  .quiz-final-label {
    font-size: 11px;
  }

  .btn-home {
    padding: 12px 20px;
    font-size: 14px;
  }
}


@media (max-width: 767px) {
  .quiz-container {
    padding: 20px 10px;
    max-width: 100%;
  }

  .quiz-question {
    font-size: 24px;
    line-height: 32px;
  }

  .quiz-subtitle {
    font-size: 14px;
  }

  .quiz-options {
    grid-template-columns: 1fr;
    gap: 15px;
    margin-top: 20px;
    justify-items: stretch;
  }

  .quiz-option {
    width: 100%;
    height: 48px;
    padding-left: 12px;
    padding-right: 20px;
  }

  .custom-radio {
    width: 20px;
    height: 20px;
  }

  .quiz-option input[type="radio"]:checked + .custom-radio::after {
    left: 5px;
    top: -3px;
    font-size: 12px;
  }
}


@media (max-width: 767px) {
  .quiz-buttons {
    flex-direction: column;
    gap: 15px;
    margin-top: 30px;
  }

  .btn-prev, .btn-next {
    width: 100%;
    height: 48px;
    padding: 12px 0;
    font-size: 14px;
    line-height: 20px;
    justify-content: center;
  }

  .btn-prev {
    gap: 6px;
  }

  .arrow-icon {
    font-size: 18px;
    margin-top: 0;
  }

  .btn-centered {
    margin-top: 30px;
    width: 100%;
  }

  .quiz-progress-label {
    line-height: normal;
    margin-top: 0;
    font-size: 11px;
    letter-spacing: 4%;
  }

  .quiz-links {
    gap: 12px;
    margin-top: 20px;
  }

  .quiz-links a {
    font-size: 12px;
  }
}


@media (max-width: 767px) {
  .quiz-progress {
    margin-bottom: 20px;
    gap: 4px;
  }
  .quiz-step-bar {
    width: 36px;
    height: 5px;
  }
  .select-wrapper {
    max-width: 100%;
    margin: 20px auto 0;
  }
  .quiz-select {
    height: 44px;
    font-size: 14px;
    padding: 12px 16px 0 50px;
    background-position: right 12px center;
    background-size: 14px;
  }
  .quiz-floating-label {
    font-size: 10px;
    padding: 0 4px;
    left: 12px;
  }
  .quiz-input-wrapper {
    max-width: 100%;
    margin: 20px auto 0;
    gap: 8px;
  }
  .quiz-label {
    font-size: 14px;
  }
  .quiz-input {
    height: 44px;
    font-size: 14px;
    padding: 0 12px;
  }
}

@media (max-width: 767px) {
  .quiz-input-double {
    flex-direction: column;
    gap: 16px;
    max-width: 100%;
    margin: 20px auto 0;
  }

  .quiz-input-double .input-wrapper {
    width: 100%;
  }

  .select-wrapper {
    flex: none;
    width: 100%;
  }

  .quiz-select {
    height: 44px;
    font-size: 14px;
    padding: 12px 16px 0 12px;
    background-position: right 12px center;
    background-size: 14px;
  }

  .quiz-floating-label {
    font-size: 10px;
    left: 12px;
    padding: 0 4px;
  }

  .quiz-input-single {
    max-width: 100%;
    margin: 20px auto 0;
  }

  .quiz-label {
    font-size: 14px;
    margin-bottom: 4px;
  }

  .quiz-text-input {
    height: 44px;
    font-size: 14px;
    padding: 0 12px;
  }
}


@media (max-width: 767px) {
  .quiz-checkbox-block {
    max-width: 100%;
    margin: 20px 15px;
    padding: 0 10px;
  }

  .quiz-checkbox-label {
    gap: 8px;
    font-size: 13px;
    line-height: 1.3;
    white-space: normal;
  }
  
  .quiz-checkbox-label input[type="checkbox"]:checked + .custom-checkbox {
    margin-top: 2px;
	}

	.custom-checkbox {
  margin-top: 8px;
	}

  .quiz-checkbox-label a {
    white-space: nowrap;
    font-size: 13px;
  }

  .custom-checkbox {
    width: 18px;
    height: 18px;
  }

  .quiz-checkbox-label input[type="checkbox"]:checked + .custom-checkbox::after {
    font-size: 12px;
    top: 0;
    left: 3px;
  }

.input-wrapper {
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
  height: 44px;
  margin: 20px 0 0;
}

  .input-wrapper input.quiz-input-styled {
    padding: 10px 14px 0 14px;
    font-size: 16px !important;
    height: 100%;
    box-sizing: border-box;
  }


  .input-wrapper .quiz-floating-label {
    font-size: 10px;
    left: 14px;
    padding: 0 4px;
  }
}
