body {
    margin: 0;
    padding: 0;
    background: #EDEDFE;
    overflow: hidden !important;

    main .container {
        display: flex;
        justify-content: flex-start;
        align-items: center;
        background: #013644;
        .logo{
            position: absolute;
            bottom: 30px;
            left: 30px;
            img{
                width: 200px;
                object-fit: contain;
            }
        }

        .login-form {
            background: #FFFFFF;
            border-radius: 10px;
            box-shadow: -1px 2px 5px #0000001e;
            height: auto;
            margin: 5vh 0;
            position: absolute;
            right: 40%;
            top: 50%;
            transform: translateX(100%) translateY(-60%);

            .layout {
                margin: 30px 40px;
                margin-bottom: 0;
                h3 {
                    color: var(--primary-color);
                    font-size: 24px;
                    font-weight: 500;
                    margin: 0;
                }

                h4 {
                    font-size: 14px;
                    font-weight: 300;
                    margin: 0;
                }

                .fields {
                    display: flex;
                    flex-direction: column;
                    justify-content: flex-start;
                    align-items: flex-start;
                    padding: 30px 0;
                    overflow: auto;

                    .input-fields {
                        margin-bottom: 10px;
                        width: 100%;
                    }

                    .input-fields.padded {
                        padding: 0px !important;
                    }

                    .input-fields.custom-style {
                        font-size: 6px;
                    }
                    .frgt-pswd{
                        button{
                            font-size: 12px;
                            background: none;
                            border: none;
                            color: var(--primary-color);
                            cursor: pointer;
                            margin-bottom:10px;
                        }
                    }
                }
            }
        }
    }
}

@media (max-width: 800px) {
    body {
        background: var(--background-color);
        overflow: hidden !important;
        min-height: 100vh;
        display: flex;
        justify-content: center;
        align-items: center;
    }

    main {
        min-height: 100vh;
        width: 100%;
        display: flex;
        justify-content: center;
        align-items: center;
        overflow: hidden;
    }

    main .container {
        width: 100%;
        display: flex;
        justify-content: center;
        align-items: center;
        padding: 20px;
        background: #013644;
    }

    .login-form {
        position: static !important;
        transform: none !important;
        width: 90% !important;
        max-width: 360px !important;
        margin: 0 auto !important;
        padding: 30px 20px !important;
        background: white;
        border-radius: 10px;
        box-shadow: 0 2px 10px rgba(0,0,0,0.1);

        .layout {
            margin: 0;
            width: 100%;
            
            .fields {
                padding: 20px 0;
                width: 100%;
                
                .input-fields {
                    margin-bottom: 15px;
                    width: 100%;
                }
                
                .frgt-pswd {
                    margin: 10px 0 20px 0;
                    width: 100%;
                    text-align: right;
                }

                button {
                    width: 100%;
                }
            }
        }
    }
}
.left{
    width: 100%;
    height: 100vh;
    img{
        width: 100%;
        height: 100%;
        object-fit: cover;
        object-position:top;
    }
}
.right {
    width: 100%;
    height: 90vh;
    padding: 40px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background-color: white;
}

.right .logo-mini {
    margin-bottom: 40px;
}

.right .logo-mini img {
    height: 40px;
    width: auto;
}

.right h3 {
    font-size: 24px;
    font-weight: 500;
    color: var(--primary-color);
    margin-bottom: 8px;
}

.right h4 {
    font-size: 16px;
    font-weight: 400;
    color: #666666;
    margin-bottom: 40px;
}

.right .fields {
    width: 450px;
    max-width: 100%;
    
}

.right .input-fields {
    width: 100%;
    margin-bottom: 16px;
}

.right .frgt-pswd {
    text-align: right;
    margin-bottom: 24px;
}

.right .frgt-pswd button {
    background: none;
    border: none;
    color: var(--primary-color);
    cursor: pointer;
    font-size: 14px;
}

.right .primary-btn {
    width: 100%;
    height: 40px;
    background: var(--primary-color);
    color: white;
    border: none;
    border-radius: 4px;
    font-size: 16px;
    font-weight: 500;
    cursor: pointer;
}

.right .secondary-btn {
    width: 100%;
    height: 40px;
    background: white;
    color: var(--primary-color);
    border: 1px solid var(--primary-color);
    border-radius: 4px;
    font-size: 16px;
    font-weight: 500;
    cursor: pointer;
}

.right .toggle-password {
    color: var(--primary-color);
}
@media screen and (max-width: 920px) {
    .left { 
        display: none;
    }
}
@media screen and (max-width: 768px) {
    .container{
        background: #FFFFFF !important;
    }
    .container {
        flex-direction: column !important;
    }

    .right {
        width: 100% !important;
        padding: 20px !important;
        margin-top: 0 !important;
    }
    .left { 
        display: none;
    }

    .login-form-container {
        /* width: 100% !important; */
        max-width: none !important;
        padding: 20px !important;
    }

    .login-logo {
        flex-direction: column !important;
        align-items: center !important;
    }

    .login-logo img {
        width: 80% !important;
        max-width: 300px !important;
        margin-bottom: 20px !important;
    }

    .logo-text {
        margin-left: 0 !important;
        text-align: center !important;
    }

    .logo-text ul {
        padding: 0 !important;
        margin: 10px 0 !important;
    }

    .logo-title {
        font-size: 1.5rem !important;
        text-align: center !important;
        margin: 10px 0 !important;
    }

    .fields {
        width: 100% !important;
    }

    .input-fields {
        width: 100% !important;
    }

    .primary-btn,
    .secondary-btn {
        width: 100% !important;
    }

    .cr-claim {
        padding: 10px !important;
        text-align: center !important;
    }

    /* Adjust swiper for mobile */
    .swiper {
        max-width: 100% !important;
        padding: 0 10px !important;
    }

    .swiper-title {
        font-size: 1.2rem !important;
    }

    .swiper-slide ul li {
        font-size: 0.9rem !important;
    }
}

/* Add styles for even smaller screens */
@media screen and (max-width: 480px) {
    .logo-mini img {
        width: 150px !important;
        height: 75px !important;
    }

    h3 {
        font-size: 1.2rem !important;
    }

    h4 {
        font-size: 1rem !important;
    }

    .frgt-pswd button {
        font-size: 0.9rem !important;
    }
}