/* Custom styles for flashcard flip effect */
.perspective-1000 {
    perspective: 1000px;
}

.preserve-3d {
    transform-style: preserve-3d;
}

.backface-hidden {
    backface-visibility: hidden;
}

.rotate-y-180 {
    transform: rotateY(180deg);
}

/* Ensure the flashcard container has a defined size */
#flashcard-container {
    width: 300px;
    height: 200px;
}

/* Flashcard faces */
.flashcard-face {
    position: absolute;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 0.5rem; /* Tailwind's rounded-lg */
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05); /* Tailwind's shadow-lg */
}

/* Flashcard transition */
#flashcard {
    transition: transform 0.7s;
}

#flashcard.flipped {
    transform: rotateY(180deg);
}
