:root {
    --primary: #06b6d4; /* Cyan */
    --bg-gradient: linear-gradient(135deg, #cffafe, #a5f3fc, #67e8f9);
}

.flashcard-area {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
}

.progress {
    font-size: 1.2rem;
    font-weight: bold;
    color: #334155;
    margin-bottom: 10px;
}

.flashcard {
    background-color: transparent;
    width: 300px;
    height: 400px;
    perspective: 1000px; /* Remove this if you don't want the 3D effect */
    cursor: pointer;
}

.flashcard-inner {
    position: relative;
    width: 100%;
    height: 100%;
    text-align: center;
    transition: transform 0.6s;
    transform-style: preserve-3d;
}

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

.flashcard-front, .flashcard-back {
    position: absolute;
    width: 100%;
    height: 100%;
    backface-visibility: hidden;
    border-radius: 24px;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 3rem;
    font-weight: bold;
    padding: 20px;
    box-shadow: 0 10px 15px -3px rgba(0,0,0,0.1), 0 4px 6px -2px rgba(0,0,0,0.05);
}

.flashcard-front {
    background-color: #fff;
    color: var(--primary);
    border: 4px solid var(--primary);
}

.flashcard-back {
    background-color: var(--primary);
    color: white;
    transform: rotateY(180deg);
}

.controls {
    display: flex;
    gap: 15px;
    width: 100%;
    justify-content: center;
    margin-top: 20px;
}

.controls .btn-large {
    flex: 1;
    max-width: 180px;
}
