/* 프로필 > 탈퇴 */
.profile-out {
  padding: 10px 0 2px 4px;
}
.profile-out .desc {
  font-size: 11px;
}
.profile-out .desc button {
  width: 110px;
  height: 22px;
  font-size: 11px;
  padding: 0;
  border-radius: 5px;
  border: 1px solid #875b2e;
}

/* 게임화면에서 txt, image 혼합 형태 */
.txt-quiz .question .txt {
  width: 100%;
  text-align: left;
  padding: 5px;
  margin-bottom: 10px;
}

.etc-qk {
  position: absolute;
  /* background: linear-gradient(-52deg, #8b6200, #e1a000, #ffc433, #ffffff); */
  box-shadow: 0 3px 6px 2px #664f1538;
  padding: 5px;
  border-radius: 100%;
  bottom: 120px;
  right: 3%;
  z-index: 99;
}

.etc-cart-count {
  color: blue;
  font-size: 1em;
}

/*^^진행상태바*/
.progress-container {
  width: 50px; /* 시계 모양으로 설정할 너비 */
  height: 50px; /* 시계 모양으로 설정할 높이 */
  background-color: #f2f2f2; /* 배경색 */
  border-radius: 50%; /* 원형 모양 */
  position: relative;
  overflow: hidden;
  margin: 20px auto; /* 중앙 정렬 */
  display: flex;
  justify-content: center;
  align-items: center;
}

.progress-bar {
  position: absolute;
  width: 2px; /* 초침처럼 가늘게 설정 */
  height: 50%; /* 시계 초침처럼 길게 설정 */
  background-color: #ff5722; /* 강렬한 색상 */
  bottom: 50%; /* 가운데 정렬 */
  transform-origin: bottom center; /* 회전 기준을 아래쪽으로 설정 */
  transition: transform 1s linear; /* 회전 애니메이션 */
}

.progress-content {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  font-size: 16px;
  color: #333;
}

.icon {
  margin-right: 8px;
  color: #ff5722; /* 아이콘 색상 */
  font-size: 24px; /* 아이콘 크기 */
}

.counter {
  font-weight: bold;
}

.quiz-progress-fill {
  position: absolute;
  bottom: 0; /* 가장 아래에서 시작 */
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  background-color: rgba(255, 99, 71, 0.5); /* 부드러운 크림색 */
  animation: fill-background 5s forwards; /* 애니메이션 */
  animation-timing-function: linear; /* 일정한 속도 */
}
@keyframes fill-background {
  0% {
    height: 0; /* 시작 높이 0 */
  }
  100% {
    height: 100%; /* 최종 높이 100% */
  }
}

.loading-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.7);
}

.spinner {
  border: 4px solid rgba(0, 0, 0, 0.1);
  border-top: 4px solid #000;
  border-radius: 50%;
  width: 30px;
  height: 30px;
  animation: spin 1s linear infinite;
}

@keyframes spin {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}

/* 보너스 게임 */
.game-mark {
  position: absolute;
  top: -16px;
  left: -15px;
}
.game-mark .bonus {
  position: relative; /* position을 relative로 설정 */
}

.bonus {
  font-size: 1rem; /* 적절한 크기 */
  font-family: "Arial Black", sans-serif; /* 굵고 명확한 폰트 */
  font-weight: bold;
  color: #ffffff; /* 금색 */
  background-color: #ff4500; /* 강렬한 주황색 배경 */
  text-transform: uppercase; /* 대문자로 변환 */
  text-align: center; /* 텍스트 중앙 정렬 */
  display: inline-block;
  padding: 1px 2px; /* 적절한 여백 */
  border: 2px solid #ffd700; /* 금색 테두리 */
  border-radius: 8px; /* 살짝 둥근 모서리 */
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.5); /* 그림자로 입체감 부여 */
}

/* ########## 정답 리스트 (선택지) 버튼 영역 ########## */
.answer-box button.highlight {
  background-color: yellow;
}

/* styles.css 또는 해당 CSS 파일에 추가 */
.go-message {
  position: absolute; /* 절대 위치로 설정 */
  top: 50%; /* 화면 중앙에 위치 */
  left: 50%;
  transform: translate(-50%, -50%); /* 중앙 정렬 */
  font-style: oblique;
  font-family: "Lobster", sans-serif;
  font-size: 65px; /* 글자 크기 */
  font-weight: 900;
  color: #ff0000; /* 글자 색상 */
  opacity: 1; /* 초기 불투명도 */
  transition: opacity 0.5s ease; /* 불투명도 변화 애니메이션 */
}

/* 게임 */
.quiz-box .quiz .question-image {
  /* height: 98% !important; */
  margin-top: 10px;
}

.quiz-box .quiz .question-image .txt {
  width: 100%;
  text-align: left;
  padding: 0 5px;
  margin-bottom: 2px;
}

/* ####### 상단 다국어 ######## */

.etc-language-selector {
  position: absolute;
  top: 3px;
  right: 3px;
  display: inline-block;
}

.etc-language-dropdown {
  display: inline-block;
}

.etc-language-dropdown img {
  width: 30px;
  cursor: pointer;
}

.etc-dropdown-content {
  position: absolute;
  top: 20px; /* 드롭다운이 국기 바로 아래에 표시되도록 위치 설정 */
  right: 1px;
  min-width: 60px;
  padding: 2px;
  border: 2px solid #f8bc27;
  z-index: 10;
  background-color: #fff3de;
}

.etc-dropdown-content img {
  width: 60px;
  margin-top: 2px;
  cursor: pointer;
}

.etc-dropdown-content img:hover {
  opacity: 0.7;
}

.etc-toggle-button {
  margin-top: 20px;
  padding: 10px 20px;
  font-size: 16px;
  cursor: pointer;
}
