/* Card Dimensions & 3D Effect */
.flip-card {
    background-color: transparent;
    width: 300px;
    height: 450px;
    perspective: 1000px;
}

.flip-card-inner {
    position: relative;
    width: 100%;
    height: 100%;
    transition: transform 0.6s;
    transform-style: preserve-3d;
}

/* The Flip Trigger */
.flip-card-inner.flipped {
    transform: rotateY(180deg);
}

.flip-card-front, .flip-card-back {
    position: absolute;
    width: 100%;
    height: 100%;
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
}

.flip-card-back {
    transform: rotateY(180deg);
}

/* Custom Three-Dot Button */
.btn-dots {
    background-color: #e9ecef; /* Light grey */
    border: none;
    border-radius: 8px;
    padding: 5px 10px;
    display: flex;
    gap: 3px;
    cursor: pointer;
    width: fit-content;
}

.btn-dots span {
    width: 6px;
    height: 6px;
    background-color: white;
    border-radius: 50%;
    display: inline-block;
}

.btn-dots:hover {
    background-color: #dee2e6;
}