/* =====================
   Question Box
===================== */
.question-box {
  background: var(--primary-light);
  border-radius: var(--radius-md);
  padding: 18px;
  margin-bottom: 20px;
  text-align: center;
}

.question-box span {
  font-size: 0.85rem;
  color: var(--primary);
  font-weight: 600;
}

.question-box p {
  font-size: 1.1rem;
  margin-top: 6px;
}

/* =====================
   Controls
===================== */
.controls {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-bottom: 20px;
}

/* start / stop은 button + variant */
.start {
  background: var(--primary);
  color: white;
}

.start:hover {
  background: #4338ca;
}

.stop {
  background: var(--danger);
  color: white;
}

.stop:hover {
  background: #b91c1c;
}

/* =====================
   Log
===================== */
.log-box {
  margin-top: 14px;
}

.log-box summary {
  cursor: pointer;
  font-weight: 600;
  color: var(--primary);
}

.log {
  background: #0f172a;
  color: #22c55e;
  border-radius: var(--radius-md);
  padding: 12px;
  font-size: 0.75rem;
  height: 140px;
  overflow-y: auto;
  white-space: pre-wrap;
}

.new-question {
  margin-top: 14px;
  padding: 10px 16px;
  font-size: 0.9rem;
  font-weight: 600;
  border-radius: var(--radius-md);
  border: 1px solid var(--primary);
  background: white;
  color: var(--primary);
}

.new-question:hover {
  background: var(--primary-light);
}

/* =====================
   Speaking Guide Layout
===================== */

.det-guide {
  background: #ffffff;
  border-radius: 18px;
  padding: 36px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.06);
}

/* 소박스 카드 */
.card-section {
  background: #f9fafb;
  border-radius: 14px;
  padding: 22px 26px;
  margin-top: 22px;
  box-shadow: inset 0 0 0 1px #eef2f7;
}

.card-section h3 {
  margin-bottom: 14px;
  font-size: 17px;
  color: #1f2937;
}

/* 리스트 정리 */
.card-section ul {
  padding-left: 18px;
}

.card-section li {
  margin-bottom: 8px;
  line-height: 1.6;
}

/* 경고 박스 */
.alert-box {
  margin-top: 16px;
  padding: 14px 18px;
  border-radius: 10px;
  background: #fff7ed;
  color: #9a3412;
  font-size: 14px;
  line-height: 1.6;
}

/* CTA 버튼 강조 */
.btn-primary {
  display: inline-block;
  padding: 14px 28px;
  border-radius: 999px;
  font-size: 16px;
  font-weight: 600;
}

.speaking-image {
  width: 100%;
  max-width: 500px;      /* ✅ PC 기준 */
  display: block;
  margin: 0 auto 16px;  /* ✅ 중앙 정렬 */
  border-radius: 12px;
}
.current-level {
  display: none;
}

.nav-back {
  display: flex;
  justify-content: flex-end; /* 👉 오른쪽 끝 */
  margin-bottom: 20px;
}
