.fa-wpo365-login-widget {
    display: flex;
    flex-direction: column;
    width: 100%;
    gap: 18px;
}

.fa-wpo365-login-widget__sso {
    display: flex;
    flex-direction: column;
    gap: 10px;
    width: 100%;
}

.fa-wpo365-login-widget__button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    min-height: 41px;
    padding: 0 12px;
    color: #5e5e5e;
    background: #fff;
    border: 1px solid #8c8c8c;
    border-radius: 2px;
    text-decoration: none;
    line-height: 1.2;
    font-family: "Segoe UI", Arial, sans-serif;
    font-size: 15px;
    font-weight: 600;
    transition: color 0.2s ease, background-color 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

.fa-wpo365-login-widget__button--microsoft::before {
    content: "";
    display: block;
    width: 18px;
    height: 18px;
    flex: 0 0 auto;
    background:
        linear-gradient(#f25022, #f25022) 0 0 / 8px 8px no-repeat,
        linear-gradient(#7fba00, #7fba00) 10px 0 / 8px 8px no-repeat,
        linear-gradient(#00a4ef, #00a4ef) 0 10px / 8px 8px no-repeat,
        linear-gradient(#ffb900, #ffb900) 10px 10px / 8px 8px no-repeat;
}

.fa-wpo365-login-widget__button--google::before,
.fa-wpo365-login-widget__button--mailru::before,
.fa-wpo365-login-widget__button--linkedin::before,
.fa-wpo365-login-widget__button--yahoo::before {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 20px;
    height: 20px;
    flex: 0 0 auto;
    border-radius: 3px;
    color: #fff;
    font: 700 13px/1 Arial, sans-serif;
}
.fa-wpo365-login-widget__button--google::before { content: "G"; color: #4285f4; }
.fa-wpo365-login-widget__button--mailru::before { content: "@"; background: #168de2; }
.fa-wpo365-login-widget__button--linkedin::before { content: "in"; background: #0a66c2; font-size: 11px; }
.fa-wpo365-login-widget__button--yahoo::before { content: "Y!"; color: #6001d2; font-size: 12px; }

.fa-wpo365-login-widget__button:hover,
.fa-wpo365-login-widget__button:focus {
    color: #5e5e5e;
    background: #f8f8f8;
    border-color: #6f6f6f;
    text-decoration: none;
}

.fa-wpo365-login-widget__button--disabled {
    cursor: default;
    opacity: 0.65;
    pointer-events: none;
}

.fa-wpo365-login-widget__wp-form,
.fa-wpo365-login-widget__wp-form form {
    width: 100%;
}

.fa-wpo365-login-widget__wp-form form {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.fa-wpo365-login-widget__wp-form p {
    margin: 0;
}

.fa-wpo365-login-widget__wp-form label {
    display: block;
    margin-bottom: 0.35em;
}

.fa-wpo365-login-widget__wp-form input[type="text"],
.fa-wpo365-login-widget__wp-form input[type="password"] {
    width: 100%;
    min-height: 42px;
}

.fa-wpo365-login-widget__wp-form input[type="submit"] {
    cursor: pointer;
}

.fa-wpo365-login-widget__lost-password {
    display: inline-flex;
    margin-top: 0.75rem;
}

.fa-wpo365-login-widget__divider {
    display: flex;
    align-items: center;
    width: 100%;
    gap: 0.75rem;
}

.fa-wpo365-login-widget__divider::before,
.fa-wpo365-login-widget__divider::after {
    content: "";
    display: block;
    flex: 1 1 auto;
    height: 1px;
    background: #d1d5db;
}

.fa-wpo365-login-widget__divider-label {
    flex: 0 0 auto;
    color: #6b7280;
    line-height: 1;
}

.login .fa-wpo365-native-login {
    margin-top: 20px;
}

.login .fa-wpo365-native-login .fa-wpo365-login-widget__divider {
    margin-bottom: 14px;
}

.login .fa-wpo365-native-login .fa-wpo365-login-widget__button {
    box-sizing: border-box;
    width: 100%;
}
