/* 스피킹 연습 화면 스타일 */
#speaking-practice-screen {
  display: none;
  flex-direction: column;
  height: 100%;
  position: relative;
  overflow: hidden;
}

#speaking-practice-screen .speaking-practice-header {
  background: #A88BEB;
  padding: 15px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: white;
  box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

#speaking-practice-screen .speaking-practice-header .back-button {
  background: transparent;
  border: none;
  cursor: pointer;
  color: white;
  font-size: 24px;
  padding: 0;
  display: flex;
  align-items: center;
}

#speaking-practice-screen .speaking-levels {
  display: flex;
  justify-content: center;
  margin: 15px 0;
  flex-wrap: wrap;
  gap: 10px;
  padding: 0 15px;
}

#speaking-practice-screen .speaking-level {
  padding: 8px 20px;
  border: none;
  border-radius: 20px;
  background: #e9ecef;
  color: #495057;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
}

#speaking-practice-screen .speaking-level.active {
  background: #A88BEB;
  color: white;
}

#speaking-practice-screen .speaking-container {
  padding: 15px;
  flex: 1;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
}

#speaking-practice-screen .speaking-sentences-progress {
  margin-bottom: 15px;
  background: white;
  padding: 15px;
  border-radius: 10px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

#speaking-practice-screen .speaking-sentences-progress h3 {
  margin: 0 0 10px 0;
  font-size: 16px;
  color: #333;
}

#speaking-practice-screen .progress {
  height: 10px;
  background-color: #e9ecef;
  border-radius: 5px;
  overflow: hidden;
  margin-bottom: 10px;
}

#speaking-practice-screen .progress-bar {
  background-color: #A88BEB;
  height: 100%;
  transition: width 0.3s ease;
}

#speaking-practice-screen .speaking-sentences-progress div:last-child {
  display: flex;
  justify-content: space-between;
  font-size: 14px;
  color: #666;
}

#speaking-practice-screen .speaking-exercise {
  background: white;
  padding: 20px;
  border-radius: 10px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
  margin-bottom: 15px;
  flex: 1;
  display: flex;
  flex-direction: column;
}

#speaking-practice-screen .sentence-display {
  margin-bottom: 20px;
}

#speaking-practice-screen #current-sentence {
  font-size: 22px;
  font-weight: 600;
  color: #333;
  margin-bottom: 10px;
  line-height: 1.4;
}

#speaking-practice-screen #sentence-translation {
  font-size: 16px;
  color: #666;
  margin-bottom: 20px;
}

#speaking-practice-screen .speaking-controls {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 20px;
}

#speaking-practice-screen .speaking-controls button {
  padding: 10px 15px;
  border: none;
  border-radius: 25px;
  font-weight: 600;
  cursor: pointer;
  display: flex;
  align-items: center;
  transition: all 0.3s ease;
  box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

#speaking-practice-screen #listen-button {
  background: #6c757d;
  color: white;
}

#speaking-practice-screen #record-button {
  background: #FF6B6B;
  color: white;
}

#speaking-practice-screen #next-button {
  background: #A88BEB;
  color: white;
}

#speaking-practice-screen .speaking-status {
  background: #e9ecef;
  padding: 10px 15px;
  border-radius: 5px;
  margin-bottom: 20px;
}

#speaking-practice-screen #speaking-status-message {
  font-size: 14px;
  color: #495057;
}

#speaking-practice-screen .speaking-result {
  background: #f8f9fa;
  border-radius: 10px;
  padding: 15px;
  margin-top: 10px;
  display: none;
}

#speaking-practice-screen .result-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 15px;
}

#speaking-practice-screen .result-header h4 {
  margin: 0;
  font-size: 16px;
  color: #333;
}

#speaking-practice-screen .result-score {
  padding: 5px 15px;
  background: #A88BEB;
  color: white;
  border-radius: 15px;
  font-weight: 600;
}

#speaking-practice-screen .result-detail {
  background: white;
  padding: 15px;
  border-radius: 8px;
  margin-bottom: 15px;
}

#speaking-practice-screen .result-detail p {
  margin: 0;
  color: #495057;
}

#speaking-practice-screen .result-words {
  background: white;
  padding: 15px;
  border-radius: 8px;
}

#speaking-practice-screen .result-words h5 {
  margin: 0 0 10px 0;
  font-size: 14px;
  color: #666;
}

#speaking-practice-screen .result-words > div:first-child {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 10px;
} 