/* Main Container */
.exercise-container {
  width: 68rem;
  display: flex;
  flex-direction: column;
  gap: 2rem;
  padding: 1rem;
}

/* Conversation Layout */
.conversation-container {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
  width: 68rem;
  margin: 0 auto;
}

/* Audio Container */
.audio-container {
  display: flex;
  align-items: flex-start;
  margin-right: 2rem;
}

/* Audio Button */
.audio-button {
  width: 5rem;
  height: 5rem;
  border: none;
  background: transparent;
  cursor: pointer;
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
}

.audio-button:hover {
  transform: scale(1.05);
}

.audio-button img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  pointer-events: none;
}

.audio-button .pause-icon {
  display: none;
}

.audio-button.playing .play-icon {
  display: none;
}

.audio-button.playing .pause-icon {
  display: block;
}

/* Conversation Image */
.conversation-image {
  flex: 0 0 30%;
  order: 2;
  display: flex;
  justify-content: center;
  align-items: center;
}

.scene-image {
  max-width: 100%;
  height: auto;
  border-radius: 0.5rem;
}

/* Conversation Text */
.conversation-text {
  flex: 1;
  order: 1;
  display: flex;
  flex-direction: column;
  /* gap: 1rem; */
  max-width: 60%;
}

/* Dialogue Line */
.dialogue-line {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  width: 100%;
  min-height: 2rem;
}

/* Speaker */
.speaker {
  flex-shrink: 0;
  width: 1.5rem;
  height: 1.5rem;
  display: flex;
  justify-content: center;
  align-items: center;
}

/* Bullet */
.bullet {
  width: 1rem;
  height: 1rem;
  border-radius: 50%;
}

.bullet.blue {
  background-color: #00699F;
}

.bullet.yellow {
  background-color: #F9B002;
}

.bullet.green {
  background-color: #258174;
}

.bullet.cyan {
  background-color: #00B2A9;
}

/* Text */
.text {
  flex-grow: 1;
  padding: 0.5rem 0;
  line-height: 1.5;
  font-size: 1.1rem;
  cursor:pointer;
  white-space: normal;
  overflow-wrap: break-word;
}

/* Hotspot */
.hotspot {
  position: relative;
  display: inline;
  padding: 0;
  border-radius: 0.3rem;
  transition: color 0.2s ease;
}

.hotspot.clicked {
  font-weight: bold;
}

.hotspot.correct {
  color: #258174;
  font-weight: bold;
}

.hotspot.incorrect {
  color: #FF0000;
  font-weight: bold;
}

/* Media Query for smaller screens */
@media (max-width: 768px) {
  .conversation-container {
    flex-direction: column;
  }
  
  .conversation-image {
    order: 1;
    margin-bottom: 1rem;
  }
  
  .conversation-text {
    order: 2;
    max-width: 100%;
  }
  
  .dialogue-line {
    gap: 0.3rem;
  }
  
  .speaker {
    width: 1.2rem;
    height: 1.2rem;
  }
  
  .bullet {
    width: 0.8rem;
    height: 0.8rem;
  }
  
  .text {
    padding: 0.3rem 0;
    font-size: 1rem;
  }
} 