.social-auth {
    margin-bottom: 24px;
}

.social-auth .social-auth__buttons {
    justify-content: center;
    gap: 16px;
}

.social-auth .social-auth__button {
    flex: 0 0 48px;
    width: 48px;
    height: 48px;
    padding: 4px;
    border: 0;
    border-radius: 50%;
    background: transparent;
    text-decoration: none;
}

.social-auth__mark {
    display: flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 40px;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    transition: box-shadow 0.2s ease;
}

.social-auth__mark > svg {
    display: block;
    width: 40px;
    height: 40px;
}

.social-auth__mark--facebook {
    color: #0866ff;
    background: #fff;
    border: 1px solid #747775;
}

.social-auth__mark--facebook > svg {
    width: 24px;
    height: 24px;
}

.social-auth .social-auth__button:hover {
    background: transparent;
}

.social-auth a.social-auth__button:hover .social-auth__mark {
    box-shadow: 0 0 0 4px #f1f3f4;
}

.social-auth__button:focus-visible {
    outline: 2px solid #1a73e8;
    outline-offset: 2px;
}

.social-auth__button:disabled {
    cursor: not-allowed;
    opacity: 0.5;
}

.social-auth__separator {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-top: 20px;
    color: var(--text-2);
    font-size: 13px;
    line-height: 20px;
    text-align: center;
}

.social-auth__separator::before,
.social-auth__separator::after {
    content: '';
    flex: 1;
    height: 1px;
    background: var(--line);
}

@media (prefers-reduced-motion: reduce) {
    .social-auth__mark,
    .social-auth .social-auth__button {
        transition: none;
    }
}
