/* New styles */
img {
    max-width: 100%;
}
a,
button {
    outline: none !important;
}
input::placeholder {
    color: transparent;
}
.login-container h4,
.register-container h4 {
    font-size: 20px;
}
.login-container h4 + h6 {
    color: #5E5E5E;
    font-size: 15px;
}
/* .login-container h6 {
    font-size: 15px;
    margin-bottom: 30px;
} */
.form-group label {
    /* width: 100%; */
    font-family: "Roboto";
    font-style: normal;
    font-size: 12px;
    line-height: 18px;
    color: #000000;
    opacity: 0.5;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    margin: 0;
    left: 10px;
    transition: 0.2s ease-in-out;
}
.form-group input[type="text"]:focus,
.form-group input[type="password"]:focus,
.form-group input[type="email"]:focus {
    box-shadow: 0 0 2px 0 #4C4DFF;
}
.form-group .form-icon,
.form-group .shwPas {
    position: absolute;
    right: 18px;
    top: 50%;
    transform: translateY(-50%);
    /* color: #5D5D5D; */
    width: 15px;
    height: 15px;
    transition: 0.2s ease-in-out;
}
.form-group .form-icon img,
.form-group button img {
    line-height: 1;
    vertical-align: top;
}
label[for="company"] + .form-icon {
  width: 21px;
  height: 21px;
}
#emailLogin:focus + label,
#emailLogin:not(:placeholder-shown) + label,
#passwordLogin:focus + label,
#passwordLogin:not(:placeholder-shown) + label,
#emailRegister:focus + label,
#emailRegister:not(:placeholder-shown) + label,
#username:focus + label,
#username:not(:placeholder-shown) + label,
#company:focus + label,
#company:not(:placeholder-shown) + label,
#passwordRegister:focus + label,
#passwordRegister:not(:placeholder-shown) + label,
#emailForgot:focus + label,
#emailForgot:not(:placeholder-shown) + label,
#fullName:focus + label,
#fullName:not(:placeholder-shown) + label,
#email:focus + label,
#email:not(:placeholder-shown) + label,
#industry:focus + label,
#industry:not(:placeholder-shown) + label,
#position:focus + label,
#position:not(:placeholder-shown) + label {
    top: -20px;
    transform: translateY(0);
    left: 0;
}
#emailLogin:focus + label + .form-icon,
#emailLogin:not(:placeholder-shown) + label + .form-icon,
#passwordLogin:focus + label + .form-icon,
#passwordLogin:not(:placeholder-shown) + label + .form-icon,
#emailRegister:focus + label + .form-icon,
#emailRegister:not(:placeholder-shown) + label + .form-icon,
#username:focus + label + .form-icon,
#username:not(:placeholder-shown) + label + .form-icon,
#company:focus + label + .form-icon,
#company:not(:placeholder-shown) + label + .form-icon,
#passwordRegister:focus + label + .form-icon,
#passwordRegister:not(:placeholder-shown) + label + .form-icon,
#emailForgot:focus + label + .form-icon,
#emailForgot:not(:placeholder-shown) + label + .form-icon,
#fullName:focus + label + .form-icon,
#fullName:not(:placeholder-shown) + label + .form-icon,
#email:focus + label + .form-icon,
#email:not(:placeholder-shown) + label + .form-icon,
#industry:focus + label + .form-icon,
#industry:not(:placeholder-shown) + label + .form-icon,
#position:focus + label + .form-icon,
#position:not(:placeholder-shown) + label + .form-icon {
    opacity: 0;
}
/* #passwordLogin:focus ~ .shwPas, */
#passwordLogin:placeholder-shown ~ .shwPas,
#passwordRegister:placeholder-shown ~ .shwPas {
    opacity: 0;
    visibility: hidden;
}
.form-group .shwPas {
    padding: 0;
    border: 0;
    background: transparent;
    width: 20px;
    height: 20px;
    opacity: 0.6;
}
.col-sm-6 > * {
    font-size: 12px;
    text-decoration: underline;
    color: #5E5E5E !important;
}
.err {
    display: flex;
    color: #EB4335;
    font-size: 14px;
    margin: 0 0 -5px;
    align-items: center;
    gap: 0 3px;
}
.err::before {
    content: '';
    width: 16px;
    height: 16px;
    background-image: url(../../img/login/warning.svg);
    background-repeat: no-repeat;
}

.mt-3.trms label {
    font-size: 12px;
    color: #5E5E5E !important;
    max-width: 89%;
    margin: 0 auto;
    display: flex;
    align-items: start;
    gap: 0 5px;
}
.mt-3.trms label #termsAndPrivacyCheck {
    margin-top: 3px;
}
.mt-3.trms label a {
    color: #4C4DFF;
    font-weight: 600;
}
.g-recaptcha > div {
    margin: 0 auto;
}
.mt-3.btn-group-last h6 {
    font-family: "Roboto";
    font-style: normal;
    font-weight: 400;
    font-size: 12px;
    text-align: center;
    margin-top: 20px;
    color: #5e5e5e;
}
.mt-3.btn-group-last h6 span.login {
    color: #4C4DFF;
    cursor: pointer;
    font-weight: 600;
}

/* New styles end */

.input-container{
    min-height: 100vh;
    max-width: 100vw;

    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
}

.forgot-container {
    display: inherit;
    align-items: inherit;
    justify-content: inherit;
    flex-direction: inherit;
}

.login-container,
.register-container,
.forgot-container {
    background: #ffffff;
    box-shadow: 0px 76px 114px rgba(0, 0, 0, 0.25);
    border-radius: 15px;
    /* padding: 2em; */
    padding: 2.5em;
}

.login-container,
.register-container {
    width: 420px;
    /* height: 925px; */
}

.forgot-container {
    width: 420px;
    height: 400px;
}

/* .login-container {
    width: 420px;
    height: 600px;
} */

.form-group {
    display: inherit;
    flex-direction: inherit;

    width: 100%;
}

/* .form-group label {
    width: 100%;

    font-family: "Roboto";
    font-style: normal;
    font-weight: 700;
    font-size: 15px;
    line-height: 18px;

    color: #000000;
} */

.form-group input[type="text"],
.form-group input[type="password"],
.form-group input[type="email"] {
    box-sizing: border-box;

    width: 100%;
    height: 40px;
    padding: 0.5em;

    background: #ffffff;
    border: 1px solid #80abff;
    border-radius: 3px;
}

.input-container  img.logo {
    width: 150px;
    /* height: auto; */
    height: 97px;
    margin: 0 auto;
    display: block;
}

.input-container .btn {
    width: 100%;
    /* padding: 10px 0; */
    padding: 12px 0;
    margin: 0 auto;
    border-radius: 100px;
    background-color: #4c4dff;
    border: none;
    color: #fff;
    /* font-weight: 500; */
    font-weight: 600;
    font-size: 14px;
}

.input-container .form-group {
    margin-bottom: 0;
    /* margin-top: 1rem; */
    margin-top: 1.8rem;
    position: relative;
}

.input-container .form-group h6 {
    font-family: "Roboto";
    font-style: normal;
    font-weight: 400;
    /* font-size: 15px; */
    font-size: 12px;
    line-height: 18px;
    /* identical to box height */

    /* text-decoration-line: underline; */

    color: #5e5e5e;

    text-align: center;
    margin-top: 1rem;
    margin-bottom: 0;
}

.input-container .form-group h6 #showRegister {
    color: #4C4DFF;
    font-weight: 600;
    cursor: pointer;
}

.input-container a {
    color: #007bff;
}


@media (max-width: 550px) {
    .login-container, .register-container {
        width: 300px;
    }
    .login-container, .register-container, .forgot-container {
        padding: 1.5em;
    }
    .input-container img.logo {
        width: 120px;
        height: 77px;
    }
    .forgot-container {
        width: 300px;
        height: auto;
    }
}