
.modern-login-card {
    background: white;
    border-radius: 40px;
    overflow: hidden;
    transition:
        transform 0.3s,
        box-shadow 0.3s;
    border: 1px solid rgba(168, 201, 42, 0.2);
}

.modern-login-card:hover {
    box-shadow: 10px 20px 10px -15px rgba(103, 103, 103, 0.4);
}

.login-image-side {
    position: relative;
    height: 100%;
    min-height: 600px;
    background: linear-gradient(145deg, #cfffe4, #fbffed);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 3rem;
    overflow: hidden;
}

.login-image-side img {
    position: relative;
    z-index: 2;
    max-width: 90%;
    height: auto;
    filter: drop-shadow(0 20px 30px rgba(0, 0, 0, 0.2));
}

.login-image-side::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(
        45deg,
        rgba(0, 97, 43, 0.4),
        rgba(168, 201, 42, 0.4)
    );
    z-index: 1;
}

.login-image-side::after {
    content: "";
    position: absolute;
    width: 150%;
    height: 150%;
    background: radial-gradient(
        circle,
        rgba(255, 255, 255, 0.1) 0%,
        transparent 60%
    );
    top: -25%;
    left: -25%;
    animation: rotate 30s linear infinite;
}

.login-form-side {
    padding: 3.5rem 3rem;
    background: white;
    height: 100%;
    min-height: 600px;
    display: flex;
    align-items: center;
}

.log-in-box {
    width: 100%;
    max-width: 400px;
    margin: 0 auto;
}

.log-in-title {
    text-align: center;
    margin-bottom: 2.5rem;
}

.log-in-title h3 {
    font-size: 2rem;
    font-weight: 800;
    color: #1a2e1a;
    margin-bottom: 0.5rem;
    letter-spacing: -0.5px;
}

.log-in-title h4 {
    font-size: 1.1rem;
    color: #666;
    font-weight: 500;
    position: relative;
    padding-bottom: 1rem;
}

.log-in-title h4::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background: linear-gradient(145deg, #00612b, #a8c92a);
    border-radius: 3px;
}

@keyframes floatImage {
    0%,
    100% {
        transform: translateY(0) rotate(0deg);
    }
    50% {
        transform: translateY(-15px) rotate(2deg);
    }
}

@keyframes rotate {
    from {
        transform: rotate(0deg);
    }
    to {
        transform: rotate(360deg);
    }
}

/* Responsive Adjustments */
@media (max-width: 991px) {
    .login-form-side {
        padding: 3rem 2rem;
        min-height: auto;
    }

    .modern-login-card {
        border-radius: 30px;
    }
}

@media (max-width: 576px) {
    .login-form-side {
        padding: 2rem 1.5rem;
    }

    .log-in-title h3 {
        font-size: 1.8rem;
    }
}
