* {
    box-sizing: border-box;
}

body {
    margin: 0;
    min-height: 100vh;
    background: #f4f4f2;
    color: #111111;
    font-family: Arial, Helvetica, sans-serif;
}

.text-center {
    text-align: center;
}

#c464 {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
}

.kb-page {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 40px 20px;
    background: #f4f4f2;
}

.kb-card {
    width: min(100%, 720px);
    background: #ffffff;
    border: 1px solid #d6d6d2;
    border-radius: 8px;
    box-shadow: 0 18px 40px rgba(0, 0, 0, 0.12);
    overflow: hidden;
}

.kb-quiz__switch {
    margin-bottom: 3rem;
}

.lgoutbutton {

    color: #000;
    float: right;
    margin-bottom: 1rem;
}

.kb-header {
    display: flex;
    justify-content: center;
    padding: 42px 32px 30px;
    background: #ffffff;
    border-bottom: 1px solid #ececea;
}

.kb-logo img {
    display: block;
    width: 12rem;
    max-width: 100%;
    height: auto;
}

.kb-content {
    padding: 36px;
}

.kb-content h1 {
    margin: 0 0 24px;
    font-size: 24px;
    line-height: 1.2;
    font-weight: 700;
    letter-spacing: 0;
}

.kb-content p {
    margin: 0 0 22px;
    color: #5e5e5a;
    line-height: 1.5;
}

.kb-login__message {
    margin-bottom: 22px;
    padding: 14px 16px;
    color: #111111;
    background: #f4f4f2;
    border-left: 4px solid #111111;
}

.kb-login__message p {
    margin: 6px 0 0;
}

.kb-login__field {
    margin-bottom: 18px;
}

.kb-login__label {
    display: block;
    margin-bottom: 8px;
    font-size: 14px;
    font-weight: 700;
}

.kb-login__input {
    display: block;
    width: 100%;
    min-height: 48px;
    padding: 10px 13px;
    border: 1px solid #c8c8c3;
    border-radius: 4px;
    background: #ffffff;
    color: #111111;
    font-size: 16px;
}

.kb-login__input:focus {
    outline: 2px solid rgba(17, 17, 17, 0.22);
    outline-offset: 2px;
    border-color: #111111;
}

.kb-login__remember {
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 4px 0 24px;
    color: #333333;
    font-size: 14px;
}

.kb-button {
    min-height: 48px;
    padding: 0 22px;
    border: 1px solid #111111;
    border-radius: 4px;
    background: #111111;
    color: #ffffff;
    font-size: 16px;
    font-weight: 700;
    cursor: pointer;
}

.kb-button:hover,
.kb-button:focus {
    background: #2b2b2b;
}

.kb-button:disabled {
    cursor: not-allowed;
    opacity: 0.45;
}

.kb-button--secondary {
    background: #ffffff;
    color: #111111;
}

.kb-button--secondary:hover,
.kb-button--secondary:focus {
    background: #f4f4f2;
}

.kb-login__button {
    width: 100%;
}

.kb-login__forgot {
    display: inline-block;
    margin-top: 18px;
    color: #111111;
}

.kb-quiz__intro {
    margin-bottom: 24px;
}

.kb-quiz__start {
    margin-bottom: 24px;
}

.kb-page-content>*:first-child {
    margin-top: 0;
}

.kb-page-content>*:last-child {
    margin-bottom: 0;
}

.kb-question-box {
    margin: 0;
    padding: 0;
    border: 0;
}

.kb-question-title {
    display: block;
    width: 100%;
    margin: 0 0 18px;
    padding: 22px;
    border-radius: 6px;
    background: #f4f4f2;
    font-size: 20px;
    line-height: 1.35;
    font-weight: 700;
}

.kb-quiz__answers {
    display: grid;
    gap: 12px;
}

.kb-answer {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    width: 100%;
    padding: 16px 18px;
    border: 1px solid #d6d6d2;
    border-radius: 6px;
    background: #ffffff;
    color: #111111;
    line-height: 1.45;
    cursor: pointer;
}

.kb-answer:hover,
.kb-answer.selected {
    border-color: #111111;
    background: #f4f4f2;
}

.kb-answer__checkbox {
    width: 18px;
    height: 18px;
    margin: 1px 0 0;
    flex: 0 0 auto;
    accent-color: #111111;
}

.kb-quiz__navigation {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    margin-top: 28px;
}

.felogin-hidden,
[hidden] {
    display: none !important;
}

@media (max-width: 560px) {
    body {
        font-size: 18px;
    }

    #c464 {
        min-height: 100svh;
    }

    .kb-page {
        min-height: 100svh;
        padding: 14px;
        align-items: flex-start;
    }

    .kb-card {
        width: 100%;
        min-height: calc(100svh - 28px);
        border-radius: 6px;
    }

    .kb-header {
        padding: 34px 24px 26px;
    }

    .kb-logo img {
        width: min(14rem, 78vw);
    }

    .kb-content {
        padding: 30px 22px;
    }

    .kb-content h1 {
        margin-bottom: 28px;
        font-size: 30px;
        line-height: 1.15;
    }

    .kb-content p {
        font-size: 18px;
        line-height: 1.55;
    }

    .kb-login__label {
        font-size: 17px;
    }

    .kb-login__input {
        min-height: 56px;
        padding: 13px 15px;
        font-size: 18px;
    }

    .kb-login__remember,
    .kb-login__forgot,
    .kb-login__message {
        font-size: 17px;
    }

    .kb-question-title {
        padding: 20px;
        font-size: 22px;
        line-height: 1.35;
    }

    .kb-answer {
        gap: 14px;
        padding: 18px 16px;
        font-size: 18px;
        line-height: 1.45;
    }

    .kb-answer__checkbox {
        width: 22px;
        height: 22px;
    }

    .kb-quiz__navigation {
        flex-direction: column-reverse;
    }

    .kb-button {
        width: 100%;
        min-height: 56px;
        font-size: 18px;
    }
}