@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-20px); }
}

.form-container {
    perspective: 1000px;
    width: 100%;
}

.form-card {
    position: relative;
    transform-style: preserve-3d;
    transition: transform 0.8s cubic-bezier(0.4, 0.2, 0.2, 1);
    width: 100%;
    height: 100%;
}

.form-card.signup-mode {
    transform: rotateY(180deg);
}

.front, .back {
    backface-visibility: hidden;
    position: absolute;
    width: 100%;
    top: 50%;
    transform: translateY(-50%);
}

.back {
    transform: translateY(-50%) rotateY(180deg);
}

.floating-car {
    animation: float 6s ease-in-out infinite;
}

.input-effect {
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 1px 0 0 rgba(255, 255, 255, 0.6);
}

.input-effect:focus {
    box-shadow: 0 2px 0 0 #3b82f6;
}





