/* ── ExternalProviderButton — global (component-level CSS) ── */

.visually-hidden {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.btn-oauth.btn-oauth-icon {
    width: 40px;
    min-width: 40px;
    height: 40px;
    padding: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 999px;
    border: 1px solid #D6DCEB;
    background: #FFFFFF;
    box-shadow: none;
    transition: background-color 0.2s ease, border-color 0.2s ease;
}

.btn-oauth.btn-oauth-icon::before {
    display: none;
}

.btn-oauth.btn-oauth-icon:not(:disabled):hover,
.btn-oauth.btn-oauth-icon:not(:disabled):active {
    transform: none;
    border-color: #D6DCEB;
    box-shadow: none;
}

.btn-oauth.btn-oauth-icon.microsoft:not(:disabled):hover,
.btn-oauth.btn-oauth-icon.microsoft:not(:disabled):active {
    background: #F0F5FE;
    background-color: #F0F5FE;
}

body.dark .btn-oauth.btn-oauth-icon,
body.dark .btn-oauth.btn-oauth-icon:not(.microsoft):not(:disabled):hover,
body.dark .btn-oauth.btn-oauth-icon:not(.microsoft):not(:disabled):active {
    background: #FFFFFF;
    border-color: #D6DCEB;
    box-shadow: none;
}

body.dark .btn-oauth.btn-oauth-icon.microsoft:not(:disabled):hover,
body.dark .btn-oauth.btn-oauth-icon.microsoft:not(:disabled):active {
    background: #F0F5FE;
    background-color: #F0F5FE;
    border-color: #D6DCEB;
    box-shadow: none;
}
