.quiz {
  width: 100%; }

.la-quiz-wrapper {
  width: 100%;
  margin: 0 auto 40px;
  padding: 20px 20px 24px;
  background: #ffffff;
  border: 1px solid #e6e6e6;
  border-radius: 3px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.04);
  font-family: inherit;
  color: inherit;
  box-sizing: border-box; }
  @media (max-width: 600px) {
    .la-quiz-wrapper {
      padding: 16px 14px 18px;
      margin-bottom: 24px; } }

.la-quiz-progress {
  margin-bottom: 16px; }
  .la-quiz-progress-bar {
    width: 100%;
    height: 6px;
    border-radius: 999px;
    background: #f8f9fb;
    overflow: hidden; }
  .la-quiz-progress-fill {
    height: 100%;
    width: 0;
    border-radius: inherit;
    background: #0073aa;
    transition: width 0.3s ease-out; }
  .la-quiz-progress-text {
    margin-top: 6px;
    font-size: 12px;
    text-align: right;
    color: #666666; }
    .la-quiz-progress-text .la-quiz-current-step {
      font-weight: 600; }

.la-quiz-form {
  margin: 0 0 18px; }

.la-quiz-steps {
  position: relative; }

.la-quiz-step {
  display: none;
  animation: laq-step-in 0.25s ease-out; }
  .la-quiz-step--active {
    display: block; }

@keyframes laq-step-in {
  from {
    opacity: 0;
    transform: translateY(6px); }
  to {
    opacity: 1;
    transform: translateY(0); } }
.la-quiz-question {
  margin-bottom: 14px; }
  .la-quiz-question h3 {
    margin: 0;
    font-size: 18px;
    line-height: 1.3;
    font-weight: 600; }

.la-quiz-answers {
  display: grid;
  grid-template-columns: 1fr;
  gap: 10px; }
  @media (min-width: 640px) {
    .la-quiz-answers {
      grid-template-columns: 1fr 1fr; } }

.la-quiz-answer {
  display: flex;
  align-items: stretch;
  gap: 10px;
  padding: 10px 12px;
  border-radius: 3px;
  border: 1px solid #dddddd;
  background: #ffffff;
  cursor: pointer;
  transition: border-color 0.25s ease, background-color 0.25s ease, box-shadow 0.25s ease, transform 0.25s ease; }
  .la-quiz-answer:hover {
    border-color: #0073aa;
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.04);
    transform: translateY(-1px); }
  .la-quiz-answer input {
    cursor: pointer; }

.la-quiz-answer-image {
  flex: 0 0 60px; }
  .la-quiz-answer-image img {
    display: block;
    width: 130px;
    height: 130px;
    object-fit: cover;
    border-radius: 4px; }

.la-quiz-answer-main {
  display: flex;
  align-items: center;
  gap: 8px;
  flex: 1; }
  .la-quiz-answer-main input[type="radio"],
  .la-quiz-answer-main input[type="checkbox"] {
    flex: 0 0 auto; }

.la-quiz-answer-text {
  font-size: 1rem;
  line-height: 1.4; }

.la-quiz-answer-main input[type="radio"]:checked + .la-quiz-answer-text,
.la-quiz-answer-main input[type="checkbox"]:checked + .la-quiz-answer-text {
  font-weight: 600;
  color: #005a84; }

.la-quiz-nav {
  display: flex;
  gap: 8px;
  margin-top: 18px; }
  @media (max-width: 480px) {
    .la-quiz-nav {
      flex-direction: column; } }

.la-quiz-btn {
  flex: 1 1 0;
  padding: 10px 12px;
  border-radius: 3px;
  border: none;
  font-size: 14px;
  font-weight: 600;
  text-align: center;
  cursor: pointer;
  background: #0073aa;
  color: #ffffff;
  transition: background-color 0.25s ease, transform 0.25s ease, box-shadow 0.25s ease; }
  .la-quiz-btn:hover {
    background: #005a84;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.12);
    transform: translateY(-1px); }
  .la-quiz-btn:active {
    transform: translateY(0);
    box-shadow: none; }
  .la-quiz-btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
    box-shadow: none;
    transform: none; }

.la-quiz-btn--prev {
  background: #777777; }
  .la-quiz-btn--prev:hover {
    background: #5f5f5f; }

.la-quiz-loading {
  display: none;
  text-align: center;
  padding: 26px 12px; }
  .la-quiz-loading .la-quiz-score-label {
    display: block;
    font-size: 14px;
    margin-bottom: 4px;
    color: #555555; }
  .la-quiz-loading .la-quiz-score-number {
    font-size: 24px;
    font-weight: 700;
    color: #0073aa; }

.la-quiz-loading-step {
  display: none;
  position: relative;
  width: 100%;
  height: 50vh;
  justify-content: center;
  align-items: center;
  overflow: hidden; }
  .la-quiz-loading-step.is-active {
    display: flex; }
  .la-quiz-loading-step .la-quiz-loading-image {
    width: 100%;
    height: 100%;
    z-index: 1;
    object-fit: cover; }
  .la-quiz-loading-step .content-block {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 70%;
    background: rgba(255, 255, 255, 0.75);
    z-index: 2;
    text-align: center;
    padding: 40px 20px; }
  .la-quiz-loading-step .la-quiz-loading-text {
    max-width: 480px;
    margin: 0 auto 16px; }
  .la-quiz-loading-step .la-quiz-loading-progress {
    width: 100%;
    margin: 0 auto;
    height: 8px;
    border-radius: 999px;
    background: #eee;
    overflow: hidden; }
    .la-quiz-loading-step .la-quiz-loading-progress .la-quiz-loading-progress-bar {
      width: 0;
      height: 100%;
      background: #0073aa;
      border-radius: 999px; }

.la-quiz-spinner {
  width: 36px;
  height: 36px;
  margin: 0 auto 12px;
  border-radius: 50%;
  border: 3px solid #cccccc;
  border-top-color: #0073aa;
  animation: laq-spin 0.8s linear infinite; }

@keyframes laq-spin {
  to {
    transform: rotate(360deg); } }
/* Improve spacing and card appearance */
.la-quiz-result {
  padding: 10px;
  border-radius: 10px;
  background: #ffffff;
  border: 1px solid #e6e6e6;
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.08); }

/* Add space below the header */
.la-quiz-result__header {
  margin-bottom: 18px; }

.la-quiz-result__layout {
  display: flex;
  gap: 20px; }

/* Better image styling */
.la-quiz-result-image img {
  border-radius: 3px;
  width: 100%;
  max-height: 420px;
  object-fit: cover; }

/* Stronger title */
.la-quiz-result-title {
  font-size: 28px;
  font-weight: 700;
  margin-top: 6px;
  color: #111;
  text-align: center; }

.la-quiz-result__content {
  display: flex;
  flex-direction: column;
  gap: 10px;
  justify-content: space-between; }

/* Slightly larger body text */
.la-quiz-result-text {
  font-size: 16px;
  line-height: 1.65;
  margin-bottom: 18px; }

/* Highlight the note */
/* Button bigger and more clickable */
.la-quiz-result-button {
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 17px;
  padding: 17px;
  font-weight: 700;
  border-radius: 3px;
  background: #0073aa;
  box-shadow: 0 6px 16px rgba(0, 115, 170, 0.25);
  color: #fff;
  text-align: center; }

.la-quiz-result-button:hover {
  background: #005a84;
  transform: translateY(-2px); }

.la-quiz-error {
  display: none;
  margin-top: 10px;
  padding: 8px 10px;
  border-radius: 4px;
  border: 1px solid rgba(179, 45, 46, 0.18);
  background: rgba(179, 45, 46, 0.06);
  color: #b32d2e;
  font-size: 13px; }

body.wp-admin .la-quiz-question-block,
body.wp-admin .la-quiz-result-block {
  background: #ffffff !important; }

/* Error message block */
.la-quiz-error {
  display: block;
  margin-top: 10px;
  padding: 10px 12px;
  border-radius: 4px;
  background-color: #fdecea;
  /* light red */
  color: #d63638;
  /* WP admin error red */
  font-size: 14px;
  font-weight: 600;
  line-height: 1.4; }

/* Highlight answers when there is an error */
.la-quiz-answers.la-quiz-has-error {
  border: 2px solid #d63638;
  border-radius: 6px;
  padding: 10px;
  background-color: #fff7f7; }

@media (max-width: 992px) {
  .la-quiz-result__layout {
    flex-direction: column; } }

/*# sourceMappingURL=la-quiz.css.map */
