:root {
    --mdc-theme-primary: #00aab5;
    --mdc-theme-secondary: #00aab5;
    --alert-color: #dc1b37;
    --dark-color: #002d4c;
    --dark-font-color: #212533;
    --gray-color: #ececec;
    --background-color: #ffffff;
    --border-color: #f4f4f4;
}

html {
    font-family: "Inter", sans-serif;
}

body {
    background-color: var(--background-color);
    margin: 0;
}

header {
}

header > .mns-top-bar {
    display: flex;
    flex-direction: row;
    align-items: center;
    padding: 0px;
    gap: 32px;

    width: 100%;
    height: 41px;
    left: 0;
    top: 0;

    /* Colour/Primary/Black */

    background: #000000;
}

header .mns-logo-bar {
    /* M&S Global Header */
    box-sizing: border-box;

    /* Auto layout */
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    width: 100%;
    left: 0px;
    top: 41px;
    justify-content: center;
    padding: 0.81rem 3rem 0.81rem 1rem;


    /* Colour/Primary/White */

    background: #FFFFFF;
    /* Colour/Achromatic/Light Grey */

    border-bottom: 1px solid #CCCCCC;
}

header .mns-logo-bar .mns-logo {
    display: inline-block;
    background-image: url(images/ms.svg);
    background-size: 57px 23px;
    background-repeat: no-repeat;
    background-position: left center;
    height: 1.44rem;
    width: 19.4rem;
}

@media (min-width: 1024px) {
    header .mns-logo-bar {
        padding-left: 40px;
    }

    header .mns-logo-bar .mns-logo {
        display: inline-block;
        background-image: url(images/ms.svg);
        background-size: 5.34288rem 2.125rem;
        background-repeat: no-repeat;
        background-position: left center;
        height: 2.125rem;
        width: 19.4rem;
    }
}

section .root {
    align-items: center;
    max-width: 60rem;
}

#background-image {
    position: absolute;
    opacity: 0.04;
}

.header {
    height: 60px;
    background-color: #fff;
    display: flex;
    padding-left: 16px;
    padding-right: 16px;
}

.content {
    margin: 0 auto;
    width: 616px;
    color: #fff;
}

.content.mfa-required {
    filter: blur(4px);
}

.main-container {
    padding-top: 0.2rem !important;
}

.noselect {
    -webkit-touch-callout: none;
    -webkit-user-select: none;
    -khtml-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}

.icon-logo {
    /* text-align: center; */
    margin-top: 48px;
}

.mdc-button {
    text-transform: none;
}

.hr {
    background: var(--gray-color);
    width: 100%;
    height: 1px;
}

.accounts-block {
    margin-top: 16px;
    padding: 0 16px;
    background: #fcfcff;
    border: 1px solid var(--border-color);
    border-radius: 4px;
}

.permissions-block {
    margin-top: 16px;
    background: #fcfcff;
    border: 1px solid var(--border-color);
    border-radius: 4px;
}

.account-row {
    padding: 12px 16px;
}

.account-row:not(:first-child) {
    border-top: 1px solid var(--gray-color);
}

.caption {
    font-size: 12px;
    font-weight: 400;
    color: var(--dark-font-color);
}

.error-title {
    margin-top: 64px;
    text-align: center;
    font-size: 28px;
    font-weight: 400;
}

.consent-title {
    margin-top: 32px;
    text-align: center;
    font-size: 28px;
    font-weight: 400;
}

.consent-subtitle {
    margin-top: 16px;
    margin-bottom: 64px;
    text-align: center;
    font-size: 16px;
    font-weight: 400;
}

.form-block {
    background-color: #fff;
    color: var(--dark-font-color);
    border-radius: 4px;
    padding: 16px 32px 32px 32px;
}

.form-block-title {
    margin: 16px 0;
    text-align: center;
    font-size: 16px;
    font-weight: 600;
    line-height: 24px;
}

.account-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.account-header .mdc-icon-button {
    width: 40px;
    height: 40px;
    padding: 8px;
}

.account-header-title {
    font-size: 14px;
    font-weight: 600;
    line-height: 20px;
}

.account-header-subtitle {
    margin-top: 8px;
    color: rgba(0, 0, 0, 0.6);
}

.account-description {
    color: rgba(0, 0, 0, 0.6);
    font-size: 12px;
    background: #fbfcfd;
    border: 1px solid var(--border-color);
    border-radius: 4px;
    padding: 16px;
    margin-top: 16px;
}

.account-description.account-description-visible {
    display: block;
}

.account-description.account-description-hidden {
    display: none;
}

.account-description ul {
    padding-left: 16px;
}

.permission-name {
    font-weight: 600;
    font-size: 12px;
}

.form-actions {
    margin-top: 48px;
    text-align: center;
}

.data-input {
    background-color: #fff;
    border: 1px solid #757575;
    border-radius: 0;
    padding: 10px 8px;
    font-size: 1rem;
    margin-bottom: 1rem;
    line-height: 1.625rem;
}

.data-input:focus {
    border: 2px solid #222;
}

.confirm-button {
    height: 48px;
    padding: 12px 24px;
    margin-left: 8px;
    background: var(--alert-color) !important;
    color: white !important;
}

.cancel-button {
    height: 48px;
    padding: 12px 24px;
    color: var(--dark-color) !important;
    border-color: var(--dark-color) !important;
}

.mfa-container {
    bottom: 0;
    left: 0;
    background: #fff;
    display: flex;
    width: 100%;
}

.mfa-container__item {
    flex: 1;
    padding: 48px 14px;
}

.mfa-container__item--left {
    width: 408px;
    margin-left: auto;
}

.mfa-container__item--right {
    width: 408px;
}

.heading-2 {
    font-family: Inter;
    font-size: 28px;
    font-style: normal;
    font-weight: 400;
    line-height: 40px;
    text-align: left;
}

.heading-4 {
    font-family: Inter;
    font-size: 16px;
    font-style: normal;
    font-weight: 600;
    line-height: 24px;
    text-align: left;
    margin-top: 12px;
}

.caption {
    font-family: Inter;
    font-size: 12px;
    font-style: normal;
    font-weight: 400;
    line-height: 22px;
    text-align: left;
    color: #626576;
}

.mfa-container__card {
    margin-bottom: 12px;
    padding: 12px 16px;
    border: 1px solid var(--border-color);
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-radius: 4px;
}

.mfa-container__card.error {
    border: 1px solid var(--alert-color);
    box-shadow: 0px 1px 1px rgba(0, 0, 0, 0.08), 0px 0px 1px rgba(0, 0, 0, 0.31);
}

.mfa-container__card.hover:hover {
    box-shadow: 0px 1px 16px -4px rgba(0, 0, 0, 0.25),
    0px 0px 1px rgba(0, 0, 0, 0.31);
    cursor: pointer;
}

.pinlogin .pinlogin-field {
    box-sizing: border-box;
    display: inline-block;
    width: 45px;
    height: 45px;
    padding: 5px;
    margin: 0 5px;
    border: 1px solid #ddd;
    -webkit-border-radius: 2px;
    -moz-border-radius: 2px;
    border-radius: 2px;
}

a.resend,
a.resend:visited {
    color: red;
    text-decoration: none;
}

a.resend:hover {
    text-decoration: underline;
}

.error-container {
    padding: 0.375rem 1rem;
    background: rgba(220, 27, 55, 0.1);
    border-radius: 4px;
    border-left: solid 4px #ea142c;
    display: flex;
    align-items: center;
    position: relative;
    line-height: 1.625rem;
}

.arrow-top::before {
    content: '';
    position: absolute;
    left: 10%;
    top: 0%;
    display: block;
    background: #fbe8eb;
    width: 16px;
    height: 16px;
    transform: translate(-50%, -50%) rotate(225deg);
}

.error-container img {
    margin-right: 12px;
}

.error-container span {
    font-size: 14px;
    font-weight: 400;
}

@media (max-width: 769px) {
    header section .navigation-logo {
        background-size: 8rem;
        left: 50%;
        position: absolute;
        top: 1rem;
        width: 8rem;
    }
}

.material-symbols-outlined {
    font-variation-settings: "FILL" 0, "wght" 200, "GRAD" 0, "opsz" 48;
}

.material-symbols-filled {
    font-variation-settings: "FILL" 1, "wght" 400, "GRAD" 0, "opsz" 48;
}

.alert-banner {
    background-color: #FFF3F4;
    border-color: #EA122A;
}

@media (min-width: 768px) {
    .alert-banner {
        width: 430px;
    }
}

.alert-banner-err {
    border-color: #EA122A;
}

.alert-banner-warn {
    border-color: #ffe92c;
}

.alert-banner-info {
    border-color: #788eff;
}

.alert-banner-succ {
    border-color: #2eb236;
    background-color: #f4fcf2;
}

.alert-banner__message {
    text-wrap: pretty;
}

.alert-banner__link {
    text-decoration: underline;
}

.alert-banner__info-icon {
    height: 2.5rem;
}

.alert-banner__info-icon-succ {
    color: #2eb236;
}

.alert-banner__info-icon-err {
    color: #EA122A;
}

.display-none {
    display: none;
}

.margin-top-6 {
    margin-top: 6px;
}

.margin-top-12 {
    margin-top: 12px;
}

.navigation-logo {
    background-image: url("images/ms.svg");
}

#toggle-password-visibility-button {
    font-family: new-mns-london, Helvetica, Arial, sans-serif;
    position: absolute;
    top: 0.5rem;
    right: 0.5rem;
    box-shadow: none !important;
    font-size: 0.75rem;
    line-height: 1.125rem;
    display: inline-block;
    color: #222222;
}

#toggle-password-visibility-icon {
    width: 2rem;
    height: 2rem;
    font-size: 1.3rem;
    margin-right: -2px;
    margin-bottom: 1px;
}

#toggle-password-visibility-text {
    display: inline-block;
    letter-spacing: 0;
    vertical-align: -0.4rem;
    width: 33px;
    text-align: left;
}

.login {
    display: -ms-flexbox;
    display: flex;
    margin-bottom: 5rem;
    margin-top: 2rem;
    -ms-flex-direction: column;
    flex-direction: column;
}

.login__heading {
    line-height: 2rem;
    font-size: 1.5rem;
    font-weight: 600;
    text-align: left;
}

.login__subheading {
    line-height: 2rem;
    width: 26rem;
}

.login__loginBox {
    position: relative;
}

.forgotPassword {
    text-align: left;
    margin-bottom: 2.5rem;
}

.forgotPassword a {
    font-size: 1rem;
    font-style: normal;
    font-weight: 600;
    line-height: 1.625rem; /* 162.5% */
    text-decoration-line: underline;
}

.login__submitbutton {
    margin-bottom: 1.5rem;
    margin-top: 1rem;
}

.login__text {
    font-size: 1.7rem;
    margin-bottom: 1rem;
}

.login__text a {
    text-decoration: underline;
}

.login__text-sm {
    font-size: 0.75rem;
    line-height: 1.125rem;
}

.login__create-acct {
    font-size: 1rem;
    font-style: normal;
    line-height: 1.625rem;
    font-weight: 400;
    text-decoration: none !important;
}

.login__create-acct:after {
    content: '';
    display: inline-block;
    background: url('/assets/images/link-arrow2.svg') no-repeat top right;
    width: 1.5rem;
    height: 1.5rem;
    margin-left: 0.4rem;
    vertical-align: -0.45rem;
}

.label-text-email {
    margin-top: 2rem;
}

.label-text-password {
    margin-top: 1.5rem;
}

@media (min-width: 576px) {
    header section .navigation-logo {
        transform: translate(-50%, 0);
        -ms-transform: translate(-50%, 0);
    }

    .header {
        align-items: center;
        justify-content: center;
    }
}

.submit-button-text-hidden {
    display: none;
}

.submit-button-loading-animation-visible {
    display: flex;
    justify-content: center;
}

.submit-button-loading-animation-hidden {
    display: none;
}

.loader {
    width: 28px;
    height: 28px;
}

.loader-white {
    /* svg filter that will make black color white */
    filter: invert(1) sepia(1) saturate(1) hue-rotate(180deg);
}

.loader-container {
    display: flex;
}

.loader-center {
    margin: 0 8px;
    animation: spin 1s linear infinite;
    animation-delay: calc(1s / 4);
}

#submitButton {
    background: #000000;
    color: #ffffff;
}

#submitButton:hover {
    background: #000000cc;
}

.btn {
    border-radius: 0;
}

.login__guest_row {
    padding-top: 16px;
    text-align: center;
}

.login__guest_link {
    font-size: 1rem;
    font-style: normal;
    font-weight: 600;
    line-height: 1.625rem;
    text-decoration: underline;
}

.hidden {
    display: none !important;
    visibility: hidden !important;
    position: absolute !important;
}

.code-resend {
    font-weight: 600;
}

.code-resend::after {
    display: block;
    height: 32px;
    width: 100%;
}

.code-resend_button {
    background: none;
    border: none;
    font-family: new-mns-london, Helvetica, Arial, sans-serif;
    font-weight: 600;
}

.btn--tertiary {
    line-height: 1.6rem;
    height: 3rem;
}

@keyframes spin {
    from {
        transform: rotate(0deg);
    }
    to {
        transform: rotate(360deg);
    }
}

.ot-sdk-row {
    font-size: 1.23rem !important;
}
