/* 기본 레이아웃 */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  font-family: "Noto Sans KR", sans-serif;
}

body {
  background: #f5f7fa;
  color: #333;
  line-height: 1.6;
  padding: 2rem 1rem;
}

.container {
  max-width: 860px;
  margin: auto;
  background: #fff;
  padding: 2.5rem 2rem 4rem;
  border-radius: 12px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
}

h1 {
  text-align: center;
  margin-bottom: 1.8rem;
  color: #2774ff;
}

h2 {
  margin: 2rem 0 1rem;
  color: #1d4ed8;
  font-size: 1.25rem;
}

.notice {
  background: #fbf1d5;
  border-left: 5px solid #facc15;
  padding: 1rem;
  margin-bottom: 1rem;
  border-radius: 6px;
  font-size: 0.95rem;
}

.answer-guide {
  font-size: 0.9rem;
  margin-bottom: 2rem;
  color: #555;
}

/* 질문 */
.question {
  margin-bottom: 1.6rem;
}

.question-title {
  margin-bottom: 0.5rem;
  font-weight: 600;
}

/* 평점 버튼 */
.rating-group {
  display: flex;
  gap: 0.5rem;
}

.rating-input {
  display: none;
}

.rating-label {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #e5e7eb;
  cursor: pointer;
  transition: background 0.2s, transform 0.2s;
  font-weight: 600;
  color: #374151;
}

.rating-input:checked + .rating-label {
  background: #2774ff;
  color: #fff;
  transform: translateY(-2px);
}

.rating-label:hover {
  background: #cbd5e1;
}

/* 제출 버튼 */
.submit-btn {
  margin-top: 2rem;
  padding: 0.8rem 1.6rem;
  background: #2774ff;
  border: none;
  color: #fff;
  font-size: 1rem;
  border-radius: 8px;
  cursor: pointer;
  transition: background 0.2s;
}

.submit-btn:hover {
  background: #1e60d4;
}

.submit-btn + #restartBtn, #restartBtn {
  background: #10b981;
}

#restartBtn:hover {
  background: #059669;
}

/* 결과 */
.result {
  margin-top: 2.5rem;
  padding: 1.5rem;
  border-radius: 8px;
  background: #ecfdf5;
  border: 1px solid #34d399;
}

.hidden {
  display: none;
} 