/* Outlined SSO buttons for external login providers (Microsoft, etc.). */
.externalLoginsDivider {
    display: flex;
    align-items: center;
    margin: 14px var(--outer-margin);
    color: #5F6368;
    font-size: 13px;
}

.externalLoginsDivider::before,
.externalLoginsDivider::after {
    content: '';
    flex: 1;
    border-top: 2px solid #D3D3D3;
}

.externalLoginsDivider span {
    padding: 0 12px;
}

.externalLoginButtonRoot {
    background: transparent;
    margin-bottom: 20px;
}

.externalLoginButton {
    text-transform: none;
    background: #FFFFFF;
    color: #3C4043;
    border: 1px solid #DADCE0;
    border-radius: 6px;
    font-family: 'Roboto', sans-serif;
    font-weight: 500;
    font-size: 14px;
    letter-spacing: 0.16px;
    transition: background-color 0.15s ease, border-color 0.15s ease, box-shadow 0.15s ease;
}

.externalLoginButton:hover {
    background: #F8F9FA;
    border-color: #C6C9CC;
    box-shadow: 0 1px 2px rgba(60, 64, 67, 0.15);
    filter: none;
}

.externalLoginButton:focus-visible {
    outline: none;
    border-color: #4285F4;
    box-shadow: 0 0 0 3px rgba(66, 133, 244, 0.25);
}

/* Provider brand mark rendered inline before the button label. */
.externalLoginButton .button-text::before {
    content: '';
    display: inline-block;
    vertical-align: -3px;
    width: 18px;
    height: 18px;
    margin-right: 12px;
    background-repeat: no-repeat;
    background-size: contain;
    background-position: center;
}

.externalLoginButton--microsoft .button-text::before {
    background-image:
        url("data:image/svg+xml;utf8,\
            <svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 23 23'>\
                <rect x='1' y='1' width='10' height='10' fill='%23F25022'/>\
                <rect x='12' y='1' width='10' height='10' fill='%237FBA00'/>\
                <rect x='1' y='12' width='10' height='10' fill='%2300A4EF'/>\
                <rect x='12' y='12' width='10' height='10' fill='%23FFB900'/>\
            </svg>");
}
