* {
    padding: 0px;
    margin: 0px;
}
.main-content {

    .main-otp-content-wrapper {
        display: flex;
        justify-content: center;
        align-items: center;
        height: 100vh;
    }

    .required-field {
        color: red;
    }
}

.main-otp-content {
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    height: 80vh;
    width: 80vw;
    border-radius: 10px;
    box-shadow: 16px 16px 30px 0 rgb(0 0 0 / 11%);

    .main-content-left {
        height: 100%;
        width: 50%;
        img {
            height: 100%;
            width: 100%;
            border-radius: 10px 0px 0px 10px;
            object-fit: cover;
        }
    }

    .main-content-right {
        width: 50%;
        height: 100%;
        align-content: center;

        .main-content-right-inner-container{
            padding: 20px;
            max-width: 600px;
            margin: auto;
        }

        .customer-logo {
            display: flex;
            justify-content: center;

            img {
                width: 200px;
                object-fit: cover;
            }
        }

        .container-step {
            .login-title {
                margin: auto;

                .message {
                    border: none;
                    box-shadow: none;
                    font-family: Rubik;
                    font-size: min(43px, 7vw);
                    font-weight: bold;
                    font-stretch: normal;
                    font-style: normal;
                    line-height: normal;
                    letter-spacing: normal;
                    text-align: center;
                    color: #000;
                    padding: 0;
                }
            }
            
            .login-field {
                .field-title {
                    #lblog {
                        font-size: min(16px, 5vw);
                        line-height: 1;
                        display: inline-block;
                        padding-bottom: 5px;
                        text-align: right;
                        color: #000;
                        margin-top: 0px;
                        font-weight: 500;
                        direction: ltr;
                    }
                }
                .field-input{
                    input {
                        direction: ltr;
                        text-align: left;

                        font-size: 24px;
                        width: 100%;
                        border-width: .0625rem;
                        padding: .1875rem .3125rem;
                        margin: 0 0 16px 6px;
                    }
                }
            }
        }

        .container-first-step {
            .message-to-user {
                margin-top: 10px;
                
                .message {
                    display: block;
                    border: 0px;
                    color: red;
                    box-shadow: initial;
                    padding: 0px;
                    margin: 0px;
                }
            }

            .g-recaptcha div:first-child {
                float: left;
            }
        }

        .container-second-step {
            display: none;

            .extra-info {
                div,span {
                    display: inline-block;
                    text-align: center;
                    width: 100%;
                    color: black !important;
                    border-right-color: transparent;
                    font-size: min(17px, 5vw) !important;
                    font-weight: 400 !important;
                    padding: 0px;
                    margin: 0px;
                    box-shadow: none;
                }
            }

            .login-field {
                .otp-field-input {
                    input {
                        width: 100% !important;
                        display: inline-block;
                        width: 100%;
                        text-align: center;
                        direction: ltr;
                        letter-spacing: 1.2em;
                        margin: 0;
                    }
                    .send_sencond_time_wrap {
                        display: flex;
                        justify-content: space-between;

                        #sentAgainSuccess {
                            display: none;
                        }
                    }
                }
            }
        }

        .container-third-step {
            display: none;
            direction: ltr;
        }

        .username_submit, .otp_submit {
            border: none;
            background-image: linear-gradient(to left, #D3208B, #EB6858);
            border-radius: 0px;
            font-size: min(20px, 5vw);
            padding: 13px 28px;
            cursor: pointer;
            width: 100%;
            text-align: center;
            color: white;
            margin-top: 1em;
            border-radius: 8px;
        }
    }
}

.woocommerce-account {
    .login {
        display: none;
    }

    .elementor-location-header {
        display: none;
    }

    footer {
        display: none;
    }

    .woocommerce .woocommerce-notices-wrapper {
        display: none;
    }

    .woocommerce h2 {
        display: none;
    }

    .elementor-widget-wrap .elementor-element-populated {
        padding: 0px !important;
    }
}

/* Dark overlay background */
.onecity-otp-loader-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
}

/* Circle loader */
.loader {
    width: 60px;
    height: 60px;
    border: 6px solid rgba(255, 255, 255, 0.3);
    border-top-color: #fff;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

/* Optional: Hide loader class */
.onecity-otp-loader-overlay.hidden {
    display: none;
}

@media screen and (max-width: 1440px)  {
    .main-content {
        padding: 20px;

        .main-otp-content-wrapper {

            .main-otp-content{
                box-shadow: none;

                .main-content-right {
                    .customer-logo img {
                        width: 70%;
                    }
                    .container-first-step {
                        .login-title {
                            padding: 0px;
                            .message {
                                font-size: min(28px, 4vw);
                            }
                        }
                    }
                    .container-second-step {
                        .login-title {
                            padding: 0px;
                            .message {
                                width: initial;
                                font-size: min(28px, 4vw);
                            }
                        }
                    }
                    .container-third-step {
                        .login-title {
                            padding: 0px;
                            .message {
                                width: initial;
                                font-size: min(28px, 4vw);
                            }
                        }
                    }
                }
            }
        }
    }
}

@media screen and (max-width: 767px) {
    .main-content {
        padding: 20px;

        .main-otp-content-wrapper {
            display: block;

            .main-otp-content{
                box-shadow: none;
                flex-direction: column-reverse;
                height: auto;
                width: 100%;

                .main-content-left {
                    width: 100%;
                    display: flex;
                    justify-content: center;
                    img {
                        width: 100%;
                        height: 150px;
                        object-fit: cover;
                        border-radius: 10px;
                    }
                }

                .main-content-right {
                    width: 100%;

                    .customer-logo img {
                        height: auto;
                        max-height: 100px;
                        width: 100%;
                        object-fit: cover;
                    }
                }
            }
        }
    }
}