* {
    box-sizing: border-box;
}

body {
    font-family: "Poppins";
    margin: 0;
    padding: 0;
    background-image: url('/ContentTemplates/Brand/bg_login.png');
    background-repeat: no-repeat;
    background-size: cover;
    display: flex;
    align-items: center;
    height: 100vh;
    position: relative;
}

.maincontainer {
    width: auto;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    background-color: #fff;
    border-radius: 2.222vw;
    padding: 1vw 0;
    min-width: 90vw;
}

.bothsidebox {
    width: 100%;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    min-height: 85vh;
    align-items: center;
}

.center {
    text-align: center;
    margin: auto;
    display: flex;
    flex-wrap: wrap;
}

.leftcard {
    width: 39vw;
    padding: 1.452vw 4.815vw;
    border-right: 0.148vw solid #d3d3d3;
}

    .leftcard .cardinside {
        display: flex;
        justify-content: center;
    }

.logotext {
    margin: 1.963vw 0;
}

    .logotext p {
        font-size: 1.778vw;
        font-weight: 600;
        color: #6e6e6e;
    }

.errmsg {
    height: auto;
    width: 100%;
    background-color: #f8d7da;
    color: #842029;
    border: 0.074vw solid red;
    border-radius: 0.296vw;
    font-size: 0.95vw;
    padding: 0.248vw;
    margin-bottom: 0.5vw;
    display: flex;
}

.successmsg {
    height: auto;
    width: 100%;
    background-color: #abdfd2;
    color: darkgreen;
    border: 0.074vw solid darkgreen;
    border-radius: 0.296vw;
    font-size: 0.95vw;
    padding: 0.248vw;
    margin-bottom: 0.5vw;
    display: flex;
}

.cardinside img {
    width: 18.519vw;
}

/* -----------form--------------- */

.formessentials {
    display: flex;
    justify-content: space-around;
    margin: 0.852vw 0;
}

    .formessentials .sbtn,
    .formessentials .back {
        display: flex;
        align-items: center;
        padding: 0.667vw;
        background-color: #009688;
        border: none;
        border-radius: 0.37vw;
        font-size: 1.333vw !important;
        cursor: pointer;
        color: #fff;
        height: 2.963vw !important;
        width: 8.889vw !important;
        outline: none;
        justify-content: center;
        font-weight: normal;
    }

    .formessentials .otpbtn,
    .formessentials .codebtn {
        display: flex;
        align-items: center;
        padding: 0.667vw;
        background-color: #009688;
        border: none;
        border-radius: 0.37vw;
        font-size: 1.34vw !important;
        cursor: pointer;
        color: #fff;
        height: 2.963vw !important;
        width: 8.889vw !important;
        outline: none;
        justify-content: center;
    }

    .formessentials .codebtn {
        background-color: #f75a5f;
        display: flex;
        align-items: center;
    }

    .formessentials .back {
        background-color: #f75a5f;
        display: flex;
        align-items: center;
    }

        .formessentials .back .backimg,
        .formessentials .simg {
            margin-right: 0.741vw;
            height: 1.259vw;
            width: 1.259vw;
        }

.leftcard .iconz {
    position: relative;
    width: 100%;
}

.leftcard .usrname,
.leftcard .pwd {
    padding: 0.741vw 0.741vw 0.741vw 2.222vw;
    outline: none;
}

.leftcard .usrimg, .leftcard .pwdimg {
    position: absolute;
    left: 0;
    top: 1.111vw;
    height: 1.481vw;
    width: 1.481vw;
    z-index: 3;
}

.formessentials .sbtn:disabled {
    background-color: #9eb0af;
    border-color: #9eb0af;
}

/* -------------------------Rightcard---------------------------------- */

.rightcard {
    padding: 1.63vw;
    width: 53vw;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
}

.rightimage img {
    width: 37.037vw;
}

.rightcard .rightimage {
    display: flex;
    justify-content: center;
}

.rightcard .rightitems {
    width: 49.852vw;
    margin-top: 4.444vw;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
}

    .rightcard .rightitems p {
        color: #727272;
        font-size: 1.0vw;
        font-weight: 600;
        line-height: 1.5;
    }

    .rightcard .rightitems .spanblack {
        color: #363636;
    }

/* -------------demo----------------------- */

.iconz .container {
    position: relative;
}

    .iconz .container h1 {
        color: #009688;
        text-align: center;
        text-transform: uppercase;
    }

    .iconz .container .box {
        position: relative;
        width: 100%;
        margin: 2.222vw 0;
    }

        .iconz .container .box input,
        .iconz .container .box input:focus,
        .iconz .container .box textarea:focus,
        .iconz .container .box textarea {
            position: relative;
            border: none;
            outline: none;
            width: 100%;
            font-size: 1.185vw;
            padding: 1vw 2.222vw;
            box-sizing: border-box;
            border-bottom: 0.074vw solid rgba(0, 0, 0, 0.2);
            background: transparent;
            z-index: 2;
        }

input:-webkit-autofill,
input:-webkit-autofill:hover,
input:-webkit-autofill:focus,
input:-webkit-autofill:active {
    -webkit-box-shadow: 0 0 0 30px white inset !important;
}

/*Change text in autofill textbox*/
input:-webkit-autofill {
    -webkit-text-fill-color: #4d4d4d !important;
}

    input:-webkit-autofill,
    input:-webkit-autofill:hover,
    input:-webkit-autofill:focus,
    input:-webkit-autofill:active {
        -webkit-background-clip: text;
        -webkit-text-fill-color: #ffffff;
        transition: background-color 5000s ease-in-out 0s;
        box-shadow: inset 0 0 20px 20px #232329;
    }

input[type="text"],
input[type="password"],
select {
    width: 100%;
    padding: 0.741vw 0;
    border: none; /* Remove the border */
    border-bottom: 0.074vw solid #ddd; /* Add a bottom border */
    box-sizing: border-box;
    font-size: 1.333vw;
    font-weight: 600;
    color: #4d4d4d;
    outline: none;
    appearance: none;
}

.iconz .container .box span {
    display: inline-block;
    position: absolute;
    left: 2.222vw;
    color: rgba(0, 0, 0, 0.5);
    z-index: 3;
    transition: 0.3s;
    font-size: 1.185vw;
    font-weight: 600;
}

.iconz .container .box input + span {
    top: calc(50% - 0.8vw);
}

.iconz .container .box input:focus + span,
.iconz .container .box input:-webkit-autofill + span,
.iconz .container .box input:-webkit-autofill:hover + span,
input:-webkit-autofill:focus + span,
input:-webkit-autofill:active + span,
.iconz .container .box.username input + span {
    color: #009688;
    top: -7%;
    font-size: 0.963vw;
}

.iconz .container .box textarea + span {
    top: 0.963vw;
}

.iconz .container .box input:focus,
.iconz .container .box textarea:focus {
    border-bottom: 0.074vw solid #009688;
}

    .iconz .container .box textarea:focus + span,
    .iconz .container .box textarea:valid + span {
        color: #ff5722;
        top: -0.815vw;
    }


.iconz .container .box Label {
    display: inline-block;
    position: absolute;
    left: 2.222vw;
    color: rgba(0, 0, 0, 0.5);
    z-index: 3;
    transition: 0.3s;
    font-size: 1.185vw;
    font-weight: 600;
}

.iconz .container .box input + Label {
    top: calc(50% - 0.8vw);
}

.iconz .container .box input:focus + Label,
.iconz .container .box input:-webkit-autofill + Label,
.iconz .container .box input:-webkit-autofill:hover + Label,
input:-webkit-autofill:focus + Label,
input:-webkit-autofill:active + Label, .iconz .container .box.username input + Label {
    color: #009688;
    top: -7%;
    font-size: 0.963vw;
}

.iconz .container .box textarea + Label {
    top: 0.963vw;
}

.iconz .container .box textarea:focus + Label,
.iconz .container .box textarea:valid + Label {
    color: #ff5722;
    top: -0.815vw;
}

div#divLoadingmsg, .white-popup {
    position: fixed;
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
}

.white-popup {
    margin: 0px 0;
    border-radius: 0px !important;
    padding: 0;
    width: 100% !important;
    background: #000075;
    display: flex !important;
    justify-content: center;
    height: 100vh;
}

/* -------------------------------------------------------Responsive (Mobile View)-------------------------------------------------------------- */

@media (max-width: 767px) {

    .white-popup br {
        display: block;
    }

    .center {
        padding: 7.813vw 2.25vw;
        margin: 0;
        overflow-x: hidden;
    }

    body {
        height: unset;
    }

    .maincontainer {
        display: block;
        padding: 3.125vw 0;
        min-width: auto;
    }

    .leftcard {
        width: auto;
        padding: 4.688vw 6.938vw;
        border: none;
    }

    .cardinside img {
        width: 59.375vw;
    }

    .logotext p {
        font-size: 6.875vw;
    }

    input[type="text"],
    input[type="email"],
    select {
        font-size: 4.375vw;
    }

    .rightcard {
        padding: 4.688vw 6.875vw;
    }

    .rightimage img {
        width: 71.875vw;
    }

    .rightcard .rightitems {
        width: auto;
    }

        .rightcard .rightitems p {
            font-size: 3.75vw;
        }

    .leftcard .usrimg,
    .leftcard .pwdimg {
        left: 0;
        top: -0.825vw;
        height: 5.481vw;
        width: 5.481vw;
    }

    .iconz .container .box input:focus + Label, .iconz .container .box input:-webkit-autofill + Label, .iconz .container .box input:-webkit-autofill:hover + Label, input:-webkit-autofill:focus + Label, input:-webkit-autofill:active + Label, .iconz .container .box.username input + Label {
        top: -85%;
    }

    .iconz .container .box label {
        left: 8.222vw;
        font-size: 4.885vw;
    }

    .iconz .container .box.username input + label {
        top: -60%;
    }

    .iconz .container .box input:focus + label,
    .iconz .container .box input:valid + label {
        font-size: 3.563vw !important;
    }

    .iconz .container .box input + label {
        top: calc(50% - 4.3vw);
    }

    .iconz .container .box input, .iconz .container .box input:focus, .iconz .container .box textarea:focus, .iconz .container .box textarea {
        font-size: 4.085vw;
        padding: 0 8vw;
    }

    .iconz .container .box {
        margin: 7.222vw 0;
    }

    body {
        height: unset;
    }

    br {
        display: none;
    }

    .formessentials .sbtn,
    .formessentials .back,
    .formessentials .otpbtn,
    .formessentials .codebtn {
        font-size: 4.688vw !important;
        cursor: pointer;
        color: #fff;
        height: 10.938vw !important;
        width: 31.25vw !important;
        padding: 1.667vw;
        border-radius: 2.07vw;
    }

        .formessentials .back .backimg,
        .formessentials .simg {
            margin-top: 0vw;
            margin-right: 2.541vw;
            height: 6.459vw;
            width: 6.259vw;
        }
}

@media (min-width: 768px) and (max-width: 991px) {
    .bothsidebox {
        min-height: 67vh;
    }
}


@media (min-width: 544px) and (max-width: 767px) {
    .container {
        width: 75vw;
    }
}
