.wizard-container {
  max-width: 1200px;
  margin: 0 auto;
  padding-top: 2em;
}

/* Card Styling */
.question-card {
  background: #f8f9fa;
  border: 1px solid #e9ecef;
  border-radius: 12px;
  padding: 24px;
  margin-bottom: 20px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
  transition: all 0.3s ease;
}

.question-card:hover {
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.12);
  transform: translateY(-1px);
}

.question-card h3 {
  color: #2c3e50;
  font-size: 20px;
  font-weight: 600;
  margin-bottom: 16px;
  line-height: 1.4;
}

.question-card p {
  font-size: 16px;
  color: #495057;
  margin-bottom: 20px;
  line-height: 1.6;
}

.wizard-progress {
  display: flex;
  justify-content: center;
  margin-bottom: 30px;
  padding: 0;
  list-style: none;
}

.wizard-progress li {
  flex: 1;
  position: relative;
  text-align: center;
  max-width: 120px;
}

.wizard-progress li:not(:last-child):after {
  content: '';
  position: absolute;
  top: 15px;
  left: 50%;
  width: 100%;
  height: 2px;
  background: #ddd;
  z-index: 1;
}

.wizard-progress li.active:not(:last-child):after,
.wizard-progress li.completed:not(:last-child):after {
  background: #2980b9;
}

.wizard-step {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: #ddd;
  color: #666;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: bold;
  position: relative;
  z-index: 2;
  margin-bottom: 5px;
}

.wizard-progress li.active .wizard-step {
  background: #2980b9;
  color: white;
}

.wizard-progress li.completed .wizard-step {
  background: #27ae60;
  color: white;
}

.wizard-step-label {
  font-size: 12px;
  color: #666;
}

.wizard-progress li.active .wizard-step-label {
  color: #2980b9;
  font-weight: bold;
}

.wizard-content {
  min-height: 400px;
}

.wizard-step-content {
  display: none;
  animation: fadeIn 0.3s ease-in;
}

.wizard-step-content.active {
  display: block;
}

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

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

.wizard-btn {
  padding: 12px 24px;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  font-size: 14px;
  font-weight: bold;
  text-decoration: none;
  display: inline-block;
  transition: all 0.3s ease;
}

.wizard-btn-primary {
  background-color: #2980b9;
  color: white;
}

.wizard-btn-primary:hover {
  background-color: #1c5980;
}

.wizard-btn-secondary {
  background-color: #95a5a6;
  color: white;
}

.wizard-btn-secondary:hover {
  background-color: #7f8c8d;
}

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

.wizard-step-title {
  color: #2c3e50;
  margin-bottom: 24px;
  font-size: 24px;
  font-weight: 600;
  text-align: center;
  line-height: 1.4;
}

.wizard-step-content .section {
  margin-bottom: 20px;
}

.wizard-step-counter {
  text-align: center;
  margin-bottom: 16px;
  color: #6c757d;
  font-size: 16px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.form-validation-error {
  color: #e74c3c;
  font-size: 14px;
  margin-top: 5px;
  display: none;
}

.wizard-step-content.has-error .form-validation-error {
  display: block;
}

.wizard-summary {
  background: #f8f9fa;
  padding: 20px;
  border-radius: 8px;
  margin-bottom: 20px;
}

.wizard-summary h3 {
  color: #2c3e50;
  margin-bottom: 15px;
}

.wizard-summary-item {
  margin-bottom: 10px;
  padding: 8px 0;
  border-bottom: 1px solid #dee2e6;
}

.wizard-summary-item:last-child {
  border-bottom: none;
}

.wizard-summary-label {
  font-weight: bold;
  color: #495057;
  margin-bottom: 5px;
}

.wizard-summary-value {
  color: #666;
}

/* Custom Radio and Checkbox Styling */
.custom-radio,
.custom-checkbox {
  display: flex;
  align-items: center;
  margin-bottom: 12px;
  cursor: pointer;
  font-size: 16px;
  color: #495057;
  position: relative;
  padding-left: 32px;
  line-height: 1.5;
}

.custom-radio input[type="radio"],
.custom-checkbox input[type="checkbox"] {
  position: absolute;
  opacity: 0;
  cursor: pointer;
  height: 0;
  width: 0;
}

.custom-radio .checkmark,
.custom-checkbox .checkmark {
  position: absolute;
  left: 0;
  top: 2px;
  height: 20px;
  width: 20px;
  background-color: #fff;
  border: 2px solid #dee2e6;
  border-radius: 50%;
  transition: all 0.3s ease;
}

.custom-checkbox .checkmark {
  border-radius: 4px;
}

.custom-radio:hover input ~ .checkmark,
.custom-checkbox:hover input ~ .checkmark {
  border-color: #2980b9;
  box-shadow: 0 0 0 3px rgba(41, 128, 185, 0.1);
}

.custom-radio input:checked ~ .checkmark,
.custom-checkbox input:checked ~ .checkmark {
  background-color: #2980b9;
  border-color: #2980b9;
}

.custom-radio .checkmark:after,
.custom-checkbox .checkmark:after {
  content: "";
  position: absolute;
  display: none;
}

.custom-radio input:checked ~ .checkmark:after,
.custom-checkbox input:checked ~ .checkmark:after {
  display: block;
}

.custom-radio .checkmark:after {
  top: 2px;
  left: 2px;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: white;
}

.custom-checkbox .checkmark:after {
  left: 6px;
  top: 2px;
  width: 6px;
  height: 10px;
  border: solid white;
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
}

/* Rating Table Styling */
.rating-table-container {
  background: #fff;
  border-radius: 8px;
  padding: 16px;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

.rating-table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  font-size: 16px;
}

.rating-table th,
.rating-table td {
  border: 1px solid #e9ecef;
  padding: 12px;
  text-align: center;
}

.rating-table th {
  background-color: #f8f9fa;
  color: #495057;
  font-weight: 600;
  border-top: 2px solid #2980b9;
}

.rating-table td:first-child {
  text-align: left;
  font-weight: 500;
  background-color: #fafbfc;
  color: #2c3e50;
}

.rating-table th:first-child {
  border-top-left-radius: 8px;
}

.rating-table th:last-child {
  border-top-right-radius: 8px;
}

.rating-table tr:last-child td:first-child {
  border-bottom-left-radius: 8px;
}

.rating-table tr:last-child td:last-child {
  border-bottom-right-radius: 8px;
}

/* Text Input Styling */
textarea,
input[type="text"] {
  width: 100%;
  padding: 12px 16px;
  margin: 8px 0 16px 0;
  box-sizing: border-box;
  border: 2px solid #e9ecef;
  border-radius: 8px;
  font-size: 16px;
  line-height: 1.5;
  color: #495057;
  background-color: #fff;
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

textarea:focus,
input[type="text"]:focus {
  outline: none;
  border-color: #2980b9;
  box-shadow: 0 0 0 3px rgba(41, 128, 185, 0.1);
}

textarea {
  resize: vertical;
  min-height: 100px;
}

/* Other Text Input */
.other-input {
  margin-top: 8px;
  margin-left: 32px;
  width: calc(100% - 32px);
}

/* Radio Group for Recommendation */
.radio-group {
  display: grid;
  gap: 12px;
  margin-top: 16px;
}