/* 기본 스타일 */
#tm-container {
  text-align: center;
  max-width: 680px;
  width: 100%;
  margin: 0 auto;
  padding: 0 16px;
  box-sizing: border-box;
}
#upload-banner {
  max-width: 100%;
  width: 100%;
  display: block;
  margin-bottom: 20px;
  border-radius: 10px;
}
#image-preview {
  display: none;
  max-width: 100%;
  margin-top: 15px;
  border-radius: 10px;
}
#start-button {
  display: block;
  width: 100%;
  padding: 15px;
  font-size: 23px;
  margin-top: 20px;
  background-color: #007bff;
  color: white;
  border: none;
  border-radius: 5px;
  cursor: pointer;
  transition: background 0.3s ease;
}
#start-button:hover {
  background-color: #0056b3;
}
.question-button {
  display: block;
  width: 100%;
  padding: 20px;
  font-size: 18px;
  margin: 10px 0;
  background-color: #343a40;
  color: white;
  border: none;
  border-radius: 5px;
  cursor: pointer;
}
.question-button:hover {
  background-color: #495057;
}
/* 질문 이미지: 100px x 100px, 질문 위에 배치 */
#question-img {
  width: 200px;
  height: 200px;
  display: block;
  margin: 0 auto 20px auto;
}
#question-title {
  margin: 20px 0;
}
.progress {
  width: 100%;
  background-color: #e9ecef;
  height: 20px;
  border-radius: 10px;
  margin-top: 30px;
  overflow: hidden;
}
.progress-bar {
  width: 0%;
  height: 100%;
  background-color: #007bff;
  transition: width 0.5s ease;
}
/* 로딩 화면 */
#loading-screen {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: white;
  z-index: 9999;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  font-size: 24px;
  font-weight: bold;
  color: #333;
}
.loading-spinner {
  width: 50px;
  height: 50px;
  border: 5px solid #ddd;
  border-top: 5px solid #007bff;
  border-radius: 50%;
  animation: spin 1s linear infinite;
  margin-bottom: 20px;
}
@keyframes spin {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}
@keyframes dotAnimation {
  0% {
    content: '봄 꽃 생성 중';
  }
  33% {
    content: '봄 꽃 생성 중.';
  }
  66% {
    content: '봄 꽃 생성 중..';
  }
  100% {
    content: '봄 꽃 생성 중...';
  }
}
.loading-text::after {
  content: '봄 꽃 생성 중';
  animation: dotAnimation 1.5s infinite;
}
