﻿
@import url("https://fonts.googleapis.com/css2?family=Poppins:wght@200;300;400;500;600;700;800&display=swap");

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body,
input, select {
    font-family: "Poppins", sans-serif;
}

.container {
    position: relative;
    width: 100%;
    background-color: #fff;
    min-height: 100vh;
    overflow: hidden;
}

.forms-container {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
}

.signin-signup {
    position: absolute;
    top: 50%;
    transform: translate(-50%, -50%);
    left: 75%;
    width: 50%;
    transition: 1s 0.7s ease-in-out;
    display: grid;
    grid-template-columns: 1fr;
    z-index: 5;
}

form {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    padding: 0rem 5rem;
    transition: all 0.2s 0.7s;
    overflow: hidden;
    grid-column: 1 / 2;
    grid-row: 1 / 2;
}

    form.sign-up-form {
        opacity: 0;
        z-index: 1;
    }

    form.sign-in-form {
        z-index: 2;
    }

.title {
    color: #444;
    margin-bottom: 10px;
    font-weight: 700;
}

.input-field {
    max-width: 380px;
    z-index: auto;
    width: 100%;
    background-color: #f0f0f0;
    margin: 10px 0;
    height: 55px;
    border-radius: 55px;
    display: grid;
    grid-template-columns: 15% 85%;
    padding: 0 0.4rem;
    position: relative;
}

.select-field {
    max-width: 230px;
    width: 100%;
    background-color: #f0f0f0;
    margin: 10px 0;
    height: 55px;
    border-radius: 55px;
    display: grid;
    grid-template-columns: 15% 85%;
    padding: 0 0.4rem;
    position: relative;
}

    .select-field i {
        text-align: center;
        line-height: 55px;
        color: #acacac;
        transition: 0.5s;
        font-size: 1.1rem;
    }

.from-group {
    max-width: 380px;
    width: 100%;
    margin-bottom: 15px;
}

.forgotpharagraph {
    max-width: 380px;
    width: 100%;
    margin-bottom: 5px;
    font-size: 15px;
}

.forgetIcon {
    width: 45px;
    margin-top: 5px;
    margin-left: 2px;
}

.input-field i {
    text-align: center;
    line-height: 55px;
    color: #acacac;
    transition: 0.5s;
    font-size: 1.1rem;
}

.input-field input {
    background: none;
    outline: none;
    z-index:auto;
    border: none;
    line-height: 1;
    font-weight: 600;
    font-size: 15px;
    color: #333;
    margin: 0px !important;
}

    .input-field input::placeholder {
        color: #aaa;
        font-weight: 500;
    }

.social-text {
    padding: 0.7rem 0;
    font-size: 1rem;
}

.social-media {
    display: flex;
    justify-content: center;
}

.social-icon {
    height: 46px;
    width: 46px;
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 0 0.45rem;
    color: #333;
    border-radius: 50%;
    border: 1px solid #333;
    text-decoration: none;
    font-size: 1.1rem;
    transition: 0.3s;
}

    .social-icon:hover {
        color: #4481eb;
        border-color: #4481eb;
    }

.btn {
    width: 150px;
    background-color: #3e4f6d;
    border: none;
    outline: none;
    height: 49px;
    border-radius: 49px;
    color: #fff;
    text-transform: uppercase;
    margin: 10px 0;
    cursor: pointer;
    transition: 0.5s;
}

    .btn:hover {
        background-color: #1a2a47;
    }

.panels-container {
    position: absolute;
    height: 100%;
    width: 100%;
    top: 0;
    left: 0;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
}



.image {
    width: 100%;
    transition: transform 1.1s ease-in-out;
    transition-delay: 0.4s;
}

.panel {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    justify-content: space-around;
    text-align: center;
    z-index: 6;
}

.left-panel {
    pointer-events: all;
    padding: 3rem 17% 2rem 12%;
}

.right-panel {
    pointer-events: none;
    padding: 3rem 12% 2rem 17%;
}

.panel .content {
    color: #fff;
    transition: transform 0.9s ease-in-out;
    transition-delay: 0.6s;
}

.panel h3 {
    font-weight: 600;
    line-height: 1;
    font-size: 1.5rem;
}

.panel p {
    font-size: 0.95rem;
    padding: 0.7rem 0;
}

.btn.transparent {
    margin: 0;
    background: none;
    border: 2px solid #fff;
    width: 130px;
    height: 41px;
    font-weight: 600;
    font-size: 0.8rem;
}

.right-panel .image,
.right-panel .content {
    transform: translateX(800px);
}

/* ANIMATION */

.container.sign-up-mode:before {
    transform: translate(100%, -50%);
    right: 52%;
}

.container.sign-up-mode .left-panel .image,
.container.sign-up-mode .left-panel .content {
    transform: translateX(-800px);
}

.container.sign-up-mode .signin-signup {
    left: 25%;
}

.container.sign-up-mode form.sign-up-form {
    opacity: 1;
    z-index: 2;
}

.container.sign-up-mode form.sign-in-form {
    opacity: 0;
    z-index: 1;
}

.container.sign-up-mode .right-panel .image,
.container.sign-up-mode .right-panel .content {
    transform: translateX(0%);
}

.container.sign-up-mode .left-panel {
    pointer-events: none;
}

.container.sign-up-mode .right-panel {
    pointer-events: all;
}


@media(min-width:870px) and (max-width:1300px)
{
    .container:before {
        content: "";
        position: absolute;
        height: 2900px !important;
        width: 2000px;
        top: -10%;
        right: 48%;
        transform: translateY(-50%);
        background-image: linear-gradient(242deg, #728dbc 0%, #1a2a47 100%);
        transition: 1.8s ease-in-out;
        border-radius: 50%;
        z-index: 6;
    }
}

@media (max-width: 992px) {
    .container {
        min-height: 800px;
        height: 100vh;
    }
        .container:before {
            content: "";
            position: absolute;
            height: 70% !important;
            width: 2000px;
            top: -16%;
            left: -11% !important;
            transform: translateY(-50%);
            background-image: linear-gradient(242deg, #728dbc 0%, #1a2a47 100%);
            transition: 1.8s ease-in-out;
            border-radius: 50%;
        }
        .signin-signup {
        width: 100%;
        top: 73%;
        transform: translate(-50%, -100%);
        transition: 1s 0.8s ease-in-out;
    }

    .signin-signup,
    .container.sign-up-mode .signin-signup {
        left: 50%;
    }

    .panels-container {
        grid-template-columns: 1fr;
        grid-template-rows: 1fr 2fr 1fr;
    }

    .panel {
        flex-direction: row;
        justify-content: space-around;
        align-items: center;
        padding: 2.5rem 8%;
        grid-column: 1 / 2;
    }

    .right-panel {
        grid-row: 3 / 4;
    }

    .left-panel {
        grid-row: 1 / 2;
    }

    .image {
        width: 200px;
        transition: transform 0.9s ease-in-out;
        transition-delay: 0.6s;
    }

    .panel .content {
        padding-right: 15%;
        transition: transform 0.9s ease-in-out;
        transition-delay: 0.8s;
    }

    .panel h3 {
        font-size: 1.2rem;
    }

    .panel p {
        font-size: 0.7rem;
        padding: 0.5rem 0;
    }

    .btn.transparent {
        width: 110px;
        height: 35px;
        font-size: 0.7rem;
    }

    .container:before {
        width: 1500px;
        height: 1500px;
        transform: translateX(-50%);
        left: 30%;
        bottom: 68%;
        right: initial;
        top: initial;
        transition: 2s ease-in-out;
    }

    .container.sign-up-mode:before {
        transform: translate(-7%, 100%);
        bottom: 32% !important;
    }

    .container.sign-up-mode .left-panel .image,
    .container.sign-up-mode .left-panel .content {
        transform: translateY(-300px);
    }

    .container.sign-up-mode .right-panel .image,
    .container.sign-up-mode .right-panel .content {
        transform: translateY(0px);
    }

    .right-panel .image,
    .right-panel .content {
        transform: translateY(300px);
    }

    .container.sign-up-mode .signin-signup {
        top: 5%;
        transform: translate(-50%, 0);
    }
}

@media (max-width: 570px) {
    form {
        padding: 0 1.5rem;
    }

    .image {
        display: none;
    }

    .panel .content {
        padding: 0.5rem 1rem;
    }

    .container {
        padding: 1.5rem;
    }

        .container:before {
            bottom: 72%;
            left: 50%;
        }

        .container.sign-up-mode:before {
            bottom: 28%;
            left: 50%;
        }
}


input {
    border-top-right-radius: 50px;
    border-bottom-right-radius: 50px;
    width: 102%;
}

.form-submit {
    width: 150px;
    background-color: #3e4f6d !important;
    border: none;
    outline: none;
    height: 49px;
    border-radius: 49px;
    color: #fff;
    text-transform: uppercase;
    margin: 10px 0;
    cursor: pointer;
    transition: 0.5s;
}

#showLogin {
    position: relative;
    right: -2%;
}

img {
    max-width: 100%;
   
    margin-top: 10px;
}

#lblLoginValidation {
    white-space: nowrap;
    color: red;
    margin: 2px 0px 2px 15px;
    font-size: 15px;
}

.spinner-border {
    width: 1rem !important;
    height: 1rem !important;
    border-width: .2em;
}

#loginSpinner {
    display: flex;
    align-items: center;
    justify-content: end;
    margin-left: -11px;
    color: #f2f5f4;
}

#loginSpinner1 {
    display: flex;
    align-items: center;
    justify-content: end;
    margin-left: 70px;
    margin-top: -16px;
    color: #f2f5f4;
}

#loginSpinner2 {
    display: flex;
    align-items: center;
    justify-content: end;
    margin-left: 44px;
    margin-top: -24px;
    color: #f2f5f4;
}

#btnSendOTP {
    border-radius: 49px;
}

#ForgetErrorMassage {
    white-space: nowrap;
    color: red;
    margin: 2px 0px 2px 15px;
    font-size: 15px;
}

#ForgetSucessMassage {
    white-space: nowrap;
    color: red;
    margin: 2px 0px 2px 15px;
    font-size: 15px;
}

#ResendOTP {
    font-weight: 600;
}

#showLogin1 {
    position: relative;
    right: -2%;
}

#btnResetPassword {
    background-color: #3e4f6d !important;
    border: none;
    outline: none;
    height: 49px;
    border-radius: 49px;
    color: #fff;
    text-transform: uppercase;
    margin: 1px 0;
    cursor: pointer;
    transition: 0.5s;
    margin-top: -40px;
    width: 180px;
}


.error {
    white-space: nowrap;
    color: red;
    margin: 2px 0px 2px 15px;
    font-size: 12px;
}
.home-forgot-text {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin: 5px 15px 0px 15px;
}

.hometext, .forgottext {
    text-decoration: none;
    font-size: 15px;
}

.forgot-Login-text {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin: 0px 15px 0px 15px;
}

#otpMedium-error {
    position: absolute;
    margin: 55px 0px 0px 20px;
}

#seconds {
    margin-top: 20px !important;
}

.spinner-border {
    width: 1rem;
    height: 1rem;
    border-width: 0.2em;
    border-style: solid;
    border-color: currentColor;
    border-right-color: transparent;
    border-radius: 50%;
    animation: spinner-border 0.75s linear infinite;
}

@keyframes spinner-border {
    100% {
        transform: rotate(360deg);
    }
}

.Resetpharagraph {
    max-width: 380px;
    width: 100%;
    margin-bottom: 5px;
    font-size: 15px;
}

.ResetpharagraphText {
    max-width: 380px;
    width: 100%;
    margin-bottom: 5px;
    font-size: 15px;
    text-align: center;
    margin-top: 7px;
}

select {
    background: none;
    outline: none;
    border: none;
    line-height: 1;
    font-weight: 600;
    font-size: 15px;
    color: #aaaab1;
    margin: 0px !important;
    border-top-right-radius: 50px;
    border-bottom-right-radius: 50px;
    width: 102%;
}

/* Container for the form */
.sign-up-form {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
    max-width: 600px; /* Adjust as needed */
    margin: 0 auto;
    padding: 0rem 1rem;
}

.form-group.col-span-2 {
    grid-column: span 2;
}

.title {
    grid-column: span 2;
    text-align: center;
}

.logo-img {
    grid-column: span 2;
    display: block;
    margin: 0 auto;
    width:250px;
}

.form-group.form-button {
    grid-column: span 2;
    display: flex;
    justify-content: center;
}

.form-submit {
    padding: 10px 20px;
    border: none;
    cursor: pointer;
    background-color: #3e4f6d;
    color: white;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background-color 0.3s ease, transform 0.3s ease, box-shadow 0.3s ease; 
}

    .form-submit:hover {
        background-color: #2c3e50;
        transform: scale(1.05);
    }


.spinner-border {
    width: 1rem;
    height: 1rem;
    border-width: 0.15em;
}
.home-signup-text {
    display: flex;
    justify-content: end;
    align-items: end;
    margin: 5px 15px 0px 15px;
}

#SignUpErrorLab {
    display: flex !important;
    justify-content: center !important;
    position: absolute !important;
    top: 81% !important;
    font-size: 15px !important;
    text-align: center;
    text-shadow: 3px 2px 3px rgb(0 0 0 / 30%);
    color: #007a00;
}

#Email-error {
    white-space: nowrap;
    color: red;
    font-size: 12px;
}

.select-field {
    min-width: 280px;
}


/*new css*/

@media(min-width:1400px)
{
    .container:before {
        content: "";
        top: 50% !important;
        position: absolute;
        height: 2000px;
        width: 2000px;
        right: 48%;
        transform: translateY(-50%);
        background-image: linear-gradient(242deg, #728dbc 0%, #1a2a47 100%);
        transition: 1.8s ease-in-out;
        border-radius: 50%;
        z-index: 6;
    }
    .loginimage{
        top:10% !important;
    }
}

@media (max-width: 500px) {
    .signin-signup {
        width: 100%;
        top: 68% !important;
        transform: translate(-50%, -100%);
        transition: 1s 0.8s ease-in-out;
    }
    .container:before {
        content: "";
        position: absolute;
        height: 2000px;
        width: 2000px;
        top: -8% !important;
        right: 48%;
        transform: translateY(-50%);
        background-image: linear-gradient(242deg, #728dbc 0%, #1a2a47 100%);
        transition: 1.8s ease-in-out;
        border-radius: 50%;
        z-index: 6; /* Lower than .loginimage */
    }

}


    @media (max-width: 400px) {
        .signin-signup {
            width: 100%;
            top: 70%;
            transform: translate(-50%, -100%);
            transition: 1s 0.8s ease-in-out;
        }
    }


.container:before {
    content: "";
    position: absolute;
    height: 2000px;
    width: 2000px;
    top: -15%;
    right: 48%;
    transform: translateY(-50%);
    background-image: linear-gradient(242deg, #728dbc 0%, #1a2a47 100%);
    transition: 1.8s ease-in-out;
    border-radius: 50%;
    z-index: 6; /* Lower than .loginimage */
}

.loginimage {
    position: absolute; /* This ensures the image is placed on top */
    display: flex;
    justify-content: center;
    top: 18%;
    left:3.5%;
    align-items: center;
    align-content: center;
    z-index: 999; /* Ensure this is higher than the z-index of .container:before */
    display: none; /* Initially hidden */
    height: 500px;
    width: 500px;
    object-fit: cover;
}

.signupimage {
    position: absolute;
    display: flex;
    justify-content: center;
    top: 18%;
    align-items: center;
    align-content: center;
    z-index: 999;
    display: none;
    left: 58%;
    height: 500px;
    width: 500px;
    object-fit: cover;
}

.forgetimage {
    position: absolute;
    display: flex;
    justify-content: center;
    top: 0%;
    align-items: center;
    align-content: center;
    z-index: 999;
    display: none;
    height: 700px;
    left: 10%;
    height: 500px;
    width: 500px;
    object-fit: cover;
}

@media (min-width: 1000px) {
    .loginimage {
        display: block !important; /* Show the image on large screens */
    }
    .signupimage {
        display: block !important; /* Show the image on large screens */
    }
    .forgetimage {
        display: block !important; /* Show the image on large screens */
    }
}

@media(min-width:1000px) and (max-width:1115px)
{
    img {
        max-width: 100%;
        height: auto;

    }
    .loginimage {
        top: 29% !important;
        left: -2%;
    }
    .signupimage {
        top: 25% !important;
        left: 59%;
        height: 380px;
        width: 407px;
        object-fit: cover;
    }
    .forgetimage {
        top: 29%;
        left: 0%;
        height: 380px;
        width: 422px;
        object-fit: cover;
    }
    .container:before {
        content: "";
        position: absolute;
        height: 2000px;
        width: 2000px;
        top: 0%;
        right: 40%;
        transform: translateY(-50%);
        background-image: linear-gradient(242deg, #728dbc 0%, #1a2a47 100%);
        transition: 1.8s ease-in-out;
        border-radius: 50%;
        z-index: 6;
    }
}


@media(min-width:1116px) and (max-width:1399px)
{
    .loginimage {
        top: 18%;
    }
    .signupimage {
        top: 23%;
        left: 59%;
        height: 450px;
        width: 457px;
        object-fit: cover;
    }
    .forgetimage {
        top: 29%;
        left: 3%;
        height: 450px;
        width: 457px;
        object-fit: cover;
    }
    
    .container:before {
        content: "";
        position: absolute;
        height: 2041px;
        width: 2022px;
        top: 15%;
        right: 48%;
        transform: translateY(-50%);
        background-image: linear-gradient(242deg, #728dbc 0%, #1a2a47 100%);
        transition: 1.8s ease-in-out;
        border-radius: 50%;
        z-index: 6;
    }
}



@media(min-width:1400px)
{
    .loginimage {
 
        margin-left: 5%;
        left: 0%;
        top: 29% !important;
        display: flex;
        height: auto;
        position: fixed;
        justify-content: center;
        align-items: center;
    }
    .signupimage {
        margin-left: 5%;
        left: 54%;
        top: 24% !important;
        display: flex;
        height: auto;
        position: fixed;
        justify-content: center;
    }
    .forgetimage {
        margin-left: 5%;
        left: 4%;
        top: 29% !important;
        display: flex;
        height: auto;
        position: fixed;
        justify-content: center;
    }

}


@media(width:1366px)
{
    .loginimage{
        top:14%;
    }
    .signupimage {
        top: 10%;
    }
    .forgetimage{
        top:14%;
    }
}

@media(min-width:1700px) {
    .loginimage {
  
        margin-left: 5%;
        left: 0%;
        top: 29% !important;
    }
    .signupimage {
    
        /* margin-left: 50%; */
        left: 56%;
        top: 25% !important;
    }
    .forgetimage {
        margin-left: 5%;
        left: 3%;
        top: 27% !important;
    }
    body > div > div.signupimage.d-none > img
    {
        max-height:46%;
        height:auto;
    }
}


@media(max-width:767px)
{
    .signin-signup {
        width: 100%;
        top: 65%;
        transform: translate(-50%, -100%);
        transition: 1s 0.8s ease-in-out;
    }
    .container:before {
        content: "";
        position: absolute;
        height: 71% !important;
        width: 1914px;
        top: -9% !important;
        left: -58% !important;
        transform: translateY(-50%);
        background-image: linear-gradient(242deg, #728dbc 0%, #1a2a47 100%);
        transition: 1.8sease-in-out;
        border-radius: 50%;
    }
}

@media(max-width:500px)
{
    .container.sign-up-mode:before
    {
        display:none;
    }
    .container.sign-up-mode .signin-signup {
        top: 0%;
        transform: translate(-50%, 0);
    }
    .sign-up-form {
        display: flex;
        flex-direction:column;
        margin: 0 auto;
        padding: 0rem 4rem;
    }
    .form-group
    {
        width:100%;
    }
    .select-field {
        min-width: 377px;
   
    }
    .container {
        min-height: 100%;
        height: auto;
        overflow-y: auto;
        margin-top: -12%;
    }
        .signin-signup, .container.sign-up-mode .signin-signup {
            left: 51% !important;
        }

    #loggedinsection
    {
        margin-top:-34rem !important;
    }
    #forgotPasswordForm {
        margin-top: -32rem !important;
    }
    #ForgetSucessMassage {
        white-space: pre-wrap;
        color: red;
        margin: 2px 0px 2px 15px;
        font-size: 15px;
    }
   
}


@media(max-width:450px)
{
    .container.sign-up-mode .signin-signup {
        top: 0%;
        transform: translate(-57%, 0);
    }
    .signin-signup, .container.sign-up-mode .signin-signup {
        left: 52% !important;
    }
}

@media(max-width:420px)
{
    .container.sign-up-mode .signin-signup {
        top: 0%;
        transform: translate(-50%, 0);
    }
    .sign-up-form {
        display: flex;
        flex-direction: column;
        margin: 0 auto;
        padding: 0rem 0rem 0rem 0.5rem;
    }
    .select-field {
        min-width: 377px;
        margin-left: -28px;
    }
    .forms-container {
        position: absolute;
        width: 100%;
        height: auto;
        top: auto;
        left: -6px;
    }
    .signin-signup, .container.sign-up-mode .signin-signup {
        left: 53% !important;
    }
}


@media(max-width:400px)
{
    .form-group {
        width: 100%;
    }
    .select-field {
        min-width: 347px;
        margin-left: 1px;
    }
    .signin-signup, .container.sign-up-mode .signin-signup {
        left: 52% !important;
    }
 
}


@media(max-width:350px)
{
    .form-group {
        width: 80%;
    }
    .forms-container {
        position: absolute;
        width: 100%;
        height: 100%;
        top: 0;
        left: -5px;
    }
    .select-field {
        min-width: 80% !important;
        margin-left: 0px !important;
    }
    .sign-up-form {
        display: flex;
        flex-direction: column;
        margin: 0 auto;
        padding: 0rem 1rem 1rem 0.8rem;
    }
}


@media(max-width:375px)
{
    .select-field {
        min-width: 328px;
        margin-left: 1px;
    }
}


@media(width:540px)
{
    .signin-signup {
        width: 100%;
        top: 75%;
        transform: translate(-50%, -100%);
        transition: 1s 0.8s ease-in-out;
    }
}

@media (max-width: 500px) {
    .container.sign-up-mode .signin-signup {
        top: 15% !important;
        transform: translate(-50%, 0);
    }
}


@media(max-width:500px)
{

    .signin-signup {
        left: 50%;
        top: 37rem !important;
    }
    body > div > div > div {
        top: 0rem !important;
    }
    #forgotPasswordForm {
        top: 33rem !important;
    }
    
}

@media(width:1280px)
{
    .forgetimage{
        top:18%;
    }
}


@media(max-width:500px)
{
    .forms-container {
        position: absolute;
        width: 100%;
        height: auto;
        top: 10% !important;
        left: -6px;
    }
}

@media(width:540px)
{
    #resetPasswordForm
    {
        margin-top:50% !important;
    }
    .signin-signup {
        width: 100%;
        top: 82% !important;
        transform: translate(-50%, -100%);
        transition: 1s 0.8s ease-in-out;
    }
}


@media(width:1280px)
{
    .loginimage{
        display:flex !important;
        align-content:center !important;
        align-items:center !important;
    }
    .signupimage {
        top: 12%;
        left: 58%;
        height: 450px;
        width: auto;
        object-fit: cover;
    }
}


.spinner-border {
    position: relative !important;
    left: 49px !important;
    top: 0px !important;
}

#LogintoBack {
    background-color: #3e4f6d;
    color: white;
    margin-bottom: 12px;
    width: 172px !important;
    font-size: 15px !important;
}

#loginSpinner3 {
    display: flex;
    align-items: center;
    justify-content: end;
    margin-left: 42px;
    margin-top: 27px;
    color: #ffffff;
}


/*Login Responsive 1024px*/
@media(width:1024px)
{
    .loginimage {
        top: 18% !important;
        left: -2% !important;
    }
    .signin-signup {
        position: absolute;
        top: 50%;
        transform: translate(-50%, -50%);
        left: 80% !important;
    }
    }