/* Login Page V2 Styles - Flipping Logo */

.login-logo-flip {
    margin-bottom: 30px;
    display: flex;
    justify-content: center;
    align-items: center;
    perspective: 1000px;
}

.flip-card {
    background-color: transparent;
    width: 450px;
    height: 160px;
    perspective: 1000px;
}

.flip-card-inner {
    position: relative;
    width: 100%;
    height: 100%;
    text-align: center;
    transition: transform 0.8s;
    transform-style: preserve-3d;
    animation: flipLogo 3s ease-in-out infinite;
}

@keyframes flipLogo {
    0% {
        transform: rotateY(0deg);
    }
    50% {
        transform: rotateY(180deg);
    }
    100% {
        transform: rotateY(360deg);
    }
}

.flip-card-inner {
    animation-duration: 5s; /* Slower animation - was 3s */
}

.flip-card-front,
.flip-card-back {
    position: absolute;
    width: 100%;
    height: 100%;
    backface-visibility: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.flip-card-front {
    background-color: transparent;
}

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

.logo-img-flip {
    max-width: 450px;
    max-height: 160px;
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.logo-text-flip {
    font-size: 60px;
    font-weight: 800;
    color: var(--dark-green);
    letter-spacing: 1px;
    display: none;
}

.logo-text-flip-back {
    font-size: 60px;
    font-weight: 800;
    background: linear-gradient(135deg, var(--dark-green), var(--primary-green));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    letter-spacing: 1px;
}

/* Responsive */
@media (max-width: 768px) {
    .flip-card {
        width: 320px;
        height: 120px;
    }
    
    .logo-img-flip {
        max-width: 320px;
        max-height: 120px;
    }
    
    .logo-text-flip,
    .logo-text-flip-back {
        font-size: 48px;
    }
}
