.quiz-form {
  max-width: 450px;
  margin: 40px auto;
  font-family: Arial, sans-serif;
}

.quiz-form h2 {
  margin-bottom: 20px;
}

.xkj9_multistep_form_wrapper_2024 {
  max-width: 600px;
  margin: 0 auto;
  padding: 20px;
  font-family: Arial, sans-serif;
  direction: rtl;
  text-align: right;
  color: #333;
}

.xkj9_progress_container_rtl {
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 30px;
  padding: 0 20px;
}

.xkj9_progress_step {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background-color: #e0e0e0;
  color: #666;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: bold;
  font-size: 16px;
  transition: all 0.3s ease;
}

.xkj9_progress_step.xkj9_step_active {
  background-color: #4285f4;
  color: white;
}

.xkj9_progress_step.xkj9_step_completed {
  background-color: #34a853;
  color: white;
}

.xkj9_progress_line {
  flex: 1;
  height: 2px;
  background-color: #e0e0e0;
  margin: 0 10px;
}

.xkj9_form_body {
  background: white;
  border-radius: 8px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  padding: 30px;
}

.xkj9_form_step {
  display: none !important;
  animation: fadeIn 0.3s ease-in;
}

.xkj9_form_step.xkj9_step_active {
  display: block !important;
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.xkj9_step_title {
  color: #333;
  font-size: 24px;
  margin-bottom: 20px;
  text-align: center;
  border-bottom: 2px solid #4285f4;
  padding-bottom: 10px;
}

.xkj9_question_block {
  margin-bottom: 30px;
}

.xkj9_question_text {
  font-size: 18px;
  font-weight: bold;
  color: #333;
  margin-bottom: 20px;
  line-height: 1.5;
}

.xkj9_radio_wrapper {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.xkj9_radio_item {
  display: flex;
  align-items: center;
  padding: 15px;
  border: 2px solid #e0e0e0;
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.3s ease;
  font-size: 16px;
  line-height: 1.4;
}

.xkj9_radio_item:hover {
  border-color: #4285f4;
  background-color: #f8f9ff;
}

.xkj9_radio_item input[type="radio"] {
  display: none;
}

.xkj9_radio_circle {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  border: 2px solid #ccc;
  margin-left: 15px;
  position: relative;
  transition: all 0.3s ease;
  flex-shrink: 0;
}

.xkj9_radio_item input[type="radio"]:checked + .xkj9_radio_circle {
  border-color: #4285f4;
  background-color: #4285f4;
}

.xkj9_radio_item input[type="radio"]:checked + .xkj9_radio_circle::after {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background-color: white;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

.xkj9_radio_item input[type="radio"]:checked ~ * {
  color: #4285f4;
  font-weight: bold;
}

.xkj9_nav_buttons {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 30px;
  padding-top: 20px;
  border-top: 1px solid #e0e0e0;
}

.xkj9_btn {
  padding: 12px 30px;
  border: none;
  border-radius: 6px;
  font-size: 16px;
  font-weight: bold;
  cursor: pointer;
  transition: all 0.3s ease;
  min-width: 120px;
}

.xkj9_btn_next,
.xkj9_btn_submit {
  background-color: #4285f4;
  color: white;
}

.xkj9_btn_next:hover,
.xkj9_btn_submit:hover {
  background-color: #3367d6;
  transform: translateY(-1px);
}

.xkj9_btn_prev {
  background-color: #f8f9fa;
  color: #333;
  border: 1px solid #ddd;
}

.xkj9_btn_prev:hover {
  background-color: #e8eaed;
  transform: translateY(-1px);
}

.xkj9_btn:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}

.xkj9_results_display {
  text-align: center;
  animation: fadeIn 0.5s ease-in;
}

.xkj9_results_content {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: white;
  padding: 40px;
  border-radius: 15px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.xkj9_results_title {
  font-size: 28px;
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3);
}

.xkj9_score_display {
  font-size: 48px;
  font-weight: bold;
  margin: 20px 0;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.xkj9_score_description {
  font-size: 20px;
  opacity: 0.9;
}

/* Responsive Design */
@media (max-width: 768px) {
  .xkj9_multistep_form_wrapper_2024 {
    padding: 10px;
  }

  .xkj9_form_body {
    padding: 20px;
  }

  .xkj9_progress_step {
    width: 30px;
    height: 30px;
    font-size: 14px;
  }

  .xkj9_step_title {
    font-size: 20px;
  }

  .xkj9_question_text {
    font-size: 16px;
  }

  .xkj9_radio_item {
    font-size: 14px;
    padding: 12px;
  }

  .xkj9_nav_buttons {
    flex-direction: column;
    gap: 10px;
  }

  .xkj9_btn {
    width: 100%;
  }
}
