* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: system-ui, -apple-system, sans-serif;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  min-height: 100vh;
  padding: 20px;
  color: #333;
}

.container {
  max-width: 500px;
  margin: 0 auto;
  background: white;
  border-radius: 12px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
  overflow: hidden;
}

.header {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: white;
  padding: 24px;
  text-align: center;
}

.header h1 {
  font-size: 24px;
  margin-bottom: 8px;
}

.header p {
  font-size: 14px;
  opacity: 0.9;
}

.content {
  padding: 24px;
}

.wizard-step {
  display: none;
}

.wizard-step.active {
  display: block;
  animation: slideIn 0.3s ease-in-out;
}

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

.step-header {
  margin-bottom: 20px;
}

.step-number {
  font-size: 12px;
  color: #667eea;
  font-weight: 600;
  text-transform: uppercase;
  margin-bottom: 8px;
}

.step-title {
  font-size: 18px;
  font-weight: 600;
  color: #333;
  margin-bottom: 4px;
}

.step-description {
  font-size: 14px;
  color: #666;
}

.form-group {
  margin-bottom: 16px;
}

label {
  display: block;
  font-size: 14px;
  font-weight: 500;
  margin-bottom: 8px;
  color: #333;
}

.radio-group, .checkbox-group {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.radio-option, .checkbox-option {
  display: flex;
  align-items: center;
  padding: 12px;
  border: 1px solid #e0e0e0;
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.2s;
}

.radio-option:hover, .checkbox-option:hover {
  background: #f5f5f5;
  border-color: #667eea;
}

.radio-option input, .checkbox-option input {
  margin-right: 12px;
  cursor: pointer;
  width: 18px;
  height: 18px;
}

input[type="text"],
input[type="number"],
select {
  width: 100%;
  padding: 10px 12px;
  border: 1px solid #e0e0e0;
  border-radius: 8px;
  font-size: 14px;
  font-family: inherit;
  transition: border-color 0.2s;
}

input[type="text"]:focus,
input[type="number"]:focus,
select:focus {
  outline: none;
  border-color: #667eea;
  box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1);
}

.input-hint {
  font-size: 12px;
  color: #999;
  margin-top: 4px;
}

.progress-bar {
  height: 4px;
  background: #e0e0e0;
  margin-bottom: 20px;
}

.progress-fill {
  height: 100%;
  background: linear-gradient(90deg, #667eea 0%, #764ba2 100%);
  width: 12.5%;
  transition: width 0.3s;
}

.button-group {
  display: flex;
  gap: 12px;
  justify-content: space-between;
  margin-top: 24px;
}

button {
  padding: 10px 20px;
  border: none;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s;
}

.btn-next {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: white;
  flex: 1;
}

.btn-next:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 20px rgba(102, 126, 234, 0.3);
}

.btn-next:disabled {
  opacity: 0.5;
  cursor: not-allowed;
  transform: none;
}

.btn-prev {
  background: #f0f0f0;
  color: #333;
  flex: 1;
}

.btn-prev:hover {
  background: #e0e0e0;
}

.result-container {
  display: none;
}

.result-container.show {
  display: block;
}

.verdict-badge {
  display: inline-block;
  padding: 8px 16px;
  border-radius: 20px;
  font-weight: 600;
  font-size: 14px;
  margin-bottom: 16px;
}

.verdict-high {
  background: #fff3cd;
  color: #856404;
}

.verdict-medium {
  background: #d1ecf1;
  color: #0c5460;
}

.result-section {
  margin-bottom: 20px;
  padding-bottom: 20px;
  border-bottom: 1px solid #e0e0e0;
}

.result-section:last-child {
  border-bottom: none;
}

.result-label {
  font-size: 12px;
  color: #999;
  text-transform: uppercase;
  margin-bottom: 4px;
}

.result-value {
  font-size: 20px;
  font-weight: 700;
  color: #333;
}

.result-subtext {
  font-size: 13px;
  color: #666;
  margin-top: 4px;
}

.reasons-list {
  list-style: none;
  margin: 12px 0;
}

.reasons-list li {
  padding: 8px 0 8px 24px;
  position: relative;
  font-size: 13px;
  color: #555;
  line-height: 1.5;
}

.reasons-list li:before {
  content: "•";
  position: absolute;
  left: 0;
  color: #667eea;
  font-weight: 600;
}

.disclaimer {
  background: #f8f9fa;
  border-left: 3px solid #ffc107;
  padding: 12px;
  border-radius: 4px;
  font-size: 12px;
  color: #666;
  line-height: 1.6;
  margin-top: 12px;
}

.btn-reset {
  width: 100%;
  background: #f0f0f0;
  color: #333;
  margin-top: 16px;
}

.btn-reset:hover {
  background: #e0e0e0;
}

.error-message {
  background: #f8d7da;
  border: 1px solid #f5c6cb;
  color: #721c24;
  padding: 12px;
  border-radius: 8px;
  font-size: 13px;
  margin-bottom: 16px;
}

@media (max-width: 480px) {
  .container {
    margin: 10px;
  }

  .header {
    padding: 16px;
  }

  .header h1 {
    font-size: 20px;
  }

  .content {
    padding: 16px;
  }

  .result-value {
    font-size: 18px;
  }
}
