.quiz-title {
    margin-top: 36px;
    margin-bottom: 24px;
    color: #003a78;

    @media (min-width: 1024px) {
        margin-top: 0px;
    }
}

/* Form */
.quiz-form {
    margin-bottom: 40px;
    color: #3c454e;
}

.quiz-form_success .quiz-form__form {
    display: none;
}

.quiz-form__questions {
    margin-bottom: 36px;
}

.quiz-form__questions > *:not(:last-child) {
    margin-bottom: 24px;
}

.quiz-form__agreed {
    margin-bottom: 36px;
}

.quiz-form:not(.quiz-form_success) .quiz-form__success {
    display: none;
}

/* Question */
.quiz-form-question_hidden {
    display: none;
}

.quiz-form-question__title {
    margin-bottom: 16px;
    color: #003a78;
    font-size: 18px;
    font-weight: bold;

    @media (min-width: 1024px) {
        font-size: 24px;
    }
}

.quiz-form-question__required {
    color: #fdc600;
}

.quiz-form-question__values > *:not(:last-child) {
    margin-bottom: 8px;
}

.quiz-form-question:not(.quiz-form-question_error) .quiz-form-question__error {
    display: none;
}

.quiz-form-question__error {
    margin-top: 12px;
    color: #f60;
    font-size: 16px;
}

/* Quiz text */
.quiz-text {
    font-size: 14px;
}

.quiz-text p {
    margin-bottom: 0;
}

/* Radio */
.quiz-radio {
    display: inline-flex;
    font-size: 16px;
    cursor: pointer;

    @media (min-width: 1024px) {
        font-size: 20px;
    }
}

.quiz-radio__input {
    display: none;
}

.quiz-radio__widget {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-shrink: 0;
    margin-right: 8px;
    width: 24px;
    height: 24px;
    border: 1px solid #003a78;
    border-radius: 50%;
}

.quiz-radio__widget::after {
    display: block;
    opacity: 0;
    width: 16px;
    height: 16px;
    background: #fdc600;
    border-radius: 50%;
    transition-property: opacity;
    transition-duration: 300ms;
    content: '';
}

.quiz-radio__input:checked + .quiz-radio__widget::after {
    opacity: 1;
}

.quiz-radio__title {
    align-self: center;
}

/* Checkbox */
.quiz-checkbox {
    display: inline-flex;
    font-size: 16px;
    cursor: pointer;

    @media (min-width: 1024px) {
        font-size: 20px;
    }
}

.quiz-checkbox__input {
    display: none;
}

.quiz-checkbox__widget {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-shrink: 0;
    margin-right: 8px;
    width: 24px;
    height: 24px;
    border: 1px solid #003a78;
}

.quiz-checkbox__widget::after {
    display: block;
    opacity: 0;
    width: 16px;
    height: 16px;
    background: #fdc600;
    transition-property: opacity;
    transition-duration: 300ms;
    content: '';
}

.quiz-checkbox__input:checked + .quiz-checkbox__widget::after {
    opacity: 1;
}

.quiz-checkbox__title {
    align-self: center;
}

/* Input */
.quiz-input {
    padding: 10px 16px;
    width: 100%;
    border: 1px solid #3c454e;
    font-size: 18px;

    @media (min-width: 1024px) {
        width: 50%;
        font-size: 24px;
    }
}

/* Phone */
.quiz-phone {
    display: inline-flex;
    align-items: center;
    column-gap: 8px;
}

.quiz-phone__codes {
    display: inline-flex;
    align-self: stretch;
}

.quiz-phone-code {
    cursor: pointer;
}

.quiz-phone-code__input {
    display: none;
}

.quiz-phone-code__widget {
    display: inline-flex;
    align-items: center;
    padding: 4px 8px;
    height: 100%;
    background: #eee;
    border-right: 2px solid #fff;
    font-size: 18px;
    transition: background 300ms linear;
}

.quiz-phone-code:last-child .quiz-phone-code__widget {
    border-right: 0;
}

.quiz-phone-code__input:checked + .quiz-phone-code__widget {
    background: #fdc600;
}

/* Teacher hub */
.ih-benefits {
    margin-bottom: 24px;
    font-size: 16px;

    @media (min-width: 1024px) {
        font-size: 20px;
    }
}

.ih-benefits__title {
    margin-bottom: 16px;
    color: #003a78;
    font-size: 18px;
    font-weight: bold;

    @media (min-width: 1024px) {
        font-size: 24px;
    }
}

.ih-benefits ol {
    list-style-type: disc;
    padding-left: 32px;
    margin: 0;
}

.ih-benefits ol li::marker {
    color: #FDC600;
    font-size: 1.2em;
}

.ih-benefits li {
    margin-bottom: 12px;
}

/* Other */
.btn {
    user-select: none;
}

.btn:disabled {
    pointer-events: none;
}

/* Success */
.success-title {
  color: #27ae60;
  font-size: 24px;
  margin-bottom: 20px;

  @media (min-width: 1024px) {
    font-size: 40px;
  }
}

.payment-info {
  margin-top: 40px;
  font-family: 'Segoe UI', sans-serif;
  background-color: #f9f9f9;
  color: #003A78;
  padding: 16px;
  line-height: 1.6;
  border-radius: 8px;
  box-shadow: 0 0 10px rgba(0,0,0,0.05);

  @media (min-width: 1024px) {
    margin-top: 0;
    padding: 30px;
  }
}

.payment-info h2 {
  margin-bottom: 16px;
  color: #003A78;

  @media (min-width: 1024px) {
    margin-bottom: 24px;
  }
}

.payment-info p {
  font-size: 16px;

  @media (min-width: 1024px) {
    font-size: 20px;
  }
}

.payment-info .step-title {
  font-weight: bold;
  margin-top: 20px;
  color: #003A78;
}

.payment-info ul {
  list-style: none;
  padding-left: 12px;
  margin: 5px 0;
  border-left: 1px dashed #ccc;
  font-size: 16px;

  @media (min-width: 1024px) {
    padding-left: 20px;
    font-size: 20px;
  }
}

.payment-info li {
  position: relative;
  padding-left: 6px;
  margin-bottom: 8px;

  @media (min-width: 1024px) {
    padding-left: 10px;
  }
}

.payment-info li::before {
  content: "▸";
  position: absolute;
  left: -10px;
  color: #FDC600;
}

.payment-info .tree {
  margin: 20px 0;
  border-left: 2px solid #003A78;
  font-size: 14px;

  @media (min-width: 1024px) {
    font-size: 18px;
  }
}

.payment-info .tree > ul {
  border-left: none;
}

.payment-info .highlight {
  font-weight: bold;
  color: #e74c3c;
}

.payment-info .note {
  background-color: #fff3cd;
  padding: 10px 15px;
  border-left: 5px solid #ffc107;
  margin-top: 20px;
  font-size: 16px;

  @media (min-width: 1024px) {
    font-size: 20px;
  }
}

.payment-info .contact {
  background-color: #eafaf1;
  padding: 10px 15px;
  border-left: 5px solid #2ecc71;
  margin-top: 20px;
  margin-bottom: 40px;
}

.payment-info a {
  color: #2980b9;
  text-decoration: none;
}
