:root {
    --stroke-neutral-Lightest: rgba(0, 0, 0, 0.08);
    --stroke-neutral-Light: rgba(0, 0, 0, 0.12);
    --stroke-blue: #52A8EA;
    --bg-white: #FFF;
    --bg-gray: #F1F1F1;
    --bg-CTA-blue: #1A78C1;
    --text-icons-Ghost: #9E9E9E;
    --text-icons-Primary: #0A0A0A;
    --text-icons-Secondary: #4A4A4A;
    --text-icons-CTA-Blue: #095997;
    --Typography-Family-Body: 'Lato', sans-serif;
    --Typography-Family-Action-Button: 'Lato', sans-serif;
    --Typography-Family-Footnote: 'Lato', sans-serif;
    --Typography-Family-Headlines: 'Lato', sans-serif;
    --text-icons-Red: #9E2D38;
    --text-icons-Tertiary: #5F5F5F;
    --bg-CTA-red: #E63447;
    --text-icons-CTA-White: #FFF;
    --Radius-R12: 12px;
    --Radius-R16: 16px;
    --Typography-Size-Headlines---Medium: 16px;
    --Typography-Line-height-Headlines---Medium: 24px;
    --Typography-Size-Body---Small: 14px;
    --Typography-Line-height-Body---Small: 22px;
    --Typography-Size-Action-Button---Small: 14px;
    --Typography-Line-height-Headlines---Small: 22px;
    --N6: 6px;
    --N14: 14px;
    --N22: 22px;
    --Typography-Size-Footnote---Large: 12px;
    --Typography-Line-height-Footnote---Large: 18px;
}

body {
    margin: 0;
    min-height: 100vh;
    font-family: var(--Typography-Family-Body, 'Lato', sans-serif);
    background: linear-gradient(108deg, #B9E8FF 0%, #F7FFF0 99.86%);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-icons-Primary, #0A0A0A);
}

#ContentIframe {
    display: none;
}

#logout_help,
#logout_btn,
#login_again {
    display: none;
}

.v2-login-wrapper {
    position: fixed;
    inset: 0;
    overflow: hidden;
    z-index: -1;
    background: linear-gradient(108deg, #B9E8FF 0%, #F7FFF0 99.86%);
}

.v2-background-blob-1 {
    position: absolute;
    width: clamp(380px, 45vw, 600px);
    height: clamp(380px, 45vw, 600px);
    border-radius: 50%;
    background: #C7F5FF;
    mix-blend-mode: multiply;
    filter: blur(clamp(120px, 14vw, 240px));
    top: -8vw;
    left: -4vw;
    pointer-events: none;
    animation: v2-float 20s infinite ease-in-out;
}

.v2-background-blob-2 {
    position: absolute;
    width: clamp(350px, 40vw, 550px);
    height: clamp(350px, 40vw, 550px);
    border-radius: 50%;
    background: #FFFFFF;
    filter: blur(clamp(100px, 12vw, 220px));
    bottom: -6vw;
    right: -3vw;
    pointer-events: none;
    animation: v2-float-delayed 25s infinite ease-in-out;
}

.v2-dots-overlay {
    position: absolute;
    inset: 0;
    pointer-events: none;
    opacity: 0.35;
    mix-blend-mode: multiply;
    background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="12" height="12"><circle cx="2" cy="2" r="1.5" fill="%23F3F3F3"/></svg>');
    background-repeat: repeat;
    background-position: center;
    background-size: clamp(7px, 0.6vw, 14px) clamp(7px, 0.6vw, 14px);
}

.v2-loading-screen {
    width: 100%;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: clamp(var(--24, 24px), 6vh, 80px) clamp(var(--24, 24px), 6vw, 120px);
    box-sizing: border-box;
    position: relative;
    z-index: 1;
    text-align: center;
}

.v2-loading-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: clamp(280px, 32vw, 350px);
    margin: 0 auto;
}

.v2-login-logo {
    width: clamp(120px, 18vw, 180px);
    height: auto;
    object-fit: contain;
}

.v2-login-lottie {
    width: clamp(140px, 18vw, 220px);
    margin-bottom: 1.5rem;
}

.v2-status-group {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    width: 80%;
}

.loading__author {
    color: var(--text-icons-Tertiary, #5F5F5F);
    font-family: var(--Typography-Family-Footnote, 'Lato', sans-serif);
    font-size: var(--Typography-Size-Footnote---Large, 12px);
    font-weight: 400;
    line-height: var(--Typography-Line-height-Footnote---Large, 18px);
    letter-spacing: 0.12px;
    text-align: center;
    margin: 0;
    display: block;
    width: 100%;
}

.loadingOuter {
    position: relative;
    width: 100%;
    max-width: 350px;
    height: 1.2rem;
    border-radius: var(--Radius-R16, 16px);
    background: #4A4A4A;    
    z-index: 2;
}

.loadingInner {
    position: absolute;
    top: 0;
    left: 0px;
    height: 100%;
    width: 0%;
    border-radius: var(--Radius-R16, 16px);
    background: linear-gradient(270deg, #00B2FF 0%, #3FD153 100%);
    animation: none !important;
    transition: width 400ms ease-out;
    box-shadow: inset 0 1px 5px 0 rgba(0, 0, 0, 0.25);
}

.button {
    background-color: #1A78C1;
    border: none;
    color: #fff;
    padding: 10px 20px;
    text-align: center;
    text-decoration: none;
    display: inline-block;
    font-family: var(--Typography-Family-Action-Button, 'Lato', sans-serif);
    font-size: 14px;
    cursor: pointer;
    transition-duration: 0.3s;
    border-radius: 8px;
}

.button:hover {
    background-color: #095997;
}

.v2-actions {
    display: flex;
    flex-direction: column;
    gap: 12px;
    align-items: center;
}

.v2-restricted-card {
    display: none;
    width: 420px;
    min-width: 300px;
    max-width: 600px;
    padding: 0;
    flex-direction: column;
    align-items: flex-start;
    border-radius: var(--Radius-R12, 12px);
    background: var(--bg-white, #FFF);
    box-shadow: 0 8px 6px 0 rgba(2, 54, 95, 0.02), 0 0 40px 0 rgba(2, 54, 95, 0.08), 0 0 14px 0 rgba(2, 54, 95, 0.04), 0 0 26px 0 rgba(2, 54, 95, 0.04), 0 0 14px 0 rgba(2, 54, 95, 0.04);
}

.v2-restricted-frame {
    display: flex;
    padding: 24px;
    flex-direction: column;
    align-items: center;
    align-self: stretch;
}

.v2-restricted-illustration {
    width: 164.027px;
    height: 134px;
    aspect-ratio: 164.03 / 134;
}

.v2-restricted-illustration-img {
    width: 100%;
    height: 100%;
    display: block;
}

.v2-restricted-copy {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 2px;
    align-self: stretch;
    margin-top: 24px;
}

.v2-restricted-title {
    color: var(--text-icons-Red, #9E2D38);
    text-align: center;
    font-feature-settings: 'liga' off;
    font-family: var(--Typography-Family-Headlines, Lato);
    font-size: var(--Typography-Size-Headlines---Medium, 16px);
    font-style: normal;
    font-weight: 700;
    line-height: var(--Typography-Line-height-Headlines---Medium, 24px);
    letter-spacing: 0.16px;
    width: 100%;
}

.v2-restricted-subtitle {
    color: var(--text-icons-Secondary, #4A4A4A);
    text-align: center;
    font-feature-settings: 'liga' off;
    font-family: var(--Typography-Family-Body, Lato);
    font-size: var(--Typography-Size-Body---Small, 14px);
    font-style: normal;
    font-weight: 400;
    line-height: var(--Typography-Line-height-Body---Small, 22px);
    letter-spacing: 0.14px;
    width: 100%;
}

body.v2-is-restricted .v2-loading-container,
body.v2-is-restricted .v2-actions {
    display: none;
}

body.v2-is-restricted .v2-restricted-card {
    display: flex;
}

.v2-logout-required-card {
    display: none;
    width: 420px;
    min-width: 300px;
    max-width: 600px;
    padding: 16px 24px;
    flex-direction: column;
    align-items: flex-start;
    border-radius: var(--Radius-R12, 12px);
    background: var(--bg-white, #FFF);
    box-shadow: 0 8px 6px 0 rgba(2, 54, 95, 0.02),
        0 0 40px 0 rgba(2, 54, 95, 0.08),
        0 0 14px 0 rgba(2, 54, 95, 0.04),
        0 0 26px 0 rgba(2, 54, 95, 0.04),
        0 0 14px 0 rgba(2, 54, 95, 0.04);
    box-sizing: border-box;
}

.v2-callback-error-card {
    display: none;
    width: 420px;
    min-width: 300px;
    max-width: 600px;
    padding: 16px 24px;
    flex-direction: column;
    align-items: flex-start;
    border-radius: var(--Radius-R12, 12px);
    background: var(--bg-white, #FFF);
    box-shadow: 0 8px 6px 0 rgba(2, 54, 95, 0.02), 0 0 40px 0 rgba(2, 54, 95, 0.08), 0 0 14px 0 rgba(2, 54, 95, 0.04), 0 0 26px 0 rgba(2, 54, 95, 0.04), 0 0 14px 0 rgba(2, 54, 95, 0.04);
    box-sizing: border-box;
}

.v2-logout-required-illustration {
    width: 259.055px;
    height: 188px;
    aspect-ratio: 259.06 / 188;
    align-self: center;
}

.v2-logout-required-illustration-img {
    width: 100%;
    height: 100%;
    display: block;
}

.v2-logout-required-message {
    margin-top: 24px;
    color: var(--text-icons-Secondary, #4A4A4A);
    font-feature-settings: 'liga' off;
    font-family: var(--Typography-Family-Body, Lato);
    font-size: var(--Typography-Size-Body---Small, 14px);
    font-style: normal;
    font-weight: 400;
    line-height: var(--Typography-Line-height-Body---Small, 22px);
    letter-spacing: 0.14px;
    width: 100%;
    text-align: center;
}

.v2-logout-required-learnmore {
    margin-top: 8px;
    overflow: hidden;
    color: var(--text-icons-CTA-Blue, #095997);
    text-align: center;
    text-overflow: ellipsis;
    font-family: var(--Typography-Family-Action-Button, Lato);
    font-size: var(--N14, 14px);
    font-style: normal;
    font-weight: 600;
    line-height: var(--N22, 22px);
    letter-spacing: 0.14px;
    text-decoration-line: underline;
    text-decoration-style: solid;
    text-decoration-skip-ink: none;
    text-decoration-thickness: auto;
    text-underline-offset: auto;
    text-underline-position: from-font;
    width: 100%;
    display: block;
}

.v2-logout-required-btn {
    margin-top: 24px;
    display: flex;
    width: 100%;
    max-width: 375px;
    height: 40px;
    min-height: 40px;
    max-height: 40px;
    padding: 8px 12px;
    justify-content: center;
    align-items: center;
    gap: 0;
    border-radius: var(--N6, 6px);
    background: var(--bg-CTA-red, #E63447);
    border: none;
    cursor: pointer;
    align-self: center;
    color: var(--text-icons-CTA-White, #FFF);
    text-align: center;
    font-feature-settings: 'liga' off;
    text-overflow: ellipsis;
    font-family: var(--Typography-Family-Action-Button, Lato);
    font-size: var(--Typography-Size-Action-Button---Small, 14px);
    font-style: normal;
    font-weight: 600;
    line-height: var(--Typography-Line-height-Headlines---Small, 22px);
    letter-spacing: 0.14px;
}

.v2-linkaccount-btn {
    margin-top: 24px;
    display: inline-flex;
    width: auto;
    min-width: 96px;
    height: 40px;
    padding: 8px 24px;
    justify-content: center;
    align-items: center;
    gap: 0;
    border-radius: var(--N6, 6px);
    background: var(--bg-CTA-blue, #1A78C1);
    border: none;
    cursor: pointer;
    align-self: center;
    color: var(--text-icons-CTA-White, #FFF);
    text-align: center;
    font-feature-settings: 'liga' off;
    text-overflow: ellipsis;
    font-family: var(--Typography-Family-Action-Button, Lato);
    font-size: var(--Typography-Size-Action-Button---Small, 14px);
    font-style: normal;
    font-weight: 600;
    line-height: var(--Typography-Line-height-Headlines---Small, 22px);
    letter-spacing: 0.14px;
}

.v2-linkaccount-message {
    color: var(--text-icons-Secondary, #4A4A4A);
    text-align: center;
    font-feature-settings: 'liga' off;
    font-family: var(--Typography-Family-Body, Lato);
    font-size: 16px;
    font-style: normal;
    font-weight: 500;
    line-height: 24px;
    letter-spacing: 0.16px;
}

.v2-primary-btn {
    margin-top: 24px;
    display: flex;
    width: 100%;
    max-width: 375px;
    height: 40px;
    min-height: 40px;
    max-height: 40px;
    padding: 8px 12px;
    justify-content: center;
    align-items: center;
    gap: 0;
    border-radius: var(--N6, 6px);
    background: var(--bg-CTA-blue, #1A78C1);
    border: none;
    cursor: pointer;
    align-self: center;
    color: var(--text-icons-CTA-White, #FFF);
    text-align: center;
    font-feature-settings: 'liga' off;
    text-overflow: ellipsis;
    font-family: var(--Typography-Family-Action-Button, Lato);
    font-size: var(--Typography-Size-Action-Button---Small, 14px);
    font-style: normal;
    font-weight: 600;
    line-height: var(--Typography-Line-height-Headlines---Small, 22px);
    letter-spacing: 0.14px;
}

body.v2-is-logout-required .v2-loading-container,
body.v2-is-logout-required .v2-callback-error-card,
body.v2-is-logout-required .v2-restricted-card {
    display: none;
}

body.v2-is-logout-required .v2-logout-required-card {
    display: flex;
}

body.v2-is-callback-error .v2-loading-container,
body.v2-is-callback-error .v2-logout-required-card,
body.v2-is-callback-error .v2-restricted-card {
    display: none;
}

body.v2-is-callback-error .v2-callback-error-card {
    display: flex;
}

body.v2-linkaccount-no-loader .v2-login-lottie {
    display: none;
}

body.v2-linkaccount-no-loader .v2-status-group {
    gap: 12px;
}

@keyframes v2-float {
    0% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-1vw);
    }

    100% {
        transform: translateY(0);
    }
}

@keyframes v2-float-delayed {
    0% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(1vw);
    }

    100% {
        transform: translateY(0);
    }
}
