.eze-flashcard-wrapper {
  max-width: 520px;
  margin: 0 auto;
  text-align: center;
}

.eze-flashcard-title {
  font-size: 28px;
  margin-bottom: 20px;
}

.eze-progress {
  width: 620px;
  max-width: 92vw;
  height: 6px;
  background: #e5e7eb;
  border-radius: 999px;
  margin: 0 auto 16px;
  overflow: hidden;
}

.eze-progress-bar {
  height: 100%;
  width: 0%;
  background: #4f46e5;
  transition: width 0.3s ease;
}

.eze-flashcard-deck {
  perspective: 1200px;
  display: flex;
  justify-content: center;
}

.eze-flashcard-card {
  position: relative;
  width: 620px;
  max-width: 92vw;
  height: 420px;
  background: #fff;
  border-radius: 16px;
  box-shadow:
    0 10px 30px rgba(0,0,0,.15),
    0 0 0 6px #f3f4f6;
  transform-style: preserve-3d;
  transition: transform 0.6s ease;
  cursor: pointer;
}

.eze-flashcard-card.flipped {
  transform: rotateY(180deg);
}

.eze-face {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  box-sizing: border-box;
  text-align: center;
  backface-visibility: hidden;
}

.eze-front { transform: rotateY(0deg); }
.eze-back  { transform: rotateY(180deg); }

.eze-card-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.eze-card-content p {
  font-size: 18px;
  line-height: 1.6;
  margin: 0;
}

.eze-media {
  margin-top: 12px;
}

.eze-media img,
.eze-media video {
  max-width: 100%;
  border-radius: 8px;
}

.eze-media audio {
  width: 100%;
  max-width: 320px;
}

/* Hint icon */
.eze-hint-btn {
  position: absolute;
  bottom: 16px;
  left: 16px;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: none;
  background: #eef2ff;
  color: #4f46e5;
  font-size: 18px;
  cursor: pointer;
  z-index: 10;
}

/* Hint bubble */
.eze-flashcard-hint {
  position: absolute;
  bottom: 64px;
  left: 16px;
  max-width: 70%;
  background: #4f46e5;
  color: #fff;
  padding: 12px 14px;
  border-radius: 12px;
  font-size: 14px;
  line-height: 1.4;
  box-shadow: 0 8px 24px rgba(0,0,0,.2);
  display: none;
  z-index: 9;
}

.eze-flashcard-hint.active {
  display: block;
}

.eze-flashcard-controls,
.eze-flashcard-tools {
  margin-top: 16px;
  display: flex;
  justify-content: center;
  gap: 10px;
}

.eze-btn {
  padding: 8px 14px;
  border-radius: 6px;
  border: 1px solid #d1d5db;
  background: #fff;
  cursor: pointer;
}

.eze-btn.primary {
  background: #4f46e5;
  color: #fff;
  border-color: #4f46e5;
}

.eze-flashcard-help {
  margin-top: 12px;
  font-size: 13px;
  color: #6b7280;
}

.eze-question input[type="radio"],
.eze-question input[type="checkbox"] {
  display: none !important;
}
