.elementor-3288 .elementor-element.elementor-element-e9c3c8a{--display:flex;}/* Start custom CSS *//* Keep the quiz page readable and centered */
.gs-quiz-page {
  max-width: 760px;
  margin: 0 auto;
  padding: 1rem;
}

/* Make the top nav links look consistent */
.gs-quiz-page a {
  text-decoration: none;
}

.gs-quiz-page a:hover {
  text-decoration: underline;
}

/* Title spacing */
.gs-quiz-page h2 {
  margin-top: 0.25rem;
  margin-bottom: 1rem;
  line-height: 1.2;
}

/* Give the quiz content a clean "card" feel */
.gs-quiz-page .gs-quiz,
.gs-quiz-page form {
  background: #ffffff;
  border: 1px solid #e5e7eb;
  border-radius: 12px;
  padding: 1rem;
}

/* Questions spacing (works for many quiz HTML structures) */
.gs-quiz-page .gs-question,
.gs-quiz-page .question,
.gs-quiz-page fieldset {
  margin-bottom: 1rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid #e5e7eb;
}

.gs-quiz-page .gs-question:last-child,
.gs-quiz-page .question:last-child,
.gs-quiz-page fieldset:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

/* Answer options spacing */
.gs-quiz-page label {
  display: block;
  margin: 0.5rem 0;
  line-height: 1.4;
}

/* Make submit buttons look like your app buttons */
.gs-quiz-page button,
.gs-quiz-page input[type="submit"] {
  display: inline-block;
  background: #111827;
  color: #fff;
  padding: 0.85rem 1.5rem;
  border-radius: 999px;
  font-weight: 600;
  border: none;
  cursor: pointer;
}

.gs-quiz-page button:hover,
.gs-quiz-page input[type="submit"]:hover {
  filter: brightness(1.05);
}

/* Mobile tweaks */
@media (max-width: 640px) {
  .gs-quiz-page {
    padding: 0.75rem;
  }

  .gs-quiz-page button,
  .gs-quiz-page input[type="submit"] {
    width: 100%;
    text-align: center;
  }
}

.gs-lesson-nav {
  justify-content: space-between !important;
}
.gs-quiz-nav {
  position: relative;
  z-index: 9999;
}

.gs-quiz-page,
.gs-quiz-page form {
  position: relative;
  z-index: 1;
}

/* Align submit button to bottom right */
.gs-quiz-page form {
  position: relative;
}

/* Wrap submit buttons to the right */
.gs-quiz-page input[type="submit"],
.gs-quiz-page button[type="submit"] {
  display: inline-block;
  margin-left: auto;
}

/* If submit is inside a container, force flex */
.gs-quiz-page form > *:last-child {
  display: flex;
  justify-content: flex-end;
}
@media (max-width: 640px) {
  .gs-quiz-btn,
  .gs-quiz-page input[type="submit"],
  .gs-quiz-page button[type="submit"] {
    width: 100%;
  }
}

/* Give room so the sticky bar doesn't cover the last content */
.gs-quiz-page {
  padding-bottom: 90px;
}

.gs-quiz-page form .gs-quiz-actions,
.gs-quiz-page form .quiz-actions,
.gs-quiz-page form .actions,
.gs-quiz-page form .form-actions,
.gs-quiz-page form .submit,
.gs-quiz-page form p:last-child {
  position: sticky;
  bottom: 0;
  background: rgba(255,255,255,0.98);
  backdrop-filter: blur(8px);
  border-top: 1px solid #e5e7eb;
  padding: 12px 16px;
  margin-top: 16px;
  z-index: 9999;
  display: flex;
  justify-content: flex-end;
  gap: 12px;
}


.gs-quiz-page {
  padding-bottom: calc(90px + env(safe-area-inset-bottom));
}/* End custom CSS */