@import url('https://fonts.googleapis.com/css2?family=Inter:wght@100;200;300;400;500;600;700;800;900&display=swap');

html,
body,
button,
.Polaris-TextField__Input {
    font-family: 'Inter', sans-serif;
}

input:focus,
input:hover {
    outline: none;
    border: unset;
}

.ils-login {
    padding: 80px 0;
    background-image: url('../images/login/login-background.svg');
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
    background-color: #fff;
    min-height: 100vh;
    display: flex;
    align-items: flex-start;
}

.ils-login-wrapper {
    display: flex;
    flex-wrap: wrap;
    padding-top: 70px;
    position: relative;
}

.ils-login-container {
    max-width: 1170px;
    width: 100%;
    padding: 0 15px;
    margin: 0 auto;
}

.ils-login-text {
    max-width: 50%;
    width: 100%;
    padding-right: 100px;
}

.ils-login-text .ils-login-logo a {
    display: flex;
    align-items: center;
    text-decoration: unset;
    margin-bottom: 30px;
}

.ils-login-text .ils-login-logo a img {
    max-height: 50px;
    display: block;
    height: 100%;
    width: auto;
}

.ils-login-text .ils-login-logo a span {
    font-style: normal;
    font-weight: 500;
    font-size: 20px;
    line-height: 26px;
    color: #434343;
    padding-left: 10px;
    display: none;
}

.ils-login-text .ils-login-text-content h2 {
    font-style: normal;
    font-weight: 300;
    font-size: 38px;
    line-height: 52px;
    color: #054634;
}

.ils-login-wrap {
    max-width: 540px;
    width: 100%;
    margin-left: auto;
    position: relative;
}

.ils-login-form h1 {
    font-style: normal;
    font-weight: 400;
    font-size: 24px;
    line-height: 30px;
    text-align: left;
    color: #263238;
    padding-bottom: 40px;
    padding-left: 10px;
}

.ils-login-form .ils-login-field-wrap {
    display: flex;
    flex-wrap: wrap;
}

.ils-login-form .ils-login-field-wrap .half {
    max-width: 50%;
    width: 100%;
}

.ils-login-form .ils-login-field-wrap .full {
    max-width: 100%;
    width: 100%;
}

.ils-login-form .ils-login-field-wrap .ils-login-field {
    padding: 0 10px 20px;
}

.ils-login-form .ils-login-field label {
    display: block;
    font-style: normal;
    font-weight: 500;
    font-size: 12px;
    line-height: 17px;
    color: #434343;
    padding-bottom: 5px;
}

.ils-login-form .ils-login-field input {
    font-style: normal;
    font-weight: 400;
    font-size: 13px;
    line-height: 18px;
    color: #434343;
    width: 100%;
    font-family: inherit;
    border: unset;
    /*padding: 0;*/
    margin: 0;
}

input:-webkit-autofill,
input:-webkit-autofill:hover,
input:-webkit-autofill:focus,
input:-webkit-autofill:active {
    transition: background-color 5000s ease-in-out 0s;
}

/*.ils-login-form .ils-login-field .ils-login-input-wrap {
    padding: 10px 12px;
    border: 1px solid #DCDCDC;
    display: flex;
    align-items: center;
    border-radius: 5px;
    background-color: #FFFFFF;
}*/

.ils-login-form .ils-login-field .ils-pass-visibility {
    background-color: transparent;
    border: unset;
    padding: 0;
    /*margin: 0;*/
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 16px;
    cursor: pointer;
}

.ils-login-form .ils-login-field .ils-pass-visibility .hide {
    display: none;
}

.ils-login-form .ils-login-field .ils-pass-visibility.visible .hide {
    display: block !important;
}

.ils-login-form .ils-login-field .ils-pass-visibility.visible .show {
    display: none !important;
}

.ils-login-form .ils-login-btn {
    padding: 12px 15px;
    background-color: #054634;
    font-weight: 700;
    font-size: 14px;
    line-height: 16px;
    color: #FFFFFF;
    border-radius: 5px;
    border: unset;
    width: 100%;
    display: block;
    margin: 0;
    cursor: pointer;
}

.ils-login-form .ils-login-btn-wrap {
    padding: 5px 10px 15px;
}

.ils-login-form .ils-login-link {
    padding: 0 10px 15px;
}

.ils-login-form .ils-login-link p {
    font-weight: 400;
    font-size: 12px;
    line-height: 16px;
    color: #6D7175;
    padding-bottom: 10px;
}

.ils-login-form .ils-login-link p:last-child {
    padding-bottom: 0;
}

.ils-login-form .ils-login-link p a {
    color: #054634;
    text-decoration: unset;
    font-weight: 500;
}

.ils-login-or {
    width: 100%;
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.ils-login-or p {
    background-color: #fff;
    position: relative;
    padding: 0 5px;
    font-weight: 500;
}

.ils-login-or:before {
    content: '';
    position: absolute;
    height: 1px;
    width: calc(100% - 20px);
    background-color: #cbcbcb;
    left: 10px;
    top: 16px;
    z-index: 0;
}
.ils-google-login{
    margin-bottom: 1rem;
    padding-inline: 8px;
}
.ils-google-login svg {max-width: 18px;}
.ils-google-login button {gap: 8px;}
.ils-google-login span {width: auto;display: contents;}

.ils-login-form .ils-social-login button {
    box-shadow: 0px 0px 3px rgba(0, 0, 0, 0.2);
    border-radius: 5px;
    font-weight: 500;
    font-size: 14px;
    line-height: 18px;
    padding: 10px 15px;
    border: unset;
    background-color: #fff;
    display: flex;
    align-items: center;
    color: #434343;
    width: 100%;
    max-width: calc(50% - 10px);
    justify-content: center;
    cursor: pointer;
}

.ils-login-form .ils-social-login button svg {
    margin-right: 6px;
}

.ils-login-form .ils-social-login {
    display: flex;
    align-items: center;
    padding: 15px 10px 20px;
    justify-content: space-between;
}

.ils-login-form .ils-social-login button.ils-facebook-login {
    color: #fff;
    background-color: #3D6AD6;
}

.ils-login-form .ils-for-pass {
    font-size: 12px;
    line-height: 16px;
    color: #054634;
}

.ils-login-form .ils-login-link>a {
    padding-bottom: 10px;
    color: #054634;
    text-decoration: unset;
    font-weight: 500;
}

.required {
    color: red;
    font-size: 15px;
    margin-left: 1px;
}

/* p.user_message {
    padding: 15px 20px;
    border: 1px solid;
    border-radius: 4px;
    background: rgba(241, 242, 244, 1);
} */

.user_message.error {
    color: red !important;
    background: rgba(254, 243, 241, 1);
    padding: 12px 20px;
    border: 1px solid;
    border-radius: 4px;
}

.user_message.success {
    color: rgba(18, 84, 67, 1) !important;
    background: rgba(240, 253, 248, 1);
    padding: 12px 20px;
    border: 1px solid;
    border-radius: 4px;
}

.hide {
    display: none !important;
}

.login-error-msg {
    position: fixed;
    bottom: 100%;
    left: 50%;
    top: 20px;
    transform: translateX(-50%);
    z-index: 99;
}

.otp-card {
    max-width: 500px;
    margin: auto;
    display: flex;
    height: 100%;
    align-items: center;
}

.set-password {
    padding: 50px 0;
    max-width: 400px;
}

.error-box .Polaris-FormLayout__Item {
    margin: 0;
}

.set-password .Polaris-Box-page-header {
    padding-bottom: 10px;
}

.set-password .Polaris-TextField__Input {
    border: unset;
}

.otp_timer {
    padding-top: 12px;
    font-size: 12px;
}

.error-banner-wrapper {
    position: fixed;
    z-index: var(--p-z-10);
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    display: block;
    background-color: var(--p-backdrop);
    animation: var(--p-keyframes-fade-in) var(--p-duration-200) 1 forwards;
}

.error-banner-wrapper-in {
    display: flex;
    flex-direction: column;
    justify-content: center;
    height: 100%;
    max-width: 38.75rem;
    margin: 0 auto;
}

.Polaris-Banner__Dismiss svg {
    width: 16px;
}

.error-banner-wrapper-in .Polaris-Banner {
    flex-wrap: wrap;
}

.d-flex {
    display: flex;
}

.w-100 {
    width: 100%;
}

.m-t-1rem {
    margin-top: 1rem;
}



@media only screen and (max-width:767px) {

    .ils-login-text {
        max-width: 100%;
        width: 100%;
        padding: 0 10px 20px;
    }

    .ils-login-form {
        max-width: 100%;
        width: 100%;
    }

    .ils-login-text-content {
        display: none;
    }

    .ils-login-text .ils-login-logo a {
        margin-bottom: 0;
    }

    .ils-login-form h1 {
        padding: 0 10px 20px;
        text-align: left;
        font-size: 20px;
    }

    .ils-login {
        padding: 50px 0;
    }

    .container {
        padding: 0 15px;
    }

    .header_logo a svg,
    .header_logo a img {
        max-height: 30px;
    }

    .terms_content .sec_title h1 span::after,
    .Privacy_content .sec_title h1 span::after {
        left: -5px;
    }
    .content-page {
        padding: 80px 0;
    }
}

@media only screen and (max-width:450px) {
    .ils-login-form .ils-login-field-wrap .half {
        max-width: 100%;
    }

    .ils-login-text .ils-login-logo a img {
        max-height: 30px;
    }

    .ils-login-text .ils-login-logo a span {
        font-size: 16px;
        line-height: 20px;
        padding-left: 5px;
    }

    /*.ils-login-form .ils-login-or {
        padding: 5px 10px;
    }*/
    /*.ils-login-form .ils-login-field .ils-login-input-wrap {
        padding: 8px 10px;
    }*/
}