.commonFormUi {
    background: linear-gradient(-45deg, #f5f7ff, #e0e7ff, #ecfdf5);
}

.commonFormUi .registration-card {
    width: 100%;
    max-width: 900px;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.15);
    display: flex;
    background: white;
    position: relative;
    transform: scale(0.95);
    animation: cardEntrance 0.8s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}

@keyframes cardEntrance {
    from {
        opacity: 0;
        transform: translateY(30px) scale(0.95);
    }

    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

.commonFormUi .form-section {
    /* flex: 1; */
    padding: 60px;
    position: relative;
    z-index: 2;
}

.commonFormUi .image-section {
    /* flex: 1; */
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    padding: 40px;
    position: relative;
    overflow: hidden;
}

@keyframes float {
    0% {
        transform: translateY(0px);
    }

    50% {
        transform: translateY(-15px);
    }

    100% {
        transform: translateY(0px);
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.commonFormUi .form-group {
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInUp 0.6s ease-out forwards;
}

.commonFormUi .form-control {
    border: 2px solid #e2e8f0;
    border-radius: 30px;
    padding: 14px 18px;
    font-size: 15px;
    transition: all 0.3s;
    margin-bottom: 25px;
    box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.05);
    transform-origin: bottom;
}

.commonFormUi .form-control:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(79, 70, 229, 0.1), inset 0 2px 4px rgba(0, 0, 0, 0.05);
    animation: inputPulse 1.5s infinite;
}

@keyframes inputPulse {
    0% {
        box-shadow: 0 0 0 0 rgba(79, 70, 229, 0.3);
    }

    70% {
        box-shadow: 0 0 0 10px rgba(79, 70, 229, 0);
    }

    100% {
        box-shadow: 0 0 0 0 rgba(79, 70, 229, 0);
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

.commonFormUi .bubble {
    position: absolute;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    animation: floatBubble 15s linear infinite;
}

.commonFormUi .bubble:nth-child(1) {
    width: 80px;
    height: 80px;
    top: 20%;
    left: 10%;
    animation-delay: 0s;
}

.commonFormUi .bubble:nth-child(2) {
    width: 120px;
    height: 120px;
    bottom: 15%;
    right: 10%;
    animation-delay: 2s;
}

.commonFormUi .bubble:nth-child(3) {
    width: 60px;
    height: 60px;
    top: 60%;
    left: 20%;
    animation-delay: 4s;
}

@keyframes floatBubble {
    0% {
        transform: translateY(0) rotate(0deg);
    }

    50% {
        transform: translateY(-100px) rotate(180deg);
    }

    100% {
        transform: translateY(0) rotate(360deg);
    }
}

@media (max-width: 768px) {
    .commonFormUi .registration-card {
        flex-direction: column;
    }

    .commonFormUi .form-section,
    .commonFormUi .image-section {
        padding: 40px;
    }
}