/* 기본 스타일 초기화 */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Nanum Gothic', sans-serif;
  background: #f9f9f9;
  color: #333;
  line-height: 1.6;
  display: flex;
  justify-content: center;
  align-items: flex-start;
  min-height: 100vh;
  padding: 30px;
}

/* 컨테이너 공통 스타일 */
.container {
  width: 100%;
  max-width: 720px;
  background: #fff;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
  padding: 20px 30px;
  margin-bottom: 30px;
}

.hidden {
  display: none;
}

h1 {
  font-size: 1.6rem;
  margin-bottom: 16px;
  text-align: center;
}

.step-info {
  text-align: center;
  margin-bottom: 20px;
  font-weight: bold;
  color: #666;
}

.question-area {
  margin-bottom: 20px;
}

.question-wrap {
  margin-bottom: 20px;
}

.question-text {
  font-weight: bold;
  margin-bottom: 8px;
}

.radio-group {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.radio-label {
  display: flex;
  align-items: center;
  background: #f3f3f3;
  border-radius: 4px;
  padding: 6px 12px;
  cursor: pointer;
}

.radio-label:hover {
  background: #e1e1e1;
}

.radio-label input[type="radio"] {
  margin-right: 6px;
}

.next-btn, .prev-btn, .submit-btn {
  display: inline-block;
  padding: 10px 20px;
  background: #5b87f2;
  color: #fff;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  margin: 10px 5px 0 0;
}

.next-btn:hover, .prev-btn:hover, .submit-btn:hover {
  background: #467de3;
}

.result-text {
  margin-bottom: 20px;
  line-height: 1.5;
}

.result-image {
  display: block;
  max-width: 200px;
  margin: 0 auto 20px auto;
}
