body {
    margin: 0;
    padding: 0;
    display: flex;
    font-family: "Lato", sans-serif;
    font-weight: 400;
    font-style: normal;
    text-align: center;
    color: #1c1c1c !important;
}

/* width */
::-webkit-scrollbar {
    width: 6px;
}

/* Track */
::-webkit-scrollbar-track {
    border-radius: 10px;
}

/* Handle */
::-webkit-scrollbar-thumb {
    background: #808080;
    border-radius: 10px;
}

/* Handle on hover */
::-webkit-scrollbar-thumb:hover {
    background: #808080;
}

.image-container {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    height: 100vh;
    overflow: auto;
    background-repeat: no-repeat;
    background-color: rgba(255, 255, 255, 0);
    background-size: cover;
    background-image: url("https://strgdcasppprod.blob.core.windows.net/web-templates/background-image.png");
}

.card-container {
    display: flex;
    height: unset;
    align-items: center;
    min-height: calc(100vh - 2px);
}

.card-container-changePwd {
    display: flex;
    height: unset;
    align-items: center;
    min-height: calc(100vh - 2px);
    justify-content: center;
}

.card {
    justify-content: center;
    background-color: #fff;
    margin: 5% 0 5% 13%;
    border-radius: 32px;
    padding: 40px;
    width: 40%;
    height: auto;
    /* Shadow to be added */
}

.changePasswordCard {
    justify-content: center;
    background-color: #fff;
    border-radius: 32px;
    padding: 40px;
    width: 35%;
    height: auto;
    /* Shadow to be added */
}

.chgLogo {
    gap: 40px;
    height: 92px;
    width: 200px;
    margin: 0 auto;
}

.desktop-logo {
    display: block;
}

.mobile-logo {
    display: none;
}

.content {
    width: 100%;
    padding-bottom: 0;
}

.image-container-change-password {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    height: 100vh;
    overflow: auto;
    background-repeat: no-repeat;
    background-color: rgba(255, 255, 255, 0);
    background-size: cover;
    background-image: url("https://strgdcasppprod.blob.core.windows.net/web-templates/changePasswordWeb.png");
}

.heading h1 {
    color: #0d0d0d;
    font-size: 28px;
    font-family: "Lato", sans-serif;
    margin: 40px 0;
    font-weight: 700;
}

.intro h2 {
    color: #1c1c1c;
    font-size: 18px;
    font-weight: 400;
    margin-bottom: 34px;
}

/* Input element styles */
#verificationCode,
#number,
#countryCode,
.entry-item input,
#email,
#emailVerificationCode,
#email_ver_input,
#newPassword,
#oldPassword,
#reenterPassword,
#extension_EMPINumber,
#extension_PhoneNumber,
#extension_dob,
#surname,
#strongAuthenticationPhoneNumber,
#strongAuthenticationPhoneNumber-custom,
#givenName,
#displayName,
#extension_Phonenumber,
#extension_Dateofbirth,
#extension_Dateofbirth-custom {
    display: flex;
    width: 100%;
    padding: 16px 20px;
    border-radius: 12px;
    box-sizing: border-box;
    border: 1px solid #bfbfbf;
    height: 56px;
    color: #212121 !important;
    font-family: "Lato", sans-serif;
}

#logonIdentifier:focus-visible,
#email:focus-visible,
#password:focus-visible,
#oldPassword:focus-visible,
#newPassword:focus-visible,
#reenterPassword:focus-visible,
#extension_EMPINumber:focus-visible,
#extension_Dateofbirth:focus-visible,
#extension_Dateofbirth-custom:focus-visible,
#extension_Phonenumber:focus-visible,
#strongAuthenticationPhoneNumber:focus-visible,
#strongAuthenticationPhoneNumber-custom:focus-visible,
#verificationCode:focus-visible,
#email_ver_input:focus-visible,
#emailVerificationCode:focus-visible,
#displayName:focus-visible {
    outline: none;
    border: 1px solid #000;
}

.passwordIcon:focus-visible,
.passwordIcon.focused {
    border: 1px solid #000;
    border-left: 0px !important;
}

#email_label,
#newPassword_label,
#reenterPassword_label,
#oldPassword_label,
#extension_EMPINumber_label,
#extension_PhoneNumber_label,
#emailVerificationCode_label,
#email_ver_input_label,
#extension_dob_label,
#surname_label,
#strongAuthenticationPhoneNumber_label,
#givenName_label,
#displayName_label,
#extension_Phonenumber_label,
#extension_Dateofbirth_label {
    display: none !important;
}

#verificationCode,
#number,
#countryCode {
    margin-top: 16px;
}

.entry-item a {
    margin-top: 32px;
    display: flex;
    justify-content: flex-end;
    font-size: 16px;
    color: #0f5d95;
    font-family: "Lato", sans-serif;
    font-weight: 700;
    text-decoration: none;
}

/* Changes for button */
#sendCode,
#verifyPhone,
#verifyCode,
#next,
#custom-next,
#cancel,
#custom-back,
#cancel-custom,
#continue,
#custom-continue,
#verify-email-custom,
#emailVerificationControl_but_send_code,
#email_ver_but_verify,
#emailVerificationControl_but_verify_code,
#email_ver_but_resend,
#emailVerificationControl_but_send_new_code,
#emailVerificationControl_but_change_claims,
#email_ver_but_send {
    width: 100%;
    padding: 15px 20px;
    background-color: #0f5d95;
    color: #fff;
    border: none;
    border-radius: 32px;
    box-sizing: border-box;
    font-size: 16px;
    margin: 24px 0px 10px 0px;
    outline: none;
    font-weight: 700;
    height: 52px;
    cursor: pointer;
}

#verifyPhone,
#verifyCode,
#cancel,
#cancel-custom,
#custom-continue,
#emailVerificationControl_but_verify_code,
#email_ver_but_resend,
#emailVerificationControl_but_send_new_code,
#email_ver_but_resend {
    width: 49%;
}

#allow-essential-analytics,
#allow-all-analytics {
    display: flex;
    width: 160px;
    height: 52px;
    padding: 10px 16px;
    justify-content: center;
    align-items: center;
    border-radius: 32px;
    border-width: 0px;
    font-family: "Lato";
    font-size: 16px;
    font-style: normal;
    font-weight: 700;
    line-height: 20px;
}

#allow-all-analytics {
    background: var(--Primary-P500, #0f5d95);
    color: var(--Default-White, #fff);
}

#allow-essential-analytics {
    background: #e8f5fe;
    color: #0f5d95;
}

#sendCode:hover,
#sendCode:active,
#sendCode:focus,
#verifyPhone:hover,
#verifyPhone:active,
#verifyPhone:focus,
#verifyCode:hover,
#verifyCode:active,
#verifyCode:focus,
#cancel:hover,
#cancel:active,
#cancel:focus,
#cancel-custom:hover,
#cancel-custom:active,
#cancel-custom:focus,
#custom-back:hover,
#custom-back:active,
#custom-back:focus,
#go-back-btn:focus,
#go-back-btn:active,
#go-back-btn:hover,
#next:hover,
#next:active,
#next:focus,
#custom-next:hover,
#custom-next:active,
#custom-next:focus,
#verify-email-custom:hover,
#verify-email-custom:active,
#verify-email-custom:focus,
#continue:hover,
#continue:active,
#continue:focus,
#custom-continue:hover,
#custom-continue:active,
#custom-continue:focus,
#emailVerificationControl_but_send_code:hover,
#emailVerificationControl_but_send_code:active,
#emailVerificationControl_but_send_code:focus,
#emailVerificationControl_but_verify_code:hover,
#emailVerificationControl_but_verify_code:active,
#emailVerificationControl_but_verify_code:focus,
#emailVerificationControl_but_send_new_code:hover,
#emailVerificationControl_but_send_new_code:active,
#emailVerificationControl_but_send_new_code:focus,
#email_ver_but_resend:hover,
#email_ver_but_resend:active,
#email_ver_but_resend:focus,
#emailVerificationControl_but_change_claims:hover,
#emailVerificationControl_but_change_claims:active,
#emailVerificationControl_but_change_claims:focus,
#allow-all-analytics:hover,
#allow-all-analytics:active,
#allow-all-analytics:focus,
#allow-essential-analytics:hover,
#allow-essential-analytics:active,
#allow-essential-analytics:focus {
    background-color: #000000;
    color: #fff;
    outline: none;
}

.buttons .disabled,
button[aria-disabled="true"] {
    background-color: rgb(245, 245, 245) !important;
    cursor: not-allowed !important;
    color: rgb(179, 185, 196) !important;
}

button {
    font-family: "Lato", sans-serif;
}

/* Error styles */
.error p,
.error.itemLevel,
.verificationErrorText,
#emailVerificationControl_error_message,
#claimVerificationServerError {
    color: #d32513;
    font-size: 16px;
    font-family: "Lato", sans-serif;
    font-weight: 400;
    text-align: left;
}

.error.itemLevel.show {
    margin-bottom: 10px !important;
}

.extension_TermsandCondition_li .error.itemLevel.show {
    margin-bottom: 7px !important;
}

#api .custom-working {
    margin: 12px 0;
}

/* Loading styles */
#api .custom-working,
#api .working {
    background: url(https://strgdcasppprod.blob.core.windows.net/web-templates/loader.gif)
        no-repeat;
    height: 30px;
    width: auto;
    background-position: center bottom;
    display: none;
}

/** Common style for UL and LI */
#attributeList ul {
    margin: 0;
    padding: 0;
}

#attributeList ul li {
    list-style-type: none;
}

.helpLink.tiny {
    display: none !important;
}

.intro p {
    font-size: 18px;
    font-family: "Lato", sans-serif;
    color: #1c1c1c;
}

.signUpText {
    display: flex;
    align-items: end;
    justify-content: center;
    font-size: 16px;
    font-family: "Lato", sans-serif;
    color: #1c1c1c;
    margin-top: 32px;
}

.signUpText p {
    margin: 0;
}

.aTag {
    text-decoration: none;
    color: #0f5d95;
    font-family: "Lato", sans-serif;
    font-weight: 700;
    font-size: 16px;
    margin-left: 6px;
}

.aTag:hover {
    text-decoration: underline;
}

#cancel,
#cancel-custom,
#custom-back {
    background-color: #e8f5fe;
    color: #0f5d95;
    font-weight: bold;
}

input::placeholder {
    font-size: 16px;
    color: #4a4a4a !important;
}

input#myinput::-webkit-input-placeholder {
    font-size: 16px;
    color: #4a4a4a !important;
}

input#myinput::-moz-placeholder {
    font-size: 16px;
    color: #4a4a4a !important;
    opacity: 1;
}

input#myinput:-moz-placeholder {
    font-size: 16px;
    color: #4a4a4a !important;
    opacity: 1;
}

input#myinput::-ms-input-placeholder {
    /* IE10+ */
    font-size: 16px;
    color: #4a4a4a !important;
}

input {
    font-size: 16px;
}

.pagelevel-error {
    font-family: "Lato", sans-serif;
    border: 1px solid #f98074;
    background-color: #fef0ee;
    border-radius: 10px;
    margin-top: 40px;
}

.pagelevel-error p {
    padding: 8px 16px;
    color: #d32513 !important;
    margin: 0;
    font-size: 16px;
}

input::-ms-reveal,
input::-ms-clear {
    display: none;
}

.passwordIcon {
    border: 1px solid #bfbfbf;
    border-left: 0px;
    border-radius: 0px 12px 12px 0px;
    cursor: pointer;
    height: 56px;
    box-sizing: border-box;
    display: flex;
    align-items: center;
    padding: 16px 20px 16px 20px;
}

&:-webkit-autofill::first-line,
&:-webkit-autofill,
&:-webkit-autofill:hover,
&:-webkit-autofill:focus,
&:-webkit-autofill:active {
    font-family: "Lato", sans-serif;
}

input:-webkit-autofill,
input:-webkit-autofill:hover,
input:-webkit-autofill:focus,
textarea:-webkit-autofill,
textarea:-webkit-autofill:hover,
textarea:-webkit-autofill:focus,
select:-webkit-autofill,
select:-webkit-autofill:hover,
select:-webkit-autofill:focus {
    -webkit-box-shadow: 0 0 0px 1000px #ffffff inset !important;
}

.skip {
    padding: 10px 20px;
    background-color: #e8f5fe;
    position: absolute;
    left: -1000px;
    z-index: -9999;
}

.skip:focus {
    z-index: 999;
    left: 0;
}

/* Responsive styles for mobile */
@media (min-width: 0px) and (max-width: 767.98px) {
    .image-container {
        background-image: url("https://strgdcasppprod.blob.core.windows.net/web-templates/mobile-background-image.png");
    }

    .image-container-change-password {
        background-image: url("https://strgdcasppprod.blob.core.windows.net/web-templates/changePasswordMobile.png");
    }

    .card {
        padding: 20px;
        border-radius: 24px;
        margin-left: 0%;
        width: 80% !important;
    }

    .card-container {
        align-items: center;
        justify-content: center;
    }

    .changePasswordCard {
        border-radius: 24px;
        padding: 20px;
        margin-left: 0%;
        width: 80%;
    }

    .card-container-changePwd {
        align-items: center;
        justify-content: center;
    }

    .chgLogo {
        gap: 32px;
        height: 56px;
        width: 126px;
    }

    .desktop-logo {
        display: none;
    }

    .mobile-logo {
        display: block;
    }

    .pagelevel-error {
        margin-top: 32px;
    }

    .pagelevel-error p {
        padding: 8px;
        font-size: 12px;
    }

    .heading h1 {
        margin: 32px 0;
        font-size: 20px;
    }

    .entry-item {
        margin-top: 20px;
    }

    .aTag,
    .signUpText,
    #forgotPassword {
        font-size: 14px;
    }

    #allow-essential-analytics,
    #allow-all-analytics {
        width: 100%;
    }
}

/* Responsive styles for tablet */
@media (min-width: 768px) and (max-width: 1032px) {
    .card {
        padding: 20px;
        border-radius: 24px;
        margin-left: 0%;
        width: 80% !important;
    }

    .image-container {
        background-image: url("https://strgdcasppprod.blob.core.windows.net/web-templates/tab-background-image.png");
    }

    .image-container-change-password {
        background-image: url("https://strgdcasppprod.blob.core.windows.net/web-templates/changePasswordMobile.png");
    }

    #password {
        border: 1px solid #bfbfbf;
        border-radius: 12px;
    }

    #logonIdentifier:focus-visible {
        outline: none;
        border: 1px solid #000;
    }

    .changePasswordCard {
        border-radius: 24px;
        padding: 20px;
        margin-left: 0%;
        width: 80%;
    }

    .card-container-changePwd {
        align-items: center;
        justify-content: center;
    }

    .card-container {
        align-items: center;
        justify-content: center;
    }

    .heading h1 {
        margin: 32px 0;
        font-size: 20px;
    }

    .entry-item {
        margin-top: 20px;
    }

    .aTag,
    .signUpText,
    #forgotPassword {
        font-size: 14px;
    }

    #allow-essential-analytics,
    #allow-all-analytics {
        width: 100%;
    }
}
