* {
    box-sizing: border-box;
}

body {
    margin: 0;
    padding: 0;
    text-align: center;
    font-family: Arial, Helvetica, sans-serif;
    font-size: 20px;
    color: #333;
    background: #342b60;
}

form,
img {
    margin: 0;
    border: 0;
}

a {
    color: #342b60;
}

#wrapper {
    width: min(900px, calc(100% - 32px));
    margin: 100px auto;
}

#header {
    min-height: 92px;
}

#logo {
    float: left;
    margin: 20px 50px 20px 0;
    height: 50px;
}

#logo img {
    height: 72px;
}

#lang {
    float: right;
    margin-top: 72px;
}

#lang a {
    color: #fff;
    text-decoration: none;
}

#main {
    background-color: #fff;
    padding: 20px;
    padding-bottom: 28px;
    text-align: left;
    clear: both;
}

#title {
    float: left;
    margin: 20px 0 24px 20px;
    color: #342b60;
    font-weight: bold;
    font-size: 20px;
}

#title a {
    color: #342b60;
    text-decoration: none;
}

.clear {
    clear: both;
}

.choices {
    width: 100%;
    margin: auto;
    text-align: center;
}

.choices > div {
    display: inline-block;
    width: 31%;
    min-width: 220px;
    margin: 0 6px 18px;
    vertical-align: top;
}

.choices p {
    margin: 12px auto 0;
    max-width: 250px;
    color: #342b60;
    font-size: 15px;
    line-height: 1.35;
    text-align: left;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 190px;
    min-height: 54px;
    padding: 0 18px;
    border: 1px solid #342b60;
    border-radius: 3px;
    color: #342b60;
    background: #ececf1;
    cursor: pointer;
    font: inherit;
    font-weight: bold;
    text-align: center;
    text-decoration: none;
}

.btn:hover,
.btn:focus,
.btn.is-active {
    color: #fff;
    border-color: #d4066e;
    background: #d4066e;
    outline: none;
}

.activate-btn,
.change-btn,
.mfa-btn {
    width: 210px;
    height: 100px;
    margin-left: 15px;
    margin-right: 15px;
}

.small-btn {
    width: auto;
    min-height: 46px;
    margin: 0 8px 10px;
    padding: 0 24px;
}

.info-panel {
    min-height: 92px;
    margin: 8px 20px 0;
    padding: 18px 20px;
    border-top: 1px solid #ececf1;
    color: #333;
    line-height: 1.45;
}

.info-panel p {
    margin: 0 0 10px;
}

.button-row {
    margin-top: 18px;
    text-align: center;
}

.activation-actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
}

.activation-box.stacked,
.password-result {
    display: block;
    max-width: 560px;
    margin: 0 auto;
    text-align: left;
}

.lead {
    margin: 0 0 22px;
    line-height: 1.45;
}

.credential {
    width: 100%;
    margin: 10px 0 22px;
    padding: 14px;
    border: 2px solid #ececf1;
    border-radius: 4px;
    color: #342b60;
    background: #f8f8fb;
    font-weight: 700;
    letter-spacing: 1px;
    overflow-wrap: anywhere;
}

.result-actions {
    display: flex;
    gap: 14px;
}

.result-actions .small-btn {
    margin: 0;
}

.result-footer {
    display: flex;
    justify-content: flex-end;
    margin-top: 28px;
    padding-top: 12px;
    border-top: 1px solid #ececf1;
}

.logout-link {
    min-height: 44px;
    padding: 8px 0 8px 12px;
    border: 0;
    background: transparent;
    color: #342b60;
    font: inherit;
    font-size: 16px;
    text-decoration: underline;
    text-underline-offset: 3px;
    cursor: pointer;
}

.logout-link:hover {
    color: #d4066e;
}

.logout-link:focus-visible {
    outline: 2px solid #d4066e;
    outline-offset: 3px;
}

.alert {
    clear: both;
    margin: 0 20px 18px;
    padding: 12px 14px;
    border-radius: 4px;
    line-height: 1.35;
}

.alert-error {
    border: 1px solid #d4066e;
    color: #7a063f;
    background: #fff2f8;
}

.alert-status {
    white-space: pre-line;
    border: 1px solid #342b60;
    color: #342b60;
    background: #f2f0fb;
}

@media (max-width: 760px) {
    #wrapper {
        margin: 24px auto;
    }

    #logo,
    #lang,
    #title {
        float: none;
        margin-left: 0;
    }

    .choices > div {
        display: block;
        width: 100%;
        margin: 0 0 22px;
    }

    .choices p {
        max-width: 100%;
    }

    .activate-btn,
    .change-btn,
    .mfa-btn,
    .btn {
        width: 100%;
        margin-left: 0;
        margin-right: 0;
    }

    .result-actions {
        flex-direction: column;
    }

    .activation-actions > form {
        width: 100%;
    }
}



