﻿@font-face {
    font-family: "Inter";
    src: url('../fonts/inter-variablefont_slnt,wght.ttf') format('truetype')
}
@font-face {
    font-family: 'inter-semibold';
    src: url('../fonts/inter-semibold.ttf') format('truetype');
}

body {
    background-color: #F5F5F5 !important;
    display: flex;
    min-height: 100vh;
    -o-justify-content: center;
    -webkit-justify-content: center;
    justify-content: center;
}

.body-content {
    display: flex;
    -ms-align-items: center;
    -o-align-items: center;
    -webkit-align-items: center;
    align-items: center;
}

.main-div {
    display: flex;
    flex-direction: column;
    -ms-align-items: center;
    -o-align-items: center;
    -webkit-align-items: center;
    align-items: center;
    padding: 2rem;
    gap: 1rem;
    width: 37rem;
    background: #FFFFFF;
    box-shadow: 0px 1.25rem 1.5rem -0.25rem rgba(16, 24, 40, 0.08), 0px  0.5rem -0.25rem rgba(16, 24, 40, 0.03);
    -ms-border-radius: 0.75rem;
    border-radius: 0.75rem;
    margin: auto !important;
}

.main-div h1, .main-div div h1 {
    font-size: 2rem;
    width: 100%;
    text-align: center;
}

.login-logo {
    height: 100%;
    max-height: 3.8rem;
}

.login-header, .logout-header {
    font-family: 'Inter';
    font-style: normal;
    font-weight: 600;
    font-size: 1.25rem;
    line-height: 1.75rem;
    /* Gray/900 */

    color: #101828;
    -webkit-flex: none;
    -ms-flex: none;
    -o-flex: none;
    flex: none;
    -o-order: 0;
    -webkit-order: 0;
    order: 0;
    -webkit-align-self: stretch;
    -o-align-self: stretch;
    align-self: stretch;
    -o-flex-grow: 0;
    -webkit-flex-grow: 0;
    flex-grow: 0;
    text-align: center;
    margin-top: 1rem;
}

.login-header-home {
    font-family: 'Inter';
    font-style: normal;
    font-weight: 600;
    font-size: 1.2rem;
    line-height: 1.75rem;
    color: #101828;
    -webkit-flex: none;
    -ms-flex: none;
    -o-flex: none;
    flex: none;
    -o-order: 0;
    -webkit-order: 0;
    order: 0;
    -webkit-align-self: stretch;
    -o-align-self: stretch;
    align-self: stretch;
    -o-flex-grow: 0;
    -webkit-flex-grow: 0;
    flex-grow: 0;
    text-align: left;
    margin-top: 1rem;
    margin-bottom: -.6rem;
}

.auth-header {
    font-family: 'Inter';
    font-style: normal;
    font-weight: 600;
    font-size: 1.3rem;
    line-height: 1.75rem;
    text-align: center;
    color: #101828;
    margin-top: 0 !important;
}

.login-alternative-text {
    width: 100%;
    /* Text sm/Regular */

    font-family: 'Inter';
    font-style: normal;
    font-weight: 400;
    font-size: 0.9rem;
    margin-bottom: 0 !important;
    line-height: 1.25rem;
    text-align: center;
    color: #667085;
}

.login-line {
    width: 100%;
    height: 0;
    border-bottom: 0.063rem solid #D0D5DD;
    margin-top: 0.6rem;
}

.login-parent-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    position: relative;
    grid-gap: 1rem;
    width: 100%
}

.login-label {
    font-family: 'inter-semibold';
    font-style: normal;
    font-weight: 500;
    font-size: 1rem;
    line-height: 1.25rem;
    /* identical to box height, or 143% */
    /* Gray/700 */
    -webkit-align-self: baseline;
    -o-align-self: baseline;
    align-self: baseline;
    color: #344054;
    -webkit-flex: none;
    -ms-flex: none;
    -o-flex: none;
    flex: none;
    -o-order: 0;
    -webkit-order: 0;
    order: 0;
    -o-flex-grow: 0;
    -webkit-flex-grow: 0;
    flex-grow: 0;
}

.login-input {
    box-sizing: border-box;
    /* Auto layout */

    display: flex;
    flex-direction: row;
    -ms-align-items: center;
    -o-align-items: center;
    -webkit-align-items: center;
    align-items: center;
    padding: 0.625rem 0.875rem;
    gap: 0.5rem;
    width: 100%;
    height: 3rem;
    margin-top: 0.4rem;
    margin-bottom: 0.5rem;
    background: #FFFFFF;
    border: 0.063rem solid #949494;
    box-shadow: 0px 0.063rem 0.125rem rgba(16, 24, 40, 0.05);
    -ms-border-radius: 0.5rem;
    border-radius: 0.5rem;
    /* Inside auto layout */
    -webkit-flex: none;
    -ms-flex: none;
    -o-flex: none;
    flex: none;
    order: 1;
    -webkit-align-self: stretch;
    -o-align-self: stretch;
    align-self: stretch;
    -o-flex-grow: 0;
    -webkit-flex-grow: 0;
    flex-grow: 0;
}

.login-form-group {
    margin-bottom: 0 !important;
    width: 100%;
}

.logout-form {
    width: 100%;
}

.login-checkbox {
    box-sizing: border-box;
    width: 1.25rem;
    height: 1.25rem;
    /* Primary/50 */

    background: #F9F5FF;
    /* Iris/100 */

    border: 0.063rem solid #5D5FEF;
    -ms-border-radius: 0.375rem;
    border-radius: 0.375rem;
    /* Inside auto layout */
    -webkit-flex: none;
    -ms-flex: none;
    -o-flex: none;
    flex: none;
    -o-order: 0;
    -webkit-order: 0;
    order: 0;
    -o-flex-grow: 0;
    -webkit-flex-grow: 0;
    flex-grow: 0;
    margin-right: 0.8rem!important;
}

.login-checkbox-label {
    font-family: 'Inter';
    font-style: normal;
    font-weight: 500;
    font-size: 0.875rem;
    line-height: 1.25rem;

    text-align: right;

    color: #667085;
    -webkit-flex: none;
    -ms-flex: none;
    -o-flex: none;
    flex: none;
    -o-order: 1;
    -webkit-order: 1;
    order: 1;
    -o-flex-grow: 0;
    -webkit-flex-grow: 0;
    flex-grow: 0;
    align-items: end;
    display: flex;
    flex-direction: row;
}

.login-form-group2 {
    margin-bottom: 0 !important;
    width: 100%;
    display: flex;
    flex-direction: row;
    -ms-align-items: center;
    -o-align-items: center;
    -webkit-align-items: center;
    align-items: center;
    -o-justify-content: space-between;
    -webkit-justify-content: space-between;
    justify-content: space-between;
}

.login-reset-password {
    font-family: 'inter-semibold';
    font-style: normal;
    font-weight: 500;
    text-align: right;
    color: #5D5FEF;
    -webkit-flex: none;
    -ms-flex: none;
    -o-flex: none;
    flex: none;
    order: 1;
    -o-flex-grow: 0;
    -webkit-flex-grow: 0;
    flex-grow: 0;
}

.login-register-account {
    font-family: 'inter-semibold';
    font-style: normal;
    font-weight: 500;
    text-align: left;
    color: #5D5FEF;
    width: 100%;
}

.login-button {
    color: white;
    font-family: 'Inter';
    font-style: normal;
    font-weight: 600;
    font-size: 1rem;
    width: 100%;
    height: 3.2rem;
    background: #5D5FEF;
    border: 0.063rem solid #5D5FEF;
    box-shadow: 0px 0.063rem 0.125rem rgb(16 24 40 / 5%);
    -ms-border-radius: 0.5rem;
    border-radius: 0.5rem
}

.login-validation {
    color: #dc2626;
}

.login-button:hover {
    -ms-opacity: 0.8;
    opacity: 0.8;
}

.login-external-providers-wrapper {
        display: grid;
        grid-template-columns: 1fr 1fr;
        width: 100%;
        grid-gap: 2rem;
    }

.login-logo-wrapper {
    width: 100%;
    height: 4rem;
    background: #FFFFFF;
    border: 0.05rem solid #E8E8E8;
    -ms-border-radius: 0.25rem;
    border-radius: 0.25rem;
    display: flex;
    -ms-align-items: center;
    -o-align-items: center;
    -webkit-align-items: center;
    align-items: center;
    -o-justify-content: center;
    -webkit-justify-content: center;
    justify-content: center;
}

.login-logo-bankId {
    height: 3.8rem;
}

.login-logo-external-provider {
    height: 1.8rem;
}

.login-azure-text {
    font-size: 0.75rem !important;
    margin: 0 auto !important;
}

ul {
    margin-bottom: 0 !important;
    list-style: none;
    text-align: start;
    padding: 0 !important;
}

.login-validation-alert {
    border-radius: 0.375rem;
    width: 100%;
    padding: 0.6rem;
    background-color: #EF4E4E;
    border-color: #D64545;
    color: #470000;
    font-weight: 500;
}

.access-wrapper {
    max-width: 68.75rem;
    padding: 2rem;
}

.logout-text {
    font-family: 'inter-semibold';
    font-style: normal;
    font-weight: 500;
    font-size: 1rem;
    line-height: 1.25rem;
    color: #344054;
}

.logout-btn-group {
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-gap: 2rem;
    width: 100%;
}

.logout-btn-shared {
    display: flex;
    flex-direction: row;
    -o-justify-content: center;
    -webkit-justify-content: center;
    justify-content: center;
    -ms-align-items: center;
    -o-align-items: center;
    -webkit-align-items: center;
    align-items: center;
    padding: 0.625rem 1.125rem;
    border: 0.063rem solid #5D5FEF;
    box-shadow: 0px 0.063rem 0.125rem rgba(16, 24, 40, 0.05);
    -ms-border-radius: 0.5rem;
    border-radius: 0.5rem;
    font-family: 'inter-semibold';
    font-weight: 600;
    font-size: 1rem;
    color: white;
    height: 3.2rem;
}


.logout-btn-shared:hover {
    -ms-opacity: 0.8;
    opacity: 0.8;
    text-decoration: none !important;
    color: white !important;
}

#provision-error {
    display:none;
}

.logout-back-btn {
    background: #383838;
    width: 100%;
}

.logout-login-btn {
    background: #5D5FEF;
}

.change-pwd-error-msg {
    color: red !important;
}

a {
    text-decoration: none;
}

@media(max-width: 768px) {
    .main-div {
        width: 100%;
        gap: 0.6rem;
        box-shadow: none;
    }

    .login-logo {
        max-height: 2.8rem;
    }

    .login-logo-wrapper {
        height: 3rem;
    }

    .login-logo-bankId {
        height: 2.8rem;
    }

    .login-logo-external-provider {
        height: 1.4rem;
    }

    .login-input {
        width: 100%;
        margin-bottom: 0.5rem;
    }

    .login-form-group {
        width: 100%;
    }

    .login-parent-wrapper {
        grid-template-columns: 1fr auto 1fr;
        margin: 0 !important;
    }

    .login-alternative-text {
        width: fit-content;
    }

    .login-provider-parent {
        width: 100%;
    }

    .login-external-providers-wrapper {
        display: flex;
        width: 100%;
        gap: 1rem;
        flex-direction: column;
    }

    .body-content {
        width: 100vw;
    }
    .login-form {
        width: 100%
    }

    .login-form-group2 {
        flex-direction: column !important;
        -ms-align-items: flex-start;
        -o-align-items: flex-start;
        -webkit-align-items: flex-start;
        align-items: flex-start;
        gap: 1.2rem;
    }

    .logout-btn-group {
        grid-template-columns: 1fr;
    }

    body {
        height: auto !important;
        margin: 0 !important;
        background-color: white!important;
    }
}

@media(max-height: 800px) {
    .body-content {
        -ms-align-items: start;
        -o-align-items: start;
        -webkit-align-items: start;
        align-items: start;
    }
}

input:focus-within, button:focus-within, a:focus-within {
    outline: solid #102A43 0.125rem;
    outline-offset: 0.125rem;
}

footer {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    text-align: center;
    margin-bottom: 1rem;
}

.accessibility-statement {
    font-size: 0.9rem;
    color: #5b6373;
}

@media(max-height: 700px) {
    body {
        flex-direction: column;
        align-items: center;
        justify-content: start !important;
    }

    footer {
        position: relative;
        margin-top: 1rem;
        padding-bottom: 1rem;
    }
}

@media(max-width: 700px) {
    body {
        flex-direction: column;
        align-items: center;
        justify-content: start !important;
    }

    footer {
        position: relative;
        margin-top: 1rem;
        padding-bottom: 1rem;
    }
} 