.ld-flashcard-container {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: center;
}

.ld-flashcard {
  width: 200px;
  height: 150px;
  perspective: 1000px;
  cursor: pointer;
}

.ld-flashcard-inner {
  position: relative;
  width: 100%;
  height: 100%;
  text-align: center;
  transition: transform 0.6s;
  transform-style: preserve-3d;
}

.ld-flashcard.flipped .ld-flashcard-inner {
  transform: rotateY(180deg);
}

.ld-flashcard-front,
.ld-flashcard-back {
  position: absolute;
  width: 100%;
  height: 100%;
  backface-visibility: hidden;
  border: 1px solid #ddd;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: white;
  font-size: 1.1em;
  box-shadow: 0 2px 6px rgba(0,0,0,0.15);
}

.ld-flashcard-back {
  background: #f8f8f8;
  transform: rotateY(180deg);
}
